??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/sendmaxagency.com/wp-content/plugins/surecart/dist/839.js
⬅ Kembali
"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[839],{4805:function(e,n,t){t.d(n,{a:function(){return p},b:function(){return u},g:function(){return l}});var r=t(4467),i=t(3453);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function c(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return s(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var _n=0,r=function(){};return{s:r,n:function(){return _n>=e.length?{done:!0}:{done:!1,value:e[_n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==t.return||t.return()}finally{if(a)throw i}}}}function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function u(e){for(var n,t="",r=Object.entries(e);n=r.shift();){var o=n,a=(0,i.A)(o,2),s=a[0],u=a[1];if(Array.isArray(u)||u&&u.constructor===Object){var d,l=c(Object.entries(u).reverse());try{for(l.s();!(d=l.n()).done;){var p=(0,i.A)(d.value,2),f=p[0],h=p[1];r.unshift(["".concat(s,"[").concat(f,"]"),h])}}catch(e){l.e(e)}finally{l.f()}}else void 0!==u&&(null===u&&(u=""),t+="&"+[s,u].map(encodeURIComponent).join("="))}return t.substr(1)}function d(e){try{return decodeURIComponent(e)}catch(n){return e}}function l(e){return(function(e){var n;try{n=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(n)return n}(e)||"").replace(/\+/g,"%20").split("&").reduce((function(e,n){var t=n.split("=").filter(Boolean).map(d),r=(0,i.A)(t,2),o=r[0],c=r[1],s=void 0===c?"":c;return o&&function(e,n,t){for(var r=n.length,i=r-1,o=0;o<r;o++){var c=n[o];!c&&Array.isArray(e)&&(c=e.length.toString()),c=["__proto__","constructor","prototype"].includes(c)?c.toUpperCase():c;var s=!isNaN(Number(n[o+1]));e[c]=o===i?t:e[c]||(s?[]:{}),Array.isArray(e[c])&&!s&&(e[c]=a({},e[c])),e=e[c]}}(e,o.replace(/\]/g,"").split("["),s),e}),Object.create(null))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(!n||!Object.keys(n).length)return e;var t=e,r=e.indexOf("?");return-1!==r&&(n=Object.assign(l(e),n),t=t.substr(0,r)),t+"?"+u(n)}},8803:function(e,n,t){t.d(n,{a:function(){return z},h:function(){return F}});var r=t(9394),i=t(467),o=t(45),a=t(3453),c=t(4467),s=t(9280),u=t.n(s),d=t(4805),l=t(3506),p=["rest_route"],f=["path","url"],h=["url","path","data","parse"];function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?v(Object(t),!0).forEach((function(n){(0,c.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function m(e,n){return void 0!==(0,l.g)(e,n)}function _(e){var n=e.split("?"),t=n[1],r=n[0];return t?r+"?"+t.split("&").map((function(e){return e.split("=")})).map((function(e){return e.map(decodeURIComponent)})).sort((function(e,n){return e[0].localeCompare(n[0])})).map((function(e){return e.map(encodeURIComponent)})).map((function(e){return e.join("=")})).join("&"):r}var g=function(e,n){var t,r,i=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(t=e.namespace.replace(/^\/|\/$/g,""),i=(r=e.endpoint.replace(/^\//,""))?t+"/"+r:t),delete e.namespace,delete e.endpoint,n(b(b({},e),{},{path:i}))};function w(e,n){return Promise.resolve(n?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}var y=function(e){return e.json?e.json():Promise.reject(e)},O=function(e){return function(e){if(!e)return{};var n=e.match(/<([^>]+)>; rel="next"/);return n?{next:n[1]}:{}}(e.headers.get("link")).next},j=function(e){var n=!!e.path&&-1!==e.path.indexOf("per_page=-1"),t=!!e.url&&-1!==e.url.indexOf("per_page=-1");return n||t},k=function(){var e=(0,i.A)(u().mark((function e(n,t){var r,i,a,c,s,l;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==n.parse){e.next=2;break}return e.abrupt("return",t(n));case 2:if(j(n)){e.next=4;break}return e.abrupt("return",t(n));case 4:return e.next=6,z(b(b({},(p={per_page:100},void 0,void 0,h=(u=n).path,v=u.url,b(b({},(0,o.A)(u,f)),{},{url:v&&(0,d.a)(v,p),path:h&&(0,d.a)(h,p)}))),{},{parse:!1}));case 6:return r=e.sent,e.next=9,y(r);case 9:if(i=e.sent,Array.isArray(i)){e.next=12;break}return e.abrupt("return",i);case 12:if(a=O(r)){e.next=15;break}return e.abrupt("return",i);case 15:c=[].concat(i);case 16:if(!a){e.next=27;break}return e.next=19,z(b(b({},n),{},{path:void 0,url:a,parse:!1}));case 19:return s=e.sent,e.next=22,y(s);case 22:l=e.sent,c=c.concat(l),a=O(s),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}var u,p,h,v}),e)})));return function(_x,n){return e.apply(this,arguments)}}(),x=new Set(["PATCH","PUT","DELETE"]),P=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(function(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?e:204===e.status?null:e.json?e.json():Promise.reject(e)}(e,n)).catch((function(e){return A(e,n)}))};function A(e){if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1])throw e;return function(e){var n={code:"invalid_json",message:wp.i18n.__("The response is not a valid JSON response.")};if(!e||!e.json)throw n;return e.json().catch((function(){throw n}))}(e).then((function(e){var n={code:"unknown_error",message:wp.i18n.__("An unknown error occurred.")};throw e||n}))}var S,D,T,E,M,C,N,U={Accept:"application/json, */*;q=0.1"},I={credentials:"include"},R=[function(e,n){return"string"!=typeof e.url||m(e.url,"_locale")||(e.url=(0,d.a)(e.url,{_locale:"user"})),"string"!=typeof e.path||m(e.path,"_locale")||(e.path=(0,d.a)(e.path,{_locale:"user"})),n(e)},g,function(e,n){var t=e.method,r=void 0===t?"GET":t;return x.has(r.toUpperCase())&&(e=b(b({},e),{},{headers:b(b({},e.headers),{},{"X-HTTP-Method-Override":r,"Content-Type":"application/json"}),method:"POST"})),n(e)},k],L=function(e){if(e.status>=200&&e.status<300)return e;throw e},J=function(e){var n=e.url,t=e.path,r=e.data,i=e.parse,a=void 0===i||i,c=(0,o.A)(e,h),s=e.body,u=e.headers;return u=b(b({},U),u),r&&(s=JSON.stringify(r),u["Content-Type"]="application/json"),window.fetch(n||t||window.location.href,b(b(b({},I),c),{},{body:s,headers:u})).then((function(e){return Promise.resolve(e).then(L).catch((function(e){return A(e,a)})).then((function(e){return P(e,a)}))}),(function(e){if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:wp.i18n.__("You are probably offline.")}}))};function z(e){return R.reduceRight((function(e,n){return function(t){return n(t,e)}}),J)(e).catch((function(n){return"rest_cookie_invalid_nonce"!==n.code?Promise.reject(n):window.fetch(z.nonceEndpoint).then(L).then((function(e){return e.text()})).then((function(n){return z.nonceMiddleware.nonce=n,z(e)}))}))}z.use=function(e){R.unshift(e)},z.setFetchHandler=function(e){J=e},z.createNonceMiddleware=function(e){var n=function e(n,t){var r=n.headers,i=void 0===r?{}:r;for(var o in i)if("x-wp-nonce"===o.toLowerCase()&&i[o]===e.nonce)return t(n);return t(b(b({},n),{},{headers:b(b({},i),{},{"X-WP-Nonce":e.nonce})}))};return n.nonce=e,n},z.createPreloadingMiddleware=function(e){var n=Object.fromEntries(Object.entries(e).map((function(e){var n=(0,a.A)(e,2),t=n[0],r=n[1];return[_(t),r]})));return function(e,t){var r=e.parse,i=void 0===r||r,a=e.path;if(!a&&e.url){var c=(0,d.g)(e.url),s=c.rest_route,u=(0,o.A)(c,p);"string"==typeof s&&(a=(0,d.a)(s,u))}if("string"!=typeof a)return t(e);var l=e.method||"GET",f=_(a);if("GET"===l&&n[f]){var h=n[f];return delete n[f],w(h,!!i)}if("OPTIONS"===l&&n[l]&&n[l][f]){var v=n[l][f];return delete n[l][f],w(v,!!i)}return t(e)}},z.createRootURLMiddleware=function(e){return function(n,t){return g(n,(function(n){var r,i=n.url,o=n.path;return"string"==typeof o&&(r=e,-1!==e.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(o=o.replace("?","&")),i=r+o),t(b(b({},n),{},{url:i}))}))}},z.fetchAllMiddleware=k,z.mediaUploadMiddleware=function(e,n){if(!function(e){var n=!!e.method&&"POST"===e.method;return(!!e.path&&-1!==e.path.indexOf("/wp/v2/media")||!!e.url&&-1!==e.url.indexOf("/wp/v2/media"))&&n}(e))return n(e);var t=0,r=function e(r){return t++,n({path:"/wp/v2/media/".concat(r,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return t<5?e(r):(n({path:"/wp/v2/media/".concat(r,"?force=true"),method:"DELETE"}),Promise.reject())}))};return n(b(b({},e),{},{parse:!1})).catch((function(n){var t=n.headers.get("x-wp-upload-attachment-id");return n.status>=500&&n.status<600&&t?r(t).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:wp.i18n.__("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):A(n,e.parse)})).then((function(n){return P(n,e.parse)}))},z.createThemePreviewMiddleware=function(e){return function(n,t){if("string"==typeof n.url){var r=(0,l.g)(n.url,"wp_theme_preview");void 0===r?n.url=(0,d.a)(n.url,{wp_theme_preview:e}):""===r&&(n.url=(0,l.r)(n.url,"wp_theme_preview"))}if("string"==typeof n.path){var i=(0,l.g)(n.path,"wp_theme_preview");void 0===i?n.path=(0,d.a)(n.path,{wp_theme_preview:e}):""===i&&(n.path=(0,l.r)(n.path,"wp_theme_preview"))}return t(n)}},z.fetchAllMiddleware=null,z.use(z.createRootURLMiddleware((null===(D=null===(S=null===window||void 0===window?void 0:window.parent)||void 0===S?void 0:S.scData)||void 0===D?void 0:D.root_url)||(null===(T=null===window||void 0===window?void 0:window.scData)||void 0===T?void 0:T.root_url))),(null===(E=null===window||void 0===window?void 0:window.scData)||void 0===E?void 0:E.nonce)&&(z.nonceMiddleware=z.createNonceMiddleware(null===(M=null===window||void 0===window?void 0:window.scData)||void 0===M?void 0:M.nonce),z.use(z.nonceMiddleware)),(null===(C=null===window||void 0===window?void 0:window.scData)||void 0===C?void 0:C.nonce_endpoint)&&(z.nonceEndpoint=null===(N=null===window||void 0===window?void 0:window.scData)||void 0===N?void 0:N.nonce_endpoint),z.use((function(e,n){return e.path=(0,d.a)(e.path,{t:Date.now()}),n(e)})),z.use((function(e,n){return e.path=(0,d.a)(e.path,b({},!!(0,l.g)(window.location.href,"currency")&&{currency:(0,l.g)(window.location.href,"currency")})),n(e)})),z.use((function(e,n){var t=n(e);return t.catch((function(e){var n;return"invalid_json"===e.code&&(e.message=wp.i18n.__("The response is not a valid JSON response.","surecart"),e.additional_errors=[{code:"invalid_json",message:wp.i18n.sprintf(/* translators: %s: URL to debug settings page */
wp.i18n.__("Please ensure that your site is not in debug mode as this may interfere with API responses. %s","surecart"),'<a href="'.concat("https://surecart.com/docs/is-not-a-valid-json-response/",'" target="_blank" rel="noopener noreferrer">').concat(wp.i18n.__("More Information","surecart"),"</a>"))}]),"checkout.finalize_error"===e.code&&(e.additional_errors=[].concat((0,r.A)((null===(n=null==e?void 0:e.additional_errors)||void 0===n?void 0:n.length)?[]:[{code:"checkout.finalize_error",message:e.message}]),(0,r.A)(e.additional_errors||[])),e.message=wp.i18n.__("We were not able to process this order","surecart")),Promise.reject(e)})),t}));var B=function(e){var n={code:"invalid_json",message:wp.i18n.__("The response is not a valid JSON response.","surecart")};if((null==e?void 0:e.code)&&(null==e?void 0:e.message))throw e;if(!e||!e.json)throw n;return e.json().catch((function(){throw n}))},F=function(){var e=(0,i.A)(u().mark((function e(n){var t;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B(n);case 2:if("rest_cookie_invalid_nonce"===(t=e.sent).code){e.next=5;break}throw t;case 5:return e.abrupt("return",window.fetch(z.nonceEndpoint).then((function(e){if(e.status>=200&&e.status<300)return e;throw e})).then((function(e){return e.text()})).then((function(e){z.nonceMiddleware.nonce=e})));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()},3506:function(e,n,t){t.d(n,{g:function(){return i},r:function(){return o}});var r=t(4805);function i(e,n){return(0,r.g)(e)[n]}function o(e){var n=e.indexOf("?");if(-1===n)return e;for(var t=(0,r.g)(e),i=e.substr(0,n),o=arguments.length,a=new Array(o>1?o-1:0),c=1;c<o;c++)a[c-1]=arguments[c];a.forEach((function(e){return delete t[e]}));var s=(0,r.b)(t);return s?i+"?"+s:i}},839:function(e,n,t){t.r(n),t.d(n,{sc_customer_edit:function(){return h}});var r=t(4467),i=t(467),o=t(3029),a=t(2901),c=t(9280),s=t.n(c),u=t(1346),d=t(8803),l=t(4805);function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=function(){return(0,a.A)((function e(n){(0,o.A)(this,e),(0,u.r)(this,n),this.heading=void 0,this.customer=void 0,this.successUrl=void 0,this.loading=void 0,this.error=void 0}),[{key:"handleSubmit",value:(e=(0,i.A)(s().mark((function e(n){var t,r,i,o,a,c,u,p,h,v,b,m,_,g,w,y,O,j,k,x,P,A,S,D;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,e.prev=1,e.next=4,n.target.getFormJson();case 4:return i=e.sent,o=i.email,a=i.first_name,c=i.last_name,u=i.phone,p=i.billing_matches_shipping,h=i.shipping_name,v=i.shipping_city,b=i["tax_identifier.number_type"],m=i["tax_identifier.number"],_=i.shipping_country,g=i.shipping_line_1,w=i.shipping_line_2,y=i.shipping_postal_code,O=i.shipping_state,j=i.billing_name,k=i.billing_city,x=i.billing_country,P=i.billing_line_1,A=i.billing_line_2,S=i.billing_postal_code,D=i.billing_state,this.customer.billing_address={name:j,city:k,country:x,line_1:P,line_2:A,postal_code:S,state:D},this.customer.shipping_address={name:h,city:v,country:_,line_1:g,line_2:w,postal_code:y,state:O},e.next=30,(0,d.a)({path:(0,l.a)("surecart/v1/customers/".concat(null===(t=this.customer)||void 0===t?void 0:t.id),{expand:["tax_identifier"]}),method:"PATCH",data:f({email:o,first_name:a,last_name:c,phone:u,billing_matches_shipping:!0===p||"on"===p,shipping_address:this.customer.shipping_address,billing_address:this.customer.billing_address},m&&b?{tax_identifier:{number:m,number_type:b}}:{})});case 30:this.successUrl?window.location.assign(this.successUrl):this.loading=!1,e.next=37;break;case 33:e.prev=33,e.t0=e.catch(1),this.error=(null===(r=null===e.t0||void 0===e.t0?void 0:e.t0.additional_errors)||void 0===r?void 0:r.length)?e.t0.additional_errors.map((function(e){return e.message})).join(", "):(null===e.t0||void 0===e.t0?void 0:e.t0.message)||wp.i18n.__("Something went wrong","surecart"),this.loading=!1;case 37:case"end":return e.stop()}}),e,this,[[1,33]])}))),function(_x){return e.apply(this,arguments)})},{key:"render",value:function(){var e,n,t,r,i,o,a,c,s,d,l,p,h=this;return(0,u.h)("sc-dashboard-module",{key:"f6f28add4917670d41905c34f2ce3ecca0359f2a",class:"customer-edit",error:this.error},(0,u.h)("span",{key:"52a7be03cc3772e08253045a926dba4727eb8d9b",slot:"heading"},this.heading||wp.i18n.__("Update Billing Details","surecart")," ",!(null===(e=null==this?void 0:this.customer)||void 0===e?void 0:e.live_mode)&&(0,u.h)("sc-tag",{key:"a716da09e5acaffef6f50155ca8c1ccdccb9971c",type:"warning",size:"small"},wp.i18n.__("Test","surecart"))),(0,u.h)("sc-card",{key:"4b27a010d9a76a8dd5ec4848d7dd792e23ac25a9"},(0,u.h)("sc-form",{key:"173f5f3dccc357d18b236b9d8100ff28522e5614",onScFormSubmit:function(e){return h.handleSubmit(e)}},(0,u.h)("sc-columns",{key:"ff57688ebcdf69ca83ccef6704b51df973a38920",style:{"--sc-column-spacing":"var(--sc-spacing-medium)"}},(0,u.h)("sc-column",{key:"da47915b3e89b3bfd12f3a71da070c7aaffa0571"},(0,u.h)("sc-input",{key:"7b65bade03d0a6c8d4d092c09956d37015cec012",label:wp.i18n.__("First Name","surecart"),name:"first_name",value:null===(n=this.customer)||void 0===n?void 0:n.first_name})),(0,u.h)("sc-column",{key:"a974aa096e1122636ce40f9acc917d8535d981a2"},(0,u.h)("sc-input",{key:"c4714c876c767f2183e9f456d1c33ce75ad9e132",label:wp.i18n.__("Last Name","surecart"),name:"last_name",value:null===(t=this.customer)||void 0===t?void 0:t.last_name}))),(0,u.h)("sc-column",{key:"68b7aa6719978747e9b912a78c0e5dbf479fc734"},(0,u.h)("sc-phone-input",{key:"54683f88de8b5edba9ace499efbc25736cc7cf3e",label:wp.i18n.__("Phone","surecart"),name:"phone",value:null===(r=this.customer)||void 0===r?void 0:r.phone})),(0,u.h)("sc-flex",{key:"a545f3091574e2e17a8f2f031e957e46ff2bc7c5",style:{"--sc-flex-column-gap":"var(--sc-spacing-medium)"},flexDirection:"column"},(0,u.h)("div",{key:"38af463d3cce767ca2eae9f0e63463f65f40f0c4"},(0,u.h)("sc-address",{key:"7a05e86bd9140cc0206cfb936622104cd5b7cbbc",label:wp.i18n.__("Shipping Address","surecart"),showName:!0,address:f({},null===(i=this.customer)||void 0===i?void 0:i.shipping_address),showLine2:!0,required:!1,names:{name:"shipping_name",country:"shipping_country",line_1:"shipping_line_1",line_2:"shipping_line_2",city:"shipping_city",postal_code:"shipping_postal_code",state:"shipping_state"}})),(0,u.h)("div",{key:"7cbc7a550fa9cbcd9bcdf0817c2a365e57c29af0"},(0,u.h)("sc-checkbox",{key:"cab147a7ffd45d81eb65ce02afeb49da89236c7d",name:"billing_matches_shipping",checked:null===(o=this.customer)||void 0===o?void 0:o.billing_matches_shipping,onScChange:function(e){h.customer=f(f({},h.customer),{},{billing_matches_shipping:e.target.checked})},value:"on"},wp.i18n.__("Billing address is same as shipping","surecart"))),(0,u.h)("div",{key:"3328d77750122d5741cfb19e6a5d0567c0859dd0",style:{display:(null===(a=this.customer)||void 0===a?void 0:a.billing_matches_shipping)?"none":"block"}},(0,u.h)("sc-address",{key:"6a6f3468053cf0f995268b924ef1cc55e05cdb2c",label:wp.i18n.__("Billing Address","surecart"),showName:!0,address:f({},null===(c=this.customer)||void 0===c?void 0:c.billing_address),showLine2:!0,names:{name:"billing_name",country:"billing_country",line_1:"billing_line_1",line_2:"billing_line_2",city:"billing_city",postal_code:"billing_postal_code",state:"billing_state"},required:!0})),(0,u.h)("sc-tax-id-input",{key:"86e96249004f5ee6b4d2f39ac57c48cdf329a154",show:!0,number:null===(d=null===(s=this.customer)||void 0===s?void 0:s.tax_identifier)||void 0===d?void 0:d.number,type:null===(p=null===(l=this.customer)||void 0===l?void 0:l.tax_identifier)||void 0===p?void 0:p.number_type})),(0,u.h)("div",{key:"e4d18af488131e86142b9cf0e21581a9da6d48d3"},(0,u.h)("sc-button",{key:"ad82f758e874abbc12f5b05e8fa065916b230221",type:"primary",full:!0,submit:!0},wp.i18n.__("Save","surecart"))))),this.loading&&(0,u.h)("sc-block-ui",{key:"24cbcea4babe0de8909cb00b40efbeea3b04169d",spinner:!0}))}}]);var e}();h.style=":host{display:block;position:relative}.customer-edit{display:grid;gap:0.75em}"}}]);
Nama
Tipe
Ukuran
Diubah
Aksi
📁 admin
dir
—
2026-03-25 10:13
📁 blocks
dir
—
2026-03-25 10:13
📁 components
dir
—
2026-03-25 10:13
📁 icon-assets
dir
—
2026-03-25 10:13
📁 scripts
dir
—
2026-03-25 10:13
📁 store
dir
—
2026-03-25 10:13
📁 styles
dir
—
2026-03-25 10:13
📁 templates
dir
—
2026-03-25 10:13
📜 1012.js
js
29.6 KB
2026-01-29 20:51
📜 1013.js
js
1.3 KB
2024-11-08 03:06
📜 1071.js
js
23.9 KB
2026-02-26 00:12
📜 1222.js
js
679 B
2026-03-24 22:24
📜 1279.js
js
41.2 KB
2026-03-24 22:24
📜 1375.js
js
22.5 KB
2026-03-24 22:24
📜 1418.js
js
5.3 KB
2026-02-26 00:12
📜 1467.js
js
20.6 KB
2026-01-29 20:51
📜 1567.js
js
83 KB
2026-02-26 00:12
📜 1712.js
js
44 KB
2026-01-29 20:51
📜 1782.js
js
24.5 KB
2026-01-29 20:51
📜 1834.js
js
11.6 KB
2026-02-26 00:12
📜 1897.js
js
5 KB
2026-03-24 22:24
📜 1935.js
js
4.8 KB
2026-02-26 00:12
📜 1936.js
js
21 KB
2026-01-29 20:51
📜 1972.js
js
1.9 KB
2024-11-08 03:06
📜 2023.js
js
9.8 KB
2025-07-08 20:29
📜 2074.js
js
6.5 KB
2026-03-24 22:24
📜 2107.js
js
64.2 KB
2026-01-29 20:51
📜 2120.js
js
11.4 KB
2024-12-18 02:07
📜 2161.js
js
3.9 KB
2026-02-26 00:12
📜 2179.js
js
331.2 KB
2026-03-24 22:24
📜 2262.js
js
1.2 KB
2026-03-24 22:24
📜 2321.js
js
19 KB
2026-01-29 20:51
📜 2368.js
js
187.4 KB
2026-03-12 23:24
📜 2393.js
js
9 KB
2025-09-11 22:36
📜 2487.js
js
4.6 KB
2026-03-24 22:24
📜 2518.js
js
120.1 KB
2026-03-24 22:24
📜 2529.js
js
10.2 KB
2026-03-12 23:24
📜 2654.js
js
122.2 KB
2026-03-12 23:24
📜 2655.js
js
4.2 KB
2026-03-24 22:24
📜 2837.js
js
22.8 KB
2026-02-26 00:12
📜 2850.js
js
41.1 KB
2026-01-29 20:51
📜 2865.js
js
31.2 KB
2026-02-26 00:12
📜 2878.js
js
56.8 KB
2026-02-16 22:30
📜 2885.js
js
29.8 KB
2026-03-24 22:24
📜 2894.js
js
2.3 KB
2026-03-24 22:24
📜 294.js
js
11.6 KB
2026-03-24 22:24
📜 2948.js
js
932 B
2026-02-26 00:12
📜 3015.js
js
29.4 KB
2026-02-26 00:12
📜 3074.js
js
1.1 KB
2026-02-26 00:12
📜 3093.js
js
937 B
2024-11-08 03:06
📜 321.js
js
3.7 KB
2026-03-24 22:24
📜 3291.js
js
813 B
2024-11-08 03:06
📜 3328.js
js
14.3 KB
2026-02-26 00:12
📜 3346.js
js
41.8 KB
2026-02-26 00:12
📜 3396.js
js
20.6 KB
2026-02-26 00:12
📜 3419.js
js
2.8 KB
2026-02-26 00:12
📜 348.js
js
72.5 KB
2026-03-24 22:24
📜 3590.js
js
17.5 KB
2026-01-29 20:51
📜 3684.js
js
17.1 KB
2026-01-29 20:51
📜 3787.js
js
84.1 KB
2026-03-24 22:24
📜 3789.js
js
7.6 KB
2026-02-26 00:12
📜 3829.js
js
35.7 KB
2026-01-29 20:51
📜 3877.js
js
49.6 KB
2026-03-24 22:24
📜 3928.js
js
2.4 KB
2024-11-08 03:06
📜 393.js
js
47.7 KB
2026-03-12 23:24
📜 3998.js
js
25.9 KB
2025-07-08 20:29
📜 4006.js
js
15.8 KB
2026-02-26 00:12
📜 4009.js
js
10.7 KB
2025-07-08 20:29
📜 4086.js
js
8.5 KB
2026-02-26 00:12
📜 4127.js
js
7.1 KB
2026-03-24 22:24
📜 4179.js
js
3.4 KB
2026-02-26 00:12
📜 4264.js
js
3.9 KB
2024-11-08 03:06
📜 4372.js
js
66.2 KB
2026-01-29 20:51
📜 4495.js
js
538 B
2026-03-24 22:24
📜 4498.js
js
21.3 KB
2026-02-26 00:12
📜 4527.js
js
9.6 KB
2026-02-26 00:12
📜 4691.js
js
49.7 KB
2026-03-24 22:24
📜 475.js
js
9.2 KB
2026-03-24 22:24
📜 4869.js
js
44.1 KB
2026-03-24 22:24
📜 4917.js
js
1.1 KB
2026-02-26 00:12
📜 515.js
js
72.9 KB
2026-03-12 23:24
📜 5230.js
js
2.1 KB
2024-11-08 03:06
📜 5254.js
js
1.7 KB
2026-02-26 00:12
📜 5360.js
js
1.5 KB
2026-03-24 22:24
📜 5397.js
js
1.1 KB
2026-02-26 00:12
📜 5426.js
js
123.5 KB
2026-03-24 22:24
📜 5471.js
js
50.7 KB
2026-03-02 21:56
📜 5503.js
js
3.4 KB
2026-02-26 00:12
📜 5585.js
js
17.8 KB
2026-01-29 20:51
📜 5593.js
js
1.6 KB
2026-03-24 22:24
📜 5611.js
js
47.8 KB
2026-02-26 00:12
📜 5668.js
js
42.1 KB
2026-01-29 20:51
📜 5703.js
js
1.9 KB
2026-01-29 20:51
📜 5733.js
js
3.7 KB
2026-02-26 00:12
📜 5812.js
js
18.5 KB
2026-01-29 20:51
📜 5825.js
js
1.7 KB
2026-03-24 22:24
📜 6000.js
js
3.5 KB
2026-02-26 00:12
📜 6008.js
js
4.9 KB
2026-02-26 00:12
📜 6021.js
js
18.4 KB
2026-02-26 00:12
📜 6034.js
js
1 KB
2024-11-08 03:06
📜 6087.js
js
1.4 KB
2026-03-24 22:24
📜 610.js
js
41.4 KB
2026-01-29 20:51
📜 614.js
js
17.9 KB
2026-03-24 22:24
📜 6241.js
js
16 KB
2024-12-18 02:07
📜 6274.js
js
861 B
2024-11-08 03:06
📜 6325.js
js
1.6 KB
2026-03-24 22:24
📜 6387.js
js
19.3 KB
2026-01-29 20:51
📜 6415.js
js
51.1 KB
2026-03-24 22:24
📜 6453.js
js
16.9 KB
2026-01-29 20:51
📜 648.js
js
65.2 KB
2026-01-29 20:51
📜 6653.js
js
603 B
2026-02-26 00:12
📜 6755.js
js
1.9 KB
2026-02-26 00:12
📜 6756.js
js
2.3 KB
2026-03-24 22:24
📜 686.js
js
31.8 KB
2026-02-26 00:12
📜 6886.js
js
22.5 KB
2026-02-26 00:12
📜 6912.js
js
77.6 KB
2026-03-12 23:24
📜 6932.js
js
74.4 KB
2026-03-24 22:24
📜 713.js
js
62.3 KB
2026-01-29 20:51
📜 7245.js
js
53.3 KB
2026-03-12 23:24
📜 7254.js
js
63.4 KB
2026-03-02 21:56
📜 7291.js
js
20.9 KB
2024-12-18 02:07
📜 7313.js
js
1.3 KB
2026-03-24 22:24
📜 7349.js
js
550 B
2026-03-24 22:24
📜 7435.js
js
82.7 KB
2026-01-29 20:51
📜 75.js
js
2.8 KB
2025-09-03 00:55
📜 7513.js
js
767 B
2026-02-26 00:12
📜 758.js
js
15.5 KB
2026-01-29 20:51
📜 7624.js
js
485 B
2026-03-24 22:24
📜 7854.js
js
9.8 KB
2026-03-24 22:24
📜 7893.js
js
5.3 KB
2024-11-08 03:06
📜 8017.js
js
25.9 KB
2026-02-26 00:12
📜 8053.js
js
46.2 KB
2026-02-26 00:12
📜 8084.js
js
15.5 KB
2026-02-26 00:12
📜 8095.js
js
2.2 KB
2026-03-24 22:24
📜 8148.js
js
9.2 KB
2026-03-24 22:24
📜 8207.js
js
20.2 KB
2026-02-26 00:12
📜 8229.js
js
22 KB
2026-03-02 21:56
📜 8270.js
js
55.4 KB
2026-03-02 21:56
📜 829.js
js
69.2 KB
2026-01-29 20:51
📜 8360.js
js
21.9 KB
2026-02-26 00:12
📜 839.js
js
20 KB
2026-01-29 20:51
📜 8516.js
js
21.2 KB
2026-02-26 00:12
📜 854.js
js
63.7 KB
2026-03-24 22:24
📜 8566.js
js
7.4 KB
2026-02-26 00:12
📜 8676.js
js
16.5 KB
2026-02-26 00:12
📜 868.js
js
37.3 KB
2026-01-29 20:51
📜 8695.js
js
46 KB
2026-02-26 00:12
📜 8739.js
js
28 KB
2026-02-26 00:12
📜 889.js
js
2.7 KB
2026-02-26 00:12
📜 8923.js
js
46.3 KB
2026-02-26 00:12
📜 8925.js
js
999 B
2026-02-26 00:12
📜 8935.js
js
5.1 KB
2025-07-08 20:29
📜 8942.js
js
65.4 KB
2026-01-29 20:51
📜 8979.js
js
19.7 KB
2026-02-26 00:12
📜 9008.js
js
43.1 KB
2026-01-29 20:51
📜 9017.js
js
21.5 KB
2026-03-24 22:24
📜 9023.js
js
41.3 KB
2026-01-29 20:51
📜 903.js
js
1.3 KB
2024-11-08 03:06
📜 9049.js
js
43.9 KB
2026-03-24 22:24
📜 9063.js
js
46 KB
2026-03-12 23:24
📜 9093.js
js
12 KB
2024-12-18 02:07
📜 9140.js
js
65.1 KB
2026-01-29 20:51
📜 9173.js
js
1.3 KB
2024-11-08 03:06
📜 9210.js
js
13.1 KB
2026-03-24 22:24
📜 9367.js
js
66 KB
2026-01-29 20:51
📜 9372.js
js
27.1 KB
2026-03-24 22:24
📜 9433.js
js
47.9 KB
2026-02-04 19:30
📜 9459.js
js
5.7 KB
2026-02-26 00:12
📜 9537.js
js
79.7 KB
2026-03-24 22:24
📜 9640.js
js
1.4 KB
2026-02-26 00:12
📜 9643.js
js
3.6 KB
2026-02-26 00:12
📜 965.js
js
1.4 KB
2026-02-26 00:12
📜 9687.js
js
74.5 KB
2026-03-12 23:24
📜 9688.js
js
4.9 KB
2026-03-24 22:24
📜 9691.js
js
47.3 KB
2026-01-29 20:51
📜 9797.js
js
9.1 KB
2026-02-26 00:12
📜 9804.js
js
1 KB
2026-03-24 22:24
📜 9846.js
js
18.7 KB
2026-01-29 20:51
📜 9881.js
js
74.8 KB
2026-03-12 23:24
📜 9969.js
js
68.9 KB
2026-03-24 22:24