PageSourceSearch

https://magikmuzik.shop/cdn/shopifycloud/checkout-web/assets/c1/amazon-pay-useAmazonPayPaymentLine.Ju006AId.js

js magikmuzik.shop collected 2026-09-27 21:44:14 UTC 2,020 bytes, 1 lines download raw bytes

1import{a8 as u,a9 as p,f as l}from"./esnext-vendor.B9Da21W6.js";import{T as f,fH as h,a6 as b}from"./addresses-is-address-empty.Bn2lNY_L.js";function g(n,t){try{const o=new URL(n),a=new URL(t);return o.origin===n&&o.protocol==="https:"&&o.protocol===a.protocol&&o.port===a.port&&(o.hostname===a.hostname||o.hostname.endsWith(`.${a.hostname}`))}catch{return!1}}const x="data-special-id";function E({id:n,url:t,privileges:o,title:a,name:r,iframeSpecialId:i,onLoad:s}){const d=document.getElementById(`sandbox-${n}`);if(d&&d.tagName==="IFRAME")return d;const e=document.createElement("iframe");if(e.setAttribute("id",`sandbox-${n}`),e.setAttribute("src",t),e.setAttribute("sandbox",o.join(" ")),e.setAttribute("tabIndex","-1"),e.setAttribute("aria-hidden","true"),i&&e.setAttribute(x,i),a&&e.setAttribute("title",a),r&&e.setAttribute("name",r),e.setAttribute("style","display:none; height:0; width:0; visibility: hidden;"),y(e),s){const c=s(e);e.addEventListener("load",c,{once:!0})}return e}const m={};function I(n,t,o,a,r){const i=n.getAttribute("id");if(!i)throw Error("Endpoint cannot be created without an iframe id");a&&A(t,a);const s=`${i}-endpoint-${o}`,d=m[s];d&&(a?.leaveErrorBreadcrumb(`Terminating existing RPC endpoint ${s}`),d.terminate());const e=r?.isSandboxedWithNullOrigin?"*":new URL(t).origin,c=u(p(n,{targetOrigin:e}));return m[s]=c,c}function A(n,t){let o;try{o=new URL(n,window.location.href)}catch{return}const a=o.searchParams.get("shopHost");if(!a)return;const r=`https://${a}`,i=window.location.origin;g(i,r)||t.log("sandbox_parent_origin_mismatch","Sandbox shopHost does not match the parent origin",{sandbox:o.pathname,expectedOrigin:r,actualOrigin:i})}function y(n){let t=document.querySelector("#SandboxContainer");t==null&&(t=document.createElement("div"),t.setAttribute("id","SandboxContainer"),document.body.appendChild(t)),t.appendChild(n)}function L(){const n=f().paymentLines;return l(()=>{const[t]=h(n.value,[b.AmazonPay]);return t})}export{x as D,y as a,I as b,E as c,A as r,L as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.