1import{_ as p}from"./DlAUqK2U.js";import{c as l,o as s,a as o,e as w,W as k,n as $,g as f,s as m,j as h,k as b,K as _,b as x,E as B,X as S,l as j,i as c,f as L,Y as O}from"./4AsGf7ol.js";const E={},A={class:"spinner",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function I(t,n){return s(),l("svg",A,[...n[0]||(n[0]=[o("g",{"clip-path":"url(#clip)"},[o("g",{transform:"matrix(0.01125 0.0045 0.0045 -0.01125 12 12)"},[o("foreignObject",{x:"-1394.64",y:"-1394.64",width:"2789.27",height:"2789.27"},[o("div",{xmlns:"http://www.w3.org/1999/xhtml",style:{background:"conic-gradient(from 90deg,rgba(181,103,255,0.9094) 0deg,rgba(181,103,255,1) 8.7456deg,rgba(181,103,255,0) 272.222deg,rgba(181,103,255,0.9094) 360deg)",width:"100%",height:"100%",opacity:"1"}})])])],-1),o("path",{d:"M6.84581 21.1474C6.43903 21.8694 5.51701 22.132 4.85143 21.6384C3.39144 20.5555 2.191 19.1509 1.34796 17.5258C0.273705 15.4549 -0.173634 13.1158 0.0606823 10.7947C0.294996 8.47363 1.2008 6.27115 2.66726 4.45679C4.13373 2.64243 6.09726 1.29486 8.3176 0.57897C10.5379 -0.13692 12.9188 -0.190086 15.1689 0.425976C17.419 1.04204 19.4407 2.30061 20.9867 4.0477C22.5327 5.7948 23.5359 7.95464 23.8736 10.263C24.1386 12.0745 23.9847 13.9158 23.4322 15.6475C23.1804 16.4369 22.2786 16.7623 21.5267 16.414C20.7748 16.0656 20.4612 15.1749 20.6799 14.3756C21.0063 13.1833 21.0849 11.9311 20.9044 10.6974C20.6511 8.96627 19.8988 7.34653 18.7394 6.03633C17.58 4.72614 16.0639 3.78229 14.3765 3.32029C12.689 2.85829 10.9036 2.89816 9.23846 3.43503C7.57335 3.97189 6.10085 4.98247 5.0011 6.34312C3.90136 7.70376 3.22206 9.35547 3.04635 11.0961C2.87063 12.8368 3.2061 14.5909 4.01171 16.1439C4.58588 17.2508 5.38111 18.2212 6.34245 18.9984C6.98687 19.5193 7.2526 20.4255 6.84581 21.1474Z"},null,-1),o("defs",null,[o("clipPath",{id:"clip"},[o("path",{d:"M6.84581 21.1474C6.43903 21.8694 5.51701 22.132 4.85143 21.6384C3.39144 20.5555 2.191 19.1509 1.34796 17.5258C0.273705 15.4549 -0.173634 13.1158 0.0606823 10.7947C0.294996 8.47363 1.2008 6.27115 2.66726 4.45679C4.13373 2.64243 6.09726 1.29486 8.3176 0.57897C10.5379 -0.13692 12.9188 -0.190086 15.1689 0.425976C17.419 1.04204 19.4407 2.30061 20.9867 4.0477C22.5327 5.7948 23.5359 7.95464 23.8736 10.263C24.1386 12.0745 23.9847 13.9158 23.4322 15.6475C23.1804 16.4369 22.2786 16.7623 21.5267 16.414C20.7748 16.0656 20.4612 15.1749 20.6799 14.3756C21.0063 13.1833 21.0849 11.9311 20.9044 10.6974C20.6511 8.96627 19.8988 7.34653 18.7394 6.03633C17.58 4.72614 16.0639 3.78229 14.3765 3.32029C12.689 2.85829 10.9036 2.89816 9.23846 3.43503C7.57335 3.97189 6.10085 4.98247 5.0011 6.34312C3.90136 7.70376 3.22206 9.35547 3.04635 11.0961C2.87063 12.8368 3.2061 14.5909 4.01171 16.1439C4.58588 17.2508 5.38111 18.2212 6.34245 18.9984C6.98687 19.5193 7.2526 20.4255 6.84581 21.1474Z"})])],-1)])])}const K=p(E,[["render",I],["__scopeId","data-v-43108ac1"]]),M=["type","disabled","v-bind","aria-busy"],P={key:0,class:"button__content"},R={key:1,class:"button__spinner"},U=w({inheritAttrs:!1,__name:"Button",props:{type:{type:String,default:"button"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},iconStart:{type:Object,default:null},iconEnd:{type:Object,default:null},variant:{type:String,default:"primary"}},emits:["click"],setup(t,{emit:n}){const i=t,r=n,a=k();function u(e){!i.disabled&&!i.loading&&r("click",e)}return(e,d)=>{const g=K;return s(),l("button",{type:t.type,disabled:t.disabled||t.loading,"v-bind":{...f(a),class:void 0},onClick:u,class:$(["button",f(a).class,{disabled:t.disabled,loading:t.loading,[t.variant]:!0}]),"aria-busy":t.loading,"aria-live":"polite"},[m(e.$slots,"icon-start",{},()=>[t.iconStart&&!t.loading?(s(),h(_(t.iconStart),{key:0,class:"button__icon button__icon--start"})):b("",!0)],!0),t.loading?(s(),l("span",R,[m(e.$slots,"loading-icon",{},()=>[x(g,{class:"button__icon"})],!0)])):(s(),l("span",P,[m(e.$slots,"default",{},void 0,!0)])),m(e.$slots,"icon-end",{},()=>[t.iconEnd&&!t.loading?(s(),h(_(t.iconEnd),{key:0,class:"button__icon button__icon--end"})):b("",!0)],!0)],10,M)}}}),Q=p(U,[["__scopeId","data-v-3850ab71"]]),N={},V={xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none"};function Z(t,n){return s(),l("svg",V,[...n[0]||(n[0]=[o("path",{d:"M12.3335 19L19.3335 12L12.3335 5M19.3335 12L5.3335 12",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])}const W=p(N,[["render",Z]]);function q(){const t=B(),n=S("params",{maxAge:60*60*24*30,sameSite:"lax"}),r=[...["gclid","fbclid"],"utm","utm_source","utm_medium","utm_campaign","utm_term","utm_content"],a=c(()=>Object.fromEntries(r.map(e=>[e,t.query[e]]).filter(([,e])=>typeof e=="string"&&e.length>0).map(([e,d])=>[e,d])));return j(a,e=>{Object.keys(e).length&&(n.value=e)},{immediate:!0}),{utm:c(()=>Object.keys(a.value).length?a.value:n.value||{})}}function X(){const{locale:t}=L({useScope:"global"}),i=O().public.apiBase.replace(/\/$/,""),{utm:r}=q(),a=c(()=>`https://help.e-chat.tech/${t.value}`),u={uk:"ua"},e=c(()=>`https://partners.e-chat.tech/${u[t.value]??t.value}`),d=c(()=>`${i}/profile/login`),g=c(()=>{const C=new URL(`${i}/profile/registration`);for(const[y,v]of Object.entries(r.value))C.searchParams.set(y,v);return C.toString()});return{toKnowledgeBase:a,toPartners:e,toProfile:d,toProfileSignUp:g,phone:{viber:"viber://pa?chatURI=echat",telegram:"https://t.me/echat_support_bot",whatsapp:"tel:+38099832844"}}}export{W as A,Q as _,q as a,X 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.