1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="862fbacd-8ae9-4aa5-b885-e45267d56700",e._sentryDebugIdIdentifier="sentry-dbid-862fbacd-8ae9-4aa5-b885-e45267d56700")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[635,3859],{5395:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var n=l(95155),i=l(12115);l(22161);var a=l(77374),s=l(89005),o=l(13546),c=l(95604);function r(e){let{handleCloseModal:t,onChange:l}=e,r=(0,i.useRef)(null),[d,u]=(0,i.useState)("emoji"),x=(0,i.useContext)(s.M),[p,m]=(0,i.useState)(""),f=(0,c.useTranslations)("app.editor");function h(e){l(e.i.includes("<svg")?e.i:'<svg class="fill-current" pointer-events="none" width="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="'.concat(e.i,'"></path></svg>')),"mobile"===(0,o.H9)()&&t()}function g(e){return null==e?void 0:e.toString().includes(p)}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"py-[12px] relative text-[14px] text-gray5 font-bold flex flex-row justify-center items-center gap-[12px]",children:[(0,n.jsxs)("svg",{onClick:()=>t(),className:"absolute cursor-pointer transition active:scale-95 md:top-[8px] right-[8px]",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"11.5",fill:"white"}),(0,n.jsx)("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"11.5",stroke:"#EAEAEA"}),(0,n.jsx)("path",{d:"M8.66675 8.66666L15.3334 15.3333",stroke:"#3E87F8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M15.3334 8.66666L8.66675 15.3333",stroke:"#3E87F8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,n.jsx)("span",{onClick:()=>{u("emoji")},className:"".concat("emoji"===d?"text-blue":""," cursor-pointer transition active:scale-95"),children:f("popupicons.tab1")}),(0,n.jsx)("span",{onClick:()=>{u("icon")},className:"".concat("icon"===d?"text-blue":""," cursor-pointer transition active:scale-95"),children:f("popupicons.tab2")})]}),(0,n.jsx)("input",{autoComplete:"off",ref:r,spellCheck:!1,value:p,onChange:e=>m(e.target.value.toLowerCase()),type:"text",placeholder:f("popupicons.searchplaceholder"),className:"border border-gray5 border-opacity-20 rounded-[6px] search-input"}),(0,n.jsxs)("div",{className:"overflow-scroll max-h-[477px] no-scrollbar",children:["emoji"===d&&(0,n.jsxs)("div",{className:"md:w-[240px] my-[5px] mx-auto flex flex-wrap justify-center",children:[x.emojis.filter(e=>p?g(e.n):e).slice(0,102).map((e,i)=>(0,n.jsx)("div",{onClick:()=>{l(e.i),"mobile"===(0,o.H9)()&&t()},className:"emoji-item",children:(0,n.jsx)("span",{className:"leading-[20px]",children:e.i})},i)),0===x.emojis.length&&(0,n.jsx)("div",{className:"flex items-center justify-center w-full h-[150px] text-blue",children:a.wG})]}),"icon"===d&&(0,n.jsxs)("div",{className:"md:w-[240px] my-[5px] mx-auto flex flex-wrap justify-center",children:[x.material.filter(e=>p?g(e.n):e).slice(0,102).map((e,t)=>(0,n.jsx)("div",{onClick:h.bind(null,e),className:"icon-item",title:e.n,children:e.i.includes("<svg")?(0,n.jsx)("div",{className:"w-[15px]",dangerouslySetInnerHTML:{__html:e.i}}):(0,n.jsx)("svg",{className:"fill-current",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"20px",height:"20px",children:(0,n.jsx)("path",{fill:"#A4ADBA",d:e.i})})},t)),0===x.material.length&&(0,n.jsx)("div",{className:"flex items-center justify-center w-full h-[150px] text-blue",children:a.wG})]})]})]})}let d=e=>{let t=(0,i.useRef)(null),[l,a]=(0,i.useState)(!1),[s,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(!1),[x,p]=(0,i.useState)(!1),m=(0,i.useRef)(null);function f(t){e.isStatic||(a(!1),setTimeout(()=>{c(!1)},100))}function h(){f(null),u(!0),setTimeout(()=>{p(!0)},100)}function g(e){"Escape"===e.key&&b()}function b(){var e,t;p(!1),null==(e=m.current)||e.removeAttribute("open"),null==(t=m.current)||t.close(),setTimeout(()=>{u(!1)},150)}return(0,i.useEffect)(()=>
1{if(d){var e;t.current.closest(".typelink-item")&&(t.current.closest(".typelink-item").parentNode.style.zIndex="11",t.current.closest(".grid-layout").style.zIndex="11"),document.addEventListener("keydown",g),null==(e=m.current)||e.showModal()}return()=>{t.current&&t.current.closest(".typelink-item")&&(t.current.closest(".typelink-item").parentNode.style.zIndex="",t.current.closest(".grid-layout").style.zIndex=""),document.removeEventListener("keydown",g)}},[d]),(0,n.jsxs)("div",{"data-no-dnd":!0,ref:t,tabIndex:0,onBlur:function(e){var l,n,i;"mobile"!==(0,o.H9)()&&((null==(l=t.current)?void 0:l.contains(e.relatedTarget))||(null==(n=m.current)||n.removeAttribute("open"),null==(i=m.current)||i.close(),p(!1),setTimeout(()=>u(!1),150)))},className:"relative outline-none",onMouseEnter:function(t){e.isStatic||e.onClickOpen||d||(c(!0),setTimeout(()=>{a(!0)},10))},onMouseLeave:f,children:[(0,n.jsx)("div",{onClick:function(){!e.isStatic&&("mobile"===(0,o.H9)()||e.onClickOpen)&&h()},className:e.className+" outline-none",dangerouslySetInnerHTML:{__html:e.src}}),s&&(0,n.jsx)("div",{className:"hidden md:block absolute z-[21] uploader-panel",style:"top"===e.panelAlign?{top:-30,paddingBottom:20,paddingRight:20,left:"50%",marginLeft:-15}:{bottom:-40,paddingTop:40},children:(0,n.jsxs)("div",{className:"".concat(l?"scale-100 opacity-100":"scale-95 opacity-0"," c-shadow transition flex flex-row justify-center items-center bg-blue rounded-md"),children:[(0,n.jsx)("div",{className:"absolute bg-blue w-[12px] h-[12px] rounded-sm bottom-[-3px] left-[10px] rotate-45 z-[0]",style:"top"===e.panelAlign?{bottom:-3}:{top:-3}}),(0,n.jsx)("label",{onClick:h,className:"cursor-pointer active:scale-95 z-[1] p-[6px]",children:(0,n.jsx)("img",{draggable:!1,loading:"lazy",src:"/images/icons/icon-picker.svg",className:"max-w-[19px] w-[19px] h-[16px]"})})]})}),d&&"desktop"===(0,o.H9)()&&(0,n.jsx)("div",{className:"icon-picker__popup ".concat(e.position||"left-[100px] top-[100px]"," !fixed grid-drag__disabled transition-all duration-100 ").concat(x?"scale-100 opacity-100":"scale-95 opacity-0"),children:(0,n.jsx)(r,{onChange:e.onChange,handleCloseModal:b})}),d&&"mobile"===(0,o.H9)()&&(0,n.jsxs)("dialog",{ref:m,className:"modal modal-bottom text-black",children:[(0,n.jsxs)("div",{className:"modal-box md:max-w-[800px] lg:max-w-[1040px] md:mx-auto h-[80%] md:h-auto w-full",children:[(0,n.jsx)("div",{className:"block md:hidden left-1/2 -translate-x-1/2 -translate-y-[24px] top-[7px] w-[44px] h-[4px] rounded-[4px] bg-gray5 sticky opacity-50"}),(0,n.jsx)("div",{className:"modal-body justify-center",children:(0,n.jsx)("div",{children:(0,n.jsx)(r,{onChange:e.onChange,handleCloseModal:b})})})]}),(0,n.jsx)("form",{method:"dialog",onClick:b,className:"modal-backdrop",children:(0,n.jsx)("button",{children:"close"})})]})]})}},10635:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>x});var n=l(95155),i=l(95644),a=l.n(i),s=l(12115),o=l(79775);l(73441);var c=l(33859),r=l(5395),d=l(41245),u=l(97417);let x=e=>{var t,l;let i=(0,s.useRef)(null),x=(0,s.useRef)(null),p=(0,s.useRef)(null),{data:m,id:f}=e.widget,h=(0,u.o)(),g=(null==h?void 0:h.getTextBlockStyle)||(()=>({})),b=(null==h?void 0:h.setSelectedTextBlockId)||(()=>{}),y=(0,s.useRef)(null),[v,w]=(0,s.useState)(0),k=(0,s.useRef)(!1),j=s.useCallback((t,l)=>{e.updateWidgetDataInPage({[t]:a()(l,{allowedTags:["b","i","a","p"],allowedAttributes:{a:["href"]}})},e.widget.id),clearTimeout(i.current),i.current=setTimeout(()=>{e.setSavePage({save:!0})},300)},[]),S=m.colorscheme.textColor||"".concat((null==(t=e.layoutColorSchemeBg)?void 0:t.includes("black"))?"text-white":"");function N(){if(!k.current){var e;let t=null==(e=y.current)?void 0:e.clientWidth;w(parseInt((y.current.scrollLeft/t).toString()))}}function C(e){let t=document.querySelector("#"+CSS.escape(e.detail.widgetId));null==t||t.scrollTo(0,0)}return m.items.length,(0,s.useEffect)(()=>{var e;return null==(e=y.current)||e.addEventListener("scroll",N),document.addEventListener("typelink.syncSave",C,!1),()=>{var e;null==(e=y.current)||e.removeEventListener("scroll",N),document.removeEventListener("typelink.syncSave",C,!1)}},[]),(0,s.useEffect)(()=>{setTimeout(()=>{(e=>{var t,l;k.current=!0,w(e);let n=null==(t=y.current)?void 0:t.clientWidth;null==(l=y.current)||l.scrollTo(n*e+1,0),setTimeout(()=>{k.current=!1},600)})(v)},300)},[JSON.stringify(m.style)]),(0,n.jsxs)("div",{ref:x,style:e.customStyle,className:"typelink-item ".concat(e.customClassname," ").concat(e.isStatic?"typelink-item__static":""," ").concat(m.clickable&&e.isStatic?"typelink-item__clickable":""," justify-start items-start ").concat(m.fullWidth?"":m.colorscheme.border," ").concat(m.colorscheme.bg," ").concat(S," ").concat(m.fullWidth?"":"rounded-2xl"," flex ").concat("flex-col"),children:[(0,n.jsxs)("div",{className:"flex flex-row justify-center h-full relative ".concat(m.fullWidth?"mobile"!==e.currentDevice||e.isStatic?"lg:w-[780p
1x] md:w-[780px] w-[360px] mx-auto":"w-[360px] mx-auto":"w-full"),children:[(null==(l=m.show)?void 0:l.smallText)&&(0,n.jsx)(o.A,{isStatic:e.isStatic,wrapperClass:"absolute top-[-12px] ".concat(m.fullWidth?"left-0":"left-[-12px]"," min-w-[20px] max-w-[calc(100%-24px)]"),onChange:j.bind(null,"smallText"),textColor:S,tagName:"h2",html:m.smallText,className:"outline-none webkit-box-1 word-break overflow-hidden text-left mr-auto typelink-item__text font-semibold text-[10px] ".concat(S.includes("black")||!S?"text-gray5":m.colorscheme.textColor),textBlockId:(0,d.BT)(m.type,"smallText",f),textBlockStyle:g((0,d.BT)(m.type,"smallText",f)),onTextBlockClick:b}),(0,n.jsx)("div",{ref:p,className:"flex flex-col gap-[24px] h-full w-full relative justify-start items-start typelink-list",children:(0,n.jsx)("div",{className:"flex w-full h-full items-center typelink-list__item flex-none gap-[10px] flex-col relative",children:(0,n.jsx)("div",{className:"flex min-h-[44px] h-full autoheight-element-static ".concat(1===m.design?"flex-col h-full":"flex-row"," ").concat(2===e.w&&0===m.design?"gap-[16px] items-start":1===m.design?"gap-[8px]":"gap-[20px] items-center"," relative"),children:(0,n.jsxs)("div",{className:"flex flex-col break-all items-".concat(m.alignH," justify-center h-full w-full"),children:[(0,n.jsxs)("div",{className:"flex flex-col gap-[8px] items-".concat(m.alignH),children:[(0,n.jsx)(o.A,{isStatic:e.isStatic,onChange:j.bind(null,"title"),wrapperClass:"relative",textColor:S,html:m.title,tagName:"p",className:"webkit-box-1 leading-[62px] text-[44px] text-".concat(m.alignH," typelink-item__text overflow-hidden outline-none"),textBlockId:(0,d.BT)(m.type,"title",f),textBlockStyle:g((0,d.BT)(m.type,"title",f)),onTextBlockClick:b}),(0,n.jsx)(o.A,{isStatic:e.isStatic,onChange:j.bind(null,"description"),wrapperClass:"relative max-w-[304px]",textColor:S,html:m.description,tagName:"p",className:"text-[14px] ".concat(3===e.h?"webkit-box-4":"webkit-box-6"," word-break text-").concat(m.alignH," typelink-item__text overflow-hidden outline-none"),textBlockId:(0,d.BT)(m.type,"description",f),textBlockStyle:g((0,d.BT)(m.type,"description",f)),onTextBlockClick:b})]}),(0,n.jsx)("div",{className:"flex mt-[24px] flex-row gap-[12px] items-center justify-center",children:(0,n.jsxs)("a",{href:"link"===m.hrefType?m.href:"email"===m.hrefType?"mailto:".concat(m.href):"whatsapp"===m.hrefType?"https://wa.me/".concat(m.href):"phone"===m.hrefType?"tel:".concat(m.href):void 0,onClick:e.isStatic?()=>{}:e=>e.preventDefault(),className:"button ".concat(2===e.w&&0===m.design?"max-w-[100px]":""," px-[20px] min-w-[120px] items-center !no-underline ").concat((0,c.getButtonBgColor)(m.colorscheme.bg,m.buttonBgColor)," ").concat(e.isStatic?"active:scale-95 transition-all":""," flex items-center justify-center gap-[4px] flex-shrink-0 justify-center min-w-[86px] font-bold text-[14px] h-[32px] rounded-[6px]"),children:[m.buttonShowIcon&&(0,n.jsx)(r.A,{isStatic:e.isStatic,panelAlign:"top",src:m.buttonIcon,onChange:t=>{e.updateWidgetDataInPage({buttonIcon:t},e.widget.id),e.setSavePage({save:!0})},className:"w-[16px] text-[16px] text-center transition-icon"}),(0,n.jsx)(o.A,{isStatic:e.isStatic,wrapperClass:"relative",onChange:j.bind(null,"buttonText"),textColor:m.buttonBgColor,html:m.buttonText,className:"outline-none text-[12px] font-bold truncate ".concat(2===e.w&&0===m.design?"max-w-[80px]":" max-w-[150px]"," no-underline ").concat(e.isStatic?"cursor-pointer":""),textBlockId:(0,d.BT)(m.type,"buttonText",f),textBlockStyle:g((0,d.BT)(m.type,"buttonText",f)),onTextBlockClick:b})]})})]})})})})]}),m.clickable&&e.isStatic&&(0,n.jsx)("a",{className:"z-1 absolute top-0 left-0 right-0 bottom-0",href:m.href,target:"_blank"})]})}},22161:()=>{},33859:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r,getButtonBgColor:()=>c});var n=l(95155),i=l(95644),a=l.n(i),s=l(12115),o=l(79775);function c(e,t){return e.includes("bg-black")&&t.includes("bg-black")?"bg-white text-black border border-transparent":e.includes("bg-green")&&t.includes("bg-green")?"bg-white text-green border border-transparent":e.includes("bg-blue")&&!e.includes("bg-blue3")&&t.includes("bg-blue")?"bg-white text-blue border border-transparent":t}l(98636);let r=e=>{var t;
1let l=(0,s.useRef)(null),i=(0,s.useRef)(null),[r,d]=(0,s.useState)(0),[u,x]=(0,s.useState)(0),[p,m]=(0,s.useState)(!1),{data:f,id:h}=e.widget,[g,b]=(0,s.useState)([]),[y,v]=(0,s.useState)(!1),[w,k]=(0,s.useState)(!1),j=(0,s.useCallback)((t,n)=>{e.updateWidgetDataInPage({[t]:a()(n,{allowedTags:["b","i","a","p"],allowedAttributes:{a:["href"]}})},e.widget.id),clearTimeout(l.current),l.current=setTimeout(()=>{e.setSavePage({save:!0})},300)},[]);function S(e){var t,l;let n=0;i.current.querySelector(".typelink-list").style.width="".concat(e,"px"),null==(l=i.current)||null==(t=l.querySelectorAll(".typelink-list__item"))||t.forEach((e,t)=>{var l;n+=parseFloat(getComputedStyle(e).height),t!==(null==(l=i.current)?void 0:l.querySelectorAll(".typelink-list__item").length)-1&&(n+=8)});let a=n;return a+=55,i.current.querySelector(".typelink-list").style.width="",Math.ceil(a/94)}function N(){setTimeout(()=>{let t=S(654),l=S(294);(parseFloat(f.style.desktop.split("x")[1])!==t||parseFloat(f.style.mobile.split("x")[1])!==l)&&((t,l)=>{let n={};n.desktop="".concat(parseFloat(f.style.desktop.split("x")[0]),"x").concat(4===parseFloat(f.style.desktop.split("x")[0])?t:l),n.mobile="".concat(parseFloat(f.style.mobile.split("x")[0]),"x").concat(l);let i=Object.assign(f.style,n);e.updateWidgetDataInPage({style:i},e.widget.id)})(t,l)})}let C="text-white";async function T(t){if(t.preventDefault(),e.isStatic){b([]);try{m(!0);let l={};new FormData(t.target).forEach(function(e,t){l[t]=e});let n=JSON.stringify(l),i=await fetch("/api/requests?site=".concat(e.siteSubdomain,"&page=").concat(e.pagePath,"&form=").concat(h),{method:"POST",body:n});(i=await i.json()).errors?b(i.errors):(v(!0),setTimeout(()=>{k(!0)},100)),m(!1)}catch(e){console.log(e.message),m(!1)}}}return f.items.length,(0,s.useEffect)(()=>{N(),setTimeout(()=>{var e,t,l;let n=null==(e=i.current)?void 0:e.querySelector(".typelink-list__item"),a=null==(l=i.current)||null==(t=l.querySelector(".typelink-list"))?void 0:t.querySelector(".typelink-list__item:nth-child("+f.items.length+")");d((null==n?void 0:n.offsetTop)+11),x((null==a?void 0:a.offsetHeight)-11)},300)},[null==(t=e.dataItems)?void 0:t.length,e.w]),(0,s.useEffect)(()=>{e.fontsLoaded&&N()},[e.fontsLoaded]),(0,n.jsx)("div",{ref:i,style:e.customStyle,className:"typelink-item ".concat(e.customClassname," typelink-item__form typelink-item__form-").concat(f.design," ").concat(e.isStatic?"typelink-item__static":""," justify-center items-center text-").concat(f.alignH," ").concat(f.fullWidth?"":f.colorscheme.border," ").concat(f.colorscheme.bg," ").concat(C," ").concat(f.fullWidth?"":"rounded-2xl"," flex ").concat("flex-col"),children:(0,n.jsx)("div",{className:"flex flex-row items-center justify-center relative h-full ".concat(f.fullWidth?"mobile"!==e.currentDevice||e.isStatic?"lg:w-[780px] md:w-[780px] w-[360px] mx-auto":"w-[360px] mx-auto":"w-full"),children:y?(0,n.jsxs)("div",{onClick:()=>{k(!1),v(!1)},className:"".concat(w?"opacity-100 scale-100":"opacity-0 scale-95"," select-none active:scale-95 cursor-pointer rounded-2xl transition-all flex flex flex-col items-center justify-center absolute -top-[0] -left-[0] -right-[0] -bottom-[0]"),children:[(0,n.jsx)("span",{className:"text-[46px]",children:"\uD83C\uDF89"}),(0,n.jsx)("div",{className:"typelink-item__form-success-text text-center text-[14px] text-black !bg-transparent",children:"Thanks!"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{noValidate:!e.isStatic,className:"flex flex-col gap-[8px] relative typelink-list w-full max-w-[280px]",onSubmit:e=>T(e),children:[f.items.map(e=>{var t;return(0,n.jsxs)("div",{className:"w-full flex typelink-list__item flex-none flex-row gap-[20px] relative",children:[["email","name","phone"].includes(e.type)&&(0,n.jsx)("input",{className:"w-full appearance-none text-black outline-none border border-gray5 text-[14px] border-opacity-20 px-[16px] py-[11px] rounded-[12px] ".concat("start"===f.alignH?"text-left":"text-center"),type:"name"===e.type?"text":"phone"===e.type?"number":e.type,placeholder:e.placeholder,name:e.name,required:e.required}),"text"===e.type&&(0,n.jsx)("textarea",{className:"w-full resize-none text-black outline-none border border-gray5 text-[14px] border-opacity-20 px-[16px] py-[11px] rounded-[12px] ".concat("start"===f.alignH?"text-left":"text-center"),placeholder:e.placeholder,name:e.name,required:e.required}),"dropdown"===e.type&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"typelink-item__form-select_wrap w-full border border-solid border-gray5 border-opacity-20 rounded-[12px] w-40 h-[45px] overflow-hidden",children:(0,n.jsx)("select",{name:e.name,onChange:()=>{},className:"".concat("start"===f.alignH?"text-left":"text-center"," typelink-item__form-select pl-1 pr-[30px] w-full truncate h-full text-black focus:outline-none text-[14px]"),children:null==(t=e.options)?void 0:t.map((e,t)=>(0,n.jsx)("option",{value:e,children:e},t))})})})]},e.id)}),(0,n.jsx)("button",{type:"submit",disabled:p,className:"typelink-list__item button ".concat(c(f.colorscheme.bg,f.buttonBgColor)," ").concat(p?"bg-gray2":""," ").concat(e.isStatic?"active:scale-95 transition-all":""," flex justify-center typelink-item__form-button font-bold p-[24px] py-[12px] text-[14px] rounded-[12px]"),children:p?(0,n.jsx)("div",{className:"loading text-gray5 w-[21px] h-[21px]"}):(0,n.jsx)(o.A,{isStatic:e.isStatic,wrapperClass:"relative",onChange:j.bind(null,"buttonText"),textColor:C,html:f.buttonText,className:"outline-none ".concat(e.isStatic?"cursor-pointer":"")})})]}),(0,n.jsx)("div",{className:"mt-[10px]",children:g.map((e,t)=>(0,n.jsx)("div",{className:"error text-red text-[11px]",children:e.message},t))})]})})})}},73441:()=>{},98636:()=>{}}]);
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.