1import{c7 as B,c8 as V,C as A,ar as p,f as F,u as P,c9 as z,$}from"./dpNBMmpl.js";import{l as v,P as s,a3 as g,a6 as d,a4 as w,Q as _,R as r,a2 as n,a1 as k,ac as N,ag as D,b,x as E,a8 as h,u as a,a9 as I,z as R,X as T}from"./D87kAmRq.js";const j={key:0,class:"modal-wrapper"},C=v({__name:"successModal",props:{modelValue:{type:Boolean},logParams:{},isMobileAgent:{type:Boolean}},emits:["close"],setup(u,{emit:l}){const o=u,t=l,c=()=>{t("close")};return(i,m)=>{const f=A;return s(),g(D,{to:"body"},[d(N,{name:"modal-fade"},{default:w(()=>[o.modelValue?(s(),_("div",j,[m[0]||(m[0]=r("div",{class:"fixed inset-0",style:{"background-color":"var(--color-bg-popup-mantle)"}},null,-1)),r("div",{class:n(["max-w-[600px] rounded-xl relative w-[90%] max-h-[80%] my-auto flex flex-col overflow-hidden bg-white",{"rounded-xl w-[311px] h-[514px]":o.isMobileAgent}])},[r("button",{class:n(["text-light absolute right-4 top-4 transition-colors duration-300 text-xl",{"text-tertiary hover:text-primary":o.isMobileAgent}]),onClick:c},[d(f,{name:"close",size:"24"})],2),o.isMobileAgent?(s(),g(B,{key:0,"log-params":o.logParams},null,8,["log-params"])):(s(),g(V,{key:1,"log-params":o.logParams},null,8,["log-params"]))],2)])):k("",!0)]),_:1})])}}});typeof p=="function"&&p(C);const Q=F(C,[["__scopeId","data-v-d5a49218"]]),U=v({__name:"index",props:{sectionContainerStyle:{default:()=>({})},local:{default:1},channel:{default:0},from:{default:""}},setup(u){const l=u,{t:o}=P({locale:"local"}),t=b(!1),c=b({name:null,email:null,ename:null,scale:null,purchase_num:null,local:1,page_source:0,reason:null}),i=b(!1);E(()=>{i.value=M()});const m=e=>{c.value=e,$().trace("add_google_calendar_success",c.value),t.value=!0},f=()=>{t.value=!1},M=()=>!!navigator.userAgent.match(/mobile|android|iphone|ipad|phone/i);return(e,y)=>{const S=Q;return s(),_(T,null,[r("div",{class:n(["flex flex-col justify-center items-center px-4 py-6 md:py-[80px] md:bg-[#ECF8FF]",{"px-6 py-[60px]":l.local===1}]),style:I(l.sectionContainerStyle?{...l.sectionContainerStyle}:{})},[d(z,{local:l.local,"is-mobile-agent":a(i),channel:e.channel,"form-wrapper-class":e.from==="pricing"?"bg-[#1DA9FF] pt-2 xl:pt-4 rounded-xl md:rounded-[32px] shadow-[0_24px_32px_0_rgba(0,0,0,0.06)] w-full md:w-auto":"","form-class":e.from==="pricing"?"pricing-form bg-white rounded-xl md:rounded-[32px] pt-[36px] pb-[48px] px-6 md:px-0 md:w-[1000px]":"","container-class":"md:px-6 pb-8","footer-class":e.from==="pricing"?"!mt-0 px-8 ccpc:!pt-4":"!mt-0 px-8 pt-6 border-t solid border-[#e7e7e7]","button-class":e.from==="pricing"?"w-full":"",onSuccess:m},{default:w(({isSuccess:x})=>[x?k("",!0):(s(),_("div",{key:0,class:n(["w-full md:mr-0 md:px-6 md:text-center",{"text-center pb-4":l.local===1,"md:pb-6":e.from==="pricing"}])},[r("h3",{class:n(["text-xl font-semibold md:text-[40px] md:leading-[48px] md:font-extrabold text-primary",{"!text-link":l.from==="team-business-cards","!text-link md:!text-primary md:text-[32px] md:leading-[40px]":e.from==="pricing"}])},h(e.from==="pricing"?a(o)("clue_title_pricing"):a(o)("clue_title")),3),r("div",{class:n(["text-body md:text-base text-secondary mt-1 md:mt-6",{"text-secondary md:!text-link !mt-4 md:text-xl":e.from==="pricing"}])},h(e.from==="pricing"?a(o)("clue_subtitle_pricing"):a(o)("clue_subtitle")),3)],2))]),_:1},8,["local","is-mobile-agent","channel","form-wrapper-class","form-class","footer-class","button-class"])],6),d(S,{modelValue:a(t),"onUpdate:modelValue":y[0]||(y[0]=x=>R(t)?t.value=x:null),"is-mobile-agent":a(i),"log-params":a(c),onClose:f},null,8,["modelValue","is-mobile-agent","log-params"])],64)}}});typeof p=="function"&&p(U);export{U as _}; 2 3//# sourceMappingURL=https://gitlab.intsig.net/api/v4/projects/9533/jobs/artifacts/release-52.5.11/raw/sourcemap/BmZm3NId.js.map?job=build
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.