PageSourceSearch

https://www.adhesiveshow.com/_nuxt/BC1LX46U.js

js adhesiveshow.com collected 2026-10-09 22:40:52 UTC 43,662 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dVYJPNSW.js","./Ct1cgv1O.js","./B3UfxsRy.js","./entry.DyKY7DID.css","./H74ioRxz.js","./Bb2H_Lp6.js"])))=>i.map(i=>d[i]);
2import{p as Q,o as a,c as s,F as A,r as L,n as $,a as O,w as P,b as H,m as R,u as ue,t as je,d as y,e as h,f as I,g as de,h as G,i as U,j as Y,k as J,x as ee,y as D,_ as W,l as Ee,q as z,s as S,v as F,z as he,A as Re,B as Pe,C as me,D as Se,E as we,G as ve,H as ce,T as ye,I as Be}from"./B3UfxsRy.js";import{s as De}from"./Ct1cgv1O.js";const ge=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),X=e=>e.replace(/[_-](\w)/g,(t,i)=>i.toUpperCase()).replace(/^\w/,t=>t.toLowerCase()),pe=({href:e,currLanguage:t,languages:i,nodeType:n="page"})=>{if(!e)return console.error("getHref: href is required"),"";if(e.startsWith("http"))return e;let l=e.replace(/^\/+/,"");return i?.some(o=>l.startsWith(`${o}/`)||l===o)?`/${l}`:n==="news"?`/${t}/news/${l}`:`/${t}/${l}`},Fe=["src"],Me={__name:"BlockHeaderIcon",props:{type:{type:String,default:"image"},src:{type:String,default:""},iconClass:{type:String,default:""}},setup(e){return(t,i)=>e.type==="image"&&e.src?(a(),s("img",{key:0,class:"el-content-block__header__icon",src:e.src,loading:"lazy",decoding:"async"},null,8,Fe)):e.type==="icon"&&e.iconClass?(a(),s("i",{key:1,class:$(["el-content-block__header__icon",e.iconClass])},null,2)):y("",!0)}},He=["innerHTML"],xe={__name:"LongText",props:{html:String,className:{type:String,default:""}},setup(e){return(t,i)=>e.html?(a(),s("div",{key:0,class:$(["cm-richtext",e.className]),innerHTML:e.html},null,10,He)):y("",!0)}},ze={class:"btn__label"},K={__name:"CallToActionBtn",props:{type:{type:String,required:!0},text:String,size:{type:String,default:"md",validator:e=>["md","lg"].includes(e)},btnStyle:{type:String,default:"outline-primary"},href:String,target:String,downloadFileName:{type:String,default:""},nodeType:String,iconSettings:{type:Object,default:()=>({custom_icon:"",show_icon:!0,icon_position:"before"})},vcfContent:""},setup(e){const t=e,i=S(()=>t.iconSettings.show_icon),n=S(()=>t.iconSettings.custom_icon?"ri-"+t.iconSettings.custom_icon:""),l=S(()=>t.iconSettings.icon_position),o=z("languages"),r=z("currLanguage"),c=S(()=>{let{href:_,nodeType:f}=t;return pe({href:_,currLanguage:r,languages:o,nodeType:f})}),u={link:()=>({href:c.value,target:t.target,"data-node-type":t.nodeType}),mail:()=>({href:`mailto:${t.href}`,target:t.target}),phone:()=>({href:`tel:${t.href}`,target:t.target}),sms:()=>({href:`sms:${t.href}`,target:t.target}),download:()=>({href:t.href,download:t.downloadFileName,target:"_blank"}),vcf_content:()=>({href:t.href})},d=S(()=>{var _;return((_=u[t.type])==null?void 0:_.call(u))||{}});return(_,f)=>{const p=ee("vcf");return e.text&&(e.href||e.type==="vcf_content")?D((a(),O(H(e.type==="vcf_content"?"button":"a"),R({key:0,class:"btn"},d.value,{class:`btn--${e.size} btn--${e.btnStyle}`,"data-node-type":e.nodeType,"data-vcf":e.vcfContent}),{default:P(()=>[i.value&&l.value==="before"?(a(),s("i",{key:0,class:$(["btn__icon",n.value||`btn__icon--${e.type}`])},null,2)):y("",!0),h("span",ze,I(e.text),1),i.value&&l.value==="after"?(a(),s("i",{key:1,class:$(["btn__icon",n.value||`btn__icon--${e.type}`])},null,2)):y("",!0)]),_:1},16,["class","data-node-type","data-vcf"])),[[p,e.vcfContent]]):y("",!0)}}},Te={__name:"Links",props:{buttons:{type:Array,default:()=>[]},direction:{type:String,default:"column",validator:e=>["column","row","horizontal","vertical"].includes(e)},buttonStyle:{type:String,default:"outline-primary"},size:{type:String,default:"lg"}},setup(e){const t=e,i=S(()=>({column:"column",row:"row",horizontal:"row",vertical:"column"})[t.direction]);return(n,l)=>(a(),s("div",{class:$(["el-content-links button-change-with-background",`el-content-links--direction-${i.value}`])},[(a(!0),s(A,null,L(e.buttons,(o,r)=>(a(),O(K,R({key:r,btnStyle:e.buttonStyle,size:e.size,ref_for:!0},o),null,16,["btnStyle","size"]))),128))],2))}},Ne={class:"el-content-block__container"},Ve={key:0,class:"el-content-block__header"},Ge={key:1,class:"el-content-block__body"},We={key:2,class:"el-content-block__footer"},Je={class:"el-content-block__background"},qe=["srcset"],Ue=["srcset"],Ke=["src"],Ze={__name:"Block",props:{template:String,icon:{type:Object,default:null},title:String,subTitle:String,longText:String,callToActions:{type:Array,default:()=>[]},settings:{type:Object,default:()=>
2({block:{theme:"white",blockAlign:"left",titleStyle:"h2",subtitleStyle:"h3",colWidth:"narrow",marginTop:"default",marginBottom:"default",paddingTop:"default",paddingBottom:"default",transparentOverlay:!1,backgroundImageSrc:""},collection:{},element:{}})},animation:{type:Object,default:()=>null}},setup(e){const t=e,i=S(()=>t.icon||t.title||t.subTitle||t.longText),n=z("globalAnimation"),l=S(()=>{let{timing_function:u,duration:d,delay:_,stagger:f}=t.animation||n;return{"--ani-timing-function":u,"--ani-duration":d,"--ani-delay":_,"--ani-stagger":f}}),o=S(()=>{var u;return((u=t?.animation)==null?void 0:u.name)||n.name}),r=S(()=>{let u=t.settings.block,d=[`como-theme-${u.theme}`],_=["block-align","col-width","margin-top","margin-bottom","padding-top","padding-bottom"];for(let[f,p]of Object.entries(u))f=ge(f),_.includes(f)&&p!==!1&&d.push(`el-content-block--${f}-${p}`);return u.transparentOverlay&&d.push("el-content-block--transparent-overlay"),d.join(" ")}),c=S(()=>{const u=t.settings.block;return u.theme!=="light-image"&&u.theme!=="dark-image"?!1:!!(u.backgroundImageSrc||u.backgroundImageMobileSrc)});return(u,d)=>{const _=ee("animate-on-scroll");return a(),s("section",{class:$(["el-content-block",r.value]),style:Be(l.value)},[h("div",Ne,[i.value?(a(),s("div",Ve,[e.icon?D((a(),O(Me,U(R({key:0},e.icon)),null,16)),[[_,o.value]]):y("",!0),e.title?D((a(),s("h2",{key:1,class:$(["el-content-block__header__title",`typography--${e.settings.block.titleStyle}`])}
2,[de(I(e.title),1)],2)),[[_,o.value]]):y("",!0),e.subTitle?D((a(),s("h3",{key:2,class:$(["el-content-block__header__subtitle",`typography--${e.settings.block.subtitleStyle}`])},[de(I(e.subTitle),1)],2)),[[_,o.value]]):y("",!0),e.longText?D((a(),O(xe,{key:3,class:"change-theme-primary",html:e.longText},null,8,["html"])),[[_,o.value]]):y("",!0)])):y("",!0),u.$slots.default?D((a(),s("div",Ge,[we(u.$slots,"default")])),[[_,o.value]]):y("",!0),e.callToActions.length?D((a(),s("div",We,[G(Te,{buttons:e.callToActions,buttonStyle:e.settings.block.callToActionStyle,direction:e.settings.block.callToActionDirection},null,8,["buttons","buttonStyle","direction"])])),[[_,o.value]]):y("",!0)]),h("picture",Je,[c.value?(a(),s(A,{key:0},[e.settings.block.backgroundImageMobileSrc?(a(),s("source",{key:0,media:"(max-width: 920px)",srcset:e.settings.block.backgroundImageMobileSrc},null,8,qe)):y("",!0),e.settings.block.backgroundImageSrc?(a(),s("source",{key:1,media:"(min-width: 921px)",srcset:e.settings.block.backgroundImageSrc},null,8,Ue)):y("",!0),h("img",{src:e.settings.block.backgroundImageMobileSrc||e.settings.block.backgroundImageSrc,loading:"lazy",decoding:"async"},null,8,Ke)],64)):y("",!0)])],6)}}},fe={__name:"Richtext",props:{html:{type:String,required:!0},fullTable:{type:Boolean,default:!1},simpleTable:{type:Boolean,default:!1}},setup(e){const t=e,i=S(()=>t.fullTable?t.html.replace(/<table([^>]*)>/g,'<div class="table-responsive"><table$1>').replace(/<\/table>/g,"</table></div>"):t.html);return(n,l)=>(a(),s("div",{class:$(["el-content-richtext",{"el-content-richtext--full-table":e.fullTable,"el-content-richtext--simple-table":e.simpleTable}])},[G(xe,{class:"change-theme-primary",html:i.value},null,8,["html"])],2))}},Qe=["src","alt"],Xe={class:"el-content-numbers-item__num"},Ye={class:"el-content-numbers-item__label"},et={__name:"Numbers",props:{numbers:{type:Array,default:()=>[]},numbersCols:{type:String,default:"auto"}},setup(e){return(t,i)=>(a(),s("div",{class:$(["el-content-numbers",`el-content-numbers--cols-${e.numbersCols}`])},[(a(!0),s(A,null,L(e.numbers,(n,l)=>{var o,r;return a(),s("div",{key:l,class:"el-content-numbers-item"},[((o=n?.icon)==null?void 0:o.type)==="image"&&(r=n?.icon)!=null&&r.src?(a(),s("img",{key:0,loading:"lazy",decoding:"async",src:n.icon.src,alt:n.icon.alt},null,8,Qe)):y("",!0),h("div",Xe,I(n.num),1),h("div",Ye,I(n.label),1)])}),128))],2))}},te=(e,t)=>{const i=e.__vccOpts||e;for(const[n,l]of t)i[n]=l;return i},tt={key:0,class:"el-video-player"},lt=["src","poster"],nt={key:1,scrolling:"no",border:"0",frameborder:"no",framespacing:"0",allowfullscreen:"true"},it={__name:"VideoPlayer",props:{poster:String,videoSrc:String,iframeSrc:String},setup(e){const t=e;let i=null;const n=he("playerRef");return J(async()=>{if(!n.value||!t.videoSrc)return;const l=(await W(async()=>{const{default:r}=await import("./dVYJPNSW.js");return{default:r}},__vite__mapDeps([0,1,2,3]),import.meta.url)).default,o=await W(()=>import("./1R5UYZ3c.js"),[],import.meta.url).then(r=>r.default);i=new l(n.value,{controls:["play-large","play","progress","current-time","fullscreen"],iconUrl:o})}),Re(()=>{i&&i.destroy()}),(l,o)=>{const r=ee("lazy-src");return e.videoSrc||e.iframeSrc?(a(),s("div",tt,[e.videoSrc?(a(),s("video",{key:0,ref_key:"playerRef",ref:n,src:e.videoSrc,poster:e.poster},null,8,lt)):e.iframeSrc?D((a(),s("iframe",nt,null,512)),[[r,e.iframeSrc]]):y("",!0)])):y("",!0)}}},at=te(it,[["__scopeId","data-v-c701ed64"]]),ot={class:"el-content-media"},rt={class:"el-content-media__resources"},st=["src","alt"],ct={key:0,class:"el-content-media__caption"},_e={__name:"Media",props:{type:{type:String,default:"image"},imgSrc:String,alt:String,videoSrc:String,iframeSrc:String,caption:String},setup(e){return(t,i)=>(a(),s("figure",ot,[h("div",rt,[e.type==="image"?(a(),s("img",{key:0,src:e.imgSrc,alt:e.alt,loading:"lazy",decoding:"async"},null,8,st)):(a(),O(at,{key:1,poster:e.imgSrc,videoSrc:e.videoSrc,iframeSrc:e.iframeSrc},null,8,["poster","videoSrc","iframeSrc"]))]),e.caption?(a(),s("figcaption",ct,I(e.caption),1)):y("",!0)]))}},ut={class:"el-content-countdown-item__num"},dt={class:"el-content-countdown-item__text"},_t={__name:"Countdown",props:{start:String,end:{type:String,required:!0},text:{type:String,default:"Day|Hour|Min|Sec"},countdownStyle:{type:String,default:"block"}},emits:["countdownEnd"],setup(e,{emit:t}){const i=e;let n=F(!1);const l=t,o=(x,E,C)=>Number(x)!=1?C:E,r=x=>/^[\u4e00-\u9fa5]+$/.test(x),c=x=>/^[A-Z]$/.test(x),u=x=>r(x)?x:x+(c(x.substr(1,1))?"S":"s"),d=x=>{let[E,C,N,q]=[0,0,0,0];x>0&&(E=parseInt(x/60/60/24),C=parseInt(x/60/60%24),N=parseInt(x/60%60),q=parseInt(x%60));const Z=ne=>String(ne).padStart(2,"0");return[E,C,N,q].map(Z)},_=F(0),f=S(()=>d(_.value)),p=S(()=>i.text.split("|").map(x=>x.trim())),w=S(()=>p.value.map(u)),v=S(()=>new Date(i.end).getTime()),B=S(()=>i.start?new Date(i.start).getTime():Date.now());Se([()=>i.start,()=>i.end],()=>{if(v.value<=B.value){console.error("Countdown end time must be after start time."),l("countdownEnd");return}_.value=Math.floor((v.value-B.value)/1e3)});const j=(x,E)=>o(Number(x),p.value[E],w.value[E]);return J(()=>{if(n.value=!0,!i.end){console.error("Countdown end time is required."),l("countdownEnd");return}if(_.value=Math.floor((v.value-B.value)/1e3),_.value<=0){l("countdownEnd");return}const x=De(()=>{_.value<=0&&(clearInterval(x),l("countdownEnd")),_.value--},1e3);me(()=>clearInterval(x))}),(x,E)=>ue(n)?(a(),s("div",{key:0,class:$(["el-content-countdown",`el-content-countdown--style-${e.countdownStyle}`])},[(a(!0),s(A,null,L(f.value,(C,N)=>(a(),s("div",{key:N,class:"el-content-countdown-item"},[h("span",ut,[G(ye,{name:"fade",mode:"out-in"},{default:P(()=>[(a(),s("span",{key:C.slice(0,1)+"a"},I(C.slice(0,1)),1))]),_:2},1024),G(ye,{name:"fade",mode:"out-in"},{default:P(()=>[(a(),s("span",{key:C.slice(1)+"b"},I(C.slice(1)),1))]),_:2},1024)]),h("span",dt,I(j(C,N)),1)]))),128))],2)):y("",!0)}},mt=te(_t,[["__scopeId","data-v-265f04b6"]]),gt={__name:"TextWithMedia",props:{richtext:{type:String,default:""},image:{type:Object,default:null},video:{type:Object,default:null},settings:{type:Object,default:()=>({})}},setup(e){const t=e,i=S(()=>t.image?{type:"image",imgSrc:t.image.src,alt:t.image.alt,caption:t.image.caption}:t.video?{type:"video",videoSrc:t.video.src,imgSrc:t.video.poster,caption:t.video.caption}:null),n=S(()=>{const l=["el-content-text-with-media"];for(let[o,r]of Object.entries(t.settings))o=ge(o),typeof r=="boolean"&&(r=r?"on":"off"),l.push(`${l[0]}--${o}-${r}`);return l.join(" ")});return(l,o)=>(a(),s("div",{class:$(n.value)},[G(_e,U(Y(i.value)),null,16),G(fe,{simpleTable:"",html:e.richtext},null,8,["html"])],2))}},pt={class:"el-content-text-with-embedding__grid"},ft={class:"el-content-text-with-embedding__embed"},vt=["innerHTML"],yt={class:"el-content-text-with-embedding__text"},bt={key:0,class:"el-content-links el-content-links--direction-row",style:{"justify-content":"inherit"}},kt={__name:"TextWithEmbed",props:{loadJS:String,runJS:String,embedHtml:String,richtext:String,buttons:{type:Array,default:()=>[]},settings:{type:Object,default:()=>({})}},setup(e){const t=e,i=S(()=>{const l=["el-content-text-with-embedding"];for(let[o,r]of Object.entries(t.settings))o!=="buttonStyle"&&(o=ge(o),l.push(`${l[0]}--${o}-${r}`));return l.join(" ")}),n=l=>new Promise((o,r)=>{let c=document.querySelector(`script[src='${l}']`);c?o(c):(c=document.createElement("script"),c.type="text/javascript",c.src=l,c.addEventListener("load",()=>o(c)),c.addEventListener("error",u=>r(u)),document.body.appendChild(c))});return J(async()=>{try{t.loadJS&&await n(t.loadJS),t.runJS&&new Function(t.runJS)()}catch(l){console.error("脚本执行失败:",l)}}),(l,o)=>{var r;return a(),s("div",{class:$(i.value)},[h("div",pt,[h("div",ft,[h("div",{class:"el-ratio",innerHTML:e.embedHtml},null,8,vt)]),h("div",yt,[G(fe,{simpleTable:"",html:e.richtext},null,8,["html"]),(r=e.buttons)!=null&&r.length?(a(),s("div",bt,[(a(!0),s(A,null,L(e.buttons,(c,u)=>{var d;return a(),O(K,R({btnStyle:(d=e.settings)==null?void 0:d.buttonStyle,key:u,ref_for:!0},c),null,16,["btnStyle"])}),128))])):y("",!0)])])],2)}}},ht={key:0,class:"el-content-flex__col"},St={__name:"Collection",props:{layoutType:{type:String,default:"flow",required:!0},cols:{type:Number,default:3,required:!0},rows:{type:Number,default:1},swiperGridFill:{type:String,default:"column"},swiperOptions:{type:Object,default:()=>({})},itemTextAlign:{type:String,default:"left"}},setup(e){const t=e;function i(g){const b=[];for(const k of g)k.type===A&&Array.isArray(k.children)?b.push(...i(k.children)):b.push(k);return b}function n(g){return g?typeof g.type=="string"||typeof g.type=="object"&&g.type!==null:!1}const l=S(()=>{var g;const b=((g=r.default)==null?void 0:g.call(r))??[];return i(b)}),o=z("inSidebar"),r=Pe(),c=S(()=>{var g,b,k,T;return((T=(k=(b=(g=r.default)==null?void 0:g.call(r))==null?void 0:b[0])==null?void 0:k.children)==null?void 0:T.length)||0}),u=ve({Swiper:{setup(g,{slots:b}){return()=>{var k;return ce("div",{},ce("div",{class:"swiper-wrapper uninitialized"},(k=b.default)==null?void 0:k.call(b)))}}},SwiperSlide:{setup(g,{slots:b}){return()=>{var k;return ce("div",{class:"swiper-slide",style:{width:100/t.cols+"%"}},(k=b.default)==null?void 0:k.call(b))}}},modules:[]}),d=ve({});J(async()=>
2{if(t.layoutType!=="swiper")return;_();const{Swiper:g,SwiperSlide:b}=await W(async()=>{const{Swiper:re,SwiperSlide:se}=await import("./H74ioRxz.js");return{Swiper:re,SwiperSlide:se}},__vite__mapDeps([4,5,2,3]),import.meta.url),{Navigation:k,Pagination:T,Scrollbar:M,Grid:ie,Autoplay:ae,EffectFade:oe}=await W(async()=>{const{Navigation:re,Pagination:se,Scrollbar:Ie,Grid:Oe,Autoplay:Ce,EffectFade:Le}=await import("./Bb2H_Lp6.js");return{Navigation:re,Pagination:se,Scrollbar:Ie,Grid:Oe,Autoplay:Ce,EffectFade:Le}},[],import.meta.url);u.value={Swiper:g,SwiperSlide:b,modules:[k,T,M,ie,ae,oe]}});function _(){var g;const b={spaceBetween:12,slidesPerView:w.value.xs,slidesPerGroup:w.value.xs,spaceBetween:parseInt(p("--cm-grid-gutter-width-phone")||12),pagination:{clickable:!0,dynamicBullets:c.value>20,dynamicMainBullets:3},navigation:!0,createElements:!0,simulateTouch:!1};if((g=t.swiperOptions)!=null&&g.autoplay&&(b.autoplay=Object.assign({},t.swiperOptions.autoplay,{stopOnLastSlide:!1,disableOnInteraction:!1,pauseOnMouseEnter:!0})),o!==!0&&(b.breakpoints={320:{slidesPerView:w.value.xs,slidesPerGroup:w.value.xs,spaceBetween:parseInt(p("--cm-grid-gutter-width-phone")||12)},768:{slidesPerView:w.value.md,slidesPerGroup:w.value.md,spaceBetween:parseInt(p("--cm-grid-gutter-width-tablet")||16)},1024:{slidesPerView:w.value.lg,slidesPerGroup:w.value.lg,spaceBetween:parseInt(p("--cm-grid-gutter-width-tablet")||16)},1200:{slidesPerView:t.cols,slidesPerGroup:t.cols,spaceBetween:parseInt(p("--cm-grid-gutter-width-desktop")||24)}}),t.rows===1&&t.cols===1&&(b.autoHeight=!0),t.rows>1){const k={rows:t.rows,fill:t.swiperGridFill};if(b.grid=k,b.breakpoints)for(let T of Object.values(b.breakpoints))T.grid=k,T.slidesPerGroup=1}d.value=b}function f(g,b){if(g&&["xs","md","lg","xl"].includes(b)){if(g==2)return b==="xs"?1:2;let k;const{max:T}=Math;return g<5?k={xs:T(1,g-2),md:T(2,g-2),lg:T(2,g-1)}:k={xs:T(3,g-5),md:T(3,g-4),lg:T(4,g-2)},k[b]}return g}function p(g){if(!(typeof window>"u"||typeof document>"u")&&g)return getComputedStyle(document.documentElement).getPropertyValue(g)}const w=S(()=>{const g={};for(const b of["xs","md","lg"])g[b]=f(t.cols,b);return g});function v(g){g.el.style.removeProperty("--childHeight"),g.slides.forEach(b=>{var k;let T=((k=b.firstElementChild)==null?void 0:k.offsetHeight)||0,M=g.el.style.getPropertyValue("--childHeight")||0;parseInt(M)<T&&g.el.style.setProperty("--childHeight",T+"px")})}function B(g){var b,k,T,M;(k=(b=g.params)==null?void 0:b.grid)!=null&&k.rows&&g.el.style.setProperty("--rows",(M=(T=g.params)==null?void 0:T.grid)==null?void 0:M.rows),v(g)}const j=F(null);function x(g){var b;j.value=g,(b=g?.autoplay)!=null&&b.running&&N()}function E(g){j.value&&g.forEach(b=>{b.isIntersecting?j.value.autoplay&&j.value.autoplay.start():j.value.autoplay&&j.value.autoplay.stop()})}const C=F(null);function N(){j.value&&(q(),C.value=new IntersectionObserver(E,{root:null,rootMargin:"0px",threshold:.5}),C.value.observe(j.value.el))}function q(){C.value&&(C.value.disconnect(),C.value=null)}me(()=>{q()});const Z=F(Date.now());Se([()=>t.cols,()=>t.rows,()=>t.layoutType,()=>t.swiperOptions],()=>{ne()},{deep:!0});const ne=()=>{Z.value=Date.now(),_()};return(g,b)=>e.layoutType==="flowGrid"?(a(),s("div",{key:0,class:$(`el-content-flow el-content-flow--cols-${e.cols} el-content--item-text-align-${e.itemTextAlign}`)},[we(g.$slots,"default",{},void 0,!0)],2)):e.layoutType==="flow"?(a(),s("div",{key:1,class:$(`el-content-flex el-content-flex--cols-${e.cols} el-content--item-text-align-${e.itemTextAlign}`)},[(a(!0),s(A,null,L(l.value,(k,T)=>(a(),s(A,{key:k.key??T},[n(k)?(a(),s("div",ht,[(a(),O(H(k)))])):y("",!0)],64))),128))],2)):e.layoutType==="swiper"&&u.value?(a(),s("div",{class:$(`el-content-swiper swiper-overflow-wrap el-content--item-text-align-${e.itemTextAlign}`),key:`swiper-${Z.value}`},[(a(),O(H(u.value.Swiper),R({class:"swiper-container"},d.value,{modules:u.value.modules,class:{"swiper--grid":e.rows>1},onInit:B,onResize:v,onSwiper:x}),{default:P(()=>{var k,T;return[(a(!0),s(A,null,L((T=(k=g.$slots).default)==null?void 0:T.call(k),(M,ie)=>(a(),s(A,{key:ie},[(a(!0),s(A,null,L(M.children,(ae,oe)=>(a(),O(H(u.value.SwiperSlide),{key:oe},{default:P(()=>[(a(),O(H(ae)))]),_:2},1024))),128))],64))),128))]}),_:1},16,["modules","class"]))],2)):y("",!0)}},le=te(St,[["__scopeId","data-v-f401f839"]]),wt=["src","alt"],xt={class:"el-content-teaser-box__primary"},Tt={key:0,class:"el-content-teaser-box__title"},At={key:1,class:"el-content-teaser-box__description"},$t={key:2,class:"el-content-teaser-box__actions"},It={__name:"TeaserBox",props:{items:{type:Array,default:()=>[]},imageRatio:{type:String,default:"16x9"},imageFit:{type:String,default:"contain"},buttonStyle:{type:String,default:"outline-primary"},collection:{type:Object,default:()=>({})}},setup(e){return(t,i)=>(a(),O(le,R(e.collection,{rows:1}),{default:P(()=>[(a(!0),s(A,null,L(e.items,(n,l)=>{var o,r,c,u;return a(),s("div",{class:"el-content-teaser-box",key:l},[(o=n?.image)!=null&&o.src?(a(),s("div",{key:0,class:$(["el-content-teaser-box__media el-ratio",`el-ratio--${e.imageRatio} object-fit--${e.imageFit}`])},[h("img",{src:(r=n?.image)==null?void 0:r.src,alt:(c=n?.image)==null?void 0:c.alt,loading:"lazy",decoding:"async"},null,8,wt)],2)):y("",!0),h("div",xt,[n!=null&&n.title?(a(),s("h3",Tt,I(n.title),1)):y("",!0),n!=null&&n.description?(a(),s("div",At,I(n.description),1)):y("",!0),(u=n?.buttons)!=null&&u.length?(a(),s("div",$t,[(a(!0),s(A,null,L(n.buttons,(d,_)=>(a(),O(K,R({ref_for:!0},d,{key:_,"btn-style":e.buttonStyle}),null,16,["btn-style"]))),128))])):y("",!0)])])}),128))]),_:1},16))}};function Ot(e){const t=z("languages"),i=z("currLanguage"),n=S(()=>{var d;return((d=e.iconSettings)==null?void 0:d.show_icon)??!0}),l=S(()=>{var d;return(d=e.iconSettings)!=null&&d.custom_icon?"ri-"+e.iconSettings.custom_icon:""}),o=S(()=>{var d;return((d=e.iconSettings)==null?void 0:d.icon_position)??"before"}),r=S(()=>{let{href:d,nodeType:_}=e;return pe({href:d,currLanguage:i,languages:t,nodeType:_})}),c={link:()=>({href:r.value,target:e.target,"data-node-type":e.nodeType}),mail:()=>({href:`mailto:${e.href}`,target:e.target}),phone:()=>({href:`tel:${e.href}`,target:e.target}),sms:()=>({href:`sms:${e.href}`,target:e.target}),download:()=>({href:e.href,download:e.downloadFileName,target:"_blank"}),vcf_content:()=>({href:e.href})},u=S(()=>{var d;return((d=c[e.type])==null?void 0:d.call(c))||{}});return{showIcon:n,customIcon:l,iconPosition:o,linkHref:r,getAProps:u}}const Ct=["src","alt"],Lt={class:"el-content-image-card__primary"},jt={key:0,class:"el-content-image-card__title"},Et=["innerHTML"],Rt={__name:"ImageCards",props:{items:{type:Array,default:()=>[]},imageRatio:{type:String,default:"16x9"},imageFit:{type:String,default:"contain"},collection:{type:Object,default:()=>({})}},setup(e){const t=n=>{var l;return(l=n?.callToAction)==null?void 0:l.type},i=n=>{const{getAProps:l}=Ot(n?.callToAction||{});return l.value};return(n,l)=>{const o=ee("vcf");return a(),O(le,U(Y(e.collection)),{default:P(()=>[(a(!0),s(A,null,L(e.items,(r,c)=>{var u,d,_;return D((a(),O(H(t(r)==="vcf_content"?"div":"a"),R({class:"el-content-image-card",key:c,ref_for:!0},i(r),{"data-node-type":(u=r?.callToAction)==null?void 0:u.nodeType,"data-vcf":(d=r?.callToAction)==null?void 0:d.vcfContent}),{default:P(()=>{var f,p,w;return[(f=r?.image)!=null&&f.src?(a(),s("div",{key:0,class:$(["el-content-image-card__media el-ratio",`el-ratio--${e.imageRatio} object-fit--${e.imageFit}`])},[h("img",{src:(p=r?.image)==null?void 0:p.src,alt:(w=r?.image)==null?void 0:w.alt,loading:"lazy",decoding:"async"},null,8,Ct)],2)):y("",!0),h("div",Lt,[r!=null&&r.title?(a(),s("h3",jt,I(r.title),
21)):y("",!0),r!=null&&r.subTitle?(a(),s("div",{key:1,class:"el-content-image-card__subtitle",innerHTML:r.subTitle},null,8,Et)):y("",!0)])]}),_:2},1040,["data-node-type","data-vcf"])),[[o,(_=r?.callToAction)==null?void 0:_.vcfContent]])}),128))]),_:1},16)}}},Pt={class:"el-content-business-card__media"},Bt=["src","alt"],Dt={key:0,class:"el-content-business-card__title"},Ft=["innerHTML"],Mt={key:2},Ht=["innerHTML"],zt={key:3,class:"el-content-links el-content-links--direction-row",style:{"justify-content":"inherit"}},Nt={__name:"BusinessCards",props:{items:{type:Array,default:()=>[]},buttonStyle:{type:String,default:"primary"},collection:{type:Object,default:()=>({})}},setup(e){return(t,i)=>(a(),O(le,U(Y(e.collection)),{default:P(()=>[(a(!0),s(A,null,L(e.items,(n,l)=>{var o,r,c,u;return a(),s("div",{class:"el-content-business-card",key:l},[h("div",Pt,[(o=n?.image)!=null&&o.src?(a(),s("img",{key:0,src:(r=n?.image)==null?void 0:r.src,alt:(c=n?.image)==null?void 0:c.alt,loading:"lazy",decoding:"async"},null,8,Bt)):y("",!0)]),n!=null&&n.title?(a(),s("h3",Dt,I(n.title),1)):y("",!0),n!=null&&n.description?(a(),s("div",{key:1,class:"el-content-business-card__desc",innerHTML:n.description},null,8,Ft)):y("",!0),n!=null&&n.businessRows&&n.businessRows.length?(a(),s("table",Mt,[h("tbody",null,[(a(!0),s(A,null,L(n.businessRows,(d,_)=>(a(),s("tr",{key:_},[h("th",null,I(d.title),1),h("td",{innerHTML:d.text},null,8,Ht)]))),128))])])):y("",!0),(u=n?.buttons)!=null&&u.length?(a(),s("div",zt,[(a(!0),s(A,null,L(n.buttons,(d,_)=>(a(),O(K,R({ref_for:!0},d,{key:_,"btn-style":e.buttonStyle}),null,16,["btn-style"]))),128))])):y("",!0)])}),128))]),_:1},16))}},Vt={class:"el-content-gallery-item"},Gt=["src","alt"],Wt={key:1,class:"el-content-gallery-item__caption"},Jt={__name:"Gallery",props:{items:{type:Array,default:()=>[]},imageRatio:{type:String,default:"16x9"},imageFit:{type:String,default:"contain"},collection:{type:Object,default:()=>({})}},setup(e){J(async()=>{const{Fancybox:o}=await W(async()=>{const{Fancybox:r}=await import("./BwCkyQFQ.js");return{Fancybox:r}},[],import.meta.url);o.bind("[data-fancybox]")});const t=Ee(),i=z("languages"),n=z("currLanguage"),l=(o,r)=>{if(!o)return null;let{type:c,href:u,target:d="_blank"}=o;if(!u)return null;let _;if(c==="link"){let f=pe({href:u,currLanguage:n,languages:i,nodeType:r?.nodeType});f.startsWith("/")&&(d=""),_={href:f,target:d}}else(c==="media"||c==="image"||c==="video")&&(_={href:u,"data-fancybox":`gallery-${t}`});return _};return(o,r)=>(a(),O(le,U(Y(e.collection)),{default:P(()=>[(a(!0),s(A,null,L(e.items,(c,u)=>{var d,_;return a(),O(H((d=c?.clickEvent)!=null&&d.type?"a":"div"),R({class:{"el-click":(_=c?.clickEvent)==null?void 0:_.type},ref_for:!0},l(c?.clickEvent,c),{key:u}),{default:P(()=>{var f,p,w,v;return[h("div",Vt,[(f=c?.image)!=null&&f.src?(a(),s("div",{key:0,class:$(["el-content-gallery-item__media el-ratio",`el-ratio--${e.imageRatio} object-fit--${e.imageFit}`])},[h("img",{src:(p=c?.image)==null?void 0:p.src,alt:(w=c?.image)==null?void 0:w.alt,loading:"lazy",decoding:"async"},null,8,Gt)],2)):y("",!0),(v=c?.image)!=null&&v.caption?(a(),s("div",Wt,I(c.image.caption),1)):y("",!0)])]}),_:2},1040,["class"])}),128))]),_:1},16))}},qt={class:"el-content-webform"},Ut=["src"],Kt={__name:"WebformIframe",props:{src:{type:String,required:!0}},setup(e){const t=he("iframeRef"),i=F(!1);J(async()=>{if(await W(()=>import("./D5Uz5Tuz.js"),[],import.meta.url).then(l=>l.default),iFrameResize({bodyBackground:"transparent"},t.value),!i.value){const l=new MutationObserver(function(o){for(let r of o)r.type==="attributes"&&r.attributeName==="style"&&n()});l.observe(t.value,{attributes:!0,attributeFilter:["style"]}),t.value._observer=l}}),me(()=>{var l,o;(o=(l=t.value)==null?void 0:l._observer)==null||o.disconnect()});function n(){var l,o;i.value=!0,(o=(l=t.value)==null?void 0:l._observer)==null||o.disconnect()}return(l,o)=>(a(),s("div",qt,[h("iframe",{ref_key:"iframeRef",ref:t,class:$({loaded:i.value}),src:e.src,allow:"geolocation; microphone; camera",allowtransparency:"true",allowfullscreen:"true",onLoad:n},null,42,Ut)]))}},Zt=te(Kt,[["__scopeId","data-v-5763faac"]]),Qt={class:"el-content-timeline"},Xt={class:"el-content-timeline__tools"},Yt={class:"el-content-timeline__dropdown-menu"},el=["onClick"],tl=["innerHTML"],ll={key:0,class:"el-content-timeline__dates"},nl=["onClick"],il={class:"el-content-timeline-grid"},al={key:0,class:"el-content-timeline-item__time"},ol={key:1,class:"el-content-timeline-item__hint-text"},rl={class:"el-content-timeline-item__primary"},sl={key:0,class:"el-content-timeline-item__title"},cl={key:1,class:"el-content-timeline-item__subtitle"},ul=["innerHTML"],dl={key:3,class:"el-content-timeline-item__tags"},_l={key:4,class:"el-content-links el-content-links--direction-row el-content-timeline-item__actions",style:{"justify-content":"inherit"}},ml={__name:"Timeline",props:{items:{type:Array,default:()=>[]},buttonStyle:{type:String,default:"text-primary"},allTags:{type:String,default:"All"},results:{type:String,default:"@count results"}},setup(e){const t=e,i=F(),n=S(()=>{var f;const p=[...new Set((f=t.items)==null?void 0:f.map(w=>
2w.date))].filter(Boolean);return i.value=p?.[0],p}),l=f=>{i.value=f},o=F(),r=S(()=>{var f;const p=[...new Set((f=t.items)==null?void 0:f.reduce((w,v)=>w.concat(v.tags),[]))].filter(Boolean);return p.unshift(t.allTags),o.value=p?.[0],p}),c=F(!0),u=()=>{setTimeout(()=>{c.value=!0},300)},d=S(()=>{var f;return(f=t.items)==null?void 0:f.filter(p=>o.value===t.allTags?p.date===i.value:p.date===i.value&&p.tags.includes(o.value))}),_=S(()=>{var f;return t.results.replace("@count",`<span class="el-content-timeline__results-num">${(f=d.value)==null?void 0:f.length}</span>`)});return(f,p)=>{var w;return a(),s("div",Qt,[h("div",Xt,[r.value.length&&r.value.length>2?(a(),s("div",{key:0,class:$(["el-content-timeline__dropdown",{"el-content-timeline__dropdown-menu--hidden":c.value}])},[h("input",{type:"text",readonly:"",class:"el-content-timeline__control",onFocus:p[0]||(p[0]=()=>{c.value=!1}),onBlur:u},null,32),de(" "+I(o.value)+" ",1),p[1]||(p[1]=h("i",{class:"ri-arrow-down-s-fill"},null,-1)),h("div",Yt,[(a(!0),s(A,null,L(r.value,(v,B)=>(a(),s("div",{key:B,class:$(["el-content-timeline__dropdown-menu__item",{"el-content-timeline__dropdown-menu__item--active":v===o.value}]),onClick:j=>o.value=v},I(v),11,el))),128))])],2)):y("",!0),h("div",{class:"el-content-timeline__results",innerHTML:_.value},null,8,tl)]),(w=n.value)!=null&&w.length?(a(),s("div",ll,[(a(!0),s(A,null,L(n.value,(v,B)=>(a(),s("div",{class:$(["el-content-timeline__dates-item",{"el-content-timeline__dates-item--active":v===i.value}]),key:B,onClick:j=>l(v)},I(v),11,nl))),128))])):y("",!0),h("div",il,[(a(!0),s(A,null,L(d.value,(v,B)=>{var j,x;return a(),s(A,{key:B},[v!=null&&v.startTime&&v!=null&&v.endTime?(a(),s("div",al,I(`${v.startTime}-${v.endTime}`),1)):(a(),s("div",ol,I(v.hintText),1)),h("div",rl,[p[2]||(p[2]=h("div",{class:"el-content-timeline-item__tail"},null,-1)),p[3]||(p[3]=h("div",{class:"el-content-timeline-item__node"},null,-1)),v!=null&&v.title?(a(),s("div",sl,I(v.title),1)):y("",!0),v!=null&&v.subTitle?(a(),s("div",cl,I(v.subTitle),1)):y("",!0),v!=null&&v.description?(a(),s("div",{key:2,innerHTML:v.description,class:"el-content-timeline-item__description"},null,8,ul)):y("",!0),(j=v?.tags)!=null&&j.length?(a(),s("div",dl,[(a(!0),s(A,null,L(v.tags,(E,C)=>(a(),s("div",{class:"el-content-timeline-item__tags-item",key:C},I(E),1))),128))])):y("",!0),(x=v?.buttons)!=null&&x.length?(a(),s("div",_l,[(a(!0),s(A,null,L(v.buttons,(E,C)=>(a(),O(K,R({ref_for:!0},E,{key:C,"btn-style":e.buttonStyle}),null,16,["btn-style"]))),128))])):y("",!0)])],64)}),128))])])}}},gl=Object.freeze(Object.defineProperty({__proto__:null,businessCards:Nt,countdown:mt,gallery:Jt,image:_e,imageCards:Rt,links:Te,numbers:et,richtext:fe,teaserBox:It,textWithEmbed:kt,textWithMedia:gt,timeline:ml,video:_e,webformIframe:Zt},Symbol.toStringTag,{value:"Module"})),be={richtext:e=>({html:typeof e!="string"?"":e,fullTable:!0}),numbers:(e,t)=>{var i;return{numbers:e,numbersCols:(i=t?.element)==null?void 0:i.numbersCols}},links:(e,t)=>{var i,n;return{buttons:e,direction:(i=t?.element)==null?void 0:i.direction,buttonStyle:(n=t?.element)==null?void 0:n.buttonStyle}},image:e=>({type:"image",imgSrc:e?.src,alt:e?.alt,caption:e?.caption}),video:e=>({type:"video",imgSrc:e?.poster,videoSrc:e?.src,iframeSrc:e?.iframeSrc,caption:e?.caption}),countdown:(e,t)=>({start:e?.start,end:e?.end,text:e?.text,countdownStyle:t.element.countdownStyle}),textWithMedia:(e,t)=>({richtext:e?.richtext||"",image:e?.image,video:e?.video,settings:t.element}),textWithEmbed:(e,t)=>{var i,n,l,o;return{richtext:e?.richtext||"",loadJS:(i=e?.embedCode)==null?void 0:i.loadJS,runJS:(n=e?.embedCode)==null?void 0:n.runJS,embedHtml:(l=e?.embedCode)==null?void 0:l.embedHtml,buttons:(o=e?.embedCode)==null?void 0:o.buttons,settings:t.element}},teaserBox:(e,t)=>({items:e,imageRatio:t.element.imageRatio,imageFit:t.element.imageFit,buttonStyle:t.element.buttonStyle,collection:t.collection}),imageCards:(e,t)=>({items:e,imageRatio:t.element.imageRatio,imageFit:t.element.imageFit,buttonStyle:t.element.buttonStyle,collection:t.collection}),businessCards:(e,t)=>({items:e,buttonStyle:t.element.buttonStyle,collection:t.collection}),gallery:(e,t)=>({items:e,imageRatio:t.element.imageRatio,imageFit:t.element.imageFit,collection:t.collection}),webformIframe:e=>({src:e}),timeline:(e,t)=>({items:e,allTags:t.block.allTags,results:t.block.resultCount,buttonStyle:t.element.buttonStyle})},pl=e=>{const{template:t,children:i={},settings:n}=e;if(!t||!be[t])return{};const l=i.type?fl(i):{};return be[t](l,n)},fl=e=>Array.isArray(e.type)?e.type.length===1?e[e.type[0]]:e.type.reduce((t,i)=>(t[i]=e[i],t),{}):{},vl=e=>{let t=document.querySelector(`[data-block-id="${e}"]`);console.log("countdownEnd",e,t),t&&t.setAttribute("hidden","")},Ae={__name:"LandingPageLib",props:{data:{type:Object,default:()=>({blocks:[]})},inSidebar:{type:Boolean,default:!1},animation:{type:Object,default:()=>({name:"none",timing_function:"ease-in-out",duration:.28,delay:0,stagger:.1})},languages:{type:Array,default:()=>["en","zh-cn"]},currLanguage:{type:String,default:"en"}},setup(e){const t=e;return Q("inSidebar",t.inSidebar),Q("globalAnimation",t.animation),Q("languages",t.languages),Q("currLanguage",t.currLanguage),(i,n)=>(a(),s("div",{class:$(["landing-page-content",{"display-mobile-style":e.inSidebar}])},[(a(!0),s(A,null,L(e.data.blocks,l=>{var o;return a(),O(Ze,R({ref_for:!0},l.beseFields,{key:l.blockId,"data-block-id":l.blockId,"data-revision-id":l.revisionId,settings:l.settings,template:l.template,animation:(o=l.settings)==null?void 0:o.animation}),{default:P(()=>[l.children?(a(),O(H(gl[l.template]),R({key:0,ref_for:!0},ue(pl)(l),je(l.template==="countdown"?{countdownEnd:()=>ue(vl)(l.blockId)}:{})),null,16)):y("",!0)]),_:2},1040,["data-block-id","data-revision-id","settings","template","animation"])}),128))],2))}},yl={mounted(e,t){if(typeof window>"u")return;const i=new IntersectionObserver(n=>
2{n.forEach(l=>{l.isIntersecting&&(e.src=t.value,i.unobserve(e))})},{rootMargin:"200px 0px"});i.observe(e),e._observer=i},unmounted(e){typeof window>"u"||e._observer&&e._observer.disconnect()}},bl={mounted(e,t){if(typeof window>"u"||!t.value||t.value=="none")return;e.classList.add("el-animate-on-scroll",`el-animate-on-scroll--${t.value}`);const i=new IntersectionObserver(([n])=>{n.isIntersecting&&(e.classList.add("running"),e.querySelectorAll('img[loading="lazy"]').forEach(l=>{var o;l.loading="eager",l.decoding="sync",(o=l.decode)==null||o.call(l)}),i.unobserve(e))});i.observe(e),e._observer=i},unmounted(e){typeof window>"u"||e._observer&&e._observer.disconnect()}},kl=(e,t="contact.vcf")=>{let i=e.trim();if(i.includes("FN:")){const c=i.match(/FN:(.*)/);c&&c[1]&&(t=`contact-${c[1].trim()}.vcf`)}const n=["BEGIN:VCARD","VERSION:3.0",i,"END:VCARD"].join(`\r
3`),l=new Blob([n],{type:"text/vcard;charset=utf-8;"}),o=URL.createObjectURL(l),r=document.createElement("a");r.href=o,r.setAttribute("download",t),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},hl={mounted(e,t){e._vcfHandler=()=>{const i=t.value;i&&kl(i)},e.addEventListener("click",e._vcfHandler)},updated(e,t){},beforeUnmount(e){e.removeEventListener("click",e._vcfHandler)}};function m(e,t,i=void 0){if(!e||typeof e!="object")return i;const n=Array.isArray(t)?t:String(t).split(".");let l=e;for(const o of n){if(l==null||typeof l!="object")return i;const r=o.replace(/\[|\]/g,"");l=l[r]}return l!==void 0?l:i}const $e=e=>typeof e=="boolean"?e:e==="true"?!0:e==="false"?!1:e;function Sl(e){try{const t=JSON.parse(e);let i={},n={},l={};const o=["block_background","col_width","block_align","main_title_style","subtitle_style","padding_top","padding_bottom","margin_top","margin_bottom","footer_button_style","footer_button_display_style","background_transparent","all_tags","result_count"],r=["layout_type_for_gal","rows_count_for_gal","cols_count_for_gal","layout_type_for_tb","rows_count_for_tb","cols_count_for_tb","layout_type_for_bc","rows_count_for_bc","cols_count_for_bc","layout_type_for_ic","rows_count_for_ic","cols_count_for_ic","swiperOptions","swiper_grid_fill","item_text_align"],c=["countdown_style","media_float","media_size","embed_float","embed_size","embed_ratio","text_wrapping","links_direction_for_link","links_style_for_link","image_ratio_for_gal","image_object_fit_for_gal","links_style_for_gal","image_ratio_for_tb","image_object_fit_for_tb","links_style_for_tb","image_ratio_for_ic","image_object_fit_for_ic","links_style_for_ic","links_style_for_bc","links_style_for_twe","cols_count_for_num"],u={block_background:"theme",main_title_style:"titleStyle",footer_button_style:"callToActionStyle",footer_button_display_style:"callToActionDirection",background_transparent:"transparentOverlay",layout_type_for_gal:"layoutType",cols_count_for_gal:"cols",rows_count_for_gal:"rows",layout_type_for_tb:"layoutType",cols_count_for_tb:"cols",rows_count_for_tb:"rows",layout_type_for_bc:"layoutType",cols_count_for_bc:"cols",rows_count_for_bc:"rows",layout_type_for_ic:"layoutType",cols_count_for_ic:"cols",rows_count_for_ic:"rows",links_direction_for_link:"direction",links_style_for_link:"buttonStyle",image_ratio_for_gal:"imageRatio",image_object_fit_for_gal:"imageFit",links_style_for_gal:"buttonStyle",image_ratio_for_tb:"imageRatio",image_object_fit_for_tb:"imageFit",image_ratio_for_ic:"imageRatio",image_object_fit_for_ic:"imageFit",links_style_for_tb:"buttonStyle",links_style_for_bc:"buttonStyle",links_style_for_twe:"buttonStyle",cols_count_for_num:"numbersCols"};for(const _ in t){let f=$e(t[_]);o.includes(_)?i[u[_]||X(_)]=f:r.includes(_)?n[u[_]||X(_)]=isNaN(f)?f:parseInt(f,10):c.includes(_)&&(l[u[_]||X(_)]=f)}let{animation:d}=t;return{block:i,collection:n,element:l,animation:d}}catch(t){return console.error(t),{}}}function wl(e){if(!e)return null;const t=m(e,"meta.imageDerivative");return t?{type:"image",src:t,iconClass:""}:null}function V(e){return Array.isArray(e)?e.map(t=>{var i,n;let l=(i=t.field_como_click_event)==null?void 0:i.replace("como_","");if(!l)return null;if(l==="vcf_content"){let o=t.field_como_click_vcf_link_title,r=t.field_como_click_vcf_content;return{type:l,text:o,vcfContent:r}}else if(l==="download"){let o=t.field_como_click_download_text,r=m(t.field_como_click_download,"meta.documentDerivative");return{type:l,text:o,href:r}}else{let{url:o,uri:r,title:c,options:u,node_type:d}=m(t,`field_como_click_${l}`)||{},_;try{const p=m(t,"field_d_settings");if(p){let w=JSON.parse(p);
3Object.keys(w).length&&(Object.keys(w).forEach(v=>{w[v]=$e(w[v])}),_=w)}}catch(p){console.warn("Failed to parse field_d_settings:",p)}let f=(n=u?.attributes)==null?void 0:n.target;return{type:l,text:c,href:o||r,target:f,nodeType:d,iconSettings:_}}}).filter(Boolean):[]}const ke={richtext:e=>m(e,"field_richtext.processed"),image:e=>({src:m(e,"field_media_image.meta.imageDerivative")||m(e,"field_media.meta.imageDerivative"),alt:m(e,"field_media_image.meta.imageAlt")||m(e,"field_media.meta.imageAlt"),caption:m(e,"field_image_caption")}),video:e=>({src:m(e,"field_video.meta.videoDerivative")||m(e,"field_media.meta.videoDerivative"),poster:m(e,"field_video.meta.imageDerivative")||m(e,"field_media.meta.imageDerivative"),caption:m(e,"field_video_caption")||m(e,"field_image_caption")}),buttons:e=>V(e.field_d_block_reference)||[],numbers:e=>(e.field_d_block_reference||[]).map(t=>({icon:{type:"image",src:m(t,"field_numbers_media.meta.imageDerivative"),alt:m(t,"field_numbers_media.meta.imageAlt")},num:m(t,"field_numbers_value"),label:m(t,"field_numbers_label")})),countdown:e=>({start:m(e,"field_countdown_start"),end:m(e,"field_countdown_end"),text:m(e,"field_countdown_text")}),embedCode:e=>({loadJS:m(e,"field_load_js"),runJS:m(e,"field_run_js"),embedHtml:m(e,"field_embed_html"),buttons:V(e.field_embed_cta_reference2)||[]}),teaserBox:e=>(e.field_d_block_reference||[]).map(t=>{let i=m(t,"field_tb_media.meta.imageDerivative"),n=m(t,"field_tb_media.meta.imageAlt"),l=i?{src:i,alt:n}:void 0,o=m(t,"field_tb_title"),r=m(t,"field_tb_description");return{image:l,title:o,description:r,buttons:V(t.field_d_block_reference)||[]}}),imageCards:e=>(e.field_d_block_reference||[]).map(t=>{var i;let n=m(t,"field_ic_media.meta.imageDerivative"),l=m(t,"field_ic_media.meta.imageAlt");return{image:n?{src:n,alt:l}:void 0,title:m(t,"field_ic_title"),subTitle:m(t,"field_ic_subtitle.value"),callToAction:(i=V(Array.isArray(t.field_d_block_reference_single)||[t.field_d_block_reference_single]))==null?void 0:i[0]}}),businessCards:e=>(e.field_d_block_reference||[]).map(t=>{let i=m(t,"field_bc_media_icon.meta.imageDerivative"),n=m(t,"field_bc_media_icon.meta.imageAlt");return{image:i?{src:i,alt:n}:void 0,title:m(t,"field_bc_main_title"),description:m(t,"field_bc_subtitle"),businessRows:(t.field_bc_text_with_title||[]).map(l=>{var o;return{title:l.title,text:(o=l.text)==null?void 0:o.value}}),buttons:V(t.field_d_block_reference)||[]}}),gallery:e=>(e.field_d_block_reference||[]).map(t=>{var i,n;let l={src:m(t,"field_g_media.meta.imageDerivative"),alt:m(t,"field_g_media.meta.imageAlt"),caption:m(t,"field_g_image_caption")},o=(i=m(t,"field_g_click_type"))==null?void 0:i.replace("como_",""),r;if(o==="link"){let{url:c,options:u}=m(t,"field_g_click_link")||{},d=(n=u?.attributes)==null?void 0:n.target;c&&(r={type:o,href:c,target:d})}else if(o==="media"){let c=m(t,"field_g_click_media.meta.imageDerivative");c&&(r={type:o,href:c})}return{image:l,clickEvent:r}}),webformIframe:e=>m(e,"field_webform.meta.share_url"),timeline:e=>(e.field_timeline_item||[]).map(t=>({date:m(t,"field_date"),startTime:m(t,"field_start_time"),endTime:m(t,"field_end_time"),hintText:m(t,"field_timeline_hint_text"),title:m(t,"field_bc_main_title"),subTitle:m(t,"field_bc_subtitle"),description:m(t.field_d_long_text,"processed"),tags:(Array.isArray(t.field_tags)?t.field_tags||[]:[]).map(i=>i.name),buttons:V(t.field_d_cta_reference)||[]}))};function xl(e,t,i){t.type.includes(e)||(t.type.push(e),ke[e]?t[e]=ke[e](i):console.log(i,e))}function Tl(e){const t=e.type.replace("paragraph--",""),i=e.drupal_internal__id,n=m(e,"meta.target_revision_id")||e.drupal_internal__revision_id,l=e.id,o=X(t.replace("como_","")),r={longText:m(e.field_d_long_text,"processed"),title:e.field_d_main_title,subTitle:e.field_d_subtitle,icon:wl(e.field_d_media_icon)};Array.isArray(e.field_d_cta_reference)&&e.field_d_cta_reference.length&&(r.callToActions=V(e.field_d_cta_reference));let c={block:{},collection:{},element:{}};e.field_d_settings&&(c={...c,...Sl(e.field_d_settings)}),e.field_d_media_background&&(c.block.backgroundImageSrc=m(e.field_d_media_background,"meta.imageDerivative")),e.field_m_media_background&&(c.block.backgroundImageMobileSrc=m(e.field_m_media_background,"meta.imageDerivative"));let u={type:[]};const d=_=>xl(_,u,e);return o==="links"?d("buttons"):o==="textWithMedia"?(e.field_media.type==="media--video"?d("video"):d("image"),d("richtext")):o==="textWithEmbed"?(d("embedCode"),d("richtext")):d(o),{template:o,blockId:i,uuid:l,revisionId:n,beseFields:r,settings:c,children:u}}function Ll(e){let{title:t,langcode:i,field_page_section:n}=e;return{pageTitle:t,langcode:i,blocks:Array.isArray(n)?n.map(Tl):[]}}const jl=()=>
3Ae,Al={install(e){e.directive("lazy-src",yl)}},$l={install(e){e.directive("animate-on-scroll",bl)}},Il={install(e){e.directive("vcf",hl)}},El=e=>{e.vueApp.component("LandingPage",Ae),e.vueApp.use(Al),e.vueApp.use($l),e.vueApp.use(Il)};export{$l as AnimateOnScrollPlugin,Al as LazySrcPlugin,Il as VcfPlugin,jl as createClientComponent,Ae as default,El as defineNuxtLandingPagePlugin,Ll as drupalNodeFormat};

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.