| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.4/wp-content/plugins/woocommerce/assets/client/blocks/ |
Upload File : |
(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.apiFetch;var o=e.n(t);let r="",a=0;try{const e=window.localStorage.getItem("storeApiNonce"),t=e?JSON.parse(e):{};r=t?.nonce||"",a=t?.timestamp||0}catch{}const s=e=>{const t=e.url||e.path;return!(!t||!e.method||"GET"===e.method)&&null!==/wc\/store\/v1\//.exec(t)},n=(e,t)=>{e!==r&&(a&&t<a||(r=e,a=t||Date.now()/1e3,window.localStorage.setItem("storeApiNonce",JSON.stringify({nonce:r,timestamp:a}))))},c=e=>{const t=e.headers||{};return e.headers={...t,Nonce:r},e};o().use(((e,t)=>(s(e)&&(e=c(e),Array.isArray(e?.data?.requests)&&(e.data.requests=e.data.requests.map(c))),t(e,t)))),o().setNonce=e=>{const t="function"==typeof e?.get?e.get("Nonce"):e.Nonce,o="function"==typeof e?.get?e.get("Nonce-Timestamp"):e["Nonce-Timestamp"];t&&n(t,o)},n(wcBlocksMiddlewareConfig.storeApiNonce,wcBlocksMiddlewareConfig.storeApiNonceTimestamp);const i=window.wp.url;o().use(((e,t)=>("string"==typeof e.url&&s(e)&&(e.url=(0,i.addQueryArgs)(e.url,{_locale:"site"})),"string"==typeof e.path&&s(e)&&(e.path=(0,i.addQueryArgs)(e.path,{_locale:"site"})),t(e))));let l=window.localStorage.getItem("storeApiCartHash");o().setCartHash=e=>{const t="function"==typeof e?.get?e.get("Cart-Hash"):e["Cart-Hash"];t&&(e=>{e!==l&&(l=e,window.localStorage.setItem("storeApiCartHash",l))})(t)},(this.wc=this.wc||{}).wcBlocksMiddleware={}})();