1import{Bt as t,C as e,D as a,E as o,G as r,I as n,Jt as i,N as s,O as l,Q as c,S as d,St as u,T as p,V as g,X as h,Y as m,_t as f,at as b,dn as y,dt as v,g as k,j as w,jt as x,k as $,ln as _,mn as M,nt as S,st as C,tt as T,un as L,w as I}from"./DIU4zoEY.js";import{a as N,o as A}from"./D05YFsy2.js";import{D as z,S as B,T as D,_ as H,f as q,g as j,h as P,v as V}from"./BchFfQlE.js";import{n as F}from"./DbUU9T0A.js";import"./R3-zddGY.js";import{n as O}from"./lxo_juQh.js";import{t as E}from"./CnwQ9Q67.js";import"./VXN2n98y.js";import{t as R}from"./CugVxQD-.js";import{n as K}from"./C1BErjdE.js";import{t as U}from"./DgLP3hnZ.js";import{t as W}from"./D-f_-jRW.js";import{r as G}from"./HAeA3Dp4.js";import{t as Q}from"./CN7NjnAl.js";import{t as Z}from"./ZEWOLdzz2.js";i(),n();var J={class:_(["fs-12 medium section-title"])},Y=U({__name:"SectionTitle",props:["text"],setup:t=>(e,a)=>(c(),o("div",J,M(t.text),1))},[["__scopeId","data-v-c5196bbb"]]);n();var X=["innerHTML"],tt=["innerHTML"],et=["innerHTML"],at=["innerHTML"],ot=["innerHTML"],rt=["innerHTML"],nt=["innerHTML"],it=["innerHTML"],st=U({__name:"DynamicTag",props:["tagName","html"],setup:t=>(e,a)=>"p"===t.tagName?(c(),o("p",{key:0,innerHTML:t.html},null,8,X)):"h1"===t.tagName?(c(),o("h1",{key:1,innerHTML:t.html},null,8,tt)):"h2"===t.tagName?(c(),o("h2",{key:2,innerHTML:t.html},null,8,et)):"h3"===t.tagName?(c(),o("h3",{key:3,innerHTML:t.html},null,8,at)):"h4"===t.tagName?(c(),o("h4",{key:4,innerHTML:t.html},null,8,ot)):"h5"===t.tagName?(c(),o("h5",{key:5,innerHTML:t.html},null,8,rt)):"h6"===t.tagName?(c(),o("h6",{key:6,innerHTML:t.html},null,8,nt)):"div"===t.tagName?(c(),o("div",{key:7,innerHTML:t.html},null,8,it)):p("",!0)},[["__scopeId","data-v-07dfd4c0"]]);n(),u(),i();var lt=["href"],ct={__name:"CustomButton",props:{variant:{default:"primary",type:String},href:{default:"",type:String}},setup(e){const a=e,r=q(),n=d(()=>"com.codeway.aitutorweb"===r.params.webId),i=d(()=>a.variant||"primary"),s=d(()=>{const t=(a.href??"").trim();return t&&"#"!==t?t:""});return(e,a)=>{const r=W;return t(n)?(c(),I(r,{key:0,variant:t(i)},{default:f(()=>[S(e.$slots,"default")]),_:3},8,["variant"])):t(s)?(c(),o("a",{key:1,href:t(s),class:_(`btn-${t(i)}`)},[S(e.$slots,"default")],10,lt)):(c(),o("button",{key:2,class:_(`btn-${t(i)}`)},[S(e.$slots,"default")],2))}}};async function dt(t,e){return await async function(t){if("undefined"==typeof Image)throw new TypeError("Image not supported");return new Promise((e,a)=>{const o=new Image;o.onload=()=>{e({width:o.width,height:o.height,ratio:o.width/o.height})},o.onerror=t=>a(t),o.src=t})}(e).catch(t=>(console.error("Failed to get image meta for "+e,t+""),{width:0,height:0,ratio:0}))}function ut(t){return e=>void 0!==e?t[e]||e:t.missingValue}function pt(t=""){return"number"==typeof t?t:"string"==typeof t&&t.replace("px","").match(/^\d+$/g)?Number.parseInt(t,10):void 0}function gt(t){const e={options:t},a=(t,a={})=>ht(e,t,a),o=(t,e,o)=>a(t,P({modifiers:e},o)).url;for(const r in t.presets)o[r]=(e,a,n)=>o(e,a,{...t.presets[r],...n});return o.options=t,o.getImage=a,o.getMeta=(t,a)=>async function(t,e,a){const o=ht(t,e,{...a});return"function"==typeof o.getMeta?await o.getMeta():await dt(0,o.url)}(e,t,a),o.getSizes=(t,a)=>function(t,e,a){const o=mt(t,a.preset),r=P(a,o),n=pt(r.modifiers?.width),i=pt(r.modifiers?.height),s=r.sizes?function(t){const e={};if("string"==typeof t)for(const a of t.split(/[\s,]+/).filter(t=>t)){const t=a.split(":");2!==t.length?e["1px"]=t[0].trim():e[t[0].trim()]=t[1].trim()}else Object.assign(e,t);return e}(r.sizes):{},l=r.densities?.trim(),c=l?function(t=""){if(void 0===t||!t.length)return[];const e=new Set;for(const a of t.split(" ")){const t=Number.parseInt(a.replace("x",""));t&&e.add(t)}return Array.from(e)}(l):t.options.densities;!function(t){if(0===t.length)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}(c);const d=n&&i?i/n:0,u=[],p=[];if(Object.keys(s).length>=1){for(const o in s){const r=ft(o,String(s[o]),i,d,t);if(void 0!==r){u.push({size:r.size,screenMaxWidth:r.screenMaxWidth,media:`(max-width: ${r.screenMaxWidth-1}px)`});for(const o of c)p.push({width:r._cWidth*o,src:bt(t,e,a,r,o)})}}!function(t){t.sort((t,e)=>t.screenMaxWidth-e.screenMaxWidth);let e=null;for(let a=t.length-1;a>=0;a--){const o=t[a];o.media===e&&t.splice(a,1),e=o.media}for(let a=0;a<t.length;a++)t[a].media=t[a+1]?.media||""}(u)}else for(const f of c){const o=Object.keys(s)[0];let r=o?ft(o,String(s[o]),i,d,t):void 0;void 0===r&&(r={size:"",screenMaxWidth:0,_cWidth:a.modifiers?.width,_cHeight:a.modifiers?.height}),p.push({width:f,src:bt(t,e,a,r,f)})}!function(t){t.sort((t,e)=>t.width-e.width);let e=null;for(let a=t.length-1;a>=0;a--){const o=t[a];o.width===e&&t.splice(a,1),e=o.width}}(p);const g=p[p.length-1],h=u.length?u.map(t=>`${t.media?t.media+" ":""}${t.size}`).join(", "):void 0,m=h?"w":"x";return{sizes:h,srcset:p.map(t=>`${t.src} ${t.width}${m}`).join(", "),src:g?.src}}(e,t,a),e.$img=o,o}function ht(t,e,a){if(e&&"string"!=typeof e)throw new TypeError(`input must be a string (received ${typeof e}: ${JSON.stringify(e)})`);if(!e||e.startsWith("data:"))return{url:e};const{setup:o,defaults:r}=function(t,e){const a=t.options.providers[e];if(!a)throw new Error("Unknown provider: "+e);return a}(t,a.provider||t.options.provider),n=o(),i=mt(t,a.preset);if(e=V(e)?e:z(e),!n.supportsAlias)for(const d in t.options.alias)if(e.startsWith(d)){const a=t.options.alias[d];a&&(e=B(a,e.slice(d.length)))}if(n.validateDomains&&V(e)){const a=D(e).host;if(!t.options.domains.find(t=>
1t===a))return{url:e}}const s=P(a,i,r),l={...s,modifiers:{...s.modifiers,width:s.modifiers?.width?pt(s.modifiers.width):void 0,height:s.modifiers?.height?pt(s.modifiers.height):void 0}},c=n.getImage(e,l,t);return c.format||=l.modifiers.format||"",c}function mt(t,e){if(!e)return{};if(!t.options.presets[e])throw new Error("Unknown preset: "+e);return t.options.presets[e]}function ft(t,e,a,o,r){const n=r.options.screens&&r.options.screens[t]||Number.parseInt(t),i=e.endsWith("vw");if(!i&&/^\d+$/.test(e)&&(e+="px"),!i&&!e.endsWith("px"))return;let s=Number.parseInt(e);if(!n||!s)return;i&&(s=Math.round(s/100*n));return{size:e,screenMaxWidth:n,_cWidth:s,_cHeight:o?Math.round(s*o):a}}function bt(t,e,a,o,r){return t.$img(e,{...a.modifiers,width:o._cWidth?o._cWidth*r:void 0,height:o._cHeight?o._cHeight*r:void 0},a)}var yt=function(t={}){const e=t.formatter,a=t.keyMap&&"function"!=typeof t.keyMap?ut(t.keyMap):t.keyMap,o={};for(const r in t.valueMap){const e=r,a=t.valueMap[e];o[e]="object"==typeof a?ut(a):a}return r=>{const n=[];for(const t in r){const e=t;if(void 0===r[e])continue;const i="function"==typeof o[e]?o[e](r[e]):r[e];n.push([a?a(e):e,i])}return e?n.map(t=>e(...t)).join(t.joinWith??"&"):new URLSearchParams(n).toString()}}({keyMap:{format:"f",width:"w",height:"h",resize:"s",quality:"q",background:"b",position:"pos"},formatter:(t,e)=>j(t)+"_"+j(e.toString())}),vt={screens:{sm:640,md:768,lg:1024,xl:1280,"2xl":1536},presets:{},domains:[],alias:{},densities:[1,2],format:["webp"],quality:void 0,provider:"ipx",providers:{ipx:{setup:function(t){let e;return()=>e||(e="function"==typeof t?t():t,e)}({validateDomains:!0,supportsAlias:!0,getImage:(t,{modifiers:e,baseURL:a},o)=>{e.width&&e.height&&(e.resize=`${e.width}x${e.height}`,delete e.width,delete e.height);const r=yt(e)||"_";return a||(a=B(o.options.nuxt.baseURL,"/_ipx")),{url:B(a,r,H(t))}}}),defaults:{}}}},kt=t=>{const e=A(),a=N();return a.$img||a._img||(a._img=gt({...vt,event:t||a.ssrContext?.event,nuxt:{baseURL:e.app.baseURL},runtimeConfig:e}))};n();n(),i(),u();var wt=["src"],xt={__name:"NuxtImg",props:{custom:{type:Boolean,required:!1},placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[String,Number],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:null,required:!1},sizes:{type:[String,Object],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},crossorigin:{type:[String,Boolean],required:!1},nonce:{type:String,required:!1}},emits:["load","error"],setup(t,{expose:e,emit:a}){const r=t,n=a,i=kt(),{providerOptions:l,normalizedAttrs:u,imageModifiers:p}=(t=>{const e=kt();return{providerOptions:d(()=>({provider:t.provider,preset:t.preset})),normalizedAttrs:d(()=>({width:pt(t.width),height:pt(t.height),crossorigin:!0===t.crossorigin?"anonymous":t.crossorigin||void 0,nonce:t.nonce})),imageModifiers:d(()=>({...t.modifiers,width:t.width,height:t.height,format:t.format,quality:t.quality||e.options.quality,background:t.background,fit:t.fit}))}})(r),h=d(()=>i.getSizes(r.src,{...l.value,sizes:r.sizes,densities:r.densities,modifiers:p.value})),f=x(!1),b=C(),y=d(()=>({...u.value,"data-nuxt-img":"",...!r.placeholder||f.value?{sizes:h.value.sizes,srcset:h.value.srcset}:{},...b})),k=d(()=>{if(f.value)return!1;const t=""===r.placeholder?[10,10]:r.placeholder;if(!t)return!1;if("string"==typeof t)return t;const[e=10,a=e,o=50,n=3]=Array.isArray(t)?t:"number"==typeof t?[t]:[];return i(r.src,{...p.value,width:e,height:a,quality:o,blur:n},l.value)}),w=d(()=>r.sizes?h.value.src:i(r.src,p.value,l.value)),$=d(()=>k.value||w.value),_=N().isHydrating,M=v("imgEl");return e({imgEl:M}),m(()=>{if(k.value||r.custom){const e=new Image;return w.value&&(e.src=w.value),r.sizes&&(e.sizes=h.value.sizes||"",e.srcset=h.value.srcset),e.decode?e.decode().then(()=>{f.value=!0,n("load",new Event("load"))}).catch(t=>{n("error",t)}):(e.onload=t=>{f.value=!0,n("load",t)},e.onerror=t=>{n("error",t)}),t="nuxt-image",void performance?.mark?.("mark_feature_usage",{detail:{feature:t}})}var t;M.value&&(M.value.complete&&_&&(M.value.getAttribute("data-error")?n("error",new Event("error")):n("load",new Event("load"))),M.value.onload=t=>{n("load",t)},M.value.onerror=t=>{n("error",t)})}),(e,a)=>t.custom?S(e.$slots,"default",L(s({imgAttrs:y.value,isLoaded:f.value,src:$.value})),void 0,void 0,1):(c(),o("img",g({key:0,ref_key:"imgEl",ref:M,class:k.value?t.placeholderClass:void 0},y.value,{src:$.value}),null,16,wt))}};u(),n();var $t=["data-src","src","height","width","controls","loop","muted","autoplay","poster"],_t=U({__name:"Media",props:{mediaType:{type:String,default:null,validator:t=>!t||["image","video"].includes(t)},image:{type:Object,default:null},video:{type:Object,default:null},width:{type:[String,Number],default:null},height:{type:[String,Number],default:null},imagePreload:{type:Boolean,default:!1},imageFetchPriority:{type:String,default:"auto"},imageLoading:{type:String,default:"eager"}},setup(e){const a=e,r=R(),n=x(null),i=d(()=>a.image?"light"===r.value?a.image.lightImageSource:a.image.darkImageSource:null),s=d(()=>a.video?"light"===r.value?a.video.lightVideoSource:a.video.darkVideoSource:null),l=d(()=>a.video?"light"===r.value?a.video.lightVideoPoster:a.video.darkVideoPoster:null),u=d(()=>a.mediaType?a.mediaType:a.video&&s.value?"video":a.image&&i.value?"image":null);return m(()=>{(()=>{if("video"===u.value&&n.value&&a.video?.lazyLoad){const t=n.value.getAttribute("data-src");t&&n.value.setAttribute("src",t)}})()}),(a,r)=>{const d=xt;return"image"===t(u)?(c(),I(d,{key:0,preload:e.imagePreload,fetchpriority:e.imageFetchPriority,loading:e.imageLoading,src:t(i),height:e.height,width:e.width,alt:e.image?.imageAlt||""},null,8,["preload","fetchpriority","loading","src","height","width","alt"])):"video"===t(u)?(c(),o("video",{key:1,ref_key:"videoRef",ref:n,"data-src":e.video?.lazyLoad?t(s):void 0,src:e.video?.lazyLoad?void 0:t(s),height:e.height,width:e.width,controls:e.video?.controls,loop:e.video?.loop,muted:e.video?.muted,autoplay:e.video?.autoplay,poster:t(l),playsinline:""},null,8,$t)):p("",!0)}}},[["__scopeId","data-v-aa040891"]]),Mt={a:["href","title","target","rel","class"],b:["class"],strong:["class"],i:["class"],em:["class"],u:["class"],s:["class"],strike:["class"],del:["class"],code:["class"],mark:["class"],sub:["class"],sup:["class"],span:["class","style"],br:[]},St={...Mt,p:["class","style"],div:["class","style"],blockquote:["class","style"],ul:["class","style"],ol:["class","style"],li:["class","style"],h1:["class","style"],h2:["class","style"],h3:["class","style"],h4:["class","style"],h5:["class","style"],h6:["class","style"],hr:[]},Ct=new Set(["br","hr"]),Tt=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'`=<>]+)))?/g,Lt=/<\/?([a-zA-Z][a-zA-Z0-9-]*)((?:"[^"]*"|'[^']*'|[^>"'])*)>/g,It=t=>t.replace(/&#x([0-9a-f]+);?/gi,(t,e)=>String.fromCodePoint(parseInt(e,16))).replace(/&#(\d+);?/g,(t,e)=>String.fromCodePoint(parseInt(e,10))).replace(/&(amp|lt|gt|quot|apos|colon|Tab|NewLine);?/gi,(t,e)=>({amp:"&",lt:"<",gt:">",quot:'"',apos:"'",colon:":",tab:"\t",newline:"\n"}[e.toLowerCase()]??t)),Nt=t=>{const e=It(t).replace(/[\u0000-\u0020\u007F]/g,"").toLowerCase();if(!e)return!1;const a=e.match(/^([a-z0-9+.-]*):/);return!a||["http","https","mailto","tel"].includes(a[1])},At=t=>!/(expression|url|image-set|@import|javascript|behavior|binding|<)/i.test(It(t)),zt=t=>/^[-\w\s]*$/.test(t),Bt=t=>t.replace(/</g,"<").replace(/>/g,">"),Dt=(t,e,a)=>{if(!a.length||!e.trim())return"";const o=[];let r;for(Tt.lastIndex=0;null!==(r=Tt.exec(e));){const t=r[1].toLowerCase(),e=r[2]??r[3]??r[4]??"";a.includes(t)&&(("href"!==t||Nt(e))&&("style"!==t||At(e))&&("class"!==t||zt(e))&&("target"===t&&"_blank"!==e.toLowerCase()||o.push(`${t}="${e.replace(/"/g,""")}"`)))}return"a"===t&&o.some(t=>t.startsWith("target="))&&!o.some(t=>t.startsWith("rel="))&&o.push('rel="noopener noreferrer"'),o.length?` ${o.join(" ")}`:""},Ht=(t,e)=>{if(!t)return"";const a=String(t).replace(/<!--[\s\S]*?(?:-->|$)/g,"").replace(/<![\s\S]*?>/g,"").replace(new RegExp("<(script|style|iframe|object|embed|svg|math|template|noscript|title)\\b[\\s\\S]*?(?:</\\1\\s*>|$)","gi"),"");let o,r="",n=0;for(Lt.lastIndex=0;null!==(o=Lt.exec(a));
1){r+=Bt(a.slice(n,o.index)),n=Lt.lastIndex;const t=o[1].toLowerCase();if(!Object.prototype.hasOwnProperty.call(e,t))continue;const i="/"===o[0][1];Ct.has(t)?i||(r+=`<${t}>`):r+=i?`</${t}>`:`<${t}${Dt(t,o[2],e[t])}>`}return r+=Bt(a.slice(n)),r},qt=t=>{if(!t)return"";return(t=>Ht(t,Mt))(t.replace(/<\/(?:p|div|h[1-6])>\s*<(?:p|div|h[1-6])\b[^>]*>/gi,"<br>").replace(/<\/?(?:p|div|h[1-6])\b[^>]*>/gi,"")).trim()},jt=t=>{if(!t)return{tagName:"p",style:"",innerHtml:""};const e=t;if(e.includes("data-youtube-video")||e.includes("<iframe"))return{tagName:"div",style:"",innerHtml:e};const a=e.match(/<(\w+)\s+style="([^"]+)">(.+)<\/\1>/);if(a&&a[0]&&a[0]===e)return{tagName:a[1],style:a[2],innerHtml:a[3]};const o=/<\/\w+>\s*<\w+/.test(e),r=/^<\w+/.test(e);return o||r?{tagName:"div",style:"",innerHtml:e}:{tagName:"p",style:"",innerHtml:e}};n(),u(),i();var Pt={key:4,class:"flex al-cnt mt-12px"},Vt={key:0,class:"fs-12 regular fainted"},Ft={key:1,class:"divider"},Ot={key:2,class:"fs-12 regular fainted"},Et={key:3,class:"divider"},Rt={key:4,class:"fs-12 regular fainted"},Kt=U({__name:"TitleHero",props:["data"],setup(a){const r=a,n=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`,t.gap=`var(--content-gap-${r.data.spacing?.contentGap||"tight"})`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),i=t=>{(t=>!(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button))(t)&&(t.preventDefault(),K({eventName:"get_started"}),window.location.href=r.data.button.buttonLink)},s=d(()=>jt(r.data.title)),u=d(()=>jt(r.data.content));return(r,d)=>{const g=Y,h=st,m=ct,b=_t;return c(),o("div",{id:"hero-section",class:_(["hero-section flex al-cnt jc-cnt",`layout-${a.data.layout||"-image-right"}`,{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(n))},[e("div",{class:_(["titles flex dir-col",`align-${a.data.contentAlignment||"left"} ${a.data.image?"with-image":""}`])},[a.data.sectionTitle?(c(),I(g,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(h,{key:1,tagName:"p"===t(s).tagName?"h1":t(s).tagName,html:t(s).innerHtml,style:y(t(s).style),class:"semi-bold fs-56 mt-16px"},null,8,["tagName","html","style"])):p("",!0),a.data.content?(c(),I(h,{key:2,tagName:t(u).tagName,html:t(u).innerHtml,style:y(t(u).style),class:"regular p-lg mt-20px fainted"},null,8,["tagName","html","style"])):p("",!0),a.data.button?.buttonText?(c(),I(m,{key:3,variant:a.data.button?.variant??"primary",href:a.data.button?.buttonLink,class:"mt-20px",onClick:i},{default:f(()=>[l(M(a.data.button.buttonText),1)]),_:1},8,["variant","href"])):p("",!0),a.data.readingTime||a.data.publishDate||a.data.author?(c(),o("div",Pt,[a.data.readingTime?(c(),o("p",Vt,M(a.data.readingTime),1)):p("",!0),a.data.readingTime&&a.data.publishDate?(c(),o("span",Ft," | ")):p("",!0),a.data.publishDate?(c(),o("p",Ot,M(a.data.publishDate),1)):p("",!0),a.data.publishDate&&a.data.author||a.data.readingTime&&a.data.author?(c(),o("span",Et," | ")):p("",!0),a.data.author?(c(),o("p",Rt,M(a.data.author),1)):p("",!0)])):p("",!0)],2),$(b,{"media-type":a.data.mediaType,image:a.data.image,video:a.data.video,"image-fetch-priority":"high","image-preload":"",height:"644",width:"606"},null,8,["media-type","image","video"])],6)}}},[["__scopeId","data-v-e63984ba"]]);n(),u(),i();var Ut={key:1,class:"flex dir-col"},Wt=["src","alt"],Gt={key:0},Qt=["src"],Zt=U({__name:"Properties",props:["data"],setup(a){const r=a,n=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),i=d(()=>jt(r.data.title)),s=d(()=>jt(r.data.content)),l=d(()=>r.data?.properties?r.data.properties.map(t=>({propertyDescription:jt(t.propertyDescription),propertyTitle:jt(t.propertyTitle)})):[]);return(r,d)=>{const u=Y,g=st,h=_t;return c(),o("div",{id:"properties-section",class:_(["properties-section flex dir-col al-cnt p-relative",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(n))},[a.data.sectionTitle||a.data.title||a.data.content?(c(),o("div",{key:0,class:_(["titles flex dir-col",`align-${a.data.contentAlignment||"center"}`])},[a.data.sectionTitle?(c(),I(u,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(g,{key:1,tagName:"p"===t(i).tagName?"h2":t(i).tagName,html:t
1(i).innerHtml,style:y(t(i).style),class:"semi-bold mt-16px"},null,8,["tagName","html","style"])):p("",!0),a.data.content?(c(),I(g,{key:2,tagName:t(s).tagName,html:t(s).innerHtml,style:y(t(s).style),class:"regular p-sm mt-20px fainted"},null,8,["tagName","html","style"])):p("",!0)],2)):p("",!0),a.data.properties?(c(),o("div",Ut,[(c(!0),o(k,null,T(a.data.properties,(a,n)=>(c(),o("div",{class:_(["flex al-cnt jc-cnt property",`layout-${a.propertyLayout?a.propertyLayout:n%2==0?"image-right":"image-left"}`,`gap-${a.propertySpacing?.contentGap||"normal"}`])},[e("div",{class:_(["property-titles flex dir-col",[`align-${a.propertyContentAlignment||"left"}`,a.propertyImage?"":`wide gap-${a.propertySpacing?.contentGap||"normal"}`]])},[e("div",null,[a.propertyIcon?(c(),o("img",{key:0,loading:"lazy",width:"48",src:"light"===r.$colorMode.value?a.propertyIcon.lightIconSource:a.propertyIcon.darkIconSource,alt:a.propertyIcon.iconAlt},null,8,Wt)):p("",!0),a.propertyTitle?(c(),I(g,{key:1,tagName:"p"===t(l)[n].propertyTitle.tagName?"h3":t(l)[n].propertyTitle.tagName,html:t(l)[n].propertyTitle.innerHtml,style:y(t(l)[n].propertyTitle.style),class:_(["semi-bold","fs-32",a.propertyIcon?"mt-20px":""])},null,8,["tagName","html","style","class"])):p("",!0),a.propertyDescription?(c(),I(g,{key:2,tagName:t(l)[n].propertyDescription.tagName,html:t(l)[n].propertyDescription.innerHtml,style:y(t(l)[n].propertyDescription.style),class:"regular p-sm mt-16px fainted"},null,8,["tagName","html","style"])):p("",!0)]),a.propertyItems?(c(),o("div",Gt,[(c(!0),o(k,null,T(a.propertyItems,(t,n)=>(c(),o("div",{class:_(["flex property-item",{"mt-24px":0===n&&a.propertyImage},{"mt-16px":0!==n}])},["no"!==t.checkIcon?(c(),o("img",{key:0,loading:"lazy",src:`https://storage.googleapis.com/chatapp-website-assets/features/check_icon${"light"===r.$colorMode.value?"_light":""}.webp`,width:"32",height:"32",class:"mr-12px",alt:"green check icon"},null,8,Qt)):p("",!0),e("p",{class:_(["regular","fs-16","fainted",{"mt-5px":"no"!==t.checkIcon}])},M(t.text),3)],2))),256))])):p("",!0)],2),$(h,{"media-type":a.mediaType,image:a.propertyImage,video:a.propertyVideo,width:"552","image-loading":"lazy"},null,8,["media-type","image","video"])],2))),256))])):p("",!0)],6)}}},[["__scopeId","data-v-262c91f5"]]);n(),u(),i();var Jt={class:"titles flex dir-col al-cnt jc-cnt"},Yt=["src","alt"],Xt={key:1,class:"titles"},te=U({__name:"GridView",props:["data"],setup(a){const r=a,n=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),i=d(()=>jt(r.data.title)),s=d(()=>jt(r.data.content)),l=d(()=>r.data?.items?r.data.items.map(t=>({itemTitle:jt(t.itemTitle),itemDescription:jt(t.itemDescription)})):[]),u=d(()=>jt(r.data.content2));return(r,d)=>{const g=Y,h=st;return c(),o("div",{id:"grid-view-section",class:_(["grid-view-section flex dir-col al-cnt",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(n))},[e("div",Jt,[a.data.sectionTitle?(c(),I(g,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(h,{key:1,tagName:"p"===t(i).tagName?"h2":t(i).tagName,html:t(i).innerHtml,style:y(t(i).style),class:_(["semi-bold center",a.data.sectionTitle?"mt-16px":""])},null,8,["tagName","html","style","class"])):p("",!0),a.data.content?(c(),I(h,{key:2,tagName:t(s).tagName,html:t(s).innerHtml,style:y(t(s).style),class:"regular p-sm mt-20px center fainted"},null,8,["tagName","html","style"])):p("",!0)]),a.data.items?(c(),o("div",{key:0,class:_(["item-boxes",`layout-${a.data.layout||"3-cols"}`])},[(c(!0),o(k,null,T(a.data.items,(e,a)=>(c(),o("div",{class:_(["item-box",e.itemIcon?"":"small"])},[e.itemIcon?(c(),o("img",{key:0,src:"light"===r.$colorMode.value?e.itemIcon.lightIconSource:e.itemIcon.darkIconSource,alt:e.itemIcon.iconAlt,width:"52",height:"52"},null,8,Yt)):p("",!0),e.itemTitle?(c(),I(h,{key:1,tagName:"p"===t(l)[a].itemTitle.tagName?"h3":t(l)[a].itemTitle.tagName,html:t
1(l)[a].itemTitle.innerHtml,style:y(t(l)[a].itemTitle.style),class:_(["semi-bold","fs-20","mt-16px"])},null,8,["tagName","html","style"])):p("",!0),e.itemDescription?(c(),I(h,{key:2,tagName:t(l)[a].itemDescription.tagName,html:t(l)[a].itemDescription.innerHtml,style:y(t(l)[a].itemDescription.style),class:_(["regular","fs-14","mt-8px","fainted"])},null,8,["tagName","html","style"])):p("",!0)],2))),256))],2)):p("",!0),a.data.content2?(c(),o("div",Xt,[$(h,{tagName:t(u).tagName,html:t(u).innerHtml,style:y(t(u).style),class:"regular p-sm mt-20px center fainted"},null,8,["tagName","html","style"])])):p("",!0)],6)}}},[["__scopeId","data-v-8a69e541"]]);n(),u(),i();var ee=["innerHTML"],ae={class:"flex dir-col al-cnt mt-32px"},oe={class:"semi-bold fs-24 flex al-cnt jc-cnt nmbr green"},re={key:0,class:"semi-bold fs-24 center mt-12px green"},ne={key:1,class:"semi-bold fs-56 center mt-32px"},ie={key:2,class:"flex sbt"},se={class:"regular fs-18 center mt-16px gray"},le={class:"flex al-cnt mt-32px"},ce=["src","alt"],de=U({__name:"StepProcess",props:["data"],setup(a){const r=a,n=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),i=t=>{(t=>!(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button))(t)&&(t.preventDefault(),K({eventName:"get_started"}),window.location.href=r.data.buttonLink)};return(r,s)=>{const d=ct;return c(),o("div",{id:"step-process",class:_(["step-process flex dir-col al-cnt",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(n))},[a.data.title?(c(),o("p",{key:0,class:"medium fs-16 ls-06",innerHTML:a.data.title},null,8,ee)):p("",!0),(c(!0),o(k,null,T(a.data.steps,(t,n)=>(c(),o("div",ae,[s[0]||(s[0]=e("span",{style:{border:"1px solid","border-image-source":"linear-gradient(180deg, rgba(14, 169, 130, 0) 0%, #0ea982 100%)","border-image-slice":"1",height:"143px"}},null,-1)),e("div",oe,M(n+1),1),t.stepName?(c(),o("p",re,M(t.stepName),1)):p("",!0),t.stepTitle?(c(),o("h2",ne,M(t.stepTitle),1)):p("",!0),t.stepDescription?(c(),o("div",ie,[e("p",se,M(t.stepDescription),1)])):p("",!0),t.buttonText?(c(),I(d,{key:3,variant:t.button?.variant??"primary",href:a.data.buttonLink,class:"flex al-cnt mt-32px",onClick:i},{default:f(()=>[l(M(t.buttonText),1)]),_:2},1032,["variant","href"])):p("",!0),e("div",le,[e("img",{src:"light"===r.$colorMode.value?t.lightImageSource:t.darkImageSource,width:"1005",alt:t.imageAlt,class:"step-img"},null,8,ce)])]))),256))],6)}}},[["__scopeId","data-v-13728b80"]]);u(),n(),i();var ue={class:"flex dir-col al-cnt"},pe={class:"qa-container"},ge=["onClick"],he={class:"semi-bold"},me=["src"],fe=["innerHTML"],be=U({__name:"FAQ",props:["data"],setup(a){const r=a,n=x(null),i=x([]),s=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),l=d(()=>jt(r.data.title)),u=d(()=>jt(r.data.content)),g=d(()=>r.data.questions.map(t=>{return e=t?.qa?.answer,Ht(e,St);var e})),h={"@context":"https://schema.org","@type":"FAQPage",mainEntity:r.data.questions.map(t=>({"@type":"Question",name:t.qa.question,acceptedAnswer:{"@type":"Answer",text:t.qa.answer}}))},m=JSON.stringify(h).replace(/</g,"\\u003c");return O({script:[{type:"application/ld+json",innerHTML:m}]}),(d,h)=>{const m=Y,f=st;return c(),o("div",{id:"faq-section",class:_(["faq-section flex dir-col al-cnt",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(s))},[e("div",ue,[a.data.sectionTitle?(c(),I(m,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(f,{key:1,tagName:"p"===t(l).tagName?"h2":t(l).tagName,html:t
1(l).innerHtml,style:y(t(l).style),class:"semi-bold mt-16px center"},null,8,["tagName","html","style"])):p("",!0),a.data.content?(c(),I(f,{key:2,tagName:t(u).tagName,html:t(u).innerHtml,style:y(t(u).style),class:"regular fs-18 mt-20px fainted center"},null,8,["tagName","html","style"])):p("",!0)]),(c(!0),o(k,null,T(a.data.questions,(a,s)=>(c(),o("div",pe,[e("div",{class:"question",onClick:t=>(t=>{const e=i.value[t],a=n.value===t,o=r.data.questions[t];if(a)K({eventName:"faq_close",properties:{question_text:o?.qa?.question,question_index:t}}),e.style.height="0px",n.value=null;else{K({eventName:"faq_open",properties:{question_text:o?.qa?.question,question_index:t}}),null!==n.value&&(i.value[n.value].style.height="0px");const a=e.scrollHeight;e.style.height=a+"px",n.value=t}})(s)},[e("h2",he,M(a.qa.question),1),e("img",{src:`https://storage.googleapis.com/chatapp-website-assets/arrow_${t(n)===s?"up":"down"}_icon.webp`,width:"24",height:"24",class:"theme-invert"},null,8,me)],8,ge),e("div",{class:"answer-wrapper",ref_for:!0,ref:e=>t(i)[s]=e},[e("div",{class:"answer semi-bold",innerHTML:t(g)[s]},null,8,fe)],512)]))),256))],6)}}},[["__scopeId","data-v-d89e52bd"]]);n(),u(),i();var ye=U({__name:"CallToAction",props:["data"],setup(e){const a=e,r=d(()=>a.data.type||"default"),n=d(()=>"filled"===r.value),i=d(()=>{const t={};return a.data.spacing&&(t.padding=`var(--padding-${a.data.spacing?.padding||"large"}) 0`),!n.value&&a.data.background&&a.data.background.lightModeSource?(t["--bg-image-light"]=`url(${a.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${a.data.background.darkModeSource})`):!n.value&&a.data.background&&a.data.background.lightModeColor&&(t["--bg-color-light"]=a.data.background.lightModeColor,t["--bg-color-dark"]=a.data.background.darkModeColor),t}),s=t=>{(t=>!(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button))(t)&&(t.preventDefault(),K({eventName:"get_started"}),window.location.href=a.data.button.buttonLink)},u=d(()=>jt(a.data.title));return(d,g)=>{const h=Y,m=st,b=ct;return c(),o("div",{id:"cta-section",class:_(["cta-section flex dir-col al-cnt p-relative",`cta-type-${t(r)}`,{"has-bg-image":!t(n)&&e.data.background?.lightModeSource,"has-bg-color":!t(n)&&e.data.background?.lightModeColor}]),style:y(t(i))},[e.data.sectionTitle?(c(),I(h,{key:0,text:e.data.sectionTitle},null,8,["text"])):p("",!0),e.data.title?(c(),I(m,{key:1,tagName:"p"===t(u).tagName?"h2":t(u).tagName,html:t(u).innerHtml,style:y(t(u).style),class:_(["text semi-bold center",{"mt-16px":a.data.sectionTitle}])},null,8,["tagName","html","style","class"])):p("",!0),e.data.button?.buttonText?(c(),I(b,{key:2,variant:e.data.button?.variant??"primary",href:e.data.button?.buttonLink,class:"mt-20px",onClick:s},{default:f(()=>[l(M(e.data.button.buttonText),1)]),_:1},8,["variant","href"])):p("",!0)],6)}}},[["__scopeId","data-v-f8894966"]]);i(),n();var ve={class:"titles"},ke={class:"semi-bold free-text"},we={class:"bold pro-text"},xe={class:"advantages-container"},$e={class:"text-container"},_e=["src","alt"],Me={class:"advantage-texts"},Se={class:"fs-20 semi-bold"},Ce={class:"fs-16 regular mt-4px"},Te={class:"icons-container"},Le=["src"],Ie=["src"],Ne=U({__name:"AdvantagesTable",props:["advantages","column1Title","column2Title","light"],setup:t=>(a,r)=>(c(),o("div",{class:_([{light:a.theme},"table"])},[e("div",ve,[e("p",ke,M(t.column1Title),1),e("p",we,M(t.column2Title),1)]),(c(!0),o(k,null,T(t.advantages,t=>(c(),o("div",xe,[e("div",$e,[e("img",{src:"light"===a.$colorMode.value?t.lightIconSource:t.darkIconSource,class:"text-icon",alt:t.iconAlt},null,8,_e),e("span",Me,[e("p",Se,M(t.advantageTitle),1),e("p",Ce,M(t.advantageDescription),1)])]),e("div",Te,[e("img",{src:`https://storage.googleapis.com/chatapp-website-assets/${t.free?"check":"dash"}_icon.webp`,class:_([{dash:!t.free},"icon"])},null,10,Le),e("img",{src:`https://storage.googleapis.com/chatapp-website-assets/${t.pro?"check":"dash"}_icon.webp`,class:_([{dash:!t.pro},"icon"])},null,10,Ie)])]))),256))],2))},[["__scopeId","data-v-6209447a"]]);n(),u(),i();var Ae={class:"flex dir-col al-cnt"},ze={class:"flex mt-64px"},Be={class:"flex dir-col jc-fe membership-card"},De=["src"],He={class:"fs-20 semi-bold mt-5px"},qe={class:"fs-14 regular mt-12px",style:{color:"var(--default-500)"}},je={class:"flex advantages-table-container mt-30px"},Pe={class:"advantages-texts"},Ve={class:"medium fs-14 lh-20",style:{color:"var(--default-700)"}},Fe={class:"semi-bold fs-80"},Oe={style:{background:"linear-gradient(180deg, #00ff94 0%, #0ea982 100%)","-webkit-background-clip":"text","background-clip":"text","-webkit-text-fill-color":"transparent"}},Ee={class:"flex"},Re=U({__name:"Memberships",props:["data"],setup(a){const r=a,n=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),i=t=>{const e=(t??"").trim();return e&&"#"!==e?e:""},s=d(()=>jt(r.data.title)),u=d(()=>jt(r.data.content));return(r,d)=>{const g=Y,h=st,m=Ne;return c(),o("div",{id:"membership-section",class:_(["membership-section flex dir-col al-cnt",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(n))},[e("div",Ae,[a.data.sectionTitle?(c(),I(g,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(h,{key:1,tagName:"p"===t(s).tagName?"h2":t(s).tagName,html:t
1(s).innerHtml,style:y(t(s).style),class:"semi-bold mt-16px center"},null,8,["tagName","html","style"])):p("",!0),a.data.content?(c(),I(h,{key:2,tagName:t(u).tagName,html:t(u).innerHtml,style:y(t(u).style),class:"regular p-sm mt-20px fainted center"},null,8,["tagName","html","style"])):p("",!0)]),e("div",ze,[(c(!0),o(k,null,T(a.data.memberships,t=>(c(),o("div",Be,[e("img",{src:"light"===r.$colorMode.value?t.lightIconSource:t.darkIconSource,class:"theme-invert",height:"64",width:"64"},null,8,De),e("span",He,M(t.membershipTitle),1),e("p",qe,M(t.membershipDescription),1),(c(),I(b(i(t.buttonLink)?"a":"button"),{href:i(t.buttonLink)||void 0,onClick:e=>{return a=e,o=t.buttonLink,r=t.membershipTitle,n=t.buttonText,void((t=>!(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button))(a)&&(a.preventDefault(),K({eventName:"membership_button_click",properties:{membership_title:r||void 0,button_text:n||void 0}}),window.location.href=o));var a,o,r,n},class:_(["btn-membership mt-24px",`btn-${t.button?.variant||"primary"}`])},{default:f(()=>[l(M(t.buttonText),1)]),_:2},1032,["href","onClick","class"]))]))),256))]),e("div",je,[e("div",Pe,[e("p",Ve,M(a.data.tableSectionTitle),1),e("p",Fe,[l(M(a.data.tableTitlePart1),1),d[0]||(d[0]=e("br",null,null,-1)),e("span",Oe,M(a.data.tableTitlePart2),1)])]),e("div",Ee,[d[1]||(d[1]=e("img",{loading:"lazy",src:"https://storage.googleapis.com/chatapp-website-assets/advantages_table_bullet_points_5.webp",class:"bullet-points theme-invert",height:"500",alt:"bullet points"},null,-1)),$(m,{advantages:a.data.advantages,column1Title:a.data.tableColumn1Title,column2Title:a.data.tableColumn2Title,theme:"light"===r.$colorMode.value,class:"mt-25px"},null,8,["advantages","column1Title","column2Title","theme"])])])],6)}}},[["__scopeId","data-v-b6e4b636"]]);u(),n(),i();var Ke={class:"flex dir-col al-cnt"},Ue={key:0,class:"feature-boxes flex jc-cnt"},We={class:"slider-container flex al-cnt mt-12px"},Ge={class:"mr-8px p-relative pointer style-box flex dir-col al-cnt"},Qe={class:"flex al-cnt dir-col",style:{"flex-grow":"1"}},Ze=["src","alt"],Je={key:1,class:"semi-bold fs-20 mt-16px"},Ye={key:2,class:"regular fs-16 mt-8px faint center"},Xe={class:"semi-bold fs-16 mr-8px"},ta=U({__name:"SlideView",props:["data"],setup(a){const r=a,n=x(null),{width:i}=G(),s=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t}),l=t=>{n.value&&n.value.scrollBy({left:i.value>920?600*t:200*t,behavior:"smooth"})},u=t=>{const e=(t??"").trim();return e&&"#"!==e?e:""},g=d(()=>jt(r.data.title)),h=d(()=>jt(r.data.content));return(r,i)=>{const d=Y,m=st;return c(),o("div",{id:"slide-view-section",class:_(["slide-view-section flex dir-col al-cnt",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(s))},[e("div",Ke,[a.data.sectionTitle?(c(),I(d,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(m,{key:1,tagName:"p"===t(g).tagName?"h2":t(g).tagName,html:t(g).innerHtml,style:y(t(g).style),class:"semi-bold mt-16px center"},null,8,["tagName","html","style"])):p("",!0),a.data.content?(c(),I(m,{key:2,tagName:t(h).tagName,html:t(h).innerHtml,style:y(t(h).style),class:"regular p-sm mt-20px fainted center"},null,8,["tagName","html","style"])):p("",!0)]),a.data.features?(c(),o("div",Ue,[e("div",We,[e("button",{class:"arrow-btn left-arrow",onClick:i[0]||(i[0]=t=>l(-1))},[...i[2]||(i[2]=[e("img",{class:"theme-invert pointer turn-l",width:"20",height:"10",src:"https://storage.googleapis.com/chatapp-website-assets/arrow.webp"},null,-1)])]),e("div",{class:"flex sb-container",ref_key:"scrollContainerRef",ref:n},[(c(!0),o(k,null,T(a.data.features,t=>(c(),o("div",Ge,[e("div",Qe,[t.lightIconSource?(c(),o("img",{key:0,src:"light"===r.$colorMode.value?t.lightIconSource:t.darkIconSource,alt:t.iconAlt,width:"64",height:"64"},null,8,Ze)):p("",!0),t.featureTitle?(c(),o("h3",Je,M(t.featureTitle),1)):p("",!0),t.featureDescription?(c(),o("p",Ye,M(t.featureDescription),1)):p("",!0)]),(c(),I(b(u(t.buttonLink)?"a":"div"),{href:u(t.buttonLink)||void 0,class:"flex pointer al-cnt mt-20px",onClick:e=>{return a=e,o=t.buttonLink,void((t=>!(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button))(a)&&(a.preventDefault(),K({eventName:"get_started"}),window.location.href=o));var a,o}},{default:f(()=>[e("p",Xe,M(t.buttonText),1),i[3]||(i[3]=e("img",{class:"theme-invert z-1",width:"24",height:"24",src:"https://storage.googleapis.com/chatapp-website-assets/next-icon.svg"},null,-1))]),_:2},1032,["href","onClick"]))]))),256))],512),e("button",{class:"arrow-btn right-arrow",onClick:i[1]||(i[1]=t=>l(1))},[...i[4]||(i[4]=[e("img",{class:"theme-invert pointer turn-r",width:"20",height:"10",src:"https://storage.googleapis.com/chatapp-website-assets/arrow.webp"},null,-1)])])])])):p("",!0)],6)}}},[["__scopeId","data-v-5b9c2240"]]);n(),u(),i();var ea=["innerHTML"],aa=U({__name:"Blog",props:["data"],setup(a){const r=a,n=(t,e,a)=>{(t=>!(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button))(t)&&(t.preventDefault(),K({eventName:"blog_button_clicked",properties:{position:a,target:e.buttonLink}}),window.location.href=e.buttonLink)},i=d(()=>{const t={};return r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t});return(r,s)=>{const d=ct;return c(),o("div",{class:_(["flex dir-col blog-element",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(i))},[a.data.topButton?.buttonText?(c(),I(d,{key:0,variant:a.data.topButton?.variant??"primary",href:a.data.topButton?.buttonLink,class:"blog-button blog-button-top",onClick:s[0]||(s[0]=t=>n(t,a.data.topButton,"top"))},{default:f(()=>[l(M(a.data.topButton.buttonText),1)]),_:1},8,["variant","href"])):p("",!0),e("div",{class:"blog-content",innerHTML:a.data.content},null,8,ea),a.data.bottomButton?.buttonText?(c(),I(d,{key:1,variant:a.data.bottomButton?.variant??"primary",href:a.data.bottomButton?.buttonLink,class:"blog-button blog-button-bottom",onClick:s[1]||(s[1]=t=>n(t,a.data.bottomButton,"bottom"))},{default:f(()=>[l(M(a.data.bottomButton.buttonText),1)]),_:1},8,["variant","href"])):p("",!0)],6)}}},[["__scopeId","data-v-3b13c803"]]);n();var oa={class:"code-block"};var ra=Object.assign(U({},[["render",function(t,e){return c(),o("div",oa,[...e[0]||(e[0]=[a('<span class="keyword" data-v-8ebf5526>def</span> factorial(n): <br data-v-8ebf5526> Â Â <span data-v-8ebf5526>result</span> = <span class="number" data-v-8ebf5526>1</span><br data-v-8ebf5526> Â Â <span class="keyword" data-v-8ebf5526>for</span> i <span class="keyword" data-v-8ebf5526>in</span> range(<span class="number" data-v-8ebf5526>1</span>, n + <span class="number" data-v-8ebf5526>1</span>): <br data-v-8ebf5526> Â Â Â Â <span data-v-8ebf5526>result</span> *= i <br data-v-8ebf5526> Â Â <span class="keyword" data-v-8ebf5526>return</span> result <br data-v-8ebf5526> print(factorial(<span class="number" data-v-8ebf5526>5</span>)) <span class="comment" data-v-8ebf5526>
1#Output: 120 </span>',30)])])}],["__scopeId","data-v-8ebf5526"]]),{__name:"CodeDisplay"});u(),n(),i();var na={class:"flex dir-col al-cnt p-relative ana",style:{height:"100%",width:"100%"}},ia={class:"flex dir-col al-cnt ccc",style:{width:"100%"}},sa={class:"chat-container mt-30px"},la=["src"],ca={key:0},da={key:1},ua={key:2,class:"topic selected flex fs-12 regular z-1",style:{position:"absolute",left:"-15px",top:"-20px"}},pa=["src"],ga={class:"flex mt-24px"},ha=["onClick"],ma=["src"],fa=U({__name:"AnimatedChatsCard",setup(n){const i=x([{text:Q[0].messages[0],type:"user",animate:!0},{text:Q[0].messages[1],type:"system",animate:!0}]),s=x(0),u=x(!0),g=d(()=>6);function h(t,e){i.value.push({text:t,type:e,animate:!1}),setTimeout(()=>{i.value[i.value.length-1].animate=!0},50)}m(()=>{document.documentElement.style.setProperty("--bc",`${Q[s.value].bc}`),setTimeout(()=>{f()},1e3*g.value),setTimeout(()=>{y()},1e3)});const f=()=>{u.value&&g.value>0&&(s.value===Q.length-1?b(Q[0],0):b(Q[s.value+1],s.value+1),setTimeout(()=>{f()},1e3*g.value))},b=(t,e)=>{e!==s.value&&(K({eventName:u.value?"content_changed":"content_changed_clicked",properties:{topic:Q[e].name}}),s.value=e,document.documentElement.style.setProperty("--bc",`${t.bc}`),i.value=[],setTimeout(()=>{0===i.value.length&&h(Q[s.value].messages[0],"user")},250),setTimeout(()=>{1===i.value.length&&h(Q[s.value].messages[1],"system")},1e3))};r(()=>{u.value=!1});const y=()=>{for(let t=0;t<Q.length;t++){(new Image).src=`https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/user_${t+1}.webp`}};return(r,n)=>{const d=xt,g=ra;return c(),o("div",na,[n[1]||(n[1]=e("span",{class:"ray"},null,-1)),$(d,{preload:"",fetchpriority:"high",class:"bg",src:"https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/laptop_bg.webp",width:"100%"}),n[2]||(n[2]=a('<div class="flex dir-col al-cnt p-relative z-1 ua" data-v-bd408ec9><div class="flex al-cnt" data-v-bd408ec9><img class="left wing" src="https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/union.webp" data-v-bd408ec9><div class="flex dir-col al-cnt" data-v-bd408ec9><p class="fs-20 semi-bold df-600" data-v-bd408ec9>Join over</p><p class="fs-40 semi-bold df-1000" data-v-bd408ec9>50M+ users</p></div><img class="right wing" src="https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/union.webp" data-v-bd408ec9></div><p class="fs-12 regular df-1000 op-50 center mt-8px hide" data-v-bd408ec9> Become part of a growing worldwide <br data-v-bd408ec9> community and achieve your goals with us </p><img class="mt-8px" height="17" src="https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/rating.webp" data-v-bd408ec9><div class="flex al-cnt mt-8px" data-v-bd408ec9><img class="mr-4px" height="28" src="https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/from_users.webp" data-v-bd408ec9><p class="fs-12 regular df-500" data-v-bd408ec9>from users</p></div></div>',1)),e("div",ia,[e("div",sa,[(c(!0),o(k,null,T(t(i),(a,r)=>(c(),o("div",{key:r,class:_(["message",a.type,{bs:"Business"===t(Q)[t(s)].name&&"user"!==a.type}])},[0===r?(c(),o("img",{key:0,class:_(["icon z-1",{animate:a.animate}]),width:"32",src:`https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/user_${t(s)+1}.webp`},null,10,la)):(c(),o("img",{key:1,src:"https://storage.googleapis.com/chatapp-website-assets/chat/ask_ai_logo.webp",class:_(["icon z-1",{animate:a.animate}])},null,2)),e("div",{class:_(["message-bubble p-relative",{animate:a.animate}])},["Coding"===t(Q)[t(s)].name&&"user"!==a.type?(c(),o("div",ca,[$(g)])):(c(),o("div",da,M(a.text),1)),"user"===a.type?(c(),o("div",ua,[e("img",{width:"16",class:"mr-4px",src:`https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/${t(Q)[t(s)].name.toLowerCase()}_icon_selected.webp`},null,8,pa),l(" "+M(t(Q)[t(s)].name),1)])):p("",!0)],2),"Business"===t(Q)[t(s)].name&&"user"===a.type?(c(),o("div",{key:2,class:_(["pdf flex p-relative mt-4px",{animate:a.animate}])},[...n[0]||(n[0]=[e("img",{width:"40",class:"mr-10px",src:"https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/file.webp"},null,-1),e("div",null,[e("p",{class:"fs-18 regular"},"salaries.pdf"),e("p",{class:"fs-12 regular"},"File")],-1)])],2)):p("",!0)],2))),128))]),e("div",ga,[(c(!0),o(k,null,T(t(Q),(a,r)=>(c(),o("div",{onClick:()=>{b(a,r),u.value=!1},class:_(["topic flex fs-12 regular z-1 pointer",[{selected:t(s)===r}]])},[e("img",{width:"16",class:"mr-4px",src:`https://storage.googleapis.com/chatapp-website-assets/onboarding-inf/${a.name.toLowerCase()}_icon${t(s)===r?"_selected":""}.webp`},null,8,ma),l(" "+M(a.name),1)],10,ha))),256))])])])}}},[["__scopeId","data-v-bd408ec9"]]);n(),i();var ba={class:"flex jc-cnt"},ya=U({__name:"OnboardingProgressBar",props:["numberOfSteps","currentStep"],setup:t=>(e,a)=>(c(),o("div",ba,[(c(!0),o(k,null,T(t.numberOfSteps,e=>(c(),o("div",{key:e,class:_("stick "+(e<=t.currentStep?"highlighted":""))},null,2))),128))]))},[["__scopeId","data-v-911267bf"]]);n();var va={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"};var ka={render:function(t,a){return c(),o("svg",va,[...a[0]||(a[0]=[e("path",{fill:"#fff",d:"M11.057 3.06a1.333 1.333 0 0 1 1.885 0l6 6a1.333 1.333 0 0 1 0 1.885l-6 6a1.334 1.334 0 0 1-1.885-1.885l3.609-3.724H1.999a1.333 1.333 0 1 1 0-2.667h12.667l-3.61-3.724a1.333 1.333 0 0 1 0-1.885"},null,-1)])])}};n(),u(),i();var wa={class:_(["onboarding-inf",{light:!0},{newStyle:!0}])},xa={class:_(["container left hidden-mobile"])},$a={key:0,style:{height:"100vh",width:"100%","min-height":"700px"}},_a={class:_(["container right hidden-mobile light"])},Ma={style:{width:"343px",position:"relative","z-index":"10"},class:"content-right"},Sa=["innerHTML"],Ca=["innerHTML"],Ta={class:"policy-links center"},La={class:_(["onboarding-mobile hidden-desktop flex dir-col al-cnt"])},Ia={key:0,class:"fs-32 lh-40 semi-bold mt-16px center"},Na=["innerHTML"],Aa=["src","alt"],za={class:"policy-links center",style:{bottom:"0px"}},Ba=U({__name:"Onboarding",props:["data"],setup(a){const r=a,{locale:n}=F(),i="en"===n.value?"":n.value,{isDesktop:s}=N().$device,{width:u}=G(),g=d(()=>r.data.cards),h=x(1),f=d(()=>g.value[h.value-1]),b=d(()=>window.innerWidth),y=()=>{h.value===g.value.length?(K({eventName:"informative_tutorial_completed",properties:{onboarding_type:r.data.source,source:r.data.source}}),window.location.href=r.data.redirectLink):(h.value+=1,v(h.value+1),h.value.onlyMobile&&b.value>767&&y(),K({eventName:"web_page_open",page:f.value.name,properties:{onboarding_type:r.data.source,source:r.data.source,page_number:h.value}}))};m(()=>{K({eventName:"informative_tutorial_started",properties:{onboarding_type:r.data.source,source:r.data.source}}),f.value&&K({eventName:"web_page_open",page:f.value.name,properties:{onboarding_type:r.data.source,source:r.data.source,page_number:h.value}}),v(2)});const v=t=>{const e=g.value.find(e=>e.page_number===t);if(e&&u.value>768)for(let a of cardImages[e.name]){(new Image).src=a}
1else{if(e&&s&&e.image){(new Image).src=i?`${e.image.split(".png")[0]}_${i}.png`:e.image}if(e&&s&&e.topics){(new Image).src=i?`${topics[selectedTopicIndex.value].image.split(".png")[0]}_${i}.png`:topics[selectedTopicIndex.value].image}if(e&&!s&&e.image){(new Image).src=i?`${e.image.split("_new.png")[0]}${i?`_${i}`:""}_new.png`:e.image}}},k=t=>{let e=!0;return t=(t=(t=t.replace(/\n/g,"<br>")).replace(/~/g,()=>(e=!e,e?"</span>":'<span style="font-size: 12px; position: absolute; top: 38px; right: 80px;" id="api">'))).replace(/%/g,()=>(e=!e,e?"</span>":`<span style="${f.value&&"informative_chats_animated"===f.value.name?"font-size: 48px;":"font-size: 55px;"}">`))};return(a,n)=>{const i=fa,s=xt,d=ya;return c(),o("div",wa,[e("div",xa,[t(f)&&"Chat Examples"===t(f).template?(c(),o("div",$a,[$(i)])):t(f)&&t(f).image&&t(f).image.desktopImageSource?(c(),I(s,{key:1,preload:"",fetchpriority:"high",src:t(f).image.desktopImageSource,class:"card-image",alt:t(f).image.imageAlt},null,8,["src","alt"])):p("",!0)]),e("div",_a,[$(d,{style:{position:"absolute",top:"60px"},numberOfSteps:t(g).length+1,currentStep:t(h)},null,8,["numberOfSteps","currentStep"]),e("div",Ma,[t(f)&&t(f).title&&t(f).title.desktopTitle?(c(),o("h1",{key:0,class:"bold pt-43 lh-56",innerHTML:k(t(f).title.desktopTitle)},null,8,Sa)):p("",!0),t(f)&&t(f).subtitle&&t(f).subtitle.desktopSubtitle?(c(),o("h2",{key:1,class:"fs-20 regular lh-24 op-50 mt-25px",innerHTML:k(t(f).subtitle.desktopSubtitle)},null,8,Ca)):p("",!0),t(f)&&t(f).button?(c(),o("button",{key:2,class:_(["mt-25px btn btn-continue dark"]),onClick:y},[l(M(t(f).button.buttonText)+" ",1),$(t(ka),{class:"next-icon"})])):p("",!0)]),e("div",Ta,[e("a",{class:"fs-12",href:"/policies/terms-conditions-en.html",target:"_blank",onClick:n[0]||(n[0]=e=>t(K)({eventName:"terms_tapped",properties:{source:r.data.source,page_number:t(h)}}))},M(a.$t("chatappweb.footer.termsConditions"))+" ⢠",1),e("a",{class:"fs-12",href:"/policies/privacy-en.html",target:"_blank",onClick:n[1]||(n[1]=e=>t(K)({eventName:"privacy_policy_tapped",properties:{source:r.data.source,page_number:t(h)}}))},M(a.$t("chatappweb.footer.privacyPolicy"))+" ⢠",1),e("a",{class:"fs-12",href:"/policies/refund-en.html",target:"_blank",onClick:n[2]||(n[2]=e=>t(K)({eventName:"refund_policy_tapped",properties:{source:r.data.source,page_number:t(h)}}))},M(a.$t("chatappweb.footer.refundPolicy")),1)]),n[6]||(n[6]=e("img",{src:"https://storage.googleapis.com/chatapp-website-assets/chat/ask_ai_logo_dark.webp",class:"logo hidden-mobile"},null,-1))]),e("div",La,[t(f)&&t(f).title&&t(f).title.mobileTitle?(c(),o("h1",Ia,M(t(f).title.mobileTitle),1)):p("",!0),t(f)&&t(f).subtitle&&t(f).subtitle.mobileSubtitle?(c(),o("h2",{key:1,class:"fs-16 lh-24 regular mt-3px op-50 center",innerHTML:k(t(f).subtitle.mobileSubtitle)},null,8,Na)):p("",!0),t(f)&&t(f).image&&t(f).image.mobileImageSource&&t(u)<=767?(c(),o("img",{key:2,src:t(f).image.mobileImageSource,class:_(["card-image",{"mb-50 mt":!t(f)}]),alt:t(f).image.imageAlt},null,10,Aa)):p("",!0),t(f)&&t(f).button?(c(),o("button",{key:3,class:_(["mt-25px btn btn-continue dark"]),onClick:y},[l(M(t(f).button.buttonText)+" ",1),$(t(ka),{class:"next-icon"})])):p("",!0),e("div",za,[e("a",{class:"fs-12",href:"/policies/terms-conditions-en.html",target:"_blank",onClick:n[3]||(n[3]=e=>t(K)({eventName:"terms_tapped",properties:{source:r.data.source,page_number:t(h)}}))},M(a.$t("chatappweb.footer.termsConditions"))+" ⢠",1),e("a",{class:"fs-12",href:"/policies/privacy-en.html",target:"_blank",onClick:n[4]||(n[4]=e=>t(K)({eventName:"privacy_policy_tapped",properties:{source:r.data.source,page_number:t(h)}}))},M(a.$t("chatappweb.footer.privacyPolicy"))+" ⢠",1),e("a",{class:"fs-12",href:"/policies/refund-en.html",target:"_blank",onClick:n[5]||(n[5]=e=>t(K)({eventName:"refund_policy_tapped",properties:{source:r.data.source,page_number:t(h)}}))},M(a.$t("chatappweb.footer.refundPolicy")),1)])])])}}},[["__scopeId","data-v-d7f98526"]]);n(),u(),i();var Da=["innerHTML"],Ha=U({__name:"HtmlCode",props:["data"],setup(a){const r=a,n=d(()=>{const t={};return r.data.spacing&&(t.padding=`var(--padding-${r.data.spacing?.padding||"large"}) 0`,t.gap=`var(--content-gap-${r.data.spacing?.contentGap||"tight"})`),r.data.background&&r.data.background.lightModeSource?(t["--bg-image-light"]=`url(${r.data.background.lightModeSource})`,t["--bg-image-dark"]=`url(${r.data.background.darkModeSource})`):r.data.background&&r.data.background.lightModeColor&&(t["--bg-color-light"]=r.data.background.lightModeColor,t["--bg-color-dark"]=r.data.background.darkModeColor),t});return d(()=>jt(r.data.content)),(r,i)=>(c(),o("div",{class:_(["html-code-element",{"has-bg-image":a.data.background?.lightModeSource,"has-bg-color":a.data.background?.lightModeColor}]),style:y(t(n))},[e("div",{innerHTML:a.data.content,class:"html-content"},null,8,Da)],6))}},[["__scopeId","data-v-c8b94ca9"]]),qa=function(t,e){let a=t;const o=Oa[e];let r=null,n=0,i=null;const s=[],l={},c=function(t,e){n=4*a+17,r=function(t){const e=new Array(t);for(let a=0;a<t;a+=1){e[a]=new Array(t);for(let o=0;o<t;o+=1)e[a][o]=null}return e}(n),d(0,0),d(n-7,0),d(0,n-7),p(),u(),h(t,e),a>=7&&g(t),null==i&&(i=f(a,o,s)),m(i,e)},d=function(t,e){for(let a=-1;a<=7;a+=1)if(!(t+a<=-1||n<=t+a))for(let o=-1;o<=7;
1o+=1)e+o<=-1||n<=e+o||(r[t+a][e+o]=0<=a&&a<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==a||6==a)||2<=a&&a<=4&&2<=o&&o<=4)},u=function(){for(let t=8;t<n-8;t+=1)null==r[t][6]&&(r[t][6]=t%2==0);for(let t=8;t<n-8;t+=1)null==r[6][t]&&(r[6][t]=t%2==0)},p=function(){const t=Ja.getPatternPosition(a);for(let e=0;e<t.length;e+=1)for(let a=0;a<t.length;a+=1){const o=t[e],n=t[a];if(null==r[o][n])for(let t=-2;t<=2;t+=1)for(let e=-2;e<=2;e+=1)r[o+t][n+e]=-2==t||2==t||-2==e||2==e||0==t&&0==e}},g=function(t){const e=Ja.getBCHTypeNumber(a);for(let a=0;a<18;a+=1){const o=!t&&1==(e>>a&1);r[Math.floor(a/3)][a%3+n-8-3]=o}for(let a=0;a<18;a+=1){const o=!t&&1==(e>>a&1);r[a%3+n-8-3][Math.floor(a/3)]=o}},h=function(t,e){const a=o<<3|e,i=Ja.getBCHTypeInfo(a);for(let o=0;o<15;o+=1){const e=!t&&1==(i>>o&1);o<6?r[o][8]=e:o<8?r[o+1][8]=e:r[n-15+o][8]=e}for(let o=0;o<15;o+=1){const e=!t&&1==(i>>o&1);o<8?r[8][n-o-1]=e:o<9?r[8][15-o-1+1]=e:r[8][15-o-1]=e}r[n-8][8]=!t},m=function(t,e){let a=-1,o=n-1,i=7,s=0;const l=Ja.getMaskFunction(e);for(let c=n-1;c>0;c-=2)for(6==c&&(c-=1);;){for(let e=0;e<2;e+=1)if(null==r[o][c-e]){let a=!1;s<t.length&&(a=1==(t[s]>>>i&1)),l(o,c-e)&&(a=!a),r[o][c-e]=a,i-=1,-1==i&&(s+=1,i=7)}if(o+=a,o<0||n<=o){o-=a,a=-a;break}}},f=function(t,e,a){const o=to.getRSBlocks(t,e),r=eo();for(let i=0;i<a.length;i+=1){const e=a[i];r.put(e.getMode(),4),r.put(e.getLength(),Ja.getLengthInBits(e.getMode(),t)),e.write(r)}let n=0;for(let i=0;i<o.length;i+=1)n+=o[i].dataCount;if(r.getLengthInBits()>8*n)throw"code length overflow. ("+r.getLengthInBits()+">"+8*n+")";for(r.getLengthInBits()+4<=8*n&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=8*n||(r.put(236,8),r.getLengthInBits()>=8*n));)r.put(17,8);return function(t,e){let a=0,o=0,r=0;const n=new Array(e.length),i=new Array(e.length);for(let d=0;d<e.length;d+=1){const s=e[d].dataCount,l=e[d].totalCount-s;o=Math.max(o,s),r=Math.max(r,l),n[d]=new Array(s);for(let e=0;e<n[d].length;e+=1)n[d][e]=255&t.getBuffer()[e+a];a+=s;const c=Ja.getErrorCorrectPolynomial(l),u=Xa(n[d],c.getLength()-1).mod(c);i[d]=new Array(c.getLength()-1);for(let t=0;t<i[d].length;t+=1){const e=t+u.getLength()-i[d].length;i[d][t]=e>=0?u.getAt(e):0}}let s=0;for(let d=0;d<e.length;d+=1)s+=e[d].totalCount;const l=new Array(s);let c=0;for(let d=0;d<o;d+=1)for(let t=0;t<e.length;t+=1)d<n[t].length&&(l[c]=n[t][d],c+=1);for(let d=0;d<r;d+=1)for(let t=0;t<e.length;t+=1)d<i[t].length&&(l[c]=i[t][d],c+=1);return l}(r,o)};l.addData=function(t,e){let a=null;switch(e=e||"Byte"){case"Numeric":a=ao(t);break;case"Alphanumeric":a=oo(t);break;case"Byte":a=ro(t);break;case"Kanji":a=no(t);break;default:throw"mode:"+e}s.push(a),i=null},l.isDark=function(t,e){if(t<0||n<=t||e<0||n<=e)throw t+","+e;return r[t][e]},l.getModuleCount=function(){return n},l.make=function(){if(a<1){let t=1;for(;t<40;t++){const e=to.getRSBlocks(t,o),a=eo();for(let o=0;o<s.length;o++){const e=s[o];a.put(e.getMode(),4),a.put(e.getLength(),Ja.getLengthInBits(e.getMode(),t)),e.write(a)}let r=0;for(let t=0;t<e.length;t++)r+=e[t].dataCount;if(a.getLengthInBits()<=8*r)break}a=t}c(!1,function(){let t=0,e=0;for(let a=0;a<8;a+=1){c(!0,a);const o=Ja.getLostPoint(l);(0==a||t>o)&&(t=o,e=a)}return e}())},l.createTableTag=function(t,e){t=t||2;let a="";a+='<table style="',a+=" border-width: 0px; border-style: none;",a+=" border-collapse: collapse;",a+=" padding: 0px; margin: "+(e=void 0===e?4*t:e)+"px;",a+='">',a+="<tbody>";for(let o=0;o<l.getModuleCount();o+=1){a+="<tr>";for(let e=0;e<l.getModuleCount();e+=1)a+='<td style="',a+=" border-width: 0px; border-style: none;",a+=" border-collapse: collapse;",a+=" padding: 0px; margin: 0px;",a+=" width: "+t+"px;",a+=" height: "+t+"px;",a+=" background-color: ",a+=l.isDark(o,e)?"#000000":"#ffffff",a+=";",a+='"/>';a+="</tr>"}return a+="</tbody>",a+="</table>",a},l.createSvgTag=function(t,e,a,o){let r={};"object"==typeof arguments[0]&&(r=arguments[0],t=r.cellSize,e=r.margin,a=r.alt,o=r.title),t=t||2,e=void 0===e?4*t:e,(a="string"==typeof a?{text:a}:a||{}).text=a.text||null,a.id=a.text?a.id||"qrcode-description":null,(o="string"==typeof o?{text:o}:o||{}).text=o.text||null,o.id=o.text?o.id||"qrcode-title":null;const n=l.getModuleCount()*t+2*e;let i,s,c,d,u,p="";for(u="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",p+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',p+=r.scalable?"":' width="'+n+'px" height="'+n+'px"',p+=' viewB
1ox="0 0 '+n+" "+n+'" ',p+=' preserveAspectRatio="xMinYMin meet"',p+=o.text||a.text?' role="img" aria-labelledby="'+b([o.id,a.id].join(" ").trim())+'"':"",p+=">",p+=o.text?'<title id="'+b(o.id)+'">'+b(o.text)+"</title>":"",p+=a.text?'<description id="'+b(a.id)+'">'+b(a.text)+"</description>":"",p+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',p+='<path d="',c=0;c<l.getModuleCount();c+=1)for(d=c*t+e,i=0;i<l.getModuleCount();i+=1)l.isDark(c,i)&&(s=i*t+e,p+="M"+s+","+d+u);return p+='" stroke="transparent" fill="black"/>',p+="</svg>",p},l.createDataURL=function(t,e){t=t||2,e=void 0===e?4*t:e;const a=l.getModuleCount()*t+2*e,o=e,r=a-e;return lo(a,a,function(e,a){if(o<=e&&e<r&&o<=a&&a<r){const r=Math.floor((e-o)/t),n=Math.floor((a-o)/t);return l.isDark(n,r)?0:1}return 1})},l.createImgTag=function(t,e,a){t=t||2,e=void 0===e?4*t:e;const o=l.getModuleCount()*t+2*e;let r="";return r+="<img",r+=' src="',r+=l.createDataURL(t,e),r+='"',r+=' width="',r+=o,r+='"',r+=' height="',r+=o,r+='"',a&&(r+=' alt="',r+=b(a),r+='"'),r+="/>",r};const b=function(t){let e="";for(let a=0;a<t.length;a+=1){const o=t.charAt(a);switch(o){case"<":e+="<";break;case">":e+=">";break;case"&":e+="&";break;case'"':e+=""";break;default:e+=o}}return e};return l.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;const e=1*l.getModuleCount()+2*t,a=t,o=e-t;let r,n,i,s,c;const d={"ââ":"â","â ":"â"," â":"â"," ":" "},u={"ââ":"â","â ":"â"," â":" "," ":" "};let p="";for(r=0;r<e;r+=2){for(i=Math.floor((r-a)/1),s=Math.floor((r+1-a)/1),n=0;n<e;n+=1)c="â",a<=n&&n<o&&a<=r&&r<o&&l.isDark(i,Math.floor((n-a)/1))&&(c=" "),a<=n&&n<o&&a<=r+1&&r+1<o&&l.isDark(s,Math.floor((n-a)/1))?c+=" ":c+="â",p+=t<1&&r+1>=o?u[c]:d[c];p+="\n"}return e%2&&t>0?p.substring(0,p.length-e-1)+Array(e+1).join("â"):p.substring(0,p.length-1)}(e);t-=1,e=void 0===e?2*t:e;const a=l.getModuleCount()*t+2*e,o=e,r=a-e;let n,i,s,c;const d=Array(t+1).join("ââ"),u=Array(t+1).join(" ");let p="",g="";for(n=0;n<a;n+=1){for(s=Math.floor((n-o)/t),g="",i=0;i<a;i+=1)c=1,o<=i&&i<r&&o<=n&&n<r&&l.isDark(s,Math.floor((i-o)/t))&&(c=0),g+=c?d:u;for(s=0;s<t;s+=1)p+=g+"\n"}return p.substring(0,p.length-1)},l.renderTo2dContext=function(t,e){e=e||2;const a=l.getModuleCount();for(let o=0;o<a;o++)for(let r=0;r<a;r++)t.fillStyle=l.isDark(o,r)?"black":"white",t.fillRect(r*e,o*e,e,e)},l};qa.stringToBytes=function(t){const e=[];for(let a=0;a<t.length;a+=1){const o=t.charCodeAt(a);e.push(255&o)}return e},qa.createStringToBytes=function(t,e){const a=function(){const a=so(t),o=function(){const t=a.read();if(-1==t)throw"eof";return t};let r=0;const n={};for(;;){const t=a.read();if(-1==t)break;const e=o(),i=o(),s=o();n[String.fromCharCode(t<<8|e)]=i<<8|s,r+=1}if(r!=e)throw r+" != "+e;return n}(),o="?".charCodeAt(0);return function(t){const e=[];for(let r=0;r<t.length;r+=1){const n=t.charCodeAt(r);if(n<128)e.push(n);else{const n=a[t.charAt(r)];"number"==typeof n?(255&n)==n?e.push(n):(e.push(n>>>8),e.push(255&n)):e.push(o)}}return e}};var ja=1,Pa=2,Va=4,Fa=8,Oa={L:1,M:0,Q:3,H:2},Ea=0,Ra=1,Ka=2,Ua=3,Wa=4,Ga=5,Qa=6,Za=7,Ja=function(){const t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],e=1335,a=7973,o={},r=function(t){let e=0;for(;0!=t;)e+=1,t>>>=1;return e};return o.getBCHTypeInfo=function(t){let a=t<<10;for(;r(a)-r(e)>=0;)a^=e<<r(a)-r(e);return 21522^(t<<10|a)},o.getBCHTypeNumber=function(t){let e=t<<12;for(;r(e)-r(a)>=0;)e^=a<<r(e)-r(a);return t<<12|e},o.getPatternPosition=function(e){return t[e-1]},o.getMaskFunction=function(t){switch(t){case Ea:return function(t,e){return(t+e)%2==0};case Ra:return function(t,e){return t%2==0};case Ka:return function(t,e){return e%3==0};case Ua:return function(t,e){return(t+e)%3==0};case Wa:return function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0};case Ga:return function(t,e){return t*e%2+t*e%3==0};case Qa:return function(t,e){return(t*e%2+t*e%3)%2==0};case Za:return function(t,e){return(t*e%3+(t+e)%2)%2==0};default:throw"bad maskPattern:"+t}},o.getErrorCorrectPolynomial=function(t){let e=Xa([1],0);for(let a=0;a<t;a+=1)e=e.multiply(Xa([1,Ya.gexp(a)],0));return e},o.getLengthInBits=function(t,e){if(1<=e&&e<10)switch(t){case ja:return 10;case Pa:return 9;
1case Va:case Fa:return 8;default:throw"mode:"+t}else if(e<27)switch(t){case ja:return 12;case Pa:return 11;case Va:return 16;case Fa:return 10;default:throw"mode:"+t}else{if(!(e<41))throw"type:"+e;switch(t){case ja:return 14;case Pa:return 13;case Va:return 16;case Fa:return 12;default:throw"mode:"+t}}},o.getLostPoint=function(t){const e=t.getModuleCount();let a=0;for(let r=0;r<e;r+=1)for(let o=0;o<e;o+=1){let n=0;const i=t.isDark(r,o);for(let a=-1;a<=1;a+=1)if(!(r+a<0||e<=r+a))for(let s=-1;s<=1;s+=1)o+s<0||e<=o+s||0==a&&0==s||i==t.isDark(r+a,o+s)&&(n+=1);n>5&&(a+=3+n-5)}for(let r=0;r<e-1;r+=1)for(let o=0;o<e-1;o+=1){let e=0;t.isDark(r,o)&&(e+=1),t.isDark(r+1,o)&&(e+=1),t.isDark(r,o+1)&&(e+=1),t.isDark(r+1,o+1)&&(e+=1),0!=e&&4!=e||(a+=3)}for(let r=0;r<e;r+=1)for(let o=0;o<e-6;o+=1)t.isDark(r,o)&&!t.isDark(r,o+1)&&t.isDark(r,o+2)&&t.isDark(r,o+3)&&t.isDark(r,o+4)&&!t.isDark(r,o+5)&&t.isDark(r,o+6)&&(a+=40);for(let r=0;r<e;r+=1)for(let o=0;o<e-6;o+=1)t.isDark(o,r)&&!t.isDark(o+1,r)&&t.isDark(o+2,r)&&t.isDark(o+3,r)&&t.isDark(o+4,r)&&!t.isDark(o+5,r)&&t.isDark(o+6,r)&&(a+=40);let o=0;for(let r=0;r<e;r+=1)for(let a=0;a<e;a+=1)t.isDark(a,r)&&(o+=1);return a+=10*(Math.abs(100*o/e/e-50)/5),a},o}(),Ya=function(){const t=new Array(256),e=new Array(256);for(let o=0;o<8;o+=1)t[o]=1<<o;for(let o=8;o<256;o+=1)t[o]=t[o-4]^t[o-5]^t[o-6]^t[o-8];for(let o=0;o<255;o+=1)e[t[o]]=o;const a={glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t[e]}};return a}(),Xa=function(t,e){if(void 0===t.length)throw t.length+"/"+e;const a=function(){let a=0;for(;a<t.length&&0==t[a];)a+=1;const o=new Array(t.length-a+e);for(let e=0;e<t.length-a;e+=1)o[e]=t[e+a];return o}(),o={getAt:function(t){return a[t]},getLength:function(){return a.length},multiply:function(t){const e=new Array(o.getLength()+t.getLength()-1);for(let a=0;a<o.getLength();a+=1)for(let r=0;r<t.getLength();r+=1)e[a+r]^=Ya.gexp(Ya.glog(o.getAt(a))+Ya.glog(t.getAt(r)));return Xa(e,0)},mod:function(t){if(o.getLength()-t.getLength()<0)return o;const e=Ya.glog(o.getAt(0))-Ya.glog(t.getAt(0)),a=new Array(o.getLength());for(let r=0;r<o.getLength();r+=1)a[r]=o.getAt(r);for(let o=0;o<t.getLength();o+=1)a[o]^=Ya.gexp(Ya.glog(t.getAt(o))+e);return Xa(a,0).mod(t)}};return o},to=function(){const t=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e=function(t,e){const a={};return a.totalCount=t,a.dataCount=e,a},a={};return a.getRSBlocks=function(a,o){const r=function(e,a){switch(a){case Oa.L:return t[4*(e-1)+0];case Oa.M:return t[4*(e-1)+1];case Oa.Q:return t[4*(e-1)+2];case Oa.H:return t[4*(e-1)+3];default:return}}(a,o);if(void 0===r)throw"bad rs block @ typeNumber:"+a+"/errorCorrectionLevel:"+o;const n=r.length/3,i=[];for(let t=0;t<n;t+=1){const a=r[3*t+0],o=r[3*t+1],n=r[3*t+2];for(let t=0;t<a;t+=1)i.push(e(o,n))}return i},a}(),eo=function(){const t=[];let e=0;const a={getBuffer:function(){return t},getAt:function(e){const a=Math.floor(e/8);return 1==(t[a]>>>7-e%8&1)},put:function(t,e){for(let o=0;o<e;o+=1)a.putBit(1==(t>>>e-o-1&1))},getLengthInBits:function(){return e},putBit:function(a){const o=Math.floor(e/8);t.length<=o&&t.push(0),a&&(t[o]|=128>>>e%8),e+=1}};return a},ao=function(t){const e=ja,a=t,o={getMode:function(){return e},getLength:function(t){return a.length},write:function(t){const e=a;let o=0;for(;o+2<e.length;)t.put(r(e.substring(o,o+3)),10),o+=3;o<e.length&&(e.length-o==1?t.put(r(e.substring(o,o+1)),4):e.length-o==2&&t.put(r(e.substring(o,o+2)),7))}},r=function(t){let e=0;for(let a=0;a<t.length;a+=1)e=10*e+n(t.charAt(a));return e},n=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return o},oo=function(t){const e=Pa,a=t,o={getMode:function(){return e},getLength:function(t){return a.length},write:function(t){const e=a;let o=0;for(;o+1<e.length;)t.put(45*r(e.charAt(o))+r(e.charAt(o+1)),11),o+=2;o<e.length&&t.put(r(e.charAt(o)),6)}},r=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return o},ro=function(t){const e=Va,a=qa.stringToBytes(t),o={getMode:function(){return e},getLength:function(t){return a.length},write:function(t){for(let e=0;e<a.length;e+=1)t.put(a[e],8)}};return o},no=function(t){const e=Fa,a=qa.stringToBytes;!function(){const t=a("å");if(2!=t.length||38726!=(t[0]<<8|t[1]))throw"sjis not supported."}();const o=a(t),r={getMode:function(){return e},getLength:function(t){return~~(o.length/2)},write:function(t){const e=o;let a=0;for(;a+1<e.length;){let o=(255&e[a])<<8|255&e[a+1];if(33088<=o&&o<=40956)o-=33088;else{if(!(57408<=o&&o<=60351))throw"illegal char at "+(a+1)+"/"+o;o-=49472}o=192*(o>>>8&255)+(255&o),t.put(o,13),a+=2}if(a<e.length)throw"illegal char at "+(a+1)}};return r},io=function(){const t=[],e={writeByte:function(e){t.push(255&e)}
1,writeShort:function(t){e.writeByte(t),e.writeByte(t>>>8)},writeBytes:function(t,a,o){a=a||0,o=o||t.length;for(let r=0;r<o;r+=1)e.writeByte(t[r+a])},writeString:function(t){for(let a=0;a<t.length;a+=1)e.writeByte(t.charCodeAt(a))},toByteArray:function(){return t},toString:function(){let e="";e+="[";for(let a=0;a<t.length;a+=1)a>0&&(e+=","),e+=t[a];return e+="]",e}};return e},so=function(t){const e=t;let a=0,o=0,r=0;const n={read:function(){for(;r<8;){if(a>=e.length){if(0==r)return-1;throw"unexpected end of file./"+r}const t=e.charAt(a);if(a+=1,"="==t)return r=0,-1;t.match(/^\s$/)||(o=o<<6|i(t.charCodeAt(0)),r+=6)}const t=o>>>r-8&255;return r-=8,t}},i=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return n},lo=function(t,e,a){const o=function(t,e){const a=t,o=e,r=new Array(t*e),n={setPixel:function(t,e,o){r[e*a+t]=o},write:function(t){t.writeString("GIF87a"),t.writeShort(a),t.writeShort(o),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(a),t.writeShort(o),t.writeByte(0);const e=i(2);t.writeByte(2);let r=0;for(;e.length-r>255;)t.writeByte(255),t.writeBytes(e,r,255),r+=255;t.writeByte(e.length-r),t.writeBytes(e,r,e.length-r),t.writeByte(0),t.writeString(";")}},i=function(t){const e=1<<t,a=1+(1<<t);let o=t+1;const n=s();for(let r=0;r<e;r+=1)n.add(String.fromCharCode(r));n.add(String.fromCharCode(e)),n.add(String.fromCharCode(a));const i=io(),l=function(t){const e=t;let a=0,o=0;return{write:function(t,r){if(t>>>r!=0)throw"length over";for(;a+r>=8;)e.writeByte(255&(t<<a|o)),r-=8-a,t>>>=8-a,o=0,a=0;o|=t<<a,a+=r},flush:function(){a>0&&e.writeByte(o)}}}(i);l.write(e,o);let c=0,d=String.fromCharCode(r[c]);for(c+=1;c<r.length;){const t=String.fromCharCode(r[c]);c+=1,n.contains(d+t)?d+=t:(l.write(n.indexOf(d),o),n.size()<4095&&(n.size()==1<<o&&(o+=1),n.add(d+t)),d=t)}return l.write(n.indexOf(d),o),l.write(a,o),l.flush(),i.toByteArray()},s=function(){const t={};let e=0;const a={add:function(o){if(a.contains(o))throw"dup key:"+o;t[o]=e,e+=1},size:function(){return e},indexOf:function(e){return t[e]},contains:function(e){return void 0!==t[e]}};return a};return n}(t,e);for(let s=0;s<e;s+=1)for(let e=0;e<t;e+=1)o.setPixel(e,s,a(e,s));const r=io();o.write(r);const n=function(){let t=0,e=0,a=0,o="";const r={},n=function(t){o+=String.fromCharCode(i(63&t))},i=function(t){if(t<0)throw"n:"+t;if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47;throw"n:"+t};return r.writeByte=function(o){for(t=t<<8|255&o,e+=8,a+=1;e>=6;)n(t>>>e-6),e-=6},r.flush=function(){if(e>0&&(n(t<<6-e),t=0,e=0),a%3!=0){const t=3-a%3;for(let e=0;e<t;e+=1)o+="="}},r.toString=function(){return o},r}(),i=r.toByteArray();for(let s=0;s<i.length;s+=1)n.writeByte(i[s]);return n.flush(),"data:image/gif;base64,"+n};n();var co={xmlns:"http://www.w3.org/2000/svg",width:"34.641",height:"42.459",fill:"none",overflow:"visible",preserveAspectRatio:"none",style:{display:"block"}};var uo={render:function(t,a){return c(),o("svg",co,[...a[0]||(a[0]=[e("g",{fill:"currentColor"},[e("path",{d:"M28.933 22.58a9.6 9.6 0 0 1 1.26-4.639 9.66 9.66 0 0 1 3.348-3.457 9.9 9.9 0 0 0-3.404-3.023 9.9 9.9 0 0 0-4.4-1.184c-3.284-.344-6.467 1.96-8.14 1.96-1.705 0-4.282-1.926-7.056-1.869a10.4 10.4 0 0 0-5.075 1.51 10.4 10.4 0 0 0-3.67 3.809c-3.782 6.529-.961 16.124 2.661 21.401 1.813 2.584 3.93 5.471 6.702 5.369 2.712-.113 3.725-1.725 6.999-1.725 3.243 0 4.194 1.725 7.021 1.66 2.91-.048 4.744-2.596 6.493-5.205a21.4 21.4 0 0 0 2.969-6.03 9.34 9.34 0 0 1-4.149-3.432 9.3 9.3 0 0 1-1.56-5.145M23.59 6.806A9.48 9.48 0 0 0 25.77 0a9.7 9.7 0 0 0-6.272 3.236A9.03 9.03 0 0 0 17.26 9.79a8.03 8.03 0 0 0 6.33-2.984"})],-1)])])}};n();var po={xmlns:"http://www.w3.org/2000/svg",width:"141.133",height:"29.288",fill:"none",overflow:"visible",preserveAspectRatio:"none",style:{display:"block"}};var go={render:function(t,a){return c(),o("svg",po,[...a[0]||(a[0]=[e("g",{fill:"currentColor"},[e("path",{d:"M14.807 17.38h-8.9L3.77 23.673H0L8.43.39h3.917l8.43 23.283h-3.834zM6.83 14.476h7.055L10.406 4.262h-.098zM38.98 15.185c0 5.275-2.83 8.665-7.103 8.665a5.8 5.8 0 0 1-3.107-.718 5.76 5.76 0 0 1-2.25-2.252h-.08v8.408h-3.495V6.696h3.383V9.52h.064a6.03 6.03 0 0 1 2.294-2.247 6.05 6.05 0 0 1 3.126-.754c4.32 0 7.169 3.406 7.169 8.666m-3.59 0c0-3.437-1.782-5.696-4.5-5.696-2.67 0-4.465 2.307-4.465 5.696 0 3.42 1.796 5.711 4.466 5.711 2.717 0 4.498-2.243 4.498-5.71M57.716 15.185c0 5.275-2.832 8.665-7.105 8.665a5.8 5.8 0 0 1-3.106-.718 5.76 5.76 0 0 1-2.25-2.252h-.081v8.408H41.68V6.696h3.382V9.52h.064a6.03 6.03 0 0 1 2.295-2.247 6.05 6.05 0 0 1 3.126-.754c4.32 0 7.17 3.406 7.17 8.666m-3.592 0c0-3.437-1.782-5.696-4.499-5.696-2.67 0-4.466 2.307-4.466 5.696 0 3.42 1.796 5.711 4.466 5.711 2.718 0 4.499-2.243 4.499-5.71M70.1 17.185c.26 2.309 2.509 3.825 5.583 3.825 2.945 0 5.064-1.517 5.064-3.599 0-1.807-1.278-2.889-4.304-3.63l-3.026-.727c-4.288-1.033-6.278-3.033-6.278-6.277 0-4.018 3.51-6.777 8.494-6.777 4.936 0 8.318 2.76 8.432 6.777h-3.528c-.21-2.324-2.137-3.726-4.952-3.726s-4.74 1.419-4.74 3.484c0 1.646 1.23 2.615 4.239 3.356l2.572.63c4.791 1.13 6.78 3.049 6.78 6.455 0 4.356-3.478 7.084-9.013 7.084-5.178 0-8.674-2.664-8.9-6.876zM91.978 2.678v4.017h3.237v2.76h-3.237v9.358c0 1.454.648 2.131 2.071 2.131q.577-.01 1.15-.08v2.743c-.64.119-1.29.173-1.941.16-3.447 0-4.79-1.29-4.79-4.582v-9.73h-2.476v-2.76h2.475V2.678zM97.086 15.187c0-5.341 3.155-8.698 8.074-8.698 4.935 0 8.075 3.357 8.075 8.698 0 5.356-3.123 8.697-8.075 8.697s-8.074-3.341-8.074-8.697m12.589 0c0-3.664-1.684-5.827-4.515-5.827-2.832 0-4.516 2.18-4.516 5.827 0 3.678 1.684 5.824 4.516 5.824s4.515-2.146 4.515-5.824M116.117 6.696h3.333v2.89h.081c.225-.903.755-1.7 1.501-2.259a4.07 4.07 0 0 1 2.593-.808c.403-.002.805.042 1.198.13v3.259a4.9 4.9 0 0 0-1.57-.21 3.53 3.53 0 0 0-2.722 1.117 3.51 3.51 0 0 0-.92 2.788v10.069h-3.494zM140.938 18.688c-.47 3.081-3.479 5.196-7.33 5.196-4.952 0-8.026-3.308-8.026-8.617 0-5.324 3.09-8.778 7.879-8.778 4.71 0 7.672 3.227 7.672 8.374v1.194h-12.024v.21a4.42 4.42 0 0 0 2.743 4.484 4.4 4.4 0 0 0 1.837.324 3.86 3.86 0 0 0 2.363-.543 3.84 3.84 0 0 0 1.568-1.844zm-11.812-5.067h8.511a4.075 4.075 0 0 0-2.53-4.002 4.1 4.1 0 0 0-1.646-.306 4.315 4.315 0 0 0-4.008 2.654 4.3 4.3 0 0 0-.327 1.654"})],-1)])])}};n();var ho={xmlns:"http://www.w3.org/2000/svg",width:"43.3",height:"48.257",fill:"none",overflow:"visible",preserveAspectRatio:"none",style:{display:"block"}};var mo={render:function(t,e){return c(),o("svg",ho,[...e[0]||(e[0]=[a('<path fill="url(#a)" d="M.89.764A3.75 3.75 0 0 0 .007 3.39v41.475c-.064.957.253 1.9.881 2.625l.132.15 23.23-23.231v-.563L1.022.633z"></path><path fill="url(#b)" d="m31.938 32.152-7.688-7.744v-.563l7.688-7.743.168.112 9.206 5.213c2.626 1.48 2.626 3.918 0 5.418l-9.168 5.213z"></path><path fill="url(#c)" d="m32.158 32.039-7.913-7.913L.883 47.489a3.04 3.04 0 0 0 3.881.13z"></path><path fill="url(#d)" d="M32.158 16.214 4.764.652A3.02 3.02 0 0 0 .883.764l23.362 23.363z"></path><path fill="#000" d="M31.933 31.87 4.764 47.337a3.11 3.11 0 0 1-3.75 0l-.131.131.131.15a3.11 3.11 0 0 0 3.75 0l27.394-15.581z" opacity=".2"></path><path fill="#000" d="M.887 47.225a3.75 3.75 0 0 1-.825-2.644v.281c-.064.957.252 1.9.88 2.625l.132-.13zM41.313 26.564l-9.376 5.306.17.168 9.206-5.212a3.28 3.28 0 0 0 1.987-2.7 3.49 3.49 0 0 1-1.987 2.438" opacity=".12"></path><path fill="#000" d="M4.766.915 41.31 21.69a3.49 3.49 0 0 1 1.988 2.438 3.28 3.28 0 0 0-1.988-2.7L4.766.653C2.16-.847.004.39.004 3.39v.282C.06.672 2.16-.566 4.766.9
115" opacity=".25"></path><defs><linearGradient id="a" x1="22.189" x2="-9.273" y1="2.958" y2="34.42" gradientUnits="userSpaceOnUse"><stop stop-color="#00A0FF"></stop><stop offset=".01" stop-color="#00A1FF"></stop><stop offset=".26" stop-color="#00BEFF"></stop><stop offset=".51" stop-color="#00D2FF"></stop><stop offset=".76" stop-color="#00DFFF"></stop><stop offset="1" stop-color="#00E3FF"></stop></linearGradient><linearGradient id="b" x1="44.744" x2="-.612" y1="24.127" y2="24.127" gradientUnits="userSpaceOnUse"><stop stop-color="#FFE000"></stop><stop offset=".41" stop-color="#FFBD00"></stop><stop offset=".78" stop-color="orange"></stop><stop offset="1" stop-color="#FF9C00"></stop></linearGradient><linearGradient id="c" x1="27.864" x2="-14.811" y1="28.439" y2="71.095" gradientUnits="userSpaceOnUse"><stop stop-color="#FF3A44"></stop><stop offset="1" stop-color="#C31162"></stop></linearGradient><linearGradient id="d" x1="-5.005" x2="14.045" y1="-13.036" y2="6.014" gradientUnits="userSpaceOnUse"><stop stop-color="#32A071"></stop><stop offset=".07" stop-color="#2DA771"></stop><stop offset=".48" stop-color="#15CF74"></stop><stop offset=".8" stop-color="#06E775"></stop><stop offset="1" stop-color="#00F076"></stop></linearGradient></defs>',8)])])}};n();var fo={xmlns:"http://www.w3.org/2000/svg",width:"159.276",height:"31.791",fill:"none",overflow:"visible",preserveAspectRatio:"none",style:{display:"block"}};var bo={render:function(t,a){return c(),o("svg",fo,[...a[0]||(a[0]=[e("mask",{id:"a",fill:"#fff"},[e("path",{d:"M51.126 8.822a7.987 7.987 0 1 0 8.006 7.969 7.856 7.856 0 0 0-8.006-7.97m0 12.806a4.838 4.838 0 1 1 4.5-4.837 4.61 4.61 0 0 1-4.5 4.837M33.65 8.822a7.988 7.988 0 1 0 8.006 7.969 7.856 7.856 0 0 0-8.006-7.97m0 12.806a4.838 4.838 0 1 1 4.5-4.837 4.61 4.61 0 0 1-4.5 4.837m-20.775-10.35v3.375h8.1A7.07 7.07 0 0 1 19.1 18.91a8.29 8.29 0 0 1-6.263 2.475 9 9 0 1 1 0-18 8.7 8.7 0 0 1 6.15 2.42l2.381-2.382A11.81 11.81 0 0 0 12.876.009a12.394 12.394 0 1 0 0 24.77 11.38 11.38 0 0 0 8.644-3.47 11.25 11.25 0 0 0 2.925-7.93c.006-.704-.05-1.407-.17-2.1zm84.956 2.625a7.5 7.5 0 0 0-6.825-5.081 7.5 7.5 0 0 0-7.5 7.969 7.931 7.931 0 0 0 14.55 4.443l-2.719-1.875a4.52 4.52 0 0 1-3.918 2.194 4.03 4.03 0 0 1-3.863-2.419l10.669-4.406zm-10.875 2.663a4.387 4.387 0 0 1 4.181-4.67 3.07 3.07 0 0 1 2.944 1.707zm-8.662 7.725H81.8V.853h-3.507zm-5.738-13.688h-.131a5.51 5.51 0 0 0-4.2-1.875 7.988 7.988 0 0 0 0 15.956 5.4 5.4 0 0 0 4.2-1.875h.131v1.144c0 3.056-1.631 4.688-4.256 4.688a4.42 4.42 0 0 1-4.032-2.832l-3.037 1.257a7.5 7.5 0 0 0 7.069 4.725c4.106 0 7.5-2.42 7.5-8.307V9.291h-3.244zm-4.031 11.025a4.837 4.837 0 0 1 0-9.656A4.48 4.48 0 0 1 72.8 16.79a4.46 4.46 0 0 1-4.275 4.837M114.257.853h-8.4v23.438h3.506v-8.888h4.894a7.29 7.29 0 0 0 7.21-4.363 7.29 7.29 0 0 0-4.263-9.79 7.3 7.3 0 0 0-2.947-.397m0 11.25h-4.894V4.116h4.969a4 4 0 0 1 2.837 1.175 4.012 4.012 0 0 1-2.837 6.85zm21.637-3.356a6.54 6.54 0 0 0-6.243 3.581l3.093 1.294a3.34 3.34 0 0 1 3.207-1.706 3.37 3.37 0 0 1 2.508.723 3.39 3.39 0 0 1 1.242 2.295v.225a7.84 7.84 0 0 0-3.657-.9c-3.337 0-6.75 1.875-6.75 5.288a5.42 5.42 0 0 0 3.692 4.891c.688.231 1.416.321 2.14.265a4.97 4.97 0 0 0 4.462-2.287h.113v1.875h3.375v-9.02c0-4.105-3.113-6.487-7.107-6.487zm-.431 12.844c-1.144 0-2.737-.582-2.737-1.988 0-1.875 1.987-2.512 3.75-2.512a6.2 6.2 0 0 1 3.187.787 4.236 4.236 0 0 1-4.125 3.75zm19.913-12.3-4.013 10.162h-.112l-4.163-10.162h-3.75l6.244 14.212-3.563 7.894h3.657l9.6-22.106zm-31.5 15h3.487V.853h-3.487z"})],-1),e("path",{fill:"currentColor",d:"M51.126 8.822a7.987 7.987 0 1 0 8.006 7.969 7.856 7.856 0 0 0-8.006-7.97m0 12.806a4.838 4.838 0 1 1 4.5-4.837 4.61 4.61 0 0 1-4.5 4.837M33.65 8.822a7.988 7.988 0 1 0 8.006 7.969 7.856 7.856 0 0 0-8.006-7.97m0 12.806a4.838 4.838 0 1 1 4.5-4.837 4.61 4.61 0 0 1-4.5 4.837m-20.775-10.35v3.375h8.1A7.07 7.07 0 0 1 19.1 18.91a8.29 8.29 0 0 1-6.263 2.475 9 9 0 1 1 0-18 8.7 8.7 0 0 1 6.15 2.42l2.381-2.382A11.81 11.81 0 0 0 12.876.009a12.394 12.394 0 1 0 0 24.77 11.38 11.38 0 0 0 8.644-3.47 11.25 11.25 0 0 0 2.925-7.93c.006-.704-.05-1.407-.17-2.1zm84.956 2.625a7.5 7.5 0 0 0-6.825-5.081 7.5 7.5 0 0 0-7.5 7.969 7.931 7.931 0 0 0 14.55 4.443l-2.719-1.875a4.52 4.52 0 0 1-3.918 2.194 4.03 4.03 0 0 1-3.863-2.419l10.669-4.406zm-10.875 2.663a4.387 4.387 0 0 1 4.181-4.67 3.07 3.07 0 0 1 2.944 1.707zm-8.662 7.725H81.8V.853h-3.507zm-5.738-13.688h-.131a5.51 5.51 0 0 0-4.2-1.875 7.988 7.988 0 0 0 0 15.956 5.4 5.4 0 0 0 4.2-1.875h.131v1.144c0 3.056-1.631 4.688-4.256 4.688a4.42 4.42 0 0 1-4.032-2.832l-3.037 1.257a7.5 7.5 0 0 0 7.069 4.725c4.106 0 7.5-2.42 7.5-8.307V9.291h-3.244zm-4.031 11.025a4.837 4.837 0 0 1 0-9.656A4.48 4.48 0 0 1 72.8 16.79a4.46 4.46 0 0 1-4.275 4.837M114.257.853h-8.4v23.438h3.506v-8.888h4.894a7.29 7.29 0 0 0 7.21-4.363 7.29 7.29 0 0 0-4.263-9.79 7.3 7.3 0 0 0-2.947-.397m0 11.25h-4.894V4.116h4.969a4 4 0 0 1 2.837 1.175 4.012 4.012 0 0 1-2.837 6.85zm21.637-3.356a6.54 6.54 0 0 0-6.243 3.581l3.093 1.294a3.34 3.34 0 0 1 3.207-1.706 3.37 3.37 0 0 1 2.508.723 3.39 3.39 0 0 1 1.242 2.295v.225a7.84 7.84 0 0 0-3.657-.9c-3.337 0-6.75 1.875-6.75 5.288a5.42 5.42 0 0 0 3.692 4.891c.688.231 1.416.321 2.14.265a4.97 4.97 0 0 0 4.462-2.287h.113v1.875h3.375v
1-9.02c0-4.105-3.113-6.487-7.107-6.487zm-.431 12.844c-1.144 0-2.737-.582-2.737-1.988 0-1.875 1.987-2.512 3.75-2.512a6.2 6.2 0 0 1 3.187.787 4.236 4.236 0 0 1-4.125 3.75zm19.913-12.3-4.013 10.162h-.112l-4.163-10.162h-3.75l6.244 14.212-3.563 7.894h3.657l9.6-22.106zm-31.5 15h3.487V.853h-3.487z",mask:"url(#a)"},null,-1)])])}},yo=""+new URL("app-store-badge.B6CAS-n9.svg",import.meta.url).href,vo=""+new URL("google-play-badge.BSVm2oSo.svg",import.meta.url).href;n(),u(),i();var ko={class:"app-download-header flex dir-col al-cnt"},wo={key:0,class:"app-download-cards flex al-cnt"},xo=["href","onClick"],$o=["innerHTML"],_o={key:1,class:"app-download-badges flex dir-col al-cnt"},Mo=["href","onClick"],So=["src","alt"],Co=U({__name:"AppDownloadQR",props:["data"],setup(a){const r=a,n=d(()=>jt(r.data.title)),i=d(()=>jt(r.data.description)),s=d(()=>{const t={};return r.data.spacing?.padding&&(t.padding=`var(--padding-${r.data.spacing.padding}) 0`),t}),l=t=>{if(!t)return"";const e=qa(0,"M");return e.addData(t),e.make(),e.createSvgTag({cellSize:4,margin:2,scalable:!0}).replace(/<rect[^>]*fill="white"[^>]*\/>/,"")},u=[{key:"appStore",label:"App Store",officialBadge:yo,gap:24,lockup:[{comp:uo,height:42},{comp:go,height:29}]},{key:"googlePlay",label:"Google Play",officialBadge:vo,gap:10,lockup:[{comp:mo,height:47},{comp:bo,height:31}]}],g=d(()=>u.map(t=>({...t,config:r.data[t.key]})).filter(t=>t.config?.enabled&&t.config?.url)),h=t=>{K({eventName:"app_download_click",properties:{store:t.key}})};return(r,d)=>{const u=Y,m=st;return c(),o("div",{class:"app-download flex dir-col al-cnt",style:y(t(s))},[e("div",ko,[a.data.sectionTitle?(c(),I(u,{key:0,text:a.data.sectionTitle},null,8,["text"])):p("",!0),a.data.title?(c(),I(m,{key:1,tagName:"p"===t(n).tagName?"h2":t(n).tagName,html:t(n).innerHtml,style:y(t(n).style),class:"app-download-title semi-bold center"},null,8,["tagName","html","style"])):p("",!0),a.data.description?(c(),I(m,{key:2,tagName:"p"===t(i).tagName?"p":t(i).tagName,html:t(i).innerHtml,style:y(t(i).style),class:"app-download-desc center"},null,8,["tagName","html","style"])):p("",!0)]),t(g).length?(c(),o("div",wo,[(c(!0),o(k,null,T(t(g),t=>(c(),o("div",{key:t.key,class:"app-download-card flex al-cnt"},[e("a",{href:t.config.url,target:"_blank",rel:"noopener noreferrer",class:"app-download-lockup flex dir-col",style:y({gap:t.gap+"px"}),onClick:e=>h(t)},[(c(!0),o(k,null,T(t.lockup,(t,e)=>(c(),I(b(t.comp),{key:e,style:y({height:t.height+"px"}),class:"app-download-lockup-part"},null,8,["style"]))),128))],12,xo),e("div",{class:"app-download-qr","aria-hidden":"true",innerHTML:l(t.config.url)},null,8,$o)]))),128))])):p("",!0),t(g).length?(c(),o("div",_o,[(c(!0),o(k,null,T(t(g),t=>(c(),o("a",{key:t.key,href:t.config.url,target:"_blank",rel:"noopener noreferrer",onClick:e=>h(t)},[e("img",{src:t.officialBadge,alt:t.label,class:"app-download-official-badge"},null,8,So)],8,Mo))),128))])):p("",!0)],4)}}},[["__scopeId","data-v-e2e2d726"]]);u(),n(),i();var To={class:"image-element"},Lo=["aria-busy"],Io={key:0,class:"fallback"},No={key:2,class:"skeleton"},Ao={key:0,class:"caption fs-14 clr-600"},zo=w({__name:"Image",props:{data:{}},setup(a){const r=a,n=R?.(),i=x(!1),s=x(!1),l=d(()=>{const t=r.data?.imageSource?.darkImageSource,e=r.data?.imageSource?.lightImageSource,a=r.data?.src;return(n&&"dark"===n.value?t:e)||a||""}),u=d(()=>r.data?.imageSource?.imageAlt||r.data?.alt||"image"),g=d(()=>r.data?.objectFit||"cover"),h=d(()=>{const t=r.data?.aspectRatio;return"number"==typeof t?`${t} / 1`:"string"==typeof t&&t.trim().length>0?t:"16 / 9"}),m=()=>{i.value=!0},v=()=>{s.value=!0};return(a,n)=>{const d=xt;return c(),o("section",To,[(c(),I(b(r.data?.link?"a":"div"),{href:r.data?.link||void 0,target:"_blank",rel:"noopener noreferrer",class:"image-link"},{default:f(()=>[e("div",{class:"media",style:y({aspectRatio:t(h)}),"aria-busy":!t(i)&&!t(s)},[!t(l)||t(s)?(c(),o("div",Io,[...n[0]||(n[0]=[e("span",{class:"fs-14 medium clr-600"},"Image unavailable",-1)])])):(c(),I(d,{key:1,src:t(l),alt:t(u),style:y({objectFit:t(g)}
1),sizes:"(max-width: 700px) 100vw, 800px",format:"webp",preload:"",fetchpriority:"high",decoding:"async",onLoad:m,onError:v},null,8,["src","alt","style"])),t(i)||t(s)?p("",!0):(c(),o("div",No))],12,Lo)]),_:1},8,["href"])),r.data?.caption?(c(),o("figcaption",Ao,M(r.data.caption),1)):p("",!0)])}}}),Bo=Object.assign(U(zo,[["__scopeId","data-v-8066327e"]]),{__name:"Image"}),Do={TitleHero:Kt,Properties:Zt,GridView:te,StepProcess:de,FAQ:be,CallToAction:ye,Memberships:Re,SlideView:ta,Blog:aa,Onboarding:Ba,HtmlCode:Ha,AppDownloadQR:Co,Image:Bo},Ho=(t,e)=>t.length>e?t.substring(0,e)+"...":t;u(),n(),i();var qo={class:"media-container"},jo=["src","alt"],Po={key:0,class:"skeleton"},Vo={key:0,class:"fs-12 semi-bold tag"},Fo={class:"fs-20 title"},Oo={key:1,class:"fs-16 excerpt"},Eo={key:2,class:"fs-14 date"},Ro=U({__name:"BlogListItem",props:{post:{type:Object,required:!0},webId:{type:String,required:!0}},setup(a){const r=a,n=x(!1),i=x(null);m(()=>{i.value?.complete&&(n.value=!0)});const s=()=>{n.value=!0},l=()=>{K({eventName:"blog_card_click",properties:{post_title:r.post.metaData?.header||r.post.metaData?.title||r.post.name||void 0,post_category:r.post.metaData?.category||void 0,post_path:r.post.path}}),window.location.href=`${E.find(t=>t.id===r.webId).domains[0]}${r.post.path}`};return(r,d)=>(c(),o("button",{onClick:l,class:"flex dir-col al-fls pointer card"},[e("div",qo,[e("img",{ref_key:"imgRef",ref:i,class:"media",src:"light"===r.$colorMode.value?a.post.metaData.coverImage.light:a.post.metaData.coverImage.dark,alt:a.post.metaData?.title||"cover",onLoad:s,style:y({opacity:t(n)?1:0})},null,44,jo),t(n)?p("",!0):(c(),o("div",Po))]),a.post.metaData?.category?(c(),o("div",Vo,M(a.post.metaData?.category),1)):p("",!0),e("h3",Fo,M(a.post.metaData?.header||a.post.metaData?.title||a.post.name),1),a.post.metaData?.description?(c(),o("p",Oo,M(t(Ho)(a.post.metaData.description,80)),1)):p("",!0),a.post.metaData?.publishDate?(c(),o("p",Eo,M(new Date(a.post.metaData.publishDate).toLocaleDateString()),1)):p("",!0)]))}},[["__scopeId","data-v-1294398c"]]);n();var Ko={class:"blog-listing content-container"},Uo={class:"grid jc-cnt"},Wo=U({__name:"BlogList",props:{posts:{type:Array,default:()=>[]},webId:{type:String,required:!0}},setup:t=>(a,r)=>{const n=Ro;return c(),o("div",Ko,[S(a.$slots,"default",{},void 0,!0),e("div",Uo,[(c(!0),o(k,null,T(t.posts,e=>(c(),I(n,{key:e.path,post:e,"web-id":t.webId},null,8,["post","web-id"]))),128))])])}},[["__scopeId","data-v-dbb7ed4d"]]);n();var Go={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"};var Qo={render:function(t,a){return c(),o("svg",Go,[...a[0]||(a[0]=[e("path",{stroke:"#2D9F75","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.3",d:"M3.334 8h9.333m0 0L8.001 3.334M12.667 8l-4.666 4.667"},null,-1)])])}};u(),n(),i();var Zo={class:"toc"},Jo=["onClick"],Yo=U({__name:"TableOfContents",props:{tocHeadings:{type:Array,required:!0}},setup(a){const r=a,n=x("");m(()=>{i()});const i=()=>{const t=()=>{const t=r.tocHeadings;let e="";for(const a of t){const t=document.getElementById(a.id);if(t){if(!(t.getBoundingClientRect().top<=450))break;e=a.id}}e!==n.value&&(n.value=e)};window.addEventListener("scroll",t),h(()=>{window.removeEventListener("scroll",t)})};return(i,s)=>(c(),o("aside",Zo,[s[0]||(s[0]=e("div",{class:"fs-12 medium toc-title"},"TABLE OF CONTENTS",-1)),e("ul",null,[(c(!0),o(k,null,T(a.tocHeadings,a=>(c(),o("li",{key:a.id,class:_([[a.level,{active:a.id===t(n)}],"fs-16 regular"])},[e("button",{type:"button",class:"flex al-cnt toc-link",onClick:t=>(t=>{const e=r.tocHeadings.find(e=>e.id===t);K({eventName:"toc_heading_click",properties:{heading_text:e?.text,heading_level:e?.level}});const a=document.getElementById(t);if(a){const t=a.offsetTop-25;window.scrollTo({top:t,behavior:"smooth"})}})(a.id)},[a.id===t(n)?(c(),I(t(Qo),{key:0,class:"mr-4px ari",width:"16",height:"16"})):p("",!0),e("span",null,M(a.text),1)],8,Jo)],2))),128))])]))}},[["__scopeId","data-v-fb8f9ee5"]]);n();var Xo={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"};var tr={render:function(t,a){return c(),o("svg",Xo,[...a[0]||(a[0]=[e("path",{stroke:"#A1A1AA","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2",d:"m8.334 5 5 5-5 5"},null,-1)])])}};n(),u(),i();var er={class:"fs-14 regular lh-20 flex al-cnt wrap breadcrumbs"},ar=["href"],or=["href"],rr=["to"],nr={key:3,class:"current"},ir=U({__name:"Breadcrumbs",props:{webId:{type:String,required:!0},meta:{type:Object,required:!0}},setup(a){const r="prod",n=a,i=d(()=>n.meta?.header||n.meta?.title),s=(t,e=void 0)=>{K({eventName:"breadcrumb_click",properties:{breadcrumb_type:t,category_name:e}})};return(n,l)=>(c(),o("div",er,[e("a",{href:`${t(E).find(t=>
1t.id===a.webId).domains["prod"===t(r)?0:1]}`,onClick:l[0]||(l[0]=t=>s("home",void 0))},"Home",8,ar),$(t(tr),{class:"theme-invert",width:"20",height:"20"}),e("a",{href:`${t(E).find(t=>t.id===a.webId).domains["prod"===t(r)?0:1]}blog/`,onClick:l[1]||(l[1]=t=>s("blog",void 0))},"Blog",8,or),a.meta.category?(c(),I(t(tr),{key:0,class:"theme-invert",width:"20",height:"20"})):p("",!0),a.meta.category?(c(),o("a",{key:1,to:`${t(E).find(t=>t.id===a.webId).domains["prod"===t(r)?0:1]}blog/${a.meta.category.toLowerCase().replace(/ /g,"-")}`,onClick:l[2]||(l[2]=t=>s("category",a.meta.category))},M(a.meta.category),9,rr)):p("",!0),t(i)?(c(),I(t(tr),{key:2,class:"theme-invert",width:"20",height:"20"})):p("",!0),t(i)?(c(),o("span",nr,M(t(i)),1)):p("",!0)]))}},[["__scopeId","data-v-8ee1dad2"]]);u(),n(),i();var sr=["aria-busy"],lr={key:0,class:"fallback"},cr=["data-src","src","poster","autoplay","controls","muted","loop"],dr={key:2,class:"skeleton"},ur=w({__name:"Video",props:{data:{}},setup(a){const r=a,n=R?.(),i=x(null),s=x(!1),l=x(!1),u=d(()=>{const t=r.data?.videoSource?.darkVideoSource,e=r.data?.videoSource?.lightVideoSource,a=r.data?.src;return(n&&"dark"===n.value?t:e)||a||""}),g=d(()=>{const t=r.data?.videoPoster?.darkVideoPoster,e=r.data?.videoPoster?.lightVideoPoster;return(n&&"dark"===n.value?t:e)||e||t}),h=d(()=>r.data?.objectFit||"cover"),f=d(()=>{const t=r.data?.aspectRatio;return"number"==typeof t?`${t} / 1`:"string"==typeof t&&t.trim().length>0?t:"16 / 9"}),b=()=>{s.value=!0},v=()=>{l.value=!0};return m(()=>{(()=>{if(u.value&&r.data?.lazyLoad&&i.value){const t=i.value?.getAttribute("data-src");t&&i.value.setAttribute("src",t)}})()}),(n,d)=>(c(),o("section",null,[e("div",{class:"media",style:y({aspectRatio:t(f)}),"aria-busy":!t(s)&&!t(l)},[!t(u)||t(l)?(c(),o("div",lr,[...d[0]||(d[0]=[e("span",{class:"fs-14 medium clr-600"},"Video unavailable",-1)])])):(c(),o("video",{key:1,ref_key:"videoRef",ref:i,"data-src":r.data?.lazyLoad?t(u):void 0,src:r.data?.lazyLoad?void 0:t(u),style:y({objectFit:t(h)}),poster:t(g),autoplay:a.data?.autoplay,controls:a.data?.controls,muted:a.data?.muted,loop:a.data?.loop,onLoad:b,onError:v},null,44,cr)),t(s)||t(l)||t(g)?p("",!0):(c(),o("div",dr))],12,sr)]))}}),pr=Object.assign(U(ur,[["__scopeId","data-v-13ec2229"]]),{__name:"Video"});n(),u(),i();var gr={class:"blog-article p-relative"},hr={class:"layout"},mr={class:"flex dir-col article"},fr={class:"meta"},br={class:"mt-50px"},yr=["innerHTML"],vr={key:0,class:"fs-18 mt-50px"},kr={key:0,class:"semi-bold"},wr={key:1,class:"semi-bold"},xr=U({__name:"BlogArticle",props:{meta:{type:Object,default:()=>({})},webId:{type:String,required:!0},path:{type:String,required:!0}},setup(a){const r=a,n=d(()=>qt(r.meta?.excerpt)),i=x([]);return m(()=>{const t=document.querySelector(".content-container");if(!t)return;const e=Array.from(t.querySelectorAll("h2")).filter(t=>!t.closest(".faq-section")),a=r.meta.excerpt?e.slice(1):e;i.value=a.map((t,e)=>({id:t.id||t.textContent.toLowerCase().replace(/ /g,"-"),text:t.textContent||"",level:t.tagName.toLowerCase()})),a.forEach((t,e)=>{t.id||(t.id=t.textContent.toLowerCase().replace(/ /g,"-"))})}),(r,s)=>{const l=Yo,d=ir,u=Bo,g=pr;return c(),o("div",gr,[e("div",hr,[$(l,{tocHeadings:t(i),class:"toc"},null,8,["tocHeadings"]),e("main",mr,[$(d,{webId:a.webId,meta:a.meta},null,8,["webId","meta"]),e("div",fr,[e("h1",br,M(a.meta?.header),1),e("h2",{class:"mt-32px",innerHTML:t(n)},null,8,yr),a.meta?.publishDate||a.meta?.author?(c(),o("div",vr,[s[0]||(s[0]=e("span",{style:{color:"var(--system-default-400)"}}," Date ",-1)),a.meta?.publishDate?(c(),o("span",kr,M(new Date(a.meta.publishDate).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})),1)):p("",!0),a.meta?.author?(c(),o("span",wr," · "+M(a.meta.author),1)):p("",!0)])):p("",!0),"video"!==a.meta?.coverMediaType?(c(),I(u,{key:1,class:"cover-image",data:{imageSource:{lightImageSource:a.meta?.coverImage?.light,darkImageSource:a.meta?.coverImage?.dark},imageAlt:a.meta?.title}},null,8,["data"])):p("",!0),"video"===a.meta?.coverMediaType?(c(),I(g,{key:2,class:"cover-video",data:{videoSource:{lightVideoSource:a.meta?.coverVideo?.light,darkVideoSource:a.meta?.coverVideo?.dark},videoPoster:{lightVideoPoster:a.meta?.coverVideo?.posterLight,darkVideoPoster:a.meta?.coverVideo?.posterDark},autoplay:a.meta?.coverVideo?.autoplay,controls:a.meta?.coverVideo?.controls,muted:a.meta?.coverVideo?.muted,loop:a.meta?.coverVideo?.loop}},null,8,["data"])):p("",!0)]),S(r.$slots,"default",{},void 0,!0)])])])}}},[["__scopeId","data-v-992ba622"]]),$r=(t,e,a="design-theme-styles")=>{{const t=document.getElementById(a);t&&t.remove()}let o="";o+=".light-mode html, .light-mode body, .light-mode button {\n",o+=` --default-0: ${t.colors["default-0"]};\n`,o+=` --default-50: ${t.colors["default-50"]};\n`,o+=` --default-100: ${t.colors["default-100"]};\n`,o+=` --default-200: ${t.colors["default-200"]};\n`,o+=` --default-300: ${t.colors["default-300"]};\n`,o+=` --default-400: ${t.colors["default-400"]};\n`,o+=` --default-500: ${t.colors["default-500"]};\n`,o+=` --default-600: ${t.colors["default-600"]};\n`,o+=` --default-700: ${t.colors["default-700"]};\n`,o+=` --default-800: ${t.colors["default-800"]};\n`,o+=` --default-900: ${t.colors["default-900"]};\n`,o+=` --default-1000: ${t.colors["default-1000"]};\n`,o+=` --alpha-black: ${t.colors["alpha-black"]};\n`,o+=` --alpha-white-10: ${t.colors["alpha-white-10"]};\n`,o+=` --alpha-white-20: ${t.colors["alpha-white-20"]};\n`,o+=` --alpha-white-30: ${t.colors["alpha-white-30"]};\n`,o+=` --alpha-white-40: ${t.colors["alpha-white-40"]};\n`,o+=` --alpha-white-50: ${t.colors["alpha-white-50"]};\n`,o+=` --alpha-black-3: ${t.colors["alpha-black-3"]};\n`,o+=` --alpha-black-5: ${t.colors["alpha-black-5"]};\n`,o+=` --alpha-black-10: ${t.colors["alpha-black-10"]};\n`,o+=` --alpha-black-20: ${t.colors["alpha-black-20"]};\n`,o+=` --alpha-black-30: ${t.colors["alpha-black-30"]};\n`,o+=` --alpha-black-40: ${t.colors["alpha-black-40"]};\n`,t.sections["section-title"]&&(o+=` --section-title: ${t.sections["section-title"]};\n`),t.sections["section-title-bg"]&&(o+=` --section-title-bg: ${t.sections["section-title-bg"]};\n`),t.sections["section-title-br"]&&(o+=` --section-title-br: ${t.sections["section-title-br"]};\n`),t.sections["section-title-border-radius"]&&(o+=` --section-title-border-radius: ${t.sections["section-title-border-radius"]};\n`);const r=t.buttons["primary-button-type"]||"solid";"gradient"===r?(o+=` --primary-button: linear-gradient(${t.buttons["primary-button-gradient-direction"]||"45deg"}, ${t.buttons["primary-button-gradient-start"]||"#4f46e5"}, ${t.buttons["primary-button-gradient-end"]||"#9333ea"});\n`,o+=` --primary-button-solid: ${t.buttons["primary-button-gradient-start"]||"#4f46e5"};\n`,o+=` --primary-button-gradient-start: ${t.buttons["primary-button-gradient-start"]||"#4f46e5"};\n`,o+=` --primary-button-gradient-end: ${t.buttons["primary-button-gradient-end"]||"#9333ea"};\n`,o+=` --primary-button-gradient-direction: ${t.buttons["primary-button-gradient-direction"]||"45deg"};\n`):(o+=` --primary-button: ${t.buttons["primary-button"]||"#4f46e5"};\n`,o+=` --primary-button-solid: ${t.buttons["primary-button"]||"#4f46e5"};\n`),o+=` --primary-button-border: ${t.buttons["primary-button-border"]}
1;\n`,o+=` --primary-button-border-radius: ${t.buttons["primary-button-border-radius"]};\n`,o+=` --primary-button-font-size: ${t.buttons["primary-button-font-size"]};\n`,o+=` --primary-button-font-color: ${t.buttons["primary-button-font-color"]};\n`,o+=` --primary-button-font-weight: ${t.buttons["primary-button-font-weight"]};\n`,o+=` --primary-button-padding: ${t.buttons["primary-button-padding"]};\n`;const n=t.buttons["secondary-button-type"]||"solid";"gradient"===n?(o+=` --secondary-button: linear-gradient(${t.buttons["secondary-button-gradient-direction"]||"45deg"}, ${t.buttons["secondary-button-gradient-start"]||"#6b7280"}, ${t.buttons["secondary-button-gradient-end"]||"#9ca3af"});\n`,o+=` --secondary-button-solid: ${t.buttons["secondary-button-gradient-start"]||"#6b7280"};\n`,o+=` --secondary-button-gradient-start: ${t.buttons["secondary-button-gradient-start"]||"#6b7280"};\n`,o+=` --secondary-button-gradient-end: ${t.buttons["secondary-button-gradient-end"]||"#9ca3af"};\n`,o+=` --secondary-button-gradient-direction: ${t.buttons["secondary-button-gradient-direction"]||"45deg"};\n`):(o+=` --secondary-button: ${t.buttons["secondary-button"]||"transparent"};\n`,o+=` --secondary-button-solid: ${t.buttons["secondary-button"]||"transparent"};\n`),o+=` --secondary-button-border: ${t.buttons["secondary-button-border"]||t.buttons["primary-button-border"]};\n`,o+=` --secondary-button-border-radius: ${t.buttons["secondary-button-border-radius"]||t.buttons["primary-button-border-radius"]};\n`,o+=` --secondary-button-font-size: ${t.buttons["secondary-button-font-size"]||t.buttons["primary-button-font-size"]};\n`,o+=` --secondary-button-font-color: ${t.buttons["secondary-button-font-color"]||t.buttons["primary-button-font-color"]};\n`,o+=` --secondary-button-font-weight: ${t.buttons["secondary-button-font-weight"]||t.buttons["primary-button-font-weight"]};\n`,o+=` --secondary-button-padding: ${t.buttons["secondary-button-padding"]||t.buttons["primary-button-padding"]};\n`,o+=` --padding-small: ${t.spacing["padding-small"]};\n`,o+=` --padding-medium: ${t.spacing["padding-medium"]};\n`,o+=` --padding-large: ${t.spacing["padding-large"]};\n`,o+=` --content-gap-tight: ${t.spacing["content-gap-tight"]};\n`,o+=` --content-gap-normal: ${t.spacing["content-gap-normal"]};\n`,o+=` --content-gap-relaxed: ${t.spacing["content-gap-relaxed"]};\n`,o+=` --paragraph-xxl: ${t.typography["paragraph-xxl"]};\n`,o+=` --paragraph-xl: ${t.typography["paragraph-xl"]};\n`,o+=` --paragraph-lg: ${t.typography["paragraph-lg"]};\n`,o+=` --paragraph-md: ${t.typography["paragraph-md"]};\n`,o+=` --paragraph-sm: ${t.typography["paragraph-sm"]};\n`,o+=` --paragraph-xs: ${t.typography["paragraph-xs"]};\n`,o+=` --h1-font-size: ${t.typography["h1-font-size"]||"56px"};\n`,o+=` --h1-font-weight: ${t.typography["h1-font-weight"]||"600"};\n`,o+=` --h1-line-height: ${t.typography["h1-line-height"]||"64px"};\n`,o+=` --h2-font-size: ${t.typography["h2-font-size"]||"40px"};\n`,o+=` --h2-font-weight: ${t.typography["h2-font-weight"]||"600"};\n`,o+=` --h2-line-height: ${t.typography["h2-line-height"]||"48px"};\n`,o+=` --h3-font-size: ${t.typography["h3-font-size"]||"40px"};\n`,o+=` --h3-font-weight: ${t.typography["h3-font-weight"]||"600"};\n`,o+=` --h3-line-height: ${t.typography["h3-line-height"]||"48px"};\n`,o+=` --h4-font-size: ${t.typography["h4-font-size"]||"32px"};\n`,o+=` --h4-font-weight: ${t.typography["h4-font-weight"]||"600"};\n`,o+=` --h4-line-height: ${t.typography["h4-line-height"]||"40px"};\n`,o+=` --h5-font-size: ${t.typography["h5-font-size"]||"24px"};\n`,o+=` --h5-font-weight: ${t.typography["h5-font-weight"]||"600"};\n`,o+=` --h5-line-height: ${t.typography["h5-line-height"]||"32px"};\n`,o+=` --h6-font-size: ${t.typography["h6-font-size"]||"20px"};\n`,o+=` --h6-font-weight: ${t.typography["h6-font-weight"]||"600"};\n`,o+=` --h6-line-height: ${t.typography["h6-line-height"]||"28px"};\n`,o+="}\n\n",o+=".dark-mode html, .dark-mode body, .dark-mode button {\n",o+=` --default-0: ${t.colors["default-1000"]};\n`,o+=` --default-50: ${t.colors["default-900"]};\n`,o+=` --default-100: ${t.colors["default-800"]};\n`,o+=` --default-200: ${t.colors["default-700"]};\n`,o+=` --default-300: ${t.colors["default-600"]};\n`,o+=` --default-400: ${t.colors["default-500"]};\n`,o+=` --default-500: ${t.colors["default-400"]};\n`,o+=` --default-600: ${t.colors["default-300"]};\n`,o+=` --default-700: ${t.colors["default-200"]};\n`,o+=` --default-800: ${t.colors["default-100"]};\n`,o+=` --default-900: ${t.colors["default-50"]};\n`,o+=` --default-1000: ${t.colors["default-0"]};\n`,o+=` --alpha-black: ${t.colors["alpha-black"]};\n`,o+=` --alpha-white-10: #${t.colors["default-900"].slice(1)}1A;\n`,o+=` --alpha-white-20: #${t.colors["default-900"].slice(1)}33;\n`,o+=` --alpha-white-30: #${t.colors["default-900"].slice(1)}4D;\n`,o+=` --alpha-white-40: #${t.colors["default-900"].slice(1)}66;\n`,o+=` --alpha-white-50: #${t.colors["default-900"].slice(1)}80;\n`,o+=` --alpha-black-3: ${t.colors["alpha-white-10"]};\n`,o+=` --alpha-black-5: ${t.colors["alpha-white-10"]};\n`,o+=` --alpha-black-10: ${t.colors["alpha-white-10"]};\n`,o+=` --alpha-black-20: ${t.colors["alpha-white-20"]};\n`,o+=` --alpha-black-30: ${t.colors["alpha-white-30"]};\n`,o+=` --alpha-black-40: ${t.colors["alpha-white-40"]};\n`,t.sections["section-title"]&&(o+=` --section-title: ${t.sections["section-title"]};\n`),t.sections["section-title-bg"]&&(o+=` --section-title-bg: ${t.sections["section-title-bg"]};\n`),t.sections["section-title-br"]&&(o+=` --section-title-br: ${t.sections["section-title-br"]};\n`),t.sections["section-title-border-radius"]&&(o+=` --section-title-border-radius: ${t.sections["section-title-border-radius"]};\n`),"gradient"===r?(o+=` --primary-button: linear-gradient(${t.buttons["primary-button-gradient-direction"]||"45deg"}, ${t.buttons["primary-button-gradient-start"]||"#4f46e5"}, ${t.buttons["primary-button-gradient-end"]||"#9333ea"});\n`,o+=` --primary-button-solid: ${t.buttons["primary-button-gradient-start"]||"#4f46e5"};\n`,o+=` --primary-button-gradient-start: ${t.buttons["primary-button-gradient-start"]||"#4f46e5"};\n`,o+=` --primary-button-gradient-end: ${t.buttons["primary-button-gradient-end"]||"#9333ea"};\n`,o+=` --primary-button-gradient-direction: ${t.buttons["primary-button-gradient-direction"]||"45deg"};\n`):(o+=` --primary-button: ${t.buttons["primary-button"]||"#4f46e5"};\n`,o+=` --primary-button-solid: ${t.buttons["primary-button"]||"#4f46e5"};\n`),o+=` --primary-button-border: ${t.buttons["primary-button-border"]}
1;\n`,o+=` --primary-button-border-radius: ${t.buttons["primary-button-border-radius"]};\n`,o+=` --primary-button-font-size: ${t.buttons["primary-button-font-size"]};\n`,o+=` --primary-button-font-color: ${t.buttons["primary-button-font-color"]};\n`,o+=` --primary-button-font-weight: ${t.buttons["primary-button-font-weight"]};\n`,o+=` --primary-button-padding: ${t.buttons["primary-button-padding"]};\n`,"gradient"===n?(o+=` --secondary-button: linear-gradient(${t.buttons["secondary-button-gradient-direction"]||"45deg"}, ${t.buttons["secondary-button-gradient-start"]||"#6b7280"}, ${t.buttons["secondary-button-gradient-end"]||"#9ca3af"});\n`,o+=` --secondary-button-solid: ${t.buttons["secondary-button-gradient-start"]||"#6b7280"};\n`,o+=` --secondary-button-gradient-start: ${t.buttons["secondary-button-gradient-start"]||"#6b7280"};\n`,o+=` --secondary-button-gradient-end: ${t.buttons["secondary-button-gradient-end"]||"#9ca3af"};\n`,o+=` --secondary-button-gradient-direction: ${t.buttons["secondary-button-gradient-direction"]||"45deg"};\n`):(o+=` --secondary-button: ${t.buttons["secondary-button"]||"transparent"};\n`,o+=` --secondary-button-solid: ${t.buttons["secondary-button"]||"transparent"};\n`),o+=` --secondary-button-border: ${t.buttons["secondary-button-border"]||t.buttons["primary-button-border"]};\n`,o+=` --secondary-button-border-radius: ${t.buttons["secondary-button-border-radius"]||t.buttons["primary-button-border-radius"]};\n`,o+=` --secondary-button-font-size: ${t.buttons["secondary-button-font-size"]||t.buttons["primary-button-font-size"]};\n`,o+=` --secondary-button-font-color: ${t.buttons["secondary-button-font-color"]||t.buttons["primary-button-font-color"]};\n`,o+=` --secondary-button-font-weight: ${t.buttons["secondary-button-font-weight"]||t.buttons["primary-button-font-weight"]};\n`,o+=` --secondary-button-padding: ${t.buttons["secondary-button-padding"]||t.buttons["primary-button-padding"]};\n`,o+=` --padding-small: ${t.spacing["padding-small"]};\n`,o+=` --padding-medium: ${t.spacing["padding-medium"]};\n`,o+=` --padding-large: ${t.spacing["padding-large"]};\n`,o+=` --content-gap-tight: ${t.spacing["content-gap-tight"]};\n`,o+=` --content-gap-normal: ${t.spacing["content-gap-normal"]};\n`,o+=` --content-gap-relaxed: ${t.spacing["content-gap-relaxed"]};\n`,o+=` --paragraph-xxl: ${t.typography["paragraph-xxl"]};\n`,o+=` --paragraph-xl: ${t.typography["paragraph-xl"]};\n`,o+=` --paragraph-lg: ${t.typography["paragraph-lg"]};\n`,o+=` --paragraph-md: ${t.typography["paragraph-md"]};\n`,o+=` --paragraph-sm: ${t.typography["paragraph-sm"]};\n`,o+=` --paragraph-xs: ${t.typography["paragraph-xs"]};\n`,o+=` --h1-font-size: ${t.typography["h1-font-size"]||"2.5rem"};\n`,o+=` --h1-font-weight: ${t.typography["h1-font-weight"]||"700"};\n`,o+=` --h1-line-height: ${t.typography["h1-line-height"]||"1.2"};\n`,o+=` --h2-font-size: ${t.typography["h2-font-size"]||"2rem"};\n`,o+=` --h2-font-weight: ${t.typography["h2-font-weight"]||"600"};\n`,o+=` --h2-line-height: ${t.typography["h2-line-height"]||"1.3"};\n`,o+=` --h3-font-size: ${t.typography["h3-font-size"]||"1.75rem"};\n`,o+=` --h3-font-weight: ${t.typography["h3-font-weight"]||"600"};\n`,o+=` --h3-line-height: ${t.typography["h3-line-height"]||"1.4"};\n`,o+=` --h4-font-size: ${t.typography["h4-font-size"]||"1.5rem"};\n`,o+=` --h4-font-weight: ${t.typography["h4-font-weight"]||"500"};\n`,o+=` --h4-line-height: ${t.typography["h4-line-height"]||"1.4"};\n`,o+=` --h5-font-size: ${t.typography["h5-font-size"]||"1.25rem"};\n`,o+=` --h5-font-weight: ${t.typography["h5-font-weight"]||"500"};\n`,o+=` --h5-line-height: ${t.typography["h5-line-height"]||"1.5"};\n`,o+=` --h6-font-size: ${t.typography["h6-font-size"]||"1rem"};\n`,o+=` --h6-font-weight: ${t.typography["h6-font-weight"]||"500"};\n`,o+=` --h6-line-height: ${t.typography["h6-line-height"]||"1.5"};\n`,o+="}\n";const i=E.find(t=>t.id===e),s=decodeURIComponent(i.font.match(/family=([^&]+)/)?.[1]||"").replace(/\+/g," ").split(":")[0].split(",")[0];o+="html, body, button, textarea {\n",o+=` font-family: '${s}', sans-serif;`,"Nunito"===s&&(o+=" -webkit-font-smoothing: antialiased;",o+=" -moz-osx-font-smoothing: grayscale;",o+=" text-rendering: optimizeLegibility;"),o+="}\n",t.buttons["primary-button-custom-css"]&&(o+=t.buttons["primary-button-custom-css"]+"\n"),t.buttons["secondary-button-custom-css"]&&(o+=t.buttons["secondary-button-custom-css"]+"\n");{const t=document.createElement("style");t.setAttribute("id",a),t.textContent=o,document.head.appendChild(t)}return o},_r=async(t,e)=>{try{const a=(await Z({method:"GET",path:"/themes/get-all",params:{webId:t}})).data;return a&&Array.isArray(a)?a.find(t=>
1t.id===e):null}catch(a){return console.error("Error fetching theme:",a),null}};export{Do as a,Wo as i,_r as n,xr as r,$r as t};
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.