forked from bigcommerce/checkout-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruntime-e4514706.js
2 lines (2 loc) · 4.66 KB
/
runtime-e4514706.js
1
2
(()=>{"use strict";var e,r,t,a,o,n={},i={};function l(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,l),t.loaded=!0,t.exports}l.m=n,l.amdO={},e=[],l.O=(r,t,a,o)=>{if(!t){var n=1/0;for(d=0;d<e.length;d++){for(var[t,a,o]=e[d],i=!0,s=0;s<t.length;s++)(!1&o||n>=o)&&Object.keys(l.O).every((e=>l.O[e](t[s])))?t.splice(s--,1):(i=!1,o<n&&(n=o));if(i){e.splice(d--,1);var c=a();void 0!==c&&(r=c)}}return r}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[t,a,o]},l.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return l.d(r,{a:r}),r},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((r,t)=>(l.f[t](e,r),r)),[])),l.u=e=>(({211:"order-summary",356:"order-summary-drawer",553:"cart-summary-drawer",727:"customer",764:"payment",857:"shipping",876:"billing",897:"cart-summary"}[e]||e)+"-"+{37:"6f927204",211:"33379232",356:"8e276b15",361:"a46c83c5",553:"3d736a03",617:"d46dea11",727:"449fae16",764:"d233b176",850:"ae1ed05b",857:"8e230fda",876:"ee0e69ec",897:"3fd809e8",904:"20a39b97"}[e]+".js"),l.miniCssF=e=>({553:"cart-summary-drawer",727:"customer",764:"payment",857:"shipping",876:"billing",897:"cart-summary"}[e]+"-"+{553:"6e3e5baa",727:"99380b19",764:"ef4c2c40",857:"cad50471",876:"8df3ad3b",897:"6e3e5baa"}[e]+".css"),l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="checkout:",l.l=(e,a,o,n)=>{if(r[e])r[e].push(a);else{var i,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==t+o){i=u;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",t+o),i.src=e),r[e]=[a];var f=(t,a)=>{i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(a))),t)return t(a)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;l.g.importScripts&&(e=l.g.location+"");var r=l.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),a=e=>new Promise(((r,t)=>{var a=l.miniCssF(e),o=l.p+a;if(((e,r)=>{for(var t=document.getElementsByTagName("link"),a=0;a<t.length;a++){var o=(i=t[a]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===e||o===r))return i}var n=document.getElementsByTagName("style");for(a=0;a<n.length;a++){var i;if((o=(i=n[a]).getAttribute("data-href"))===e||o===r)return i}})(a,o))return r();((e,r,t,a)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=n=>{if(o.onerror=o.onload=null,"load"===n.type)t();else{var i=n&&("load"===n.type?"missing":n.type),l=n&&n.target&&n.target.href||r,s=new Error("Loading CSS chunk "+e+" failed.\n("+l+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=l,o.parentNode.removeChild(o),a(s)}},o.href=r,document.head.appendChild(o)})(e,o,r,t)})),o={666:0},l.f.miniCss=(e,r)=>{o[e]?r.push(o[e]):0!==o[e]&&{553:1,727:1,764:1,857:1,876:1,897:1}[e]&&r.push(o[e]=a(e).then((()=>{o[e]=0}),(r=>{throw delete o[e],r})))},(()=>{var e={666:0};l.f.j=(r,t)=>{var a=l.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(666!=r){var o=new Promise(((t,o)=>a=e[r]=[t,o]));t.push(a[2]=o);var n=l.p+l.u(r),i=new Error;l.l(n,(t=>{if(l.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+n+")",i.name="ChunkLoadError",i.type=o,i.request=n,a[1](i)}}),"chunk-"+r,r)}else e[r]=0},l.O.j=r=>0===e[r];var r=(r,t)=>{var a,o,[n,i,s]=t,c=0;if(n.some((r=>0!==e[r]))){for(a in i)l.o(i,a)&&(l.m[a]=i[a]);if(s)var d=s(l)}for(r&&r(t);c<n.length;c++)o=n[c],l.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return l.O(d)},t=self.webpackJsonpCheckout=self.webpackJsonpCheckout||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();
//# sourceMappingURL=runtime-e4514706.js.map