PageSourceSearch

https://daisuki.cl/_next/static/chunks/7108.131935e418198375.js

js daisuki.cl collected 2026-10-02 01:22:45 UTC 4,960 bytes, 20 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7108],{87108:function(e,t,i){i.r(t),i.d(t,{default:function(){return b}});var s=i(85893),n=i(67294);let o=!1,r=!1,a=n.forwardRef(({pageId:e,language:t="en_US",themeColor:i,bottomSpacing:s,greetingDialogDisplay:a,greetingDialogDelay:c=0,loggedInGreeting:d,loggedOutGreeting:u,onMessengerMounted:g,onMessengerLoad:m,onMessengerShow:h,onMessengerHide:b,onMessengerDialogShow:p,onMessengerDialogHide:f,debugMode:v=!1,version:C="v13.0"},w)=>{let E=()=>{v&&console.log("[react-messenger-chat-plugin] initializing messenger plugin");try{var n,r,w,E;let v,x;let _=document.getElementById("fb-customer-chat");_.setAttribute("page_id",e),_.setAttribute("attribution","biz_inbox"),i&&_.setAttribute("theme_color",i),d&&_.setAttribute("logged_in_greeting",d),u&&_.setAttribute("logged_out_greeting",u),a&&_.setAttribute("greeting_dialog_display",a),c&&_.setAttribute("greeting_dialog_delay",c.toString()),window.fbAsyncInit=function(){if(void 0!=s){let e=`
2              .fb_reset {
3                visibility: hidden !important;
4              }
5            `,t=document.createElement("style");document.head.appendChild(t),t.type="text/css",t.appendChild(document.createTextNode(e)),FB.Event.subscribe("customerchat.load",()=>{setTimeout(()=>l(s),1500)})}FB.init({xfbml:!0,version:C}),FB.Event.subscribe("customerchat.load",()=>{m&&m(),void 0!=s&&setTimeout(()=>l(s),1500)}),FB.Event.subscribe("xfbml.render",()=>{g&&g(),o=!0}),FB.Event.subscribe("customerchat.show",()=>{h&&h()}),FB.Event.subscribe("customerchat.hide",()=>{b&&b()}),FB.Event.subscribe("customerchat.dialogShow",()=>{p&&p()}),FB.Event.subscribe("customerchat.dialogHide",()=>{f&&f()})},n=document,r="script",w="facebook-jssdk",x=n.getElementsByTagName(r)[0],n.getElementById(w)||((v=n.createElement(r)).id=w,v.src=`https://connect.facebook.net/${t}/sdk/xfbml.customerchat.js`,null===(E=null==x?void 0:x.parentNode)||void 0===E||E.insertBefore(v,x))}catch(e){throw e}};return(0,n.useEffect)(()=>{try{r=v,E()}catch(e){console.log(e)}},[]),n.createElement("div",{ref:w},n.createElement("div",{id:"fb-root"}),n.createElement("div",{id:"fb-customer-chat",className:"fb-customerchat"}))}),l=e=>{r&&console.log(`[react-messenger-chat-plugin] setting messenger bottom spacing: ${e}`);let t=`
6  .fb_reset {
7    visibility: visible !important;
8  }
9
10  [data-testid="bubble_iframe"] {
11    visibility: visible !important;
12    bottom: 0 !important;
13    transform: translateY(${-e}px) !important;
14    transition: transform 0.3s !important;
15  }
16
17  [data-testid='dialog_iframe'] {
18    bottom: ${e+56}px !important;
19  }
20  `,i=document.createElement("style");document.head.appendChild(i),i.type="text/css",i.appendChild(document.createTextNode(t))},c=()=>{r&&console.log("[react-messenger-chat-plugin] showing dialog");try{o&&(null==FB?void 0:FB.CustomerChat)?FB.CustomerChat.showDialog():o||console.warn("Messenger could not show dialog due to the messenger chat not beeing mounted yet.")}catch(e){throw Error(e)}};var d=i(45697),u=i(94184),g=i.n(u),m=i(10379);let h=e=>{let{height:t,facebookMessengerId:i,hideOnMobile:o}=e,[r,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{l(e=>(e&&c(),!0))};return window.addEventListener(m.X.openMessenger,e),()=>window.removeEventListener(m.X.openMessenger,e)},[]),(0,s.jsxs)(s.Fragment,{children:[r?(0,s.jsx)(a,{pageId:i,language:"es_LA",themeColor:"#0a7cff",bottomSpacing:t.value,greetingDialogDisplay:"hide",onMessengerMounted:()=>c(),onMessengerLoad:()=>c()}):null,(0,s.jsx)("button",{onClick:()=>{window.dispatchEvent(new Event(m.X.openMessenger))},className:g()("fixed right-[24px] z-[4] h-[60px] w-[60px] cursor-pointer items-center justify-center rounded-full",o?"hidden sm:flex":"flex",t.className,"bg-[#0a7cff]"),children:r?(0,s.jsx)("img",{width:"44",height:"44",src:"/puff.svg",alt:"loading"}):(0,s.jsx)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",children:(0,s.jsx)("path",{fill:"white",d:"M1 17.99C1 8.51488 8.42339 1.5 18 1.5C27.5766 1.5 35 8.51488 35 17.99C35 27.4651 27.5766 34.48 18 34.48C16.2799 34.48 14.6296 34.2528 13.079 33.8264C12.7776 33.7435 12.4571 33.767 12.171 33.8933L8.79679 35.3828C7.91415 35.7724 6.91779 35.1446 6.88821 34.1803L6.79564 31.156C6.78425 30.7836 6.61663 30.4352 6.33893 30.1868C3.03116 27.2287 1 22.9461 1 17.99ZM12.7854 14.8897L7.79161 22.8124C7.31238 23.5727 8.24695 24.4295 8.96291 23.8862L14.327 19.8152C14.6899 19.5398 15.1913 19.5384 15.5557 19.8116L19.5276 22.7905C20.7193 23.6845 22.4204 23.3706 23.2148 22.1103L28.2085 14.1875C28.6877 13.4272 27.7531 12.5704 27.0371 13.1137L21.673 17.1847C21.3102 17.4601 20.8088 17.4616 20.4444 
2017.1882L16.4726 14.2094C15.2807 13.3155 13.5797 13.6293 12.7854 14.8897Z"})})})]})};h.propTypes={facebookMessengerId:d.string.isRequired,height:(0,d.shape)({value:d.number.isRequired,className:d.string.isRequired}).isRequired,hideOnMobile:d.bool},h.defaultProps={hideOnMobile:!1};var b=h}}]);

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.