1"use strict";(self.webpackChunkbookcore_client=self.webpackChunkbookcore_client||[]).push([[111],{73450:function(e,r,t){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=t(96540),o=t(72606),a=t(74848);r.default=({configs:e,renderData:r})=>{const t=(0,n.useRef)(null);return(0,o.useFreedompay)({configs:e,containerRef:t,renderData:r}),(0,a.jsx)("div",{ref:t})};e.exports=r.default},72606:function(e,r,t){Object.defineProperty(r,"__esModule",{value:!0}),r.useFreedompay=void 0;var n=t(74938),o=t(96540),a=t(51678),s=t(18152);r.useFreedompay=({configs:e,containerRef:r,renderData:t})=>{const i=e.freedompay;(0,o.useEffect)(()=>{const e=e=>{n.ALLOWED_HANDLER_TYPES.includes(e.data?.type)&&i.handleListener(e,r)};return i.dropInSessionData.error?(i.writeCustomLogger({name:"init error",message:i.dropInSessionData.error}),void i.updateDropinErrorStatus()):(((e,r)=>{e.dropInSessionData.src_3ds&&(0,a.createDynamicScriptInDocument)({id:n.CHALLENGE_3DS_SCRIPT_ID,src:e.dropInSessionData.src_3ds}),e.dropInSessionData.iframes.forEach(e=>{const t=(0,s.parseIframeAttributes)(e),n=document.createElement("iframe");Object.entries(t).forEach(([e,r])=>{n[e]=r}),r.current.append(n)})})(i,r),window.addEventListener("message",e),()=>{r?.current?.replaceChildren(),window.removeEventListener("message",e);const t=document.getElementById(n.CHALLENGE_3DS_SCRIPT_ID);t&&document.body.removeChild(t)})},[t.dropInRetryCounter])}},18152:function(e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseIframeAttributes=void 0;const t={frameborder:"frameBorder",referrerpolicy:"referrerPolicy",allowfullscreen:"allowFullScreen"};r.parseIframeAttributes=e=>{const r=(new DOMParser).parseFromString(e,"text/html").querySelector("iframe");return r?Array.from(r.attributes).reduce((e,{name:r,value:n})=>({...e,width:"100%",[t[r]||r]:n}),{}):{}}}}]);
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.