pb-sxp-ui 1.19.20 → 1.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -15
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +2 -15
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/index.js +1 -1
- package/es/core/hooks/useVisibleHeight.js +1 -14
- package/lib/core/components/SxpPageRender/index.js +1 -1
- package/lib/core/hooks/useVisibleHeight.js +1 -14
- package/package.json +1 -1
package/dist/index.min.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{isEmpty as ui,cloneDeep as bi,isEqual as Hn,debounce as Ei,throttle as Un,get as Xn}from"lodash";import{v4 as Zo}from"uuid";import Ko from"pako";import u,{useContext as Ii,useMemo as we,memo as je,useEffect as ce,createContext as ki,useState as Z,useRef as fe,useCallback as de,forwardRef as vi,useImperativeHandle as Ci,useLayoutEffect as Jo}from"react";import qn from"qs";import Qo from"eventemitter3";import{css as ze}from"@emotion/css";import*as Yn from"react-dom";import $o from"react-dom";function rt(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(t);l<n.length;l++)e.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(t,n[l])&&(i[n[l]]=t[n[l]]);return i}function mt(t,e,i,n){function l(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function d(r){try{c(n.next(r))}catch(A){a(A)}}function s(r){try{c(n.throw(r))}catch(A){a(A)}}function c(r){r.done?o(r.value):l(r.value).then(d,s)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const el=/:\w+/g;var Gn=(t,e)=>mt(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:o,method:a,url:d,urlParams:s,name:c,queryString:r,headers:A,body:f}=e[l];let p=d;s&&Object.entries(s).forEach(([b,m])=>{p=p.replace(el,S=>S===b?m:S)}),r&&(p+=r),n[o]=c;try{const b=yield fetch(p,{method:a,headers:Object.assign({"Content-Type":"application/json"},A),body:JSON.stringify(f)}).then(m=>m.json());i[o]=b}catch(b){console.error("DataSource request error: ",b),i[o]={}}}return{$store:i,idMapName:n}});const _n="SXP_TOKEN_INFO",tl=(t,e)=>mt(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),o=t.getApiUrl(),a=window.localStorage.getItem(_n);let d=JSON.parse(a||"{}");if(Date.now()>((i=d?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${o}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(r=>r.json());if(c.success){const r=c.data;d=Object.assign(Object.assign({},r),{expireTime:Date.now()+r.expire*1e3}),window.localStorage.setItem(_n,JSON.stringify(d))}}return d});function qi(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let l;if(e=e||i.length,t)for(l=0;l<t;l++)n[l]=i[0|Math.random()*e];else{let o;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",l=0;l<36;l++)n[l]||(o=0|Math.random()*16,n[l]=i[l===19?o&3|8:o])}return n.join("")}const il=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let l=0;for(;l<t;)e+=i.charAt(Math.floor(Math.random()*n)),l+=1;return e},nl=()=>{const t=Zo();return t?.replaceAll?t.replaceAll("-",""):il(32)},Ve=(t,e)=>{if(!t)return"";let i="";const n=e?.["fontFamily-cn"],l=e?.["fontFamily-en"];if(!n&&!l)return t;let o=t;const a=/[\u4e00-\u9fa5]/g,d=/[^\u4e00-\u9fa5]/g,s=`font-family:${n??"inherit"}`,c=`font-family:${l??"inherit"}`,r=f=>{const p=f.search(a),b=f.search(d);return p!==-1&&b!==-1&&p<b&&(i+=`<span style="${s}">${f.substring(p,b)}</span>`,o=f.substring(b,f?.length)),p!==-1&&b!==-1&&p>b&&(i+=`<span style="${c}">${f.substring(b,p)}</span>`,o=f.substring(p,f?.length)),p===-1?(i+=`<span style="${c}">${f.substring(b,f?.length)}</span>`,o="",!1):b===-1?(i+=`<span style="${s}">${f.substring(p,f?.length)}</span>`,o="",!1):!0};let A=!0;for(;A;)A=r(o);return i};function cn(t){const i=document.cookie.split(";");let n=null;return i.forEach(l=>{const[o,a]=l.trim().split("=");o===t&&(n=a)}),n??""}function un(){const t=self.navigator.userAgent;return t?/TalkBack/i.test(t)||/Funtouch/i.test(t)||/VoiceOver/i.test(t)||/NVDA/i.test(t)||/JAWS/i.test(t)||/ChromeVox/i.test(t):!1}function pi(t){if(!t)return;const e=[];for(let l=0;l<t.length;l++){const o=t[l],a=t.substring(l+1,t.length);o==="&"&&a?.indexOf("=")!==-1&&(a?.indexOf("=")<a?.indexOf("&")||a?.indexOf("&")===-1)&&e.push(l)}const i=e.length>0?[]:[t];let n=0;return e?.map(l=>{i?.push(t.substring(n,l)),n=l+1,l===e[e.length-1]&&l<t.length&&i?.push(t.substring(n,t.length))}),i??[]}function ol(t,e="/",i=""){const n="expires=Thu, 01 Jan 1970 00:00:00 GMT",l=e?`; path=${e}`:"",o=i?`; domain=${i}`:"";document.cookie=`${t}=; ${n}${l}${o}`,console.log(`\u5DF2\u5C1D\u8BD5\u5220\u9664Cookie: ${t}`)}function Zn(t){const i=atob(t).split("").map(function(o){return o.charCodeAt(0)}),n=new Uint8Array(i),l=Ko.inflate(n,{to:"string"});return JSON.parse(l)}let vn=null;const ll={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class al{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,vn)return vn;vn=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?ll[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let jt=null;const sl={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{jt||(jt=new al),n&&jt.setApiUrl(n),jt.setAppId(t),jt.setTenantId(e),jt.setEnv(i)},getDetail:t=>{if(!jt)return;const e=jt.getTenantId(),i=jt.getAppId(),n=jt.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>mt(void 0,void 0,void 0,function*(){var o,a;const d=yield l.json(),s=Zn((o=d?.data)===null||o===void 0?void 0:o.data);if(s){const{$store:c}=yield Gn(n,(a=s?.dataSource)!==null&&a!==void 0?a:[]);d.data.data=s,Object.assign(d.data.data,{__STORE__:c})}return d}))},getSxpDetailByPageId:t=>mt(void 0,void 0,void 0,function*(){if(!jt)return;const e=jt.getTenantId(),i=jt.getAppId(),n=jt.getApiUrl();return fetch(`${n}/storefront/v1/page/build?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>mt(void 0,void 0,void 0,function*(){var o;const a=yield l.json();return a.success?(o=a?.data)===null||o===void 0?void 0:o.map(s=>Object.assign(Object.assign({},s),{data:Zn(s?.data)})):void 0}))}),getSxpRecommendVideoData:t=>mt(void 0,void 0,void 0,function*(){if(!jt)return;const e=yield tl(jt,t),i=qi(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ui(n)&&(n=qi(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const l=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(o=>o.json());return l?.data||null})};function ai(){return Ii(co)}function rl(){return Ii(ro)}const pn="feRealSessionIdKey",Kn=()=>{const t=nl();return`${Date.now()}${t}`},dl=()=>{let t=cl();return t||(t=Kn(),window.localStorage.setItem(pn,t)),t},mn=()=>{const t=Kn();window.localStorage.setItem(pn,t)},cl=()=>window.localStorage.getItem(pn),Jn="SXP_FAKE_USER_ID",Qn="FAKE_USER_STATE",$n="AGREE_POLICY",eo="SLIDE_SKIP_STATE",to="CCONTSENT_STATE",io="USER_CONSENT_RESULT",ul=()=>{let t=window.localStorage.getItem(Jn);return ui(t)&&(t=qi(36,62),window.localStorage.setItem(Jn,t)),t},vl=()=>{const t=window.localStorage.getItem(Qn);return ui(t)&&window.localStorage.setItem(Qn,"true"),ui(t)},pl=()=>{const t=window.localStorage.getItem(eo);return ui(t)},ml=()=>{window.localStorage.setItem(eo,"true")},fl=()=>{const t=window.localStorage.getItem(to);return ui(t)&&window.localStorage.setItem(to,"true"),ui(t)},no=()=>window.localStorage.getItem(io)==="true",oo=()=>{window.localStorage.setItem(io,"true")};function Lt(t,e){const{appDomain:i}=Ge();return we(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Ct=new Qo;var xt;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(xt||(xt={}));const hl=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:l,privacy_policy_title:o})=>{const{setIsAgreePolicy:a,bffEventReport:d}=Ge(),s=we(()=>{var A;const f=location.search.slice(1),p={};(A=pi(f.replace(/\+/g,"%2B")))===null||A===void 0||A.map(b=>{const m=b.split("=")[0],S=b.split("=")[1];p[m]=S});for(const b in p)p[b]=p[b].replace(/%2B/g,"+");return p},[]),c=A=>{var f;return(f=s[A])!==null&&f!==void 0?f:null};ce(()=>{d?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const r=()=>{d?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),a?.(!0),window.localStorage.setItem($n,"yes")};return u.createElement("div",{className:"consent-bg"},u.createElement("div",{className:"consent"},u.createElement("div",{className:"consent-col"},u.createElement("div",{className:"consent-title"},i??"Privacy Policy"),u.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),u.createElement("div",{className:"consent-col"},u.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:r},"Agree"),u.createElement("a",{className:"consent-policy",target:"_blank",href:l?`https://${l}`:void 0},o??"More information"))))};var Al=je(hl);const lo=ki({rtcList:[],tagList:[]});var fn;(function(t){t[t.BFF=5]="BFF"})(fn||(fn={}));const Yi="FOR U",bl=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:o,isPreview:a=!1,sxpParameter:d,appDomain:s,hashTagSize:c,loadingImage:r,isOpenHashTag:A=!1,enabledMetaConversionApi:f=!1,consentHeight:p,consentWidth:b,isOpenConsent:m=!1,isEditor:S=!1,utmParameter:v,channelQueryList:g,data:h,dataList:w,isDiyH5:C,onUpdateSchema:P,onUpdateChannel:V})=>{var j,x,T,R,I;const[N,E]=Z([]),[y,F]=Z([]),[D,B]=Z(!0),[O,k]=Z({rtc:"",requestId:""}),M=fe(null),X=fe(!1),[U,q]=Z(()=>!!window.localStorage.getItem($n)),[$,be]=Z(),[ue,J]=Z(),[Pe,De]=Z(A),[Xe,me]=Z([]),[ve,et]=Z(0),[_e,Ze]=Z(!1),[$e,dt]=Z(null),tt=fe(),Le=fe(),ot=fe(),[Pt,He]=Z(Yi),qe=fe(-1),Ye=fe(null),[K,te]=Z(!1),[_,ae]=Z((x=(j=h?.data)===null||j===void 0?void 0:j.sxpPageConf)===null||x===void 0?void 0:x.globalConfig),[Ie,Ee]=Z(),[ee,W]=Z(!1),[We,lt]=Z(),[it,ct]=Z(),[nt,Ue]=Z([]),[at,ht]=Z(),[St,Yt]=Z(),Rt=we(()=>Ie??h,[Ie,h]),Et=fe(!1);ce(()=>{var z,H;ae((H=(z=h?.data)===null||z===void 0?void 0:z.sxpPageConf)===null||H===void 0?void 0:H.globalConfig)},[h]);const It=we(()=>{var z,H,ie,ye;return(((ye=(ie=(H=(z=_?.consent)===null||z===void 0?void 0:z[0])===null||H===void 0?void 0:H.item)===null||ie===void 0?void 0:ie.props)===null||ye===void 0?void 0:ye.privacy_necessity)&&!U&&!S||m)&&ee},[U,_,m,S,ee]),Kt=de(z=>{V?.(z),ct(z)},[]),Tt=de(z=>{var H;const ie=z?.recList;return(H=ie?.map(pe=>{var he,Se,ke,Ce,Be,L;if(!((he=pe?.video)===null||he===void 0)&&he.bindProducts&&((ke=(Se=pe?.video)===null||Se===void 0?void 0:Se.bindProducts)===null||ke===void 0?void 0:ke.length)>0){const Y=(L=(Be=(Ce=pe?.video)===null||Ce===void 0?void 0:Ce.bindProducts)===null||Be===void 0?void 0:Be.filter(G=>!!G?.bindCta))!==null&&L!==void 0?L:[];return Object.assign(Object.assign({},pe),{video:Object.assign(Object.assign({},pe?.video),{bindProducts:Y})})}return pe}))!==null&&H!==void 0?H:[]},[]);ce(()=>{let z;return nt.length>0&&(z=setInterval(()=>{const ie=new Date,ye=15*1e3;Ue(pe=>pe.filter(he=>ie-he.time<=ye))},1e3)),()=>{clearInterval(z)}},[nt]),ce(()=>{const z=H=>{tt.current=H};return Ct.on(xt.CHANGE_THEME_TAG,z),()=>{Ct.off(xt.CHANGE_THEME_TAG,z)}},[]),ce(()=>{De(A)},[A]);const Ke=we(()=>e?.find(z=>z.type===fn.BFF),[e]),Oe=we(()=>{var z;return((z=Ke?.headers)===null||z===void 0?void 0:z["x-app-id"])+ul()},[Ke]),ge=()=>{var z,H;function ie(he){const Se=he.match(/groups=([^&]+)/);if(!Se||!Se[1])return!1;const Ce=Se[1].split(",");for(const Be of Ce){const[L,Y]=Be.split(":");if(L==="4")return Y==="0"}return!1}function ye(he){var Se;const Ce=`; ${document.cookie}`.split(`; ${he}=`);return Ce.length===2?(Se=Ce.pop())===null||Se===void 0?void 0:Se.split(";").shift():""}const pe=decodeURIComponent((z=ye("OptanonConsent"))!==null&&z!==void 0?z:"");return!!(window?.OnetrustActiveGroups&&((H=window?.OnetrustActiveGroups)===null||H===void 0?void 0:H.length)>2&&!window?.OnetrustActiveGroups.includes("4")&&ie(pe))},xe=de((z,H,ie=!0)=>{var ye;if(!Ke)return;const pe=Ke.url;if(H?.query){const Se=qn.stringify(H.query);z=`${z}?${Se}`}const he=location.search.slice(1);return(ye=pi(he))===null||ye===void 0||ye.forEach(Se=>{Se.split("=")[0],Se.split("=")[1]}),window.fetch(`${pe}/api/${z}`,Object.assign({headers:Object.assign({"Content-Type":"application/json","x-user-id":Oe},Ke.headers),method:H.method,body:H.type==="beacon"&&ie?JSON.stringify({body:btoa(encodeURIComponent(JSON.stringify(Object.assign(Object.assign(Object.assign({},H.body),Ke.headers),{"x-user-id":Oe}))))}):JSON.stringify(H.body)},H.type==="beacon"&&{keepalive:!0})).then(Se=>Se.json()).catch(Se=>Promise.reject(Se))},[Ke,Oe]),bt=de(z=>{var H;if(ge())return Promise.resolve();const ie={eventName:z?.eventName,eventSource:z?.eventSource};return xe?.(`v1/data/collect/${(H=Ke?.headers)===null||H===void 0?void 0:H["x-app-id"]}/${z?.eventName}`,{method:"POST",body:ie,type:"beacon"},!1)},[xe,Ke]);ce(()=>{const z=window.Image;window.Image=function(){const H=new z,ie=Object.getOwnPropertyDescriptor(HTMLImageElement.prototype,"src");return Object.defineProperty(H,"src",{set(ye){if(!(ge()&&(ye.includes("https://www.facebook.com/privacy_sandbox/pixel/register/trigger/")||ye.includes("https://www.facebook.com/tr")))&&(ie.set.call(this,ye),ye.includes("https://www.facebook.com/privacy_sandbox/pixel/register/trigger/"))){const pe=new URL(ye),he=Object.fromEntries(pe.searchParams.entries());bt({eventName:he?.ev,eventSource:"Meta Pixel"})}},get(){return ie.get.call(this)}}),H}},[bt]),ce(()=>{const z=navigator;if(!z.sendBeacon){console.warn("navigator.sendBeacon is not supported");return}const H=z.sendBeacon.bind(z);return z.sendBeacon=function(ie,ye){const pe=ie instanceof URL?ie.href:ie.toString();if(ge()&&(pe.includes("https://tr.snapchat.com/p")||pe.includes("https://analytics.tiktok.com/api/v2/pixel")))return!0;const he=H(ie,ye);function Se(ke){return mt(this,void 0,void 0,function*(){return typeof ke=="string"?JSON.parse(ke):ke instanceof Blob?JSON.parse(yield ke.text()):ke instanceof ArrayBuffer?JSON.parse(new TextDecoder().decode(ke)):null})}return he&&Promise.resolve().then(()=>mt(this,void 0,void 0,function*(){var ke,Ce;try{const Be=yield Se(ye);pe.includes("https://tr.snapchat.com/p")?(Ce=(ke=Be?.req)===null||ke===void 0?void 0:ke.forEach)===null||Ce===void 0||Ce.call(ke,L=>{var Y,G;!((Y=L?.t)===null||Y===void 0)&&Y.ev&&bt({eventName:(G=L?.t)===null||G===void 0?void 0:G.ev,eventSource:"Snapchat Pixel"})}):pe.includes("https://analytics.tiktok.com/api/v2/pixel")&&Be?.event&&bt({eventName:Be.event,eventSource:"TikTok Pixel"})}catch(Be){console.error("\u76D1\u63A7\u5931\u8D25:",Be)}})),he},()=>{z.sendBeacon=H}},[bt]),ce(()=>{const z=window.fetch;window.fetch=function(H,ie){var ye=arguments;return mt(this,void 0,void 0,function*(){var pe;let he;try{he=typeof H=="string"?H:H instanceof URL?H.href:H.url}catch(Se){return console.error("\u89E3\u6790\u8BF7\u6C42URL\u5931\u8D25:",Se),z.apply(this,ye)}try{if(ge()&&(he.includes("https://www.google-analytics.com/g/collect")||he.includes("https://arms-retcode.aliyuncs.com/r.png")))return Promise.resolve(new Response(""));const Se=z.apply(this,ye);if(he.includes("https://www.google-analytics.com/g/collect")){const ke=new URL(he),Ce=Object.fromEntries(ke.searchParams.entries()),Be=(pe=ye[1])===null||pe===void 0?void 0:pe.body;if(Ce?.en)bt({eventName:Ce?.en,eventSource:"Google Analytics"});else if(Be){const Y=function(G){if(typeof G!="string")return[];const Q=[],re=/en=([^&\r\n]*)/g;let ne;for(;(ne=re.exec(G))!==null;)Q.push(decodeURIComponent(ne[1]));return Q}(Be);Y?.forEach(G=>{bt({eventName:G,eventSource:"Google Analytics"})})}}return Se}catch(Se){throw console.error(Se),Se}})}},[bt]),ce(()=>{const z=XMLHttpRequest.prototype.open,H=XMLHttpRequest.prototype.send;return XMLHttpRequest.prototype.open=function(ie,ye){this._url=ye,z.apply(this,arguments)},XMLHttpRequest.prototype.send=function(ie){var ye;if(!(ge()&&this._url&&typeof this._url=="string"&&(this._url.includes("https://rumcollector.uptime.com")||this._url.includes("https://arms-retcode.aliyuncs.com/r.png")||this._url.includes("https://i.giesswein.com/nb-collector")))){if(this._url&&typeof this._url=="string"&&this._url.includes("https://i.giesswein.com/nb-collector")&&ie&&typeof ie=="string")try{const pe=JSON.parse(ie);if(pe&&Array.isArray(pe.data)){const he=pe.data[((ye=pe.data)===null||ye===void 0?void 0:ye.length)-1];he&&he.e&&bt({eventName:he.e,eventSource:"Northbeam Pixel"})}}catch(pe){console.error("Failed to parse Northbeam event from XHR",pe)}H.apply(this,arguments)}},()=>{XMLHttpRequest.prototype.open=z,XMLHttpRequest.prototype.send=H}},[bt]),ce(()=>{typeof window?.fbq=="function"&&window?.fbq("track","PageView")},[]);const Gt=de((z,H)=>{if(!Ke)return;const ie=Ke.url;if(H?.query){const ye=qn.stringify(H.query);z=`${z}?${ye}`}return window.fetch(`${ie}/admin/${z}`,{headers:Object.assign({"Content-Type":"application/json"},Ke.headers),method:H.method,body:JSON.stringify(H.body)}).then(ye=>ye.json()).catch(ye=>Promise.reject(ye))},[Ke]),Ut=de(z=>mt(void 0,void 0,void 0,function*(){var H,ie,ye,pe,he,Se,ke,Ce,Be,L,Y,G,Q,re;if(z=Object.assign(Object.assign({maxSize:(H=z?.maxSize)!==null&&H!==void 0?H:l,defaultSize:(ie=z?.defaultSize)!==null&&ie!==void 0?ie:o,hashTag:z?.hashTag,traceInfo:z?.traceInfo,themeTag:z?.themeTag,pageNum:z?.pageNum,contentFilter:z?.contentFilter,productFilter:z?.productFilter},St&&{chatlabsId:St}),C&&{type:"story"}),it)z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(it)});else if(i){const oe=(he=(pe=(ye=pi(i))===null||ye===void 0?void 0:ye.filter(se=>{var Ae,Fe;const Te=se.split("=")[0];return(Fe=(Ae=v?.channels)!==null&&Ae!==void 0?Ae:[])===null||Fe===void 0?void 0:Fe.includes(Te)}))===null||pe===void 0?void 0:pe.join("&"))!==null&&he!==void 0?he:"";oe&&(z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(oe)}))}if(S){let oe=1;if(z=Object.assign(Object.assign(Object.assign({},z),{directPage:!0,level:1}),!i&&g&&g?.length>0&&{channel:g?.[0]}),!z?.channel||X.current)return;X.current=!0;let se=[],Ae=null;const Fe=Te=>mt(void 0,void 0,void 0,function*(){var Ne,ft,ut,vt,pt,st;if(Te.pageNum=oe,Ae=yield Gt?.("recommend/direct_page",{method:"POST",body:Te}),!Ae?.success)return;B(!1),se=se.concat((vt=(ut=(ft=(Ne=Ae?.data)===null||Ne===void 0?void 0:Ne.recList)===null||ft===void 0?void 0:ft.filter)===null||ut===void 0?void 0:ut.call(ft,Je=>Je?.product||Je?.video))!==null&&vt!==void 0?vt:[]),N?.length===0&&(E(Tt(Object.assign(Object.assign({},Ae?.data),{recList:se}))),me(Tt(Object.assign(Object.assign({},Ae?.data),{recList:se})))),((st=(pt=Ae?.data)===null||pt===void 0?void 0:pt.recList)===null||st===void 0?void 0:st.some(Je=>Je?.product||Je?.video))&&(oe=oe+1,yield Fe(Te))});return yield Fe(z),!z?.hashTag&&Ae&&k({rtc:(Se=Ae?.data)===null||Se===void 0?void 0:Se.rtc,requestId:(ke=Ae?.data)===null||ke===void 0?void 0:ke.requestId}),Object.assign(Object.assign({},Ae?.data),{recList:se})}_?.enablePreview&&(z=Object.assign(Object.assign({},z),{directPage:!0,level:1,pageNum:(Ce=z?.pageNum)!==null&&Ce!==void 0?Ce:1}));const ne=yield xe?.("v1/recommend/list",{method:"POST",body:z});if(!ne?.success)return;z?.hashTag||k({rtc:ne.data.rtc,requestId:ne.data.requestId}),_?.enablePreview&&!S&&(!((L=(Be=ne?.data)===null||Be===void 0?void 0:Be.recList)===null||L===void 0)&&L.some(se=>se?.product||se?.video)||te(!0));let le=[];return le=le.concat((re=(Q=(G=(Y=ne?.data)===null||Y===void 0?void 0:Y.recList)===null||G===void 0?void 0:G.filter)===null||Q===void 0?void 0:Q.call(G,oe=>oe?.product||oe?.video))!==null&&re!==void 0?re:[]),Object.assign(Object.assign({},ne.data),{recList:le})}),[xe,i,l,o,g,it,St,Gt]),ln=de(z=>mt(void 0,void 0,void 0,function*(){var H,ie,ye,pe;if(N.length<=0)return;const he=N?.[N?.length-1],Se=yield Ut(Object.assign(Object.assign(Object.assign(Object.assign({hashTag:ue?.hashTag},((H=he?.product)===null||H===void 0?void 0:H.itemId)&&{productFilter:[(ie=he?.product)===null||ie===void 0?void 0:ie.itemId]}),((ye=he?.video)===null||ye===void 0?void 0:ye.itemId)&&{contentFilter:[(pe=he?.video)===null||pe===void 0?void 0:pe.itemId]}),{themeTag:tt.current}),_?.enablePreview&&!S&&{pageNum:z}));return E(N.concat(Tt(Se))),me(Xe.concat(Tt(Se))),Se}),[Ut,N,ue,Xe]),fi=de((z,H)=>{var ie,ye,pe,he,Se;let ke=!1;const Ce=(ye=(ie=h?.data)===null||ie===void 0?void 0:ie.sxpPageConf)===null||ye===void 0?void 0:ye.globalConfig;if(!((pe=Ce?.session)===null||pe===void 0)&&pe.enable){const Be=localStorage.getItem("sessionStartTime"),L=Be?JSON.parse(Be):new Date().getTime();Math.floor((new Date().getTime()-L)/1e3/60)>=((Se=(he=Ce?.session)===null||he===void 0?void 0:he.expires)!==null&&Se!==void 0?Se:30)&&(H?.("sessionTimeOut"),mn(),Le.current=new Date,ke=!0),localStorage.setItem("sessionStartTime",JSON.stringify(new Date().getTime()))}else z&&mn();return ke},[h]),wt=de(({userInfo:z,eventInfo:H,reportLayId:ie=!0,isActiveTargetingCookie:ye=!0})=>{var pe,he;if(!n||_?.enablePreview||ye&&ge())return;z||(z={});const Se=dl(),ke={},Ce=location.search.slice(1);(pe=pi(Ce))===null||pe===void 0||pe.forEach(Q=>{const re=Q.split("=")[0],ne=Q.split("=")[1];ke[re]=ne});const Be=ke?.cl_source,L=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({sessionID:Se,rtc:O.rtc,requestId:O.requestId},{playbookType:at}),We&&ie&&{layoutVariantId:We}),H),H?.position&&it&&{position:Number(H?.position)+1+""}),Be&&{clSource:Be}),Y=Object.entries(z).map(([Q,re])=>({name:Q,value:re})),G=Object.entries(L).map(([Q,re])=>re&&{name:Q,value:re}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",L),console.log("========= \u7ED3\u675F ========="),xe?.(`v2/cld/${(he=Ke?.headers)===null||he===void 0?void 0:he["x-app-id"]}/${H?.eventSubject}${Be?`/${decodeURIComponent(Be)}`:""}`,{method:"POST",body:{userInfo:Y,eventInfo:G},type:"beacon"})},[xe,O,n,_?.enablePreview,We,_,at,Ke]),di=de((z,H)=>{var ie,ye,pe;const he=bi(z),Se=new URLSearchParams(window.location.search),ke=Se?.get("fbclid"),Ce={event_source_url:(ie=window?.location)===null||ie===void 0?void 0:ie.href,external_id:Oe,client_user_agent:(pe=(ye=window?.navigator)===null||ye===void 0?void 0:ye.userAgent)!==null&&pe!==void 0?pe:"",fbc:ke?`fb.2.${new Date().getTime()}.${ke}`:"",fbp:cn("_fbp")?`${cn("_fbp")}`:"",time:Math.floor(Date.now()/1e3)},Be=/\{\{(.*?)\}\}/g,L=Y=>{if(Y){if(Y instanceof Array)Y?.map(G=>L(G));else for(const G in Y)if(Object.prototype.hasOwnProperty.call(Y,G)){const Q=Y?.[G];if(typeof Q=="object")L(Q);else if(typeof Q=="string"){const re=Q?.match(Be);re&&re.forEach(ne=>{var le;const oe=ne.substring(2,ne.length-2);try{let se=new Function("fix_par","product",`return ${oe}`)(Ce,H);se?(oe?.indexOf("currency")!==-1&&se?.indexOf("-")!==-1&&typeof se=="string"&&(se=(le=se?.split("-"))===null||le===void 0?void 0:le[0]),Y[G]=se):delete Y[G]}catch(se){delete Y[G],console.error("An error occurred:",se?.message)}})}}}};return L(he),he},[Oe]),zi=de(({eventName:z,product:H})=>{var ie,ye,pe,he,Se,ke,Ce,Be,L,Y;if(!n||_?.enablePreview||ge())return;let G=!1;const Q=(ie=_?.pixel)===null||ie===void 0?void 0:ie[z];if(Q?.event_name&&typeof window?.fbq=="function"){let le=function(oe,se,Ae){const Fe=new RegExp("([?&])"+se+"=.*?(&|$)","i"),Te=oe.indexOf("?")!==-1?"&":"?";return oe.match(Fe)?oe.replace(Fe,"$1"+se+"="+Ae+"$2"):oe+Te+se+"="+Ae};if(z==="PageView"&&Q?.event_name==="PageView")if(!Et.current)Et.current=!0;else{const oe=window.location.href,se=le(oe,"timestamp",Date.now());history.pushState({path:se},"",se),G=!0}else window?.fbq("track",Q?.event_name,di(Q,H))}if(!G){z==="PageView"&&typeof window?.gtag=="function"&&window?.gtag("event","page_view");const le=(ye=_?.tiktokPixel)===null||ye===void 0?void 0:ye[z];le?.event_name&&typeof window?.ttq=="object"&&typeof((pe=window?.ttq)===null||pe===void 0?void 0:pe.track)=="function"&&((he=window?.ttq)===null||he===void 0||he.track(le?.event_name,di(le,H)))}const re=(Se=_?.snapchatPixel)===null||Se===void 0?void 0:Se[z];re?.event_name&&typeof window?.snaptr=="function"&&window?.snaptr("track",re?.event_name,di(re,H)),z==="PageView"&&typeof window?.Northbeam=="object"&&typeof((ke=window?.Northbeam)===null||ke===void 0?void 0:ke.trackPageView)=="function"&&((Ce=window?.Northbeam)===null||Ce===void 0||Ce.trackPageView());const ne=(Be=_?.converApi)===null||Be===void 0?void 0:Be[z];if(f&&ne){const le=di(ne,H),oe={},se=location.search.slice(1);(L=pi(se))===null||L===void 0||L.forEach(Fe=>{const Te=Fe.split("=")[0],Ne=Fe.split("=")[1];oe[Te]=Ne});const Ae=oe?.cl_source;xe?.(`v2/fb/${(Y=Ke?.headers)===null||Y===void 0?void 0:Y["x-app-id"]}/${z}${Ae?`/${decodeURIComponent(Ae)}`:""}`,{method:"POST",body:le,type:"beacon"})}},[xe,n,f,_,Ke,di]),oi=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/recommend/like",{method:"POST",body:z});return H?.success}),[xe]),hi=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/recommend/unlike",{method:"POST",body:z});return H?.success}),[xe]),li=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/customform",{method:"POST",body:z});return H?.success}),[xe]),Xt=de(z=>mt(void 0,void 0,void 0,function*(){var H,ie,ye,pe,he,Se,ke,Ce;const Be=!!(!((ye=(ie=(H=z?.data)===null||H===void 0?void 0:H.sxpPageConf)===null||ie===void 0?void 0:ie.globalConfig)===null||ye===void 0)&&ye.isShowTag);if(!(!i||!Be))try{const L=(Se=(he=(pe=pi(i))===null||pe===void 0?void 0:pe.filter(G=>{var Q,re;const ne=G.split("=")[0];return(re=(Q=v?.channels)!==null&&Q!==void 0?Q:[])===null||re===void 0?void 0:re.includes(ne)}))===null||he===void 0?void 0:he.join("&"))!==null&&Se!==void 0?Se:"",Y=yield xe?.("v1/tag/list",{method:"GET",query:{channel:decodeURIComponent(L)}});F((Ce=(ke=Y?.data)===null||ke===void 0?void 0:ke.tags)!==null&&Ce!==void 0?Ce:[])}catch(L){console.log("e",L)}}),[xe,i]),_t=de((z,H,ie,ye)=>{var pe,he,Se,ke,Ce,Be,L,Y,G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt,Re,Me,Bt,Dt,Ai,At,ci,sn,rn;const $t=ie?.bindCta,_o=((pe=H?.video)===null||pe===void 0?void 0:pe.bindProduct)||((he=H?.video)===null||he===void 0?void 0:he.bindProducts)&&((ke=(Se=H?.video)===null||Se===void 0?void 0:Se.bindProducts)===null||ke===void 0?void 0:ke.length)>0;let Xi="",dn=null;_e?Xi="hashTagPage":!((Ce=H?.video)===null||Ce===void 0)&&Ce.url?(Xi="videoPage",dn="video"):!((L=(Be=H?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||L===void 0)&&L.length&&(Xi="imagePage",dn="image");const zn=(oe=(ne=(Y=ie?.tags)!==null&&Y!==void 0?Y:(re=(Q=(G=H?.video)===null||G===void 0?void 0:G.bindProducts)===null||Q===void 0?void 0:Q[0])===null||re===void 0?void 0:re.tags)!==null&&ne!==void 0?ne:(le=H?.video)===null||le===void 0?void 0:le.tags)!==null&&oe!==void 0?oe:(se=H?.product)===null||se===void 0?void 0:se.tags;wt?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(Ae=$t?.itemId)!==null&&Ae!==void 0?Ae:"",ctaName:(Fe=$t?.title)!==null&&Fe!==void 0?Fe:"",contentTags:zn?JSON.stringify(zn):"",position:ye+"",contentId:(Ne=(Te=H?.video)===null||Te===void 0?void 0:Te.itemId)!==null&&Ne!==void 0?Ne:"",productId:_o?ie?.itemId:"",traceInfo:(sn=(Ai=(kt=(pt=(ft=$t?.traceInfo)!==null&&ft!==void 0?ft:(vt=(ut=H?.video)===null||ut===void 0?void 0:ut.bindCta)===null||vt===void 0?void 0:vt.traceInfo)!==null&&pt!==void 0?pt:(Je=(gt=(st=H?.video)===null||st===void 0?void 0:st.bindProduct)===null||gt===void 0?void 0:gt.bindCta)===null||Je===void 0?void 0:Je.traceInfo)!==null&&kt!==void 0?kt:(Dt=(Bt=(Me=(Re=H?.video)===null||Re===void 0?void 0:Re.bindProducts)===null||Me===void 0?void 0:Me[0])===null||Bt===void 0?void 0:Bt.bindCta)===null||Dt===void 0?void 0:Dt.traceInfo)!==null&&Ai!==void 0?Ai:(ci=(At=H?.product)===null||At===void 0?void 0:At.bindCta)===null||ci===void 0?void 0:ci.traceInfo)!==null&&sn!==void 0?sn:"",fromKName:Xi,fromKPage:(rn=location?.href)!==null&&rn!==void 0?rn:"",contentFormat:dn})})},[wt,_e]),Ot=de(()=>{var z,H,ie;const ye=location.search.slice(1),pe={};(z=pi(ye.replace(/\+/g,"%2B")))===null||z===void 0||z.map(ke=>{const Ce=ke.split("=")[0],Be=ke.split("=")[1];pe[Ce]=Be});for(const ke in pe)pe[ke]=pe[ke].replace(/%2B/g,"+");const he=ke=>{var Ce;return(Ce=pe[ke])!==null&&Ce!==void 0?Ce:""},Se=new Date;Le.current=Se,wt?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:he("utm_source"),utmMedium:he("utm_medium"),utmCampaign:he("utm_campaign"),utmId:he("utm_id"),utmContent:he("utm_content"),enterTime:Math.floor(Se/1e3)+"",requestId:null,enterUrl:(ie=(H=window?.location)===null||H===void 0?void 0:H.href)!==null&&ie!==void 0?ie:""},reportLayId:!1})},[wt]),an=de(()=>mt(void 0,void 0,void 0,function*(){var z,H;const ie=yield xe?.("v1/account",{method:"GET"});return Yt((z=ie?.data)===null||z===void 0?void 0:z.chatLabsId),((H=ie?.data)===null||H===void 0?void 0:H.consentResult)==="true"}),[xe]),Hi=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/account/consent",{method:"POST",body:{consentResult:z}});return H?.success}),[xe]);ce(()=>{It||Ot()},[It]),ce(()=>{if(It||a)return;B(!0);let z,H;Ut().then(ie=>{var ye,pe,he,Se,ke,Ce,Be,L,Y,G,Q;if(ie){const re=Tt(ie);let ne,le;if(ie?.layoutVariantId){z=ie?.layoutVariantId,lt(ie?.layoutVariantId);const oe=(pe=(ye=ie?.layoutVariantId)===null||ye===void 0?void 0:ye.split("-"))===null||pe===void 0?void 0:pe[1];oe&&(ne=w?.find(se=>se?.id===oe),ne?(Ee(ne),document.title=(he=ne?.name)!==null&&he!==void 0?he:"home",le=(ke=(Se=ne?.data)===null||Se===void 0?void 0:Se.sxpPageConf)===null||ke===void 0?void 0:ke.globalConfig,ae(le),P?.(ne?.data),!((Y=(L=(Be=(Ce=le?.consent)===null||Ce===void 0?void 0:Ce[0])===null||Be===void 0?void 0:Be.item)===null||L===void 0?void 0:L.props)===null||Y===void 0)&&Y.privacy_necessity&&W(!0)):W(!0))}else W(!0);if(it||(le?.playbook==="organic menu"||!le&&_?.playbook==="organic menu"?(ht("organicMenu"),re.unshift("organic menu"),H="organicMenu"):(ht("paidMedia"),H="paidMedia")),E(re),me(re),Xt(ne??Rt),it){const oe=re?.[0],se=((G=oe?.video)===null||G===void 0?void 0:G.traceInfo)||((Q=oe?.product)===null||Q===void 0?void 0:Q.traceInfo)||"";wt?.({eventInfo:Object.assign({eventSubject:"multiPostClick",eventDescription:"multiPostClick",traceInfo:se,branchfeed:it},z&&{layoutVariantId:z})}),wt?.({eventInfo:Object.assign({eventSubject:"endMultiPost",eventDescription:"endMultiPost",contentFormat:"image",position:"0",traceInfo:se,nextStep:"multipostClick",timeOnSite:Math.floor((new Date-ot?.current)/1e3)+""},z&&{layoutVariantId:z})})}}}).finally(()=>{wt({eventInfo:Object.assign(Object.assign({eventSubject:"apiRequest",eventDescription:"api request succeed"},z&&{layoutVariantId:z}),H&&{playbookType:H})}),B(!1)})},[It,it]),ce(()=>{a&&(B(!0),Xt(h),Ut().then(z=>{if(z){const H=Tt(z);_?.playbook==="organic menu"&&!it&&H.unshift("organic menu"),E(H),me(H)}}).finally(()=>{B(!1)}))},[Ut,Xt,it]);const Ui=Lt("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",s);return u.createElement(lo.Provider,{value:{rtcList:N,setRtcList:E,mutateLike:oi,mutateUnlike:hi,submitForm:li,popupDetailData:$,loadVideos:ln,setPopupDetailData:be,getRecommendVideos:Ut,bffEventReport:wt,isPreview:a,loading:D,sxpParameter:d,waterFallData:ue,setWaterFallData:J,ctaEvent:_t,swiperRef:M,openHashtag:Pe,setOpenHashtag:De,cacheRtcList:Xe,setCacheRtcList:me,cacheActiveIndex:ve,setCacheActiveIndex:et,isFromHashtag:_e,setIsFromHashtag:Ze,appDomain:s,hashTagSize:c,loadingImage:r??Ui,isOpenHashTag:A,tagList:y,setLoading:B,videoRef:$e,setVideoRef:dt,bffFbReport:zi,isAgreePolicy:U,setIsAgreePolicy:q,curTime:Le,h5EnterLink:Ot,themeTag:tt,isShowConsent:It,selectTag:Pt,setSelectTag:He,globalConfig:_,popupCurTimeRef:Ye,checkCommodityIndexRef:qe,isEditor:S,isNoMoreData:K,updateChannel:Kt,channel:it,eventTimeList:nt,setEventTimeList:Ue,multiPostTimeRef:ot,refreshFeSession:fi,getAccount:an,accountSonsent:Hi,isDiyH5:C,pixelPvStatusRef:Et}},It?u.createElement(Al,Object.assign({},(I=(R=(T=_?.consent)===null||T===void 0?void 0:T[0])===null||R===void 0?void 0:R.item)===null||I===void 0?void 0:I.props)):t({rtcList:N,mutateLike:oi,mutateUnlike:hi,submitForm:li,tagList:y,pageData:Rt}))};var ao=je(bl);function Ge(){return Ii(lo)}var so;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(so||(so={}));const ro=ki({$store:{},options:[],configs:[]}),gl=({children:t,isSsr:e,enable:i})=>{const[n,l]=Z([]),{schema:o}=ai(),[a,d]=Z(o.__STORE__||{}),[s,c]=Z([]);ce(()=>{var f;e||Hn(s,o?.dataSource)||c((f=o?.dataSource)!==null&&f!==void 0?f:[])},[o?.dataSource,e]);const r=de(()=>mt(void 0,void 0,void 0,function*(){const{$store:f,idMapName:p}=yield Gn("",s);d(f),A(f,p)}),[s]),A=(f,p)=>{const b=[];Object.entries(f).forEach(([m,S])=>{Object.keys(S).forEach(v=>{const g={label:`${p[m]} - ${v}`,value:`{{ ${m}.${v} }}`};b.push(g)})}),l(b)};return ce(()=>{e||r()},[r,e,o]),i?u.createElement(ro.Provider,{value:{$store:o.__STORE__||a,options:n,configs:s}},t):t};var yl=je(gl);const Gi={id:qi(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},hn={id:"",duration:0,name:"none"},co=u.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Gi],redoStack:[],popup:hn,setPopup:()=>{}}),uo=vi(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:o},a)=>{const[d,s]=Z(null),[c,r]=Z(n||{pointData:[Gi],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[A,f]=Z([Gi]),[p,b]=Z([[Gi]]),[m,S]=Z([]),[v,g]=Z(hn);typeof window<"u"&&(window.sxpPopup=(V,j)=>{g(Object.assign(Object.assign(Object.assign({},hn),{id:V}),j))}),typeof window<"u"&&(window.getJointUtmLink=V=>(ml(),V?.indexOf("?")!==-1?V+(o?"&"+o:""):V+(o?"?"+o:""))),ce(()=>{b([c.pointData]),S([])},[c.type]);const h=de(V=>{const j=bi(c);j&&(j.dataSource=V,r?.(j))},[c]),[w,C]=Z();Ci(a,()=>({loadSchema(V){V&&(b([V.pointData]),r(V))},exportSchema(){return bi(c)},getPageInfoData(){return w},initPageInfoData(V){V&&C(V)}}));const P=we(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return u.createElement(co.Provider,{value:{resolver:e,currentNode:d,schema:c,setCurrentNode:s,setSchema:r,saveDataSource:h,prePiontData:A,setPrePiontData:f,pageInfoData:w,setPageInfoData:V=>C(Object.assign(Object.assign({},w),V)),undoStack:p,redoStack:m,setRedoStack:S,setUndoStack:b,getCurPageConf:P,popup:v,setPopup:g}},u.createElement(yl,{isSsr:i,enable:l},t))});var wl=Object.freeze({__proto__:null,EditorCore:uo}),Sl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],xl=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","popupBg","borderRadius"],max:100},{type:"Number",name:["props","popupBg","borderRadius"],addonAfter:"px",max:100}]}]},{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["textStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["textStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["textStyle","color"]},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u6807\u9898\u95F4\u8DDD",type:"TextSpace",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Select",name:["props","submitButtonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","submitButtonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C\u6837\u5F0F",type:"TextStyle",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u5BF9\u9F50",type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u95F4\u8DDD",type:"TextSpace",name:["props","submitButtonStyle"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Vt(){const{bffEventReport:t,popupDetailData:e,isFromHashtag:i,eventTimeList:n,setEventTimeList:l}=Ge(),o=de((s,c,r,A,f,p)=>{var b,m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U,q,$,be,ue,J,Pe,De,Xe,me,ve,et,_e;if(n?.findIndex(Le=>Le.target===s?.target)!==-1)return;s&&l?.(Le=>[...Le,{target:s?.target,time:new Date}]);let $e="";e&&(!((m=(b=c?.video)===null||b===void 0?void 0:b.bindProducts)===null||m===void 0)&&m.length||!((S=c?.video)===null||S===void 0)&&S.bindProduct)?$e="pdpPage":i?$e="hashTagPage":!((v=c?.video)===null||v===void 0)&&v.url?$e="videoPage":!((g=c?.video)===null||g===void 0)&&g.imgUrls&&(!((w=(h=c?.video)===null||h===void 0?void 0:h.imgUrls)===null||w===void 0)&&w.length)?$e="imagePage":c?.product&&($e="productPage");const dt=(R=(x=(C=r?.tags)!==null&&C!==void 0?C:(j=(V=(P=c?.video)===null||P===void 0?void 0:P.bindProducts)===null||V===void 0?void 0:V[0])===null||j===void 0?void 0:j.tags)!==null&&x!==void 0?x:(T=c?.video)===null||T===void 0?void 0:T.tags)!==null&&R!==void 0?R:(I=c?.product)===null||I===void 0?void 0:I.tags;let tt=null;!((N=c?.video)===null||N===void 0)&&N.url?tt="video":!((E=c?.video)===null||E===void 0)&&E.imgUrls&&(!((F=(y=c?.video)===null||y===void 0?void 0:y.imgUrls)===null||F===void 0)&&F.length)&&(tt="image"),t?.({eventInfo:Object.assign({eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(D=r?.itemId)!==null&&D!==void 0?D:"",productName:(B=r?.title)!==null&&B!==void 0?B:"",price:r?.price?r?.price+"":"0",productCollection:(O=r?.collection)!==null&&O!==void 0?O:"",fromKName:$e,fromKPage:location?.href,contentTags:dt?JSON.stringify(dt):"",position:f+"",contentId:(M=(k=c?.video)===null||k===void 0?void 0:k.itemId)!==null&&M!==void 0?M:"",ctatId:(X=A?.itemId)!==null&&X!==void 0?X:"",traceInfo:(_e=(me=(De=(be=(U=p??r?.traceInfo)!==null&&U!==void 0?U:($=(q=c?.video)===null||q===void 0?void 0:q.bindProduct)===null||$===void 0?void 0:$.traceInfo)!==null&&be!==void 0?be:(Pe=(J=(ue=c?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||J===void 0?void 0:J[0])===null||Pe===void 0?void 0:Pe.traceInfo)!==null&&De!==void 0?De:(Xe=c?.product)===null||Xe===void 0?void 0:Xe.traceInfo)!==null&&me!==void 0?me:(et=(ve=c?.video)===null||ve===void 0?void 0:ve.bindCta)===null||et===void 0?void 0:et.traceInfo)!==null&&_e!==void 0?_e:""},tt&&{contentFormat:tt})})},[t,e,i,n]),a=de((s,c,r,A,f)=>{var p,b,m,S,v,g,h,w,C,P,V,j,x,T;let R="";e&&(!((b=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||b===void 0)&&b.length||!((m=s?.video)===null||m===void 0)&&m.bindProduct)?R="pdpPage":s?.product&&(R="productPage"),t?.({eventInfo:{productId:c?.itemId,productName:c?.title,price:c?.price?c?.price+"":"0",productCollection:c?.collection,fromKName:R,fromKPage:location?.href,contentTags:JSON.stringify(c?.tags),position:f+"",contentId:(S=s?.video)===null||S===void 0?void 0:S.itemId,ctatId:r?.itemId,traceInfo:(T=(j=(w=(v=c?.traceInfo)!==null&&v!==void 0?v:(h=(g=s?.video)===null||g===void 0?void 0:g.bindProduct)===null||h===void 0?void 0:h.traceInfo)!==null&&w!==void 0?w:(V=(P=(C=s?.video)===null||C===void 0?void 0:C.bindProducts)===null||P===void 0?void 0:P[0])===null||V===void 0?void 0:V.traceInfo)!==null&&j!==void 0?j:(x=s?.product)===null||x===void 0?void 0:x.traceInfo)!==null&&T!==void 0?T:"",timeOnSite:Math.floor((new Date-A)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),d=de((s,c,r,A)=>{c&&c===Yi&&t?.({eventInfo:{lastFeed:s,themeTags:r?`['${r}']`:"",hashTags:A?`['${A}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:a,backMainFeed:d}}const Tl=({layout:t,columns:e,onChange:i})=>u.createElement(u.Fragment,null,e?.map((n,l)=>u.createElement("div",{key:l,className:"pb-appoint-form-container-item",style:{flexDirection:t==="horizontal"?"row":"column"}},t!=="inline"&&u.createElement("label",{className:"pb-appoint-form-container-label"},n?.title),n?.valueType==="text"&&u.createElement("input",Object.assign({className:"pb-appoint-form-container-input",type:"text",placeholder:t==="inline"?n?.title:"\u8BF7\u8F93\u5165",name:n?.dataIndex},i&&{onChange:i})))));var El=je(Tl);const Il=t=>{var e,i,{columns:n,style:l,title:o,textStyle:a,submitBgColor:d,submitColor:s,submitText:c,layoutType:r="inline",isExternalLink:A,isPopup:f,onClick:p,onClose:b,submitButtonStyle:m}=t,S=rt(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:v,popupDetailData:g}=Ge(),{jumpToWeb:h}=Vt(),[w,C]=Z(!1),[P,V]=Z({}),[j,x]=Z(0),T=we(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),R=((e=document?.documentElement)===null||e===void 0?void 0:e.clientHeight)||((i=document?.body)===null||i===void 0?void 0:i.clientHeight),I=we(()=>bi(n)||T,[n,T]),N=de(y=>{const{name:F,value:D}=y.target;V(Object.assign(Object.assign({},P),{[F]:D}))},[P]),E=Ei(y=>mt(void 0,void 0,void 0,function*(){var F,D,B,O,k;const M=P;if(!M)return;const X=(D=(F=Object.keys(M))===null||F===void 0?void 0:F.map(q=>{var $;return{name:q,value:($=M[q])!==null&&$!==void 0?$:""}}))===null||D===void 0?void 0:D.filter(q=>q?.value);if(!X||!X?.length)return;C(!0);const U=yield v?.({attributes:X});if(C(!1),U){if(A){const q=g,$=(B=q?.video)===null||B===void 0?void 0:B.bindProduct,be=(k=(O=q?.video)===null||O===void 0?void 0:O.bindProduct)===null||k===void 0?void 0:k.bindCta,ue=g?.index;h(y,q,$,be,ue)}f||b?.(),p?.()}}),1e3);return ce(()=>{const y=()=>{var F,D;if(!navigator.userAgent.toLowerCase().includes("android"))return;(((F=document?.documentElement)===null||F===void 0?void 0:F.clientHeight)||((D=document?.body)===null||D===void 0?void 0:D.clientHeight))<R?x(50):x(0)};return window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)}},[]),u.createElement("div",{className:"pb-appoint-form"},u.createElement("div",{className:`pb-appoint-form-title ${ze(Object.assign({},a))}`,dangerouslySetInnerHTML:{__html:Ve(o,a)}}),u.createElement("div",Object.assign({className:ze(Object.assign(Object.assign({},l),{marginTop:j}))},S),u.createElement("div",{className:"pb-appoint-form-container"},u.createElement(El,{columns:I,layout:r,onChange:N}))),u.createElement("div",{className:"pb-appoint-form-btn-wrapper"},u.createElement("button",{"aria-label":c,onClick:E,className:"pb-appoint-form-btn",style:Object.assign({color:s,background:d},m),dangerouslySetInnerHTML:{__html:Ve(w?"loading...":c,m)}})))};var kl=je(Il);function yt(t,e){return t.extend=e,t}const Cl=yt(kl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:xl,bindableProps:[],interactionRender:Sl},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Pl=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","popupBg","borderRadius"],max:100},{type:"Number",name:["props","popupBg","borderRadius"],addonAfter:"px",max:100}]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]},{label:"\u95F4\u8DDD",type:"TextSpace"},{label:"\u4EF7\u683C\u5343\u5206\u7B26\u5C55\u793A",type:"Switch",name:["enableFormattedPrice"],initialValue:!0,belong:"price"}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{label:"\u82F1\u6587\u5927\u5C0F\u5199",type:"Select",name:["props","buttonStyle","textTransform"],options:[{label:"\u9ED8\u8BA4",value:"unset"},{label:"\u5C0F\u5199",value:"lowercase"},{label:"\u5927\u5199",value:"uppercase"}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","buttonStyle"]}]},{title:"Iframe\u5546\u54C1\u5F39\u7A97",child:[{label:"\u5F39\u7A97\u6309\u94AE",type:"Upload",name:["props","iframeIcon"],text:"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A72 * 30"},{label:"\u80CC\u666F\u8272",type:"Color",name:["props","iframeBgColor"]}]},{title:"\u8F6E\u64AD\u6307\u793A\u5668",child:[{label:"\u80CC\u666F\u8272",name:["props","swiper","dotsBgColor"],type:"Color",initialValue:"rgba(0,0,0,.2)"},{label:"\u9009\u4E2D\u8272",name:["props","swiper","dotsActiveColor"],type:"Color",initialValue:"rgba(0,0,0,1)"},{label:"\u5E95\u8FB9\u8DDD",name:["props","swiper","dotsMarginBottom"],type:"Number",addonAfter:"px"}]},{title:"\u5173\u95ED\u6309\u94AE",child:[{label:"\u8DDF\u968F\u5F39\u7A97\u6EDA\u52A8",type:"Switch",name:["props","enableFixedCloseButton"]}]}],Ol=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];function vo(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function An(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:vo(e[i])&&vo(t[i])&&Object.keys(e[i]).length>0&&An(t[i],e[i])})}const po={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ft(){const t=typeof document<"u"?document:{};return An(t,po),t}const Ll={document:po,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Nt(){const t=typeof window<"u"?window:{};return An(t,Ll),t}function si(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function jl(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function gi(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function qt(){return Date.now()}function Nl(t){const e=Nt();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Ml(t,e){e===void 0&&(e="x");const i=Nt();let n,l,o;const a=Nl(t);return i.WebKitCSSMatrix?(l=a.transform||a.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(d=>d.replace(",",".")).join(", ")),o=new i.WebKitCSSMatrix(l==="none"?"":l)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?l=o.m41:n.length===16?l=parseFloat(n[12]):l=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?l=o.m42:n.length===16?l=parseFloat(n[13]):l=parseFloat(n[5])),l||0}function _i(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Dl(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Wt(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Dl(n)){const l=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,a=l.length;o<a;o+=1){const d=l[o],s=Object.getOwnPropertyDescriptor(n,d);s!==void 0&&s.enumerable&&(_i(t[d])&&_i(n[d])?n[d].__swiper__?t[d]=n[d]:Wt(t[d],n[d]):!_i(t[d])&&_i(n[d])?(t[d]={},n[d].__swiper__?t[d]=n[d]:Wt(t[d],n[d])):t[d]=n[d])}}}return t}function Zi(t,e,i){t.style.setProperty(e,i)}function mo(t){let{swiper:e,targetPosition:i,side:n}=t;const l=Nt(),o=-e.translate;let a=null,d;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const c=i>o?"next":"prev",r=(f,p)=>c==="next"&&f>=p||c==="prev"&&f<=p,A=()=>{d=new Date().getTime(),a===null&&(a=d);const f=Math.max(Math.min((d-a)/s,1),0),p=.5-Math.cos(f*Math.PI)/2;let b=o+p*(i-o);if(r(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),r(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(A)};A()}function Jt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Ki(t){try{console.warn(t);return}catch{}}function yi(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:si(e)),i}function fo(t){const e=Nt(),i=Ft(),n=t.getBoundingClientRect(),l=i.body,o=t.clientTop||l.clientTop||0,a=t.clientLeft||l.clientLeft||0,d=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:n.top+d-o,left:n.left+s-a}}function Vl(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Rl(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function ri(t,e){return Nt().getComputedStyle(t,null).getPropertyValue(e)}function Pi(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ji(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function bn(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function gn(t,e,i){const n=Nt();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function Qe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}let yn;function Bl(){const t=Nt(),e=Ft();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function ho(){return yn||(yn=Bl()),yn}let wn;function Fl(t){let{userAgent:e}=t===void 0?{}:t;const i=ho(),n=Nt(),l=n.navigator.platform,o=e||n.navigator.userAgent,a={ios:!1,android:!1},d=n.screen.width,s=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let r=o.match(/(iPad).*OS\s([\d_]+)/);const A=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!r&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=l==="Win32";let b=l==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!r&&b&&i.touch&&m.indexOf(`${d}x${s}`)>=0&&(r=o.match(/(Version)\/([\d.]+)/),r||(r=[0,1,"13_0_0"]),b=!1),c&&!p&&(a.os="android",a.android=!0),(r||f||A)&&(a.os="ios",a.ios=!0),a}function Ao(t){return t===void 0&&(t={}),wn||(wn=Fl(t)),wn}let Sn;function Wl(){const t=Nt(),e=Ao();let i=!1;function n(){const d=t.navigator.userAgent.toLowerCase();return d.indexOf("safari")>=0&&d.indexOf("chrome")<0&&d.indexOf("android")<0}if(n()){const d=String(t.navigator.userAgent);if(d.includes("Version/")){const[s,c]=d.split("Version/")[1].split(" ")[0].split(".").map(r=>Number(r));i=s<16||s===16&&c<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),o=n(),a=o||l&&e.ios;return{isSafari:i||o,needPerspectiveFix:i,need3dFix:a,isWebView:l}}function zl(){return Sn||(Sn=Wl()),Sn}function Hl(t){let{swiper:e,on:i,emit:n}=t;const l=Nt();let o=null,a=null;const d=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(A=>{a=l.requestAnimationFrame(()=>{const{width:f,height:p}=e;let b=f,m=p;A.forEach(S=>{let{contentBoxSize:v,contentRect:g,target:h}=S;h&&h!==e.el||(b=g?g.width:(v[0]||v).inlineSize,m=g?g.height:(v[0]||v).blockSize)}),(b!==f||m!==p)&&d()})}),o.observe(e.el))},c=()=>{a&&l.cancelAnimationFrame(a),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},r=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){s();return}l.addEventListener("resize",d),l.addEventListener("orientationchange",r)}),i("destroy",()=>{c(),l.removeEventListener("resize",d),l.removeEventListener("orientationchange",r)})}function Ul(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=[],a=Nt(),d=function(r,A){A===void 0&&(A={});const f=a.MutationObserver||a.WebkitMutationObserver,p=new f(b=>{if(e.__preventObserver__)return;if(b.length===1){l("observerUpdate",b[0]);return}const m=function(){l("observerUpdate",b[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});p.observe(r,{attributes:typeof A.attributes>"u"?!0:A.attributes,childList:typeof A.childList>"u"?!0:A.childList,characterData:typeof A.characterData>"u"?!0:A.characterData}),o.push(p)},s=()=>{if(e.params.observer){if(e.params.observeParents){const r=Ji(e.hostEl);for(let A=0;A<r.length;A+=1)d(r[A])}d(e.hostEl,{childList:e.params.observeSlideChildren}),d(e.wrapperEl,{attributes:!1})}},c=()=>{o.forEach(r=>{r.disconnect()}),o.splice(0,o.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",s),n("destroy",c)}var Xl={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const l=i?"unshift":"push";return t.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][l](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function l(){n.off(t,l),l.__emitterProxy&&delete l.__emitterProxy;for(var o=arguments.length,a=new Array(o),d=0;d<o;d++)a[d]=arguments[d];e.apply(n,a)}return l.__emitterProxy=e,n.on(t,l,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((l,o)=>{(l===e||l.__emitterProxy&&l.__emitterProxy===e)&&i.eventsListeners[n].splice(o,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var l=arguments.length,o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],i=o.slice(1,o.length),n=t):(e=o[0].events,i=o[0].data,n=o[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(c=>{c.apply(n,i)})}),t}};function ql(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(ri(n,"padding-left")||0,10)-parseInt(ri(n,"padding-right")||0,10),i=i-parseInt(ri(n,"padding-top")||0,10)-parseInt(ri(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Yl(){const t=this;function e(T,R){return parseFloat(T.getPropertyValue(t.getDirectionLabel(R))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:o,rtlTranslate:a,wrongRTL:d}=t,s=t.virtual&&i.virtual.enabled,c=s?t.virtual.slides.length:t.slides.length,r=Jt(l,`.${t.params.slideClass}, swiper-slide`),A=s?t.virtual.slides.length:r.length;let f=[];const p=[],b=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let S=i.slidesOffsetAfter;typeof S=="function"&&(S=i.slidesOffsetAfter.call(t));const v=t.snapGrid.length,g=t.slidesGrid.length;let h=i.spaceBetween,w=-m,C=0,P=0;if(typeof o>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*o:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,r.forEach(T=>{a?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Zi(n,"--swiper-centered-offset-before",""),Zi(n,"--swiper-centered-offset-after",""));const V=i.grid&&i.grid.rows>1&&t.grid;V?t.grid.initSlides(r):t.grid&&t.grid.unsetSlides();let j;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(T=>typeof i.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<A;T+=1){j=0;let R;if(r[T]&&(R=r[T]),V&&t.grid.updateSlide(T,R,r),!(r[T]&&ri(R,"display")==="none")){if(i.slidesPerView==="auto"){x&&(r[T].style[t.getDirectionLabel("width")]="");const I=getComputedStyle(R),N=R.style.transform,E=R.style.webkitTransform;if(N&&(R.style.transform="none"),E&&(R.style.webkitTransform="none"),i.roundLengths)j=t.isHorizontal()?gn(R,"width",!0):gn(R,"height",!0);else{const y=e(I,"width"),F=e(I,"padding-left"),D=e(I,"padding-right"),B=e(I,"margin-left"),O=e(I,"margin-right"),k=I.getPropertyValue("box-sizing");if(k&&k==="border-box")j=y+B+O;else{const{clientWidth:M,offsetWidth:X}=R;j=y+F+D+B+O+(X-M)}}N&&(R.style.transform=N),E&&(R.style.webkitTransform=E),i.roundLengths&&(j=Math.floor(j))}else j=(o-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(j=Math.floor(j)),r[T]&&(r[T].style[t.getDirectionLabel("width")]=`${j}px`);r[T]&&(r[T].swiperSlideSize=j),b.push(j),i.centeredSlides?(w=w+j/2+C/2+h,C===0&&T!==0&&(w=w-o/2-h),T===0&&(w=w-o/2-h),Math.abs(w)<1/1e3&&(w=0),i.roundLengths&&(w=Math.floor(w)),P%i.slidesPerGroup===0&&f.push(w),p.push(w)):(i.roundLengths&&(w=Math.floor(w)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&f.push(w),p.push(w),w=w+j+h),t.virtualSize+=j+h,C=j,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+S,a&&d&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),V&&t.grid.updateWrapperSize(j,f),!i.centeredSlides){const T=[];for(let R=0;R<f.length;R+=1){let I=f[R];i.roundLengths&&(I=Math.floor(I)),f[R]<=t.virtualSize-o&&T.push(I)}f=T,Math.floor(t.virtualSize-o)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-o)}if(s&&i.loop){const T=b[0]+h;if(i.slidesPerGroup>1){const R=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),I=T*i.slidesPerGroup;for(let N=0;N<R;N+=1)f.push(f[f.length-1]+I)}for(let R=0;R<t.virtual.slidesBefore+t.virtual.slidesAfter;R+=1)i.slidesPerGroup===1&&f.push(f[f.length-1]+T),p.push(p[p.length-1]+T),t.virtualSize+=T}if(f.length===0&&(f=[0]),h!==0){const T=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");r.filter((R,I)=>!i.cssMode||i.loop?!0:I!==r.length-1).forEach(R=>{R.style[T]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let T=0;b.forEach(I=>{T+=I+(h||0)}),T-=h;const R=T-o;f=f.map(I=>I<=0?-m:I>R?R+S:I)}if(i.centerInsufficientSlides){let T=0;b.forEach(I=>{T+=I+(h||0)}),T-=h;const R=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(T+R<o){const I=(o-T-R)/2;f.forEach((N,E)=>{f[E]=N-I}),p.forEach((N,E)=>{p[E]=N+I})}}if(Object.assign(t,{slides:r,snapGrid:f,slidesGrid:p,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Zi(n,"--swiper-centered-offset-before",`${-f[0]}px`),Zi(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const T=-t.snapGrid[0],R=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(I=>I+T),t.slidesGrid=t.slidesGrid.map(I=>I+R)}if(A!==c&&t.emit("slidesLengthChange"),f.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const T=`${i.containerModifierClass}backface-hidden`,R=t.el.classList.contains(T);A<=i.maxBackfaceHiddenSlides?R||t.el.classList.add(T):R&&t.el.classList.remove(T)}}function Gl(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let l=0,o;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=d=>n?e.slides[e.getSlideIndexByData(d)]:e.slides[d];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(d=>{i.push(d)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const d=e.activeIndex+o;if(d>e.slides.length&&!n)break;i.push(a(d))}else i.push(a(e.activeIndex));for(o=0;o<i.length;o+=1)if(typeof i[o]<"u"){const d=i[o].offsetHeight;l=d>l?d:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}px`)}function _l(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const bo=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Zl(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:l,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;l&&(a=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let d=i.spaceBetween;typeof d=="string"&&d.indexOf("%")>=0?d=parseFloat(d.replace("%",""))/100*e.size:typeof d=="string"&&(d=parseFloat(d));for(let s=0;s<n.length;s+=1){const c=n[s];let r=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(r-=n[0].swiperSlideOffset);const A=(a+(i.centeredSlides?e.minTranslate():0)-r)/(c.swiperSlideSize+d),f=(a-o[0]+(i.centeredSlides?e.minTranslate():0)-r)/(c.swiperSlideSize+d),p=-(a-r),b=p+e.slidesSizesGrid[s],m=p>=0&&p<=e.size-e.slidesSizesGrid[s],S=p>=0&&p<e.size-1||b>1&&b<=e.size||p<=0&&b>=e.size;S&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(s)),bo(c,S,i.slideVisibleClass),bo(c,m,i.slideFullyVisibleClass),c.progress=l?-A:A,c.originalProgress=l?-f:f}}function Kl(t){const e=this;if(typeof t>"u"){const r=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*r||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:o,isEnd:a,progressLoop:d}=e;const s=o,c=a;if(n===0)l=0,o=!0,a=!0;else{l=(t-e.minTranslate())/n;const r=Math.abs(t-e.minTranslate())<1,A=Math.abs(t-e.maxTranslate())<1;o=r||l<=0,a=A||l>=1,r&&(l=0),A&&(l=1)}if(i.loop){const r=e.getSlideIndexByData(0),A=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[r],p=e.slidesGrid[A],b=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=f?d=(m-f)/b:d=(m+b-p)/b,d>1&&(d-=1)}Object.assign(e,{progress:l,progressLoop:d,isBeginning:o,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),o&&!s&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(s&&!o||c&&!a)&&e.emit("fromEdge"),e.emit("progress",l)}const xn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Jl(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,o=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,d=A=>Jt(n,`.${i.slideClass}${A}, swiper-slide${A}`)[0];let s,c,r;if(o)if(i.loop){let A=l-t.virtual.slidesBefore;A<0&&(A=t.virtual.slides.length+A),A>=t.virtual.slides.length&&(A-=t.virtual.slides.length),s=d(`[data-swiper-slide-index="${A}"]`)}else s=d(`[data-swiper-slide-index="${l}"]`);else a?(s=e.filter(A=>A.column===l)[0],r=e.filter(A=>A.column===l+1)[0],c=e.filter(A=>A.column===l-1)[0]):s=e[l];s&&(a||(r=Rl(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!r&&(r=e[0]),c=Vl(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(A=>{xn(A,A===s,i.slideActiveClass),xn(A,A===r,i.slideNextClass),xn(A,A===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Qi=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let l=n.querySelector(`.${t.params.lazyPreloaderClass}`);!l&&t.isElement&&(n.shadowRoot?l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),l&&l.remove())})),l&&l.remove()}},Tn=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},En=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),l=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=l,d=[a-e];d.push(...Array.from({length:e}).map((s,c)=>a+n+c)),t.slides.forEach((s,c)=>{d.includes(s.column)&&Tn(t,c)});return}const o=l+n-1;if(t.params.rewind||t.params.loop)for(let a=l-e;a<=o+e;a+=1){const d=(a%i+i)%i;(d<l||d>o)&&Tn(t,d)}else for(let a=Math.max(l-e,0);a<=Math.min(o+e,i-1);a+=1)a!==l&&(a>o||a<l)&&Tn(t,a)};function Ql(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let l;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?l=o:n>=e[o]&&n<e[o+1]&&(l=o+1):n>=e[o]&&(l=o);return i.normalizeSlideIndex&&(l<0||typeof l>"u")&&(l=0),l}function $l(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:o,realIndex:a,snapIndex:d}=e;let s=t,c;const r=p=>{let b=p-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof s>"u"&&(s=Ql(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const p=Math.min(l.slidesPerGroupSkip,s);c=p+Math.floor((s-p)/l.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),s===o&&!e.params.loop){c!==d&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(s===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=r(s);return}const A=e.grid&&l.grid&&l.grid.rows>1;let f;if(e.virtual&&l.virtual.enabled&&l.loop)f=r(s);else if(A){const p=e.slides.filter(m=>m.column===s)[0];let b=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(p),0)),f=Math.floor(b/l.grid.rows)}else if(e.slides[s]){const p=e.slides[s].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=s}else f=s;Object.assign(e,{previousSnapIndex:d,snapIndex:c,previousRealIndex:a,realIndex:f,previousIndex:o,activeIndex:s}),e.initialized&&En(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function ea(t,e){const i=this,n=i.params;let l=t.closest(`.${n.slideClass}, swiper-slide`);!l&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(d=>{!l&&d.matches&&d.matches(`.${n.slideClass}, swiper-slide`)&&(l=d)});let o=!1,a;if(l){for(let d=0;d<i.slides.length;d+=1)if(i.slides[d]===l){o=!0,a=d;break}}if(l&&o)i.clickedSlide=l,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(l.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var ta={updateSize:ql,updateSlides:Yl,updateAutoHeight:Gl,updateSlidesOffset:_l,updateSlidesProgress:Zl,updateProgress:Kl,updateSlidesClasses:Jl,updateActiveIndex:$l,updateClickedSlide:ea};function ia(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:l,wrapperEl:o}=e;if(i.virtualTranslate)return n?-l:l;if(i.cssMode)return l;let a=Ml(o,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function na(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:o,progress:a}=i;let d=0,s=0;const c=0;i.isHorizontal()?d=n?-t:t:s=t,l.roundLengths&&(d=Math.floor(d),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?d:s,l.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-d:-s:l.virtualTranslate||(i.isHorizontal()?d-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${d}px, ${s}px, ${c}px)`);let r;const A=i.maxTranslate()-i.minTranslate();A===0?r=0:r=(t-i.minTranslate())/A,r!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function oa(){return-this.snapGrid[0]}function la(){return-this.snapGrid[this.snapGrid.length-1]}function aa(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const o=this,{params:a,wrapperEl:d}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const s=o.minTranslate(),c=o.maxTranslate();let r;if(n&&t>s?r=s:n&&t<c?r=c:r=t,o.updateProgress(r),a.cssMode){const A=o.isHorizontal();if(e===0)d[A?"scrollLeft":"scrollTop"]=-r;else{if(!o.support.smoothScroll)return mo({swiper:o,targetPosition:-r,side:A?"left":"top"}),!0;d.scrollTo({[A?"left":"top"]:-r,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(r),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(r),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(f){!o||o.destroyed||f.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var sa={getTranslate:ia,setTranslate:na,minTranslate:oa,maxTranslate:la,translateTo:aa};function ra(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function go(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:o,previousIndex:a}=e;let d=n;if(d||(o>a?d="next":o<a?d="prev":d="reset"),e.emit(`transition${l}`),i&&o!==a){if(d==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),d==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function da(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),go({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function ca(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),go({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var ua={setTransition:ra,transitionStart:da,transitionEnd:ca};function va(t,e,i,n,l){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;let a=t;a<0&&(a=0);const{params:d,snapGrid:s,slidesGrid:c,previousIndex:r,activeIndex:A,rtlTranslate:f,wrapperEl:p,enabled:b}=o;if(!b&&!n&&!l||o.destroyed||o.animating&&d.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,a);let S=m+Math.floor((a-m)/o.params.slidesPerGroup);S>=s.length&&(S=s.length-1);const v=-s[S];if(d.normalizeSlideIndex)for(let h=0;h<c.length;h+=1){const w=-Math.floor(v*100),C=Math.floor(c[h]*100),P=Math.floor(c[h+1]*100);typeof c[h+1]<"u"?w>=C&&w<P-(P-C)/2?a=h:w>=C&&w<P&&(a=h+1):w>=C&&(a=h)}if(o.initialized&&a!==A&&(!o.allowSlideNext&&(f?v>o.translate&&v>o.minTranslate():v<o.translate&&v<o.minTranslate())||!o.allowSlidePrev&&v>o.translate&&v>o.maxTranslate()&&(A||0)!==a))return!1;a!==(r||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(v);let g;if(a>A?g="next":a<A?g="prev":g="reset",f&&-v===o.translate||!f&&v===o.translate)return o.updateActiveIndex(a),d.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),d.effect!=="slide"&&o.setTranslate(v),g!=="reset"&&(o.transitionStart(i,g),o.transitionEnd(i,g)),!1;if(d.cssMode){const h=o.isHorizontal(),w=f?v:-v;if(e===0){const C=o.virtual&&o.params.virtual.enabled;C&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),C&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[h?"scrollLeft":"scrollTop"]=w})):p[h?"scrollLeft":"scrollTop"]=w,C&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return mo({swiper:o,targetPosition:w,side:h?"left":"top"}),!0;p.scrollTo({[h?"left":"top"]:w,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(v),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(i,g),e===0?o.transitionEnd(i,g):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(w){!o||o.destroyed||w.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,g))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function pa(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;typeof e>"u"&&(e=l.params.speed);const o=l.grid&&l.params.grid&&l.params.grid.rows>1;let a=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)a=a+l.virtual.slidesBefore;else{let d;if(o){const f=a*l.params.grid.rows;d=l.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else d=l.getSlideIndexByData(a);const s=o?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:c}=l.params;let r=l.params.slidesPerView;r==="auto"?r=l.slidesPerViewDynamic():(r=Math.ceil(parseFloat(l.params.slidesPerView,10)),c&&r%2===0&&(r=r+1));let A=s-d<r;if(c&&(A=A||d<Math.ceil(r/2)),n&&c&&l.params.slidesPerView!=="auto"&&!o&&(A=!1),A){const f=c?d<l.activeIndex?"prev":"next":d-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?d+1:d-s+1,slideRealIndex:f==="next"?l.realIndex:void 0})}if(o){const f=a*l.params.grid.rows;a=l.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=l.getSlideIndexByData(a)}return requestAnimationFrame(()=>{l.slideTo(a,e,i,n)}),l}function ma(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:l,params:o,animating:a}=n;if(!l||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let d=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(d=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<o.slidesPerGroupSkip?1:d,c=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+s,t,e,i)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+s,t,e,i)}function fa(t,e,i){e===void 0&&(e=!0);const n=this,{params:l,snapGrid:o,slidesGrid:a,rtlTranslate:d,enabled:s,animating:c}=n;if(!s||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const r=n.virtual&&l.virtual.enabled;if(l.loop){if(c&&!r&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const A=d?n.translate:-n.translate;function f(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const p=f(A),b=o.map(v=>f(v));let m=o[b.indexOf(p)-1];if(typeof m>"u"&&l.cssMode){let v;o.forEach((g,h)=>{p>=g&&(v=h)}),typeof v<"u"&&(m=o[v>0?v-1:v])}let S=0;if(typeof m<"u"&&(S=a.indexOf(m),S<0&&(S=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(S=S-n.slidesPerViewDynamic("previous",!0)+1,S=Math.max(S,0))),l.rewind&&n.isBeginning){const v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(S,t,e,i)}),!0;return n.slideTo(S,t,e,i)}function ha(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function Aa(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;typeof t>"u"&&(t=l.params.speed);let o=l.activeIndex;const a=Math.min(l.params.slidesPerGroupSkip,o),d=a+Math.floor((o-a)/l.params.slidesPerGroup),s=l.rtlTranslate?l.translate:-l.translate;if(s>=l.snapGrid[d]){const c=l.snapGrid[d],r=l.snapGrid[d+1];s-c>(r-c)*n&&(o+=l.params.slidesPerGroup)}else{const c=l.snapGrid[d-1],r=l.snapGrid[d];s-c<=(r-c)*n&&(o-=l.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,l.slidesGrid.length-1),l.slideTo(o,t,e,i)}function ba(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let l=t.clickedIndex,o;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;o=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?l<t.loopedSlides-n/2||l>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),l=t.getSlideIndex(Jt(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),gi(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Jt(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),gi(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var ga={slideTo:va,slideToLoop:pa,slideNext:ma,slidePrev:fa,slideReset:ha,slideToClosest:Aa,slideToClickedSlide:ba};function ya(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{Jt(n,`.${i.slideClass}, swiper-slide`).forEach((A,f)=>{A.setAttribute("data-swiper-slide-index",f)})},o=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(o?i.grid.rows:1),d=e.slides.length%a!==0,s=o&&e.slides.length%i.grid.rows!==0,c=r=>{for(let A=0;A<r;A+=1){const f=e.isElement?yi("swiper-slide",[i.slideBlankClass]):yi("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(f)}};if(d){if(i.loopAddBlankSlides){const r=a-e.slides.length%a;c(r),e.recalcSlides(),e.updateSlides()}else Ki("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else if(s){if(i.loopAddBlankSlides){const r=i.grid.rows-e.slides.length%i.grid.rows;c(r),e.recalcSlides(),e.updateSlides()}else Ki("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else l();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function wa(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:o,byController:a,byMousewheel:d}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:c,allowSlidePrev:r,allowSlideNext:A,slidesEl:f,params:p}=s,{centeredSlides:b}=p;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&p.virtual.enabled){i&&(!p.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):p.centeredSlides&&s.snapIndex<p.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=r,s.allowSlideNext=A,s.emit("loopFix");return}let m=p.slidesPerView;m==="auto"?m=s.slidesPerViewDynamic():(m=Math.ceil(parseFloat(p.slidesPerView,10)),b&&m%2===0&&(m=m+1));const S=p.slidesPerGroupAuto?m:p.slidesPerGroup;let v=S;v%S!==0&&(v+=S-v%S),v+=p.loopAdditionalSlides,s.loopedSlides=v;const g=s.grid&&p.grid&&p.grid.rows>1;c.length<m+v?Ki("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&p.grid.fill==="row"&&Ki("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],w=[];let C=s.activeIndex;typeof o>"u"?o=s.getSlideIndex(c.filter(N=>N.classList.contains(p.slideActiveClass))[0]):C=o;const P=n==="next"||!n,V=n==="prev"||!n;let j=0,x=0;const T=g?Math.ceil(c.length/p.grid.rows):c.length,I=(g?c[o].column:o)+(b&&typeof l>"u"?-m/2+.5:0);if(I<v){j=Math.max(v-I,S);for(let N=0;N<v-I;N+=1){const E=N-Math.floor(N/T)*T;if(g){const y=T-E-1;for(let F=c.length-1;F>=0;F-=1)c[F].column===y&&h.push(F)}else h.push(T-E-1)}}else if(I+m>T-v){x=Math.max(I-(T-v*2),S);for(let N=0;N<x;N+=1){const E=N-Math.floor(N/T)*T;g?c.forEach((y,F)=>{y.column===E&&w.push(F)}):w.push(E)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),V&&h.forEach(N=>{c[N].swiperLoopMoveDOM=!0,f.prepend(c[N]),c[N].swiperLoopMoveDOM=!1}),P&&w.forEach(N=>{c[N].swiperLoopMoveDOM=!0,f.append(c[N]),c[N].swiperLoopMoveDOM=!1}),s.recalcSlides(),p.slidesPerView==="auto"?s.updateSlides():g&&(h.length>0&&V||w.length>0&&P)&&s.slides.forEach((N,E)=>{s.grid.updateSlide(E,N,s.slides)}),p.watchSlidesProgress&&s.updateSlidesOffset(),i){if(h.length>0&&V){if(typeof e>"u"){const N=s.slidesGrid[C],y=s.slidesGrid[C+j]-N;d?s.setTranslate(s.translate-y):(s.slideTo(C+Math.ceil(j),0,!1,!0),l&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-y,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-y))}else if(l){const N=g?h.length/p.grid.rows:h.length;s.slideTo(s.activeIndex+N,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(w.length>0&&P)if(typeof e>"u"){const N=s.slidesGrid[C],y=s.slidesGrid[C-x]-N;d?s.setTranslate(s.translate-y):(s.slideTo(C-x,0,!1,!0),l&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-y,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-y))}else{const N=g?w.length/p.grid.rows:w.length;s.slideTo(s.activeIndex-N,0,!1,!0)}}if(s.allowSlidePrev=r,s.allowSlideNext=A,s.controller&&s.controller.control&&!a){const N={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:o,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(E=>{!E.destroyed&&E.params.loop&&E.loopFix({...N,slideTo:E.params.slidesPerView===p.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...N,slideTo:s.controller.control.params.slidesPerView===p.slidesPerView?i:!1})}s.emit("loopFix")}function Sa(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(l=>{const o=typeof l.swiperSlideIndex>"u"?l.getAttribute("data-swiper-slide-index")*1:l.swiperSlideIndex;n[o]=l}),t.slides.forEach(l=>{l.removeAttribute("data-swiper-slide-index")}),n.forEach(l=>{i.append(l)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var xa={loopCreate:ya,loopFix:wa,loopDestroy:Sa};function Ta(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Ea(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Ia={setGrabCursor:Ta,unsetGrabCursor:Ea};function ka(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ft()||n===Nt())return null;n.assignedSlot&&(n=n.assignedSlot);const l=n.closest(t);return!l&&!n.getRootNode?null:l||i(n.getRootNode().host)}return i(e)}function yo(t,e,i){const n=Nt(),{params:l}=t,o=l.edgeSwipeDetection,a=l.edgeSwipeThreshold;return o&&(i<=a||i>=n.innerWidth-a)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function Ca(t){const e=this,i=Ft();let n=t;n.originalEvent&&(n=n.originalEvent);const l=e.touchEventsData;if(n.type==="pointerdown"){if(l.pointerId!==null&&l.pointerId!==n.pointerId)return;l.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(l.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){yo(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:a,enabled:d}=e;if(!d||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let s=n.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const c=!!o.noSwipingClass&&o.noSwipingClass!=="",r=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&r&&(s=r[0]);const A=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(f?ka(A,s):s.closest(A))){e.allowClick=!0;return}if(o.swipeHandler&&!s.closest(o.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const p=a.currentX,b=a.currentY;if(!yo(e,n,p))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=b,l.touchStartTime=qt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1);let m=!0;s.matches(l.focusableElements)&&(m=!1,s.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const S=m&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||S)&&!s.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function Pa(t){const e=Ft(),i=this,n=i.touchEventsData,{params:l,touches:o,rtlTranslate:a,enabled:d}=i;if(!d||!l.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(n.touchId!==null||s.pointerId!==n.pointerId))return;let c;if(s.type==="touchmove"){if(c=[...s.changedTouches].filter(P=>P.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=s;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",s);return}const r=c.pageX,A=c.pageY;if(s.preventedByNestedSwiper){o.startX=r,o.startY=A;return}if(!i.allowTouchMove){s.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:r,startY:A,currentX:r,currentY:A}),n.touchStartTime=qt());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(A<o.startY&&i.translate<=i.maxTranslate()||A>o.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(r<o.startX&&i.translate<=i.maxTranslate()||r>o.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&s.target===e.activeElement&&s.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",s),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=r,o.currentY=A;const f=o.currentX-o.startX,p=o.currentY-o.startY;if(i.params.threshold&&Math.sqrt(f**2+p**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let P;i.isHorizontal()&&o.currentY===o.startY||i.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:f*f+p*p>=25&&(P=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,n.isScrolling=i.isHorizontal()?P>l.touchAngle:90-P>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",s),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling||s.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&s.cancelable&&s.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&s.stopPropagation();let b=i.isHorizontal()?f:p,m=i.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;l.oneWayMovement&&(b=Math.abs(b)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=b,b*=l.touchRatio,a&&(b=-b,m=-m);const S=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const v=i.params.loop&&!l.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(v&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(P)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&S!==i.touchesDirection&&v&&g&&Math.abs(b)>=1){Object.assign(o,{startX:r,startY:A,currentX:r,currentY:A,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",s),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let w=!0,C=l.resistanceRatio;if(l.touchReleaseOnEdges&&(C=0),b>0?(v&&g&&!h&&n.allowThresholdMove&&n.currentTranslate>(l.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(w=!1,l.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**C))):b<0&&(v&&g&&!h&&n.allowThresholdMove&&n.currentTranslate<(l.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(l.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(l.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(w=!1,l.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**C))),w&&(s.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),l.threshold>0)if(Math.abs(b)>l.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=i.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!l.followFinger||l.cssMode||((l.freeMode&&l.freeMode.enabled&&i.freeMode||l.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),l.freeMode&&l.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Oa(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let l;if(n.type==="touchend"||n.type==="touchcancel"){if(l=[...n.changedTouches].filter(C=>C.identifier===i.touchId)[0],!l||l.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;l=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:d,rtlTranslate:s,slidesGrid:c,enabled:r}=e;if(!r||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const A=qt(),f=A-i.touchStartTime;if(e.allowClick){const C=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(C&&C[0]||n.target,C),e.emit("tap click",n),f<300&&A-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=qt(),gi(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||d.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let p;if(a.followFinger?p=s?e.translate:-e.translate:p=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const b=p>=-e.maxTranslate()&&!e.params.loop;let m=0,S=e.slidesSizesGrid[0];for(let C=0;C<c.length;C+=C<a.slidesPerGroupSkip?1:a.slidesPerGroup){const P=C<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[C+P]<"u"?(b||p>=c[C]&&p<c[C+P])&&(m=C,S=c[C+P]-c[C]):(b||p>=c[C])&&(m=C,S=c[c.length-1]-c[c.length-2])}let v=null,g=null;a.rewind&&(e.isBeginning?g=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));const h=(p-c[m])/S,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?v:m+w):e.slideTo(m)),e.swipeDirection==="prev"&&(h>1-a.longSwipesRatio?e.slideTo(m+w):g!==null&&h<0&&Math.abs(h)>a.longSwipesRatio?e.slideTo(g):e.slideTo(m))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(m+w):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(v!==null?v:m+w),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:m))}}function wo(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:l,snapGrid:o}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const d=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!d?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=l,t.allowSlideNext=n,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function La(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ja(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let l;const o=t.maxTranslate()-t.minTranslate();o===0?l=0:l=(t.translate-t.minTranslate())/o,l!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Na(t){const e=this;Qi(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Ma(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const So=(t,e)=>{const i=Ft(),{params:n,el:l,wrapperEl:o,device:a}=t,d=!!n.nested,s=e==="on"?"addEventListener":"removeEventListener",c=e;!l||typeof l=="string"||(i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:d}),l[s]("touchstart",t.onTouchStart,{passive:!1}),l[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:d}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:d}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&l[s]("click",t.onClick,!0),n.cssMode&&o[s]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",wo,!0):t[c]("observerUpdate",wo,!0),l[s]("load",t.onLoad,{capture:!0}))};function Da(){const t=this,{params:e}=t;t.onTouchStart=Ca.bind(t),t.onTouchMove=Pa.bind(t),t.onTouchEnd=Oa.bind(t),t.onDocumentTouchStart=Ma.bind(t),e.cssMode&&(t.onScroll=ja.bind(t)),t.onClick=La.bind(t),t.onLoad=Na.bind(t),So(t,"on")}function Va(){So(this,"off")}var Ra={attachEvents:Da,detachEvents:Va};const xo=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Ba(){const t=this,{realIndex:e,initialized:i,params:n,el:l}=t,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const a=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const s=(a in o?o[a]:void 0)||t.originalParams,c=xo(t,n),r=xo(t,s),A=t.params.grabCursor,f=s.grabCursor,p=n.enabled;c&&!r?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&r&&(l.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&n.grid.fill==="column")&&l.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),A&&!f?t.unsetGrabCursor():!A&&f&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof s[h]>"u")return;const w=n[h]&&n[h].enabled,C=s[h]&&s[h].enabled;w&&!C&&t[h].disable(),!w&&C&&t[h].enable()});const b=s.direction&&s.direction!==n.direction,m=n.loop&&(s.slidesPerView!==n.slidesPerView||b),S=n.loop;b&&i&&t.changeDirection(),Wt(t.params,s);const v=t.params.enabled,g=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!v?t.disable():!p&&v&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",s),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!S&&g?(t.loopCreate(e),t.updateSlides()):S&&!g&&t.loopDestroy()),t.emit("breakpoint",s)}function Fa(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=Nt(),o=e==="window"?l.innerHeight:i.clientHeight,a=Object.keys(t).map(d=>{if(typeof d=="string"&&d.indexOf("@")===0){const s=parseFloat(d.substr(1));return{value:o*s,point:d}}return{value:d,point:d}});a.sort((d,s)=>parseInt(d.value,10)-parseInt(s.value,10));for(let d=0;d<a.length;d+=1){const{point:s,value:c}=a[d];e==="window"?l.matchMedia(`(min-width: ${c}px)`).matches&&(n=s):c<=i.clientWidth&&(n=s)}return n||"max"}var Wa={setBreakpoint:Ba,getBreakpoint:Fa};function za(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(l=>{n[l]&&i.push(e+l)}):typeof n=="string"&&i.push(e+n)}),i}function Ha(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:o}=t,a=za(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),l.classList.add(...e),t.emitContainerClasses()}function Ua(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Xa={addClasses:Ha,removeClasses:Ua};function qa(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const l=t.slides.length-1,o=t.slidesGrid[l]+t.slidesSizesGrid[l]+n*2;t.isLocked=t.size>o}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ya={checkOverflow:qa},In={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ga(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],o=n[l];if(typeof o!="object"||o===null){Wt(e,n);return}if(t[l]===!0&&(t[l]={enabled:!0}),l==="navigation"&&t[l]&&t[l].enabled&&!t[l].prevEl&&!t[l].nextEl&&(t[l].auto=!0),["pagination","scrollbar"].indexOf(l)>=0&&t[l]&&t[l].enabled&&!t[l].el&&(t[l].auto=!0),!(l in t&&"enabled"in o)){Wt(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Wt(e,n)}}const kn={eventsEmitter:Xl,update:ta,translate:sa,transition:ua,slide:ga,loop:xa,grabCursor:Ia,events:Ra,breakpoints:Wa,checkOverflow:Ya,classes:Xa},Cn={};let Pn=class ni{constructor(){let e,i;for(var n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];l.length===1&&l[0].constructor&&Object.prototype.toString.call(l[0]).slice(8,-1)==="Object"?i=l[0]:[e,i]=l,i||(i={}),i=Wt({},i),e&&!i.el&&(i.el=e);const a=Ft();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const r=[];return a.querySelectorAll(i.el).forEach(A=>{const f=Wt({},i,{el:A});r.push(new ni(f))}),r}const d=this;d.__swiper__=!0,d.support=ho(),d.device=Ao({userAgent:i.userAgent}),d.browser=zl(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],i.modules&&Array.isArray(i.modules)&&d.modules.push(...i.modules);const s={};d.modules.forEach(r=>{r({params:i,swiper:d,extendParams:Ga(i,s),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});const c=Wt({},In,s);return d.params=Wt({},c,Cn,i),d.originalParams=Wt({},d.params),d.passedParams=Wt({},i),d.params&&d.params.on&&Object.keys(d.params.on).forEach(r=>{d.on(r,d.params.on[r])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return d.params.direction==="horizontal"},isVertical(){return d.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:d.params.allowSlideNext,allowSlidePrev:d.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,l=Jt(i,`.${n.slideClass}, swiper-slide`),o=Pi(l[0]);return Pi(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Jt(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const l=n.minTranslate(),a=(n.maxTranslate()-l)*e+l;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const l=e.getSlideClasses(n);i.push({slideEl:n,classNames:l}),e.emit("_slideClass",n,l)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:l,slides:o,slidesGrid:a,slidesSizesGrid:d,size:s,activeIndex:c}=n;let r=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let A=o[c]?Math.ceil(o[c].swiperSlideSize):0,f;for(let p=c+1;p<o.length;p+=1)o[p]&&!f&&(A+=Math.ceil(o[p].swiperSlideSize),r+=1,A>s&&(f=!0));for(let p=c-1;p>=0;p-=1)o[p]&&!f&&(A+=o[p].swiperSlideSize,r+=1,A>s&&(f=!0))}else if(e==="current")for(let A=c+1;A<o.length;A+=1)(i?a[A]+d[A]-a[c]<s:a[A]-a[c]<s)&&(r+=1);else for(let A=c-1;A>=0;A-=1)a[c]-a[A]<s&&(r+=1);return r}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Qi(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const a=e.rtlTranslate?e.translate*-1:e.translate,d=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(d),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)l(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(a.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||l()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,l=n.params.direction;return e||(e=l==="horizontal"?"vertical":"horizontal"),e===l||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${l}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const l=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):Jt(n,l())[0];return!a&&i.params.createElements&&(a=yi("div",i.params.wrapperClass),n.append(a),Jt(n,`.${i.params.slideClass}`).forEach(d=>{a.append(d)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||ri(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ri(n,"direction")==="rtl"),wrongRTL:ri(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const l=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&l.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),l.forEach(o=>{o.complete?Qi(i,o):o.addEventListener("load",a=>{Qi(i,a.target)})}),En(i),i.initialized=!0,En(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:l,el:o,wrapperEl:a,slides:d}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),o&&typeof o!="string"&&o.removeAttribute("style"),a&&a.removeAttribute("style"),d&&d.length&&d.forEach(s=>{s.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(s=>{n.off(s)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),jl(n)),n.destroyed=!0),null}static extendDefaults(e){Wt(Cn,e)}static get extendedDefaults(){return Cn}static get defaults(){return In}static installModule(e){ni.prototype.__modules__||(ni.prototype.__modules__=[]);const i=ni.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ni.installModule(i)),ni):(ni.installModule(e),ni)}};Object.keys(kn).forEach(t=>{Object.keys(kn[t]).forEach(e=>{Pn.prototype[e]=kn[t][e]})}),Pn.use([Hl,Ul]);const To=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function mi(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function wi(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:mi(e[n])&&mi(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:wi(t[n],e[n]):t[n]=e[n]})}function Eo(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Io(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function ko(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Co(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function _a(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Za(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:o,prevEl:a,scrollbarEl:d,paginationEl:s}=t;const c=l.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:r,pagination:A,navigation:f,scrollbar:p,virtual:b,thumbs:m}=e;let S,v,g,h,w,C,P,V;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&r.thumbs&&!r.thumbs.swiper&&(S=!0),l.includes("controller")&&n.controller&&n.controller.control&&r.controller&&!r.controller.control&&(v=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(r.pagination||r.pagination===!1)&&A&&!A.el&&(g=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||d)&&(r.scrollbar||r.scrollbar===!1)&&p&&!p.el&&(h=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(r.navigation||r.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const j=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),r[x].prevEl=void 0,r[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),r[x].el=void 0,e[x].el=void 0))};l.includes("loop")&&e.isElement&&(r.loop&&!n.loop?C=!0:!r.loop&&n.loop?P=!0:V=!0),c.forEach(x=>{if(mi(r[x])&&mi(n[x]))Object.assign(r[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&j(x);else{const T=n[x];(T===!0||T===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?T===!1&&j(x):r[x]=n[x]}}),c.includes("controller")&&!v&&e.controller&&e.controller.control&&r.controller&&r.controller.control&&(e.controller.control=r.controller.control),l.includes("children")&&i&&b&&r.virtual.enabled?(b.slides=i,b.update(!0)):l.includes("virtual")&&b&&r.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),l.includes("children")&&i&&r.loop&&(V=!0),S&&m.init()&&m.update(!0),v&&(e.controller.control=r.controller.control),g&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(r.pagination.el=s),A.init(),A.render(),A.update()),h&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),e.el.appendChild(d)),d&&(r.scrollbar.el=d),p.init(),p.updateSize(),p.setTranslate()),w&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),o&&(r.navigation.nextEl=o),a&&(r.navigation.prevEl=a),f.init(),f.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(C||V)&&e.loopDestroy(),(P||V)&&e.loopCreate(),e.update()}function Ka(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};wi(i,In),i._emitClasses=!0,i.init=!1;const o={},a=To.map(s=>s.replace(/_/,"")),d=Object.assign({},t);return Object.keys(d).forEach(s=>{typeof t[s]>"u"||(a.indexOf(s)>=0?mi(t[s])?(i[s]={},l[s]={},wi(i[s],t[s]),wi(l[s],t[s])):(i[s]=t[s],l[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?n[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:o[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:l,rest:o,events:n}}function Ja(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:o,scrollbarEl:a,swiper:d}=t;Eo(e)&&n&&l&&(d.params.navigation.nextEl=n,d.originalParams.navigation.nextEl=n,d.params.navigation.prevEl=l,d.originalParams.navigation.prevEl=l),Io(e)&&o&&(d.params.pagination.el=o,d.originalParams.pagination.el=o),ko(e)&&a&&(d.params.scrollbar.el=a,d.originalParams.scrollbar.el=a),d.init(i)}function Qa(t,e,i,n,l){const o=[];if(!e)return o;const a=s=>{o.indexOf(s)<0&&o.push(s)};if(i&&n){const s=n.map(l),c=i.map(l);s.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return To.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(mi(t[s])&&mi(e[s])){const c=Object.keys(t[s]),r=Object.keys(e[s]);c.length!==r.length?a(s):(c.forEach(A=>{t[s][A]!==e[s][A]&&a(s)}),r.forEach(A=>{t[s][A]!==e[s][A]&&a(s)}))}else t[s]!==e[s]&&a(s)}),o}const $a=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function $i(){return $i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},$i.apply(this,arguments)}function Po(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Oo(t){const e=[];return u.Children.toArray(t).forEach(i=>{Po(i)?e.push(i):i.props&&i.props.children&&Oo(i.props.children).forEach(n=>e.push(n))}),e}function es(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return u.Children.toArray(t).forEach(n=>{if(Po(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const l=Oo(n.props.children);l.length>0?l.forEach(o=>e.push(o)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function ts(t,e,i){if(!i)return null;const n=r=>{let A=r;return r<0?A=e.length+r:A>=e.length&&(A=A-e.length),A},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:o,to:a}=i,d=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,c=[];for(let r=d;r<s;r+=1)r>=o&&r<=a&&c.push(e[n(r)]);return c.map((r,A)=>u.cloneElement(r,{swiper:t,style:l,key:r.props.virtualIndex||r.key||`slide-${A}`}))}function Oi(t,e){return typeof window>"u"?ce(t,e):Jo(t,e)}const On=ki(null),Li=()=>Ii(On),is=ki(null),ei=vi(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:o,onSwiper:a,...d}=t===void 0?{}:t,s=!1;const[c,r]=Z("swiper"),[A,f]=Z(null),[p,b]=Z(!1),m=fe(!1),S=fe(null),v=fe(null),g=fe(null),h=fe(null),w=fe(null),C=fe(null),P=fe(null),V=fe(null),{params:j,passedParams:x,rest:T,events:R}=Ka(d),{slides:I,slots:N}=es(o),E=()=>{b(!p)};Object.assign(j.on,{_containerClasses(O,k){r(k)}});const y=()=>{Object.assign(j.on,R),s=!0;const O={...j};if(delete O.wrapperClass,v.current=new Pn(O),v.current.virtual&&v.current.params.virtual.enabled){v.current.virtual.slides=I;const k={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};wi(v.current.params.virtual,k),wi(v.current.originalParams.virtual,k)}};S.current||y(),v.current&&v.current.on("_beforeBreakpoint",E);const F=()=>{s||!R||!v.current||Object.keys(R).forEach(O=>{v.current.on(O,R[O])})},D=()=>{!R||!v.current||Object.keys(R).forEach(O=>{v.current.off(O,R[O])})};ce(()=>()=>{v.current&&v.current.off("_beforeBreakpoint",E)}),ce(()=>{!m.current&&v.current&&(v.current.emitSlidesClasses(),m.current=!0)}),Oi(()=>{if(e&&(e.current=S.current),!!S.current)return v.current.destroyed&&y(),Ja({el:S.current,nextEl:w.current,prevEl:C.current,paginationEl:P.current,scrollbarEl:V.current,swiper:v.current},j),a&&!v.current.destroyed&&a(v.current),()=>{v.current&&!v.current.destroyed&&v.current.destroy(!0,!1)}},[]),Oi(()=>{F();const O=Qa(x,g.current,I,h.current,k=>k.key);return g.current=x,h.current=I,O.length&&v.current&&!v.current.destroyed&&Za({swiper:v.current,slides:I,passedParams:x,changedParams:O,nextEl:w.current,prevEl:C.current,scrollbarEl:V.current,paginationEl:P.current}),()=>{D()}}),Oi(()=>{$a(v.current)},[A]);function B(){return j.virtual?ts(v.current,I,A):I.map((O,k)=>u.cloneElement(O,{swiper:v.current,swiperSlideIndex:k}))}return u.createElement(n,$i({ref:S,className:Co(`${c}${i?` ${i}`:""}`)},T),u.createElement(is.Provider,{value:v.current},N["container-start"],u.createElement(l,{className:_a(j.wrapperClass)},N["wrapper-start"],B(),N["wrapper-end"]),Eo(j)&&u.createElement(u.Fragment,null,u.createElement("div",{ref:C,className:"swiper-button-prev"}),u.createElement("div",{ref:w,className:"swiper-button-next"})),ko(j)&&u.createElement("div",{ref:V,className:"swiper-scrollbar"}),Io(j)&&u.createElement("div",{ref:P,className:"swiper-pagination"}),N["container-end"]))});ei.displayName="Swiper";const zt=vi(function(t,e){let{tag:i="div",children:n,className:l="",swiper:o,zoom:a,lazy:d,virtualIndex:s,swiperSlideIndex:c,...r}=t===void 0?{}:t;const A=fe(null),[f,p]=Z("swiper-slide"),[b,m]=Z(!1);function S(w,C,P){C===A.current&&p(P)}Oi(()=>{if(typeof c<"u"&&(A.current.swiperSlideIndex=c),e&&(e.current=A.current),!(!A.current||!o)){if(o.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return o.on("_slideClass",S),()=>{o&&o.off("_slideClass",S)}}}),Oi(()=>{o&&A.current&&!o.destroyed&&p(o.getSlideClasses(A.current))},[o]);const v={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(v):n,h=()=>{m(!0)};return u.createElement(i,$i({ref:A,className:Co(`${f}${l?` ${l}`:""}`),"data-swiper-slide-index":s,onLoad:h},r),a&&u.createElement(On.Provider,{value:v},u.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},g(),d&&!b&&u.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&u.createElement(On.Provider,{value:v},g(),d&&!b&&u.createElement("div",{className:"swiper-lazy-preloader"})))});zt.displayName="SwiperSlide";function Ln(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ft(),a=Nt();e.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function d(r){if(!e.enabled)return;const{rtlTranslate:A}=e;let f=r;f.originalEvent&&(f=f.originalEvent);const p=f.keyCode||f.charCode,b=e.params.keyboard.pageUpDown,m=b&&p===33,S=b&&p===34,v=p===37,g=p===39,h=p===38,w=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&g||e.isVertical()&&w||S)||!e.allowSlidePrev&&(e.isHorizontal()&&v||e.isVertical()&&h||m))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(o.activeElement&&o.activeElement.nodeName&&(o.activeElement.nodeName.toLowerCase()==="input"||o.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(m||S||v||g||h||w)){let C=!1;if(Ji(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ji(e.el,`.${e.params.slideActiveClass}`).length===0)return;const P=e.el,V=P.clientWidth,j=P.clientHeight,x=a.innerWidth,T=a.innerHeight,R=fo(P);A&&(R.left-=P.scrollLeft);const I=[[R.left,R.top],[R.left+V,R.top],[R.left,R.top+j],[R.left+V,R.top+j]];for(let N=0;N<I.length;N+=1){const E=I[N];if(E[0]>=0&&E[0]<=x&&E[1]>=0&&E[1]<=T){if(E[0]===0&&E[1]===0)continue;C=!0}}if(!C)return}e.isHorizontal()?((m||S||v||g)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((S||g)&&!A||(m||v)&&A)&&e.slideNext(),((m||v)&&!A||(S||g)&&A)&&e.slidePrev()):((m||S||h||w)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(S||w)&&e.slideNext(),(m||h)&&e.slidePrev()),l("keyPress",p)}}function s(){e.keyboard.enabled||(o.addEventListener("keydown",d),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(o.removeEventListener("keydown",d),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&s()}),n("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:s,disable:c})}function en(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Nt();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,d=qt(),s;const c=[];function r(h){let V=0,j=0,x=0,T=0;return"detail"in h&&(j=h.detail),"wheelDelta"in h&&(j=-h.wheelDelta/120),"wheelDeltaY"in h&&(j=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(V=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(V=j,j=0),x=V*10,T=j*10,"deltaY"in h&&(T=h.deltaY),"deltaX"in h&&(x=h.deltaX),h.shiftKey&&!x&&(x=T,T=0),(x||T)&&h.deltaMode&&(h.deltaMode===1?(x*=40,T*=40):(x*=800,T*=800)),x&&!V&&(V=x<1?-1:1),T&&!j&&(j=T<1?-1:1),{spinX:V,spinY:j,pixelX:x,pixelY:T}}function A(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function p(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&qt()-d<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&qt()-d<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",h.raw)),d=new o.Date().getTime(),!1)}function b(h){const w=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&w.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&w.releaseOnEdges)return!0;return!1}function m(h){let w=h,C=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&w.preventDefault();let V=e.el;e.params.mousewheel.eventsTarget!=="container"&&(V=document.querySelector(e.params.mousewheel.eventsTarget));const j=V&&V.contains(w.target);if(!e.mouseEntered&&!j&&!P.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let x=0;const T=e.rtlTranslate?-1:1,R=r(w);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(R.pixelX)>Math.abs(R.pixelY))x=-R.pixelX*T;else return!0;else if(Math.abs(R.pixelY)>Math.abs(R.pixelX))x=-R.pixelY;else return!0;else x=Math.abs(R.pixelX)>Math.abs(R.pixelY)?-R.pixelX*T:-R.pixelY;if(x===0)return!0;P.invert&&(x=-x);let I=e.getTranslate()+x*P.sensitivity;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),C=e.params.loop?!0:!(I===e.minTranslate()||I===e.maxTranslate()),C&&e.params.nested&&w.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const N={time:qt(),delta:Math.abs(x),direction:Math.sign(x),raw:h};c.length>=2&&c.shift();const E=c.length?c[c.length-1]:void 0;if(c.push(N),E?(N.direction!==E.direction||N.delta>E.delta||N.time>E.time+150)&&p(N):p(N),b(N))return!0}else{const N={time:qt(),delta:Math.abs(x),direction:Math.sign(x)},E=s&&N.time<s.time+500&&N.delta<=s.delta&&N.direction===s.direction;if(!E){s=void 0;let y=e.getTranslate()+x*P.sensitivity;const F=e.isBeginning,D=e.isEnd;if(y>=e.minTranslate()&&(y=e.minTranslate()),y<=e.maxTranslate()&&(y=e.maxTranslate()),e.setTransition(0),e.setTranslate(y),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!D&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:N.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const B=c.length?c[c.length-1]:void 0,O=c[0];if(c.push(N),B&&(N.delta>B.delta||N.direction!==B.direction))c.splice(0);else if(c.length>=15&&N.time-O.time<500&&O.delta-N.delta>=1&&N.delta<=6){const k=x>0?.8:.2;s=N,c.splice(0),a=gi(()=>{e.slideToClosest(e.params.speed,!0,void 0,k)},0)}a||(a=gi(()=>{s=N,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(E||l("scroll",w),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(y===e.minTranslate()||y===e.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function S(h){let w=e.el;e.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(e.params.mousewheel.eventsTarget)),w[h]("mouseenter",A),w[h]("mouseleave",f),w[h]("wheel",m)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(S("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(S("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&v()}),n("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:v,disable:g})}function jn(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let o=Jt(t.el,`.${n[l]}`)[0];o||(o=yi("div",n[l]),o.className=n[l],t.el.append(o)),i[l]=o,e[l]=o}}),i}function Nn(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(b){let m;return b&&typeof b=="string"&&e.isElement&&(m=e.el.querySelector(b),m)?m:(b&&(typeof b=="string"&&(m=[...document.querySelectorAll(b)]),e.params.uniqueNavElements&&typeof b=="string"&&m&&m.length>1&&e.el.querySelectorAll(b).length===1?m=e.el.querySelector(b):m&&m.length===1&&(m=m[0])),b&&!m?b:m)}function a(b,m){const S=e.params.navigation;b=Qe(b),b.forEach(v=>{v&&(v.classList[m?"add":"remove"](...S.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=m),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](S.lockClass))})}function d(){const{nextEl:b,prevEl:m}=e.navigation;if(e.params.loop){a(m,!1),a(b,!1);return}a(m,e.isBeginning&&!e.params.rewind),a(b,e.isEnd&&!e.params.rewind)}function s(b){b.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),l("navigationPrev"))}function c(b){b.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),l("navigationNext"))}function r(){const b=e.params.navigation;if(e.params.navigation=jn(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(b.nextEl||b.prevEl))return;let m=o(b.nextEl),S=o(b.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:S}),m=Qe(m),S=Qe(S);const v=(g,h)=>{g&&g.addEventListener("click",h==="next"?c:s),!e.enabled&&g&&g.classList.add(...b.lockClass.split(" "))};m.forEach(g=>v(g,"next")),S.forEach(g=>v(g,"prev"))}function A(){let{nextEl:b,prevEl:m}=e.navigation;b=Qe(b),m=Qe(m);const S=(v,g)=>{v.removeEventListener("click",g==="next"?c:s),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};b.forEach(v=>S(v,"next")),m.forEach(v=>S(v,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?p():(r(),d())}),n("toEdge fromEdge lock unlock",()=>{d()}),n("destroy",()=>{A()}),n("enable disable",()=>{let{nextEl:b,prevEl:m}=e.navigation;if(b=Qe(b),m=Qe(m),e.enabled){d();return}[...b,...m].filter(S=>!!S).forEach(S=>S.classList.add(e.params.navigation.lockClass))}),n("click",(b,m)=>{let{nextEl:S,prevEl:v}=e.navigation;S=Qe(S),v=Qe(v);const g=m.target;let h=v.includes(g)||S.includes(g);if(e.isElement&&!h){const w=m.path||m.composedPath&&m.composedPath();w&&(h=w.find(C=>S.includes(C)||v.includes(C)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let w;S.length?w=S[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(w=v[0].classList.contains(e.params.navigation.hiddenClass)),l(w===!0?"navigationShow":"navigationHide"),[...S,...v].filter(C=>!!C).forEach(C=>C.classList.toggle(e.params.navigation.hiddenClass))}});const f=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),r(),d()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),A()};Object.assign(e.navigation,{enable:f,disable:p,update:d,init:r,destroy:A})}function ti(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ji(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:v=>v,formatFractionTotal:v=>v,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let a,d=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(v,g){const{bulletActiveClass:h}=e.params.pagination;v&&(v=v[`${g==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${h}-${g}`),v=v[`${g==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${h}-${g}-${g}`)))}function r(v){const g=v.target.closest(ti(e.params.pagination.bulletClass));if(!g)return;v.preventDefault();const h=Pi(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function A(){const v=e.rtl,g=e.params.pagination;if(s())return;let h=e.pagination.el;h=Qe(h);let w,C;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,V=e.params.loop?Math.ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,w=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const j=e.pagination.bullets;let x,T,R;if(g.dynamicBullets&&(a=gn(j[0],e.isHorizontal()?"width":"height",!0),h.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&C!==void 0&&(d+=w-(C||0),d>g.dynamicMainBullets-1?d=g.dynamicMainBullets-1:d<0&&(d=0)),x=Math.max(w-d,0),T=x+(Math.min(j.length,g.dynamicMainBullets)-1),R=(T+x)/2),j.forEach(I=>{const N=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(E=>`${g.bulletActiveClass}${E}`)].map(E=>typeof E=="string"&&E.includes(" ")?E.split(" "):E).flat();I.classList.remove(...N)}),h.length>1)j.forEach(I=>{const N=Pi(I);N===w?I.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),g.dynamicBullets&&(N>=x&&N<=T&&I.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),N===x&&c(I,"prev"),N===T&&c(I,"next"))});else{const I=j[w];if(I&&I.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&j.forEach((N,E)=>{N.setAttribute("part",E===w?"bullet-active":"bullet")}),g.dynamicBullets){const N=j[x],E=j[T];for(let y=x;y<=T;y+=1)j[y]&&j[y].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(N,"prev"),c(E,"next")}}if(g.dynamicBullets){const I=Math.min(j.length,g.dynamicMainBullets+4),N=(a*I-a)/2-R*a,E=v?"right":"left";j.forEach(y=>{y.style[e.isHorizontal()?E:"top"]=`${N}px`})}}h.forEach((j,x)=>{if(g.type==="fraction"&&(j.querySelectorAll(ti(g.currentClass)).forEach(T=>{T.textContent=g.formatFractionCurrent(w+1)}),j.querySelectorAll(ti(g.totalClass)).forEach(T=>{T.textContent=g.formatFractionTotal(V)})),g.type==="progressbar"){let T;g.progressbarOpposite?T=e.isHorizontal()?"vertical":"horizontal":T=e.isHorizontal()?"horizontal":"vertical";const R=(w+1)/V;let I=1,N=1;T==="horizontal"?I=R:N=R,j.querySelectorAll(ti(g.progressbarFillClass)).forEach(E=>{E.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${N})`,E.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(j.innerHTML=g.renderCustom(e,w+1,V),x===0&&l("paginationRender",j)):(x===0&&l("paginationRender",j),l("paginationUpdate",j)),e.params.watchOverflow&&e.enabled&&j.classList[e.isLocked?"add":"remove"](g.lockClass)})}function f(){const v=e.params.pagination;if(s())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=Qe(h);let w="";if(v.type==="bullets"){let C=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>g&&(C=g);for(let P=0;P<C;P+=1)v.renderBullet?w+=v.renderBullet.call(e,P,v.bulletClass):w+=`<${v.bulletElement} ${e.isElement?'part="bullet"':""} class="${v.bulletClass}"></${v.bulletElement}>`}v.type==="fraction"&&(v.renderFraction?w=v.renderFraction.call(e,v.currentClass,v.totalClass):w=`<span class="${v.currentClass}"></span> / <span class="${v.totalClass}"></span>`),v.type==="progressbar"&&(v.renderProgressbar?w=v.renderProgressbar.call(e,v.progressbarFillClass):w=`<span class="${v.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(C=>{v.type!=="custom"&&(C.innerHTML=w||""),v.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(ti(v.bulletClass)))}),v.type!=="custom"&&l("paginationRender",h[0])}function p(){e.params.pagination=jn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let g;typeof v.el=="string"&&e.isElement&&(g=e.el.querySelector(v.el)),!g&&typeof v.el=="string"&&(g=[...document.querySelectorAll(v.el)]),g||(g=v.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(v.el)],g.length>1&&(g=g.filter(h=>Ji(h,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=Qe(g),g.forEach(h=>{v.type==="bullets"&&v.clickable&&h.classList.add(...(v.clickableClass||"").split(" ")),h.classList.add(v.modifierClass+v.type),h.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(h.classList.add(`${v.modifierClass}${v.type}-dynamic`),d=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&h.classList.add(v.progressbarOppositeClass),v.clickable&&h.addEventListener("click",r),e.enabled||h.classList.add(v.lockClass)}))}function b(){const v=e.params.pagination;if(s())return;let g=e.pagination.el;g&&(g=Qe(g),g.forEach(h=>{h.classList.remove(v.hiddenClass),h.classList.remove(v.modifierClass+v.type),h.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(h.classList.remove(...(v.clickableClass||"").split(" ")),h.removeEventListener("click",r))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...v.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:g}=e.pagination;g=Qe(g),g.forEach(h=>{h.classList.remove(v.horizontalClass,v.verticalClass),h.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?S():(p(),f(),A())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&A()}),n("snapIndexChange",()=>{A()}),n("snapGridLengthChange",()=>{f(),A()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:v}=e.pagination;v&&(v=Qe(v),v.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{A()}),n("click",(v,g)=>{const h=g.target,w=Qe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const C=w[0].classList.contains(e.params.pagination.hiddenClass);l(C===!0?"paginationShow":"paginationHide"),w.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Qe(v),v.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),p(),f(),A()},S=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Qe(v),v.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:m,disable:S,render:f,update:A,init:p,destroy:b})}function ns(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ft();let a=!1,d=null,s=null,c,r,A,f;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I,rtlTranslate:N}=e,{dragEl:E,el:y}=I,F=e.params.scrollbar,D=e.params.loop?e.progressLoop:e.progress;let B=r,O=(A-r)*D;N?(O=-O,O>0?(B=r-O,O=0):-O+r>A&&(B=A+O)):O<0?(B=r+O,O=0):O+r>A&&(B=A-O),e.isHorizontal()?(E.style.transform=`translate3d(${O}px, 0, 0)`,E.style.width=`${B}px`):(E.style.transform=`translate3d(0px, ${O}px, 0)`,E.style.height=`${B}px`),F.hide&&(clearTimeout(d),y.style.opacity=1,d=setTimeout(()=>{y.style.opacity=0,y.style.transitionDuration="400ms"},1e3))}function b(I){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${I}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I}=e,{dragEl:N,el:E}=I;N.style.width="",N.style.height="",A=e.isHorizontal()?E.offsetWidth:E.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?r=A*f:r=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?N.style.width=`${r}px`:N.style.height=`${r}px`,f>=1?E.style.display="none":E.style.display="",e.params.scrollbar.hide&&(E.style.opacity=0),e.params.watchOverflow&&e.enabled&&I.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function S(I){return e.isHorizontal()?I.clientX:I.clientY}function v(I){const{scrollbar:N,rtlTranslate:E}=e,{el:y}=N;let F;F=(S(I)-fo(y)[e.isHorizontal()?"left":"top"]-(c!==null?c:r/2))/(A-r),F=Math.max(Math.min(F,1),0),E&&(F=1-F);const D=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(D),e.setTranslate(D),e.updateActiveIndex(),e.updateSlidesClasses()}function g(I){const N=e.params.scrollbar,{scrollbar:E,wrapperEl:y}=e,{el:F,dragEl:D}=E;a=!0,c=I.target===D?S(I)-I.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,I.preventDefault(),I.stopPropagation(),y.style.transitionDuration="100ms",D.style.transitionDuration="100ms",v(I),clearTimeout(s),F.style.transitionDuration="0ms",N.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",I)}function h(I){const{scrollbar:N,wrapperEl:E}=e,{el:y,dragEl:F}=N;a&&(I.preventDefault&&I.cancelable?I.preventDefault():I.returnValue=!1,v(I),E.style.transitionDuration="0ms",y.style.transitionDuration="0ms",F.style.transitionDuration="0ms",l("scrollbarDragMove",I))}function w(I){const N=e.params.scrollbar,{scrollbar:E,wrapperEl:y}=e,{el:F}=E;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",y.style.transitionDuration=""),N.hide&&(clearTimeout(s),s=gi(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",I),N.snapOnRelease&&e.slideToClosest())}function C(I){const{scrollbar:N,params:E}=e,y=N.el;if(!y)return;const F=y,D=E.passiveListeners?{passive:!1,capture:!1}:!1,B=E.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const O=I==="on"?"addEventListener":"removeEventListener";F[O]("pointerdown",g,D),o[O]("pointermove",h,D),o[O]("pointerup",w,B)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||C("on")}function V(){!e.params.scrollbar.el||!e.scrollbar.el||C("off")}function j(){const{scrollbar:I,el:N}=e;e.params.scrollbar=jn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const E=e.params.scrollbar;if(!E.el)return;let y;if(typeof E.el=="string"&&e.isElement&&(y=e.el.querySelector(E.el)),!y&&typeof E.el=="string"){if(y=o.querySelectorAll(E.el),!y.length)return}else y||(y=E.el);e.params.uniqueNavElements&&typeof E.el=="string"&&y.length>1&&N.querySelectorAll(E.el).length===1&&(y=N.querySelector(E.el)),y.length>0&&(y=y[0]),y.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass);let F;y&&(F=y.querySelector(ti(e.params.scrollbar.dragClass)),F||(F=yi("div",e.params.scrollbar.dragClass),y.append(F))),Object.assign(I,{el:y,dragEl:F}),E.draggable&&P(),y&&y.classList[e.enabled?"remove":"add"](...si(e.params.scrollbar.lockClass))}function x(){const I=e.params.scrollbar,N=e.scrollbar.el;N&&N.classList.remove(...si(e.isHorizontal()?I.horizontalClass:I.verticalClass)),V()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const I=e.params.scrollbar;let{el:N}=e.scrollbar;N=Qe(N),N.forEach(E=>{E.classList.remove(I.horizontalClass,I.verticalClass),E.classList.add(e.isHorizontal()?I.horizontalClass:I.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?R():(j(),m(),p())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{p()}),n("setTransition",(I,N)=>{b(N)}),n("enable disable",()=>{const{el:I}=e.scrollbar;I&&I.classList[e.enabled?"remove":"add"](...si(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const T=()=>{e.el.classList.remove(...si(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...si(e.params.scrollbar.scrollbarDisabledClass)),j(),m(),p()},R=()=>{e.el.classList.add(...si(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...si(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:T,disable:R,updateSize:m,setTranslate:p,init:j,destroy:x})}function Mn(t){let{swiper:e,extendParams:i,on:n}=t;i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let l=null,o,a,d=new Date().getTime();function s(D){const B=l;B.length!==0&&(B.innerHTML="",B.innerHTML=D)}function c(D){D===void 0&&(D=16);const B=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(D).replace(/x/g,B)}function r(D){D=Qe(D),D.forEach(B=>{B.setAttribute("tabIndex","0")})}function A(D){D=Qe(D),D.forEach(B=>{B.setAttribute("tabIndex","-1")})}function f(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("role",B)})}function p(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-roledescription",B)})}function b(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-controls",B)})}function m(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-label",B)})}function S(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("id",B)})}function v(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-live",B)})}function g(D){D=Qe(D),D.forEach(B=>{B.setAttribute("aria-disabled",!0)})}function h(D){D=Qe(D),D.forEach(B=>{B.setAttribute("aria-disabled",!1)})}function w(D){if(D.keyCode!==13&&D.keyCode!==32)return;const B=e.params.a11y,O=D.target;if(!(e.pagination&&e.pagination.el&&(O===e.pagination.el||e.pagination.el.contains(D.target))&&!D.target.matches(ti(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const k=Qe(e.navigation.prevEl);Qe(e.navigation.nextEl).includes(O)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s(B.lastSlideMessage):s(B.nextSlideMessage)),k.includes(O)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s(B.firstSlideMessage):s(B.prevSlideMessage))}e.pagination&&O.matches(ti(e.params.pagination.bulletClass))&&O.click()}}function C(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:D,prevEl:B}=e.navigation;B&&(e.isBeginning?(g(B),A(B)):(h(B),r(B))),D&&(e.isEnd?(g(D),A(D)):(h(D),r(D)))}function P(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function V(){return P()&&e.params.pagination.clickable}function j(){const D=e.params.a11y;P()&&e.pagination.bullets.forEach(B=>{e.params.pagination.clickable&&(r(B),e.params.pagination.renderBullet||(f(B,"button"),m(B,D.paginationBulletMessage.replace(/\{\{index\}\}/,Pi(B)+1)))),B.matches(ti(e.params.pagination.bulletActiveClass))?B.setAttribute("aria-current","true"):B.removeAttribute("aria-current")})}const x=(D,B,O)=>{r(D),D.tagName!=="BUTTON"&&(f(D,"button"),D.addEventListener("keydown",w)),m(D,O),b(D,B)},T=D=>{a&&a!==D.target&&!a.contains(D.target)&&(o=!0),e.a11y.clicked=!0},R=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},I=D=>{d=new Date().getTime()},N=D=>{if(e.a11y.clicked||new Date().getTime()-d<100)return;const B=D.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!B||!e.slides.includes(B))return;a=B;const O=e.slides.indexOf(B)===e.activeIndex,k=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(B);O||k||D.sourceCapabilities&&D.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{o||(e.params.loop?e.slideToLoop(parseInt(B.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(B),0),o=!1)}))},E=()=>{const D=e.params.a11y;D.itemRoleDescriptionMessage&&p(e.slides,D.itemRoleDescriptionMessage),D.slideRole&&f(e.slides,D.slideRole);const B=e.slides.length;D.slideLabelMessage&&e.slides.forEach((O,k)=>{const M=e.params.loop?parseInt(O.getAttribute("data-swiper-slide-index"),10):k,X=D.slideLabelMessage.replace(/\{\{index\}\}/,M+1).replace(/\{\{slidesLength\}\}/,B);m(O,X)})},y=()=>{const D=e.params.a11y;e.el.append(l);const B=e.el;D.containerRoleDescriptionMessage&&p(B,D.containerRoleDescriptionMessage),D.containerMessage&&m(B,D.containerMessage);const O=e.wrapperEl,k=D.id||O.getAttribute("id")||`swiper-wrapper-${c(16)}`,M=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";S(O,k),v(O,M),E();let{nextEl:X,prevEl:U}=e.navigation?e.navigation:{};X=Qe(X),U=Qe(U),X&&X.forEach($=>x($,k,D.nextSlideMessage)),U&&U.forEach($=>x($,k,D.prevSlideMessage)),V()&&Qe(e.pagination.el).forEach(be=>{be.addEventListener("keydown",w)}),Ft().addEventListener("visibilitychange",I),e.el.addEventListener("focus",N,!0),e.el.addEventListener("focus",N,!0),e.el.addEventListener("pointerdown",T,!0),e.el.addEventListener("pointerup",R,!0)};function F(){l&&l.remove();let{nextEl:D,prevEl:B}=e.navigation?e.navigation:{};D=Qe(D),B=Qe(B),D&&D.forEach(k=>k.removeEventListener("keydown",w)),B&&B.forEach(k=>k.removeEventListener("keydown",w)),V()&&Qe(e.pagination.el).forEach(M=>{M.removeEventListener("keydown",w)}),Ft().removeEventListener("visibilitychange",I),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",N,!0),e.el.removeEventListener("pointerdown",T,!0),e.el.removeEventListener("pointerup",R,!0))}n("beforeInit",()=>{l=yi("span",e.params.a11y.notificationClass),l.setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&y()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&E()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&C()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&j()}),n("destroy",()=>{e.params.a11y.enabled&&F()})}function Ni(t){let{swiper:e,extendParams:i,on:n,emit:l,params:o}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,d,s=o&&o.autoplay?o.autoplay.delay:3e3,c=o&&o.autoplay?o.autoplay.delay:3e3,r,A=new Date().getTime(),f,p,b,m,S,v,g;function h(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!(g||B.detail&&B.detail.bySwiperTouchMove)&&T())}const w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(c=r,f=!1);const B=e.autoplay.paused?r:A+c-new Date().getTime();e.autoplay.timeLeft=B,l("autoplayTimeLeft",B,B/s),d=requestAnimationFrame(()=>{w()})},C=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.filter(k=>k.classList.contains("swiper-slide-active"))[0]:B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},P=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),w();let O=typeof B>"u"?e.params.autoplay.delay:B;s=e.params.autoplay.delay,c=e.params.autoplay.delay;const k=C();!Number.isNaN(k)&&k>0&&typeof B>"u"&&(O=k,s=k,c=k),r=O;const M=e.params.speed,X=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,M,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,M,!0,!0),l("autoplay")),e.params.cssMode&&(A=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return O>0?(clearTimeout(a),a=setTimeout(()=>{X()},O)):requestAnimationFrame(()=>{X()}),O},V=()=>{A=new Date().getTime(),e.autoplay.running=!0,P(),l("autoplayStart")},j=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(d),l("autoplayStop")},x=(B,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),B||(v=!0);const k=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):T()};if(e.autoplay.paused=!0,O){S&&(r=e.params.autoplay.delay),S=!1,k();return}r=(r||e.params.autoplay.delay)-(new Date().getTime()-A),!(e.isEnd&&r<0&&!e.params.loop)&&(r<0&&(r=0),k())},T=()=>{e.isEnd&&r<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(A=new Date().getTime(),v?(v=!1,P(r)):P(),e.autoplay.paused=!1,l("autoplayResume"))},R=()=>{if(e.destroyed||!e.autoplay.running)return;const B=Ft();B.visibilityState==="hidden"&&(v=!0,x(!0)),B.visibilityState==="visible"&&T()},I=B=>{B.pointerType==="mouse"&&(v=!0,g=!0,!(e.animating||e.autoplay.paused)&&x(!0))},N=B=>{B.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&T())},E=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",I),e.el.addEventListener("pointerleave",N))},y=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",I),e.el.removeEventListener("pointerleave",N))},F=()=>{Ft().addEventListener("visibilitychange",R)},D=()=>{Ft().removeEventListener("visibilitychange",R)};n("init",()=>{e.params.autoplay.enabled&&(E(),F(),V())}),n("destroy",()=>{y(),D(),e.autoplay.running&&j()}),n("_freeModeStaticRelease",()=>{(b||v)&&T()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?j():x(!0,!0)}),n("beforeTransitionStart",(B,O,k)=>{e.destroyed||!e.autoplay.running||(k||!e.params.autoplay.disableOnInteraction?x(!0,!0):j())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){j();return}p=!0,b=!1,v=!1,m=setTimeout(()=>{v=!0,b=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){b=!1,p=!1;return}b&&e.params.cssMode&&T(),b=!1,p=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(S=!0)}),Object.assign(e.autoplay,{start:V,stop:j,pause:x,resume:T})}function os(t){let{swiper:e,extendParams:i,emit:n,once:l}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:s,touches:c}=e;s.velocities.length===0&&s.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:qt()})}function d(s){let{currentPos:c}=s;if(e.params.cssMode)return;const{params:r,wrapperEl:A,rtlTranslate:f,snapGrid:p,touchEventsData:b}=e,S=qt()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<p.length?e.slideTo(p.length-1):e.slideTo(e.slides.length-1);return}if(r.freeMode.momentum){if(b.velocities.length>1){const j=b.velocities.pop(),x=b.velocities.pop(),T=j.position-x.position,R=j.time-x.time;e.velocity=T/R,e.velocity/=2,Math.abs(e.velocity)<r.freeMode.minimumVelocity&&(e.velocity=0),(R>150||qt()-j.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,b.velocities.length=0;let v=1e3*r.freeMode.momentumRatio;const g=e.velocity*v;let h=e.translate+g;f&&(h=-h);let w=!1,C;const P=Math.abs(e.velocity)*20*r.freeMode.momentumBounceRatio;let V;if(h<e.maxTranslate())r.freeMode.momentumBounce?(h+e.maxTranslate()<-P&&(h=e.maxTranslate()-P),C=e.maxTranslate(),w=!0,b.allowMomentumBounce=!0):h=e.maxTranslate(),r.loop&&r.centeredSlides&&(V=!0);else if(h>e.minTranslate())r.freeMode.momentumBounce?(h-e.minTranslate()>P&&(h=e.minTranslate()+P),C=e.minTranslate(),w=!0,b.allowMomentumBounce=!0):h=e.minTranslate(),r.loop&&r.centeredSlides&&(V=!0);else if(r.freeMode.sticky){let j;for(let x=0;x<p.length;x+=1)if(p[x]>-h){j=x;break}Math.abs(p[j]-h)<Math.abs(p[j-1]-h)||e.swipeDirection==="next"?h=p[j]:h=p[j-1],h=-h}if(V&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?v=Math.abs((-h-e.translate)/e.velocity):v=Math.abs((h-e.translate)/e.velocity),r.freeMode.sticky){const j=Math.abs((f?-h:h)-e.translate),x=e.slidesSizesGrid[e.activeIndex];j<x?v=r.speed:j<2*x?v=r.speed*1.5:v=r.speed*2.5}}else if(r.freeMode.sticky){e.slideToClosest();return}r.freeMode.momentumBounce&&w?(e.updateProgress(C),e.setTransition(v),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,bn(A,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(r.speed),setTimeout(()=>{e.setTranslate(C),bn(A,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(v),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,bn(A,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(r.freeMode.sticky){e.slideToClosest();return}else r.freeMode&&n("_freeModeNoMomentumRelease");(!r.freeMode.momentum||S>=r.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:a,onTouchEnd:d}})}const ls=({children:t,isPadding:e=!0,style:i,enableSlideActive:n=!1})=>{const l=fe(),{popupDetailData:o}=Ge();return ce(()=>{var a,d;n&&((a=l?.current)===null||a===void 0||a.swiper.slideTo((d=o?.multiCheckIndex)!==null&&d!==void 0?d:0))},[o,n]),u.createElement(ei,{role:"list",tag:"ul",ref:l,direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[os,ns,en],style:Object.assign({padding:e?"0 12px 0 20px":0},i)},t)};var Mi=je(ls);const as=vi((t,e)=>{const{src:i,onLoad:n,style:l,className:o,loading:a,alt:d="image"}=t,[s,c]=Z(i),r=fe(null),[A,f]=Z(!1);return Ci(e,()=>({setSrc:p=>{p&&c(p)}})),ce(()=>{i&&c(i)},[i]),ce(()=>{const p=()=>{i&&!A&&r.current&&(r.current.src="",r.current.src=i)};return Ct.on(xt.PAGE_DID_SHOW,p),()=>{Ct.off(xt.PAGE_DID_SHOW,p)}},[i,A]),u.createElement(u.Fragment,null,!A&&!s&&u.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),s?.includes(".avif")?u.createElement("picture",null,u.createElement("source",{type:"image/avif",srcSet:s}),u.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),u.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),u.createElement("img",{ref:r,className:o,src:s,style:Object.assign({},l),loading:a,onLoad:p=>{f(!0),n?.(p.target)},alt:d})):u.createElement("img",{ref:r,className:o,src:s,style:Object.assign({},l),loading:a,onLoad:p=>{f(!0),n?.(p.target)},alt:d}))});var Mt=je(as);const ss=({products:t,data:e,defImg:i,style:n,onCLick:l,popupDetailData:o,check:a})=>{var d;const{productView:s}=Vt(),{popupCurTimeRef:c}=Ge(),r=(A,f)=>{if(a===f)return;const p=t?.[a];s(o,p,p?.bindCta,c.current,o?.index),l?.(f)};return u.createElement(u.Fragment,null,e?.open&&(t&&t?.length>1||!o)&&u.createElement(Mi,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},n),e?.style)},(d=o?t:[0,1,2,3])===null||d===void 0?void 0:d.map((A,f)=>{var p,b,m;return u.createElement(u.Fragment,null,A?.bindCta?u.createElement(zt,{className:ze({width:"50px",height:"50px",marginInlineEnd:"10px"}),onClick:()=>{r(A,f)},key:f},u.createElement(Mt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:a===f?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(m=(p=A?.cover)!==null&&p!==void 0?p:(b=A?.homePage)===null||b===void 0?void 0:b[0])!==null&&m!==void 0?m:i})):null)})))};var Lo=je(ss);function jo(){const[t,e]=Z(0),[i,n]=Z(0),l=()=>{if(typeof window>"u")return 0;let a=window.innerHeight;return window.visualViewport&&(a=window.visualViewport.height),(a<=0||a>window.screen.height)&&(a=window.innerHeight),a<=0&&(a=document.documentElement.clientHeight),a},o=de(()=>{var a;const d=l(),s=(a=window.screen)===null||a===void 0?void 0:a.height,c=navigator.userAgent,r=/Instagram/i.test(c),A=/FBAV|FBAN|FBSN/i.test(c);if(!s||d<=0||!r&&!A){e(d);return}const f=d/s,p=.9,b=s>=900?s*.8:s*.79,m=f>=p,S=m?Math.round(b):d,v=s-Math.round(b);if(m){const g=document.querySelector("#onetrust-banner-sdk");g&&(g.style.bottom=`${v}px`);const h=document.createElement("style");h.id="onetrust-pc-sdk",h.setAttribute("type","text/css"),document.head.appendChild(h);const w=`
|
|
1
|
+
import{isEmpty as ui,cloneDeep as bi,isEqual as Hn,debounce as Ei,throttle as Un,get as Xn}from"lodash";import{v4 as Zo}from"uuid";import Ko from"pako";import u,{useContext as Ii,useMemo as we,memo as je,useEffect as ce,createContext as ki,useState as Z,useRef as fe,useCallback as de,forwardRef as vi,useImperativeHandle as Ci,useLayoutEffect as Jo}from"react";import qn from"qs";import Qo from"eventemitter3";import{css as ze}from"@emotion/css";import*as Yn from"react-dom";import $o from"react-dom";function rt(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(t);l<n.length;l++)e.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(t,n[l])&&(i[n[l]]=t[n[l]]);return i}function mt(t,e,i,n){function l(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function d(r){try{c(n.next(r))}catch(A){a(A)}}function s(r){try{c(n.throw(r))}catch(A){a(A)}}function c(r){r.done?o(r.value):l(r.value).then(d,s)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const el=/:\w+/g;var Gn=(t,e)=>mt(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:o,method:a,url:d,urlParams:s,name:c,queryString:r,headers:A,body:f}=e[l];let p=d;s&&Object.entries(s).forEach(([b,m])=>{p=p.replace(el,S=>S===b?m:S)}),r&&(p+=r),n[o]=c;try{const b=yield fetch(p,{method:a,headers:Object.assign({"Content-Type":"application/json"},A),body:JSON.stringify(f)}).then(m=>m.json());i[o]=b}catch(b){console.error("DataSource request error: ",b),i[o]={}}}return{$store:i,idMapName:n}});const _n="SXP_TOKEN_INFO",tl=(t,e)=>mt(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),o=t.getApiUrl(),a=window.localStorage.getItem(_n);let d=JSON.parse(a||"{}");if(Date.now()>((i=d?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${o}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(r=>r.json());if(c.success){const r=c.data;d=Object.assign(Object.assign({},r),{expireTime:Date.now()+r.expire*1e3}),window.localStorage.setItem(_n,JSON.stringify(d))}}return d});function qi(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let l;if(e=e||i.length,t)for(l=0;l<t;l++)n[l]=i[0|Math.random()*e];else{let o;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",l=0;l<36;l++)n[l]||(o=0|Math.random()*16,n[l]=i[l===19?o&3|8:o])}return n.join("")}const il=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let l=0;for(;l<t;)e+=i.charAt(Math.floor(Math.random()*n)),l+=1;return e},nl=()=>{const t=Zo();return t?.replaceAll?t.replaceAll("-",""):il(32)},Ve=(t,e)=>{if(!t)return"";let i="";const n=e?.["fontFamily-cn"],l=e?.["fontFamily-en"];if(!n&&!l)return t;let o=t;const a=/[\u4e00-\u9fa5]/g,d=/[^\u4e00-\u9fa5]/g,s=`font-family:${n??"inherit"}`,c=`font-family:${l??"inherit"}`,r=f=>{const p=f.search(a),b=f.search(d);return p!==-1&&b!==-1&&p<b&&(i+=`<span style="${s}">${f.substring(p,b)}</span>`,o=f.substring(b,f?.length)),p!==-1&&b!==-1&&p>b&&(i+=`<span style="${c}">${f.substring(b,p)}</span>`,o=f.substring(p,f?.length)),p===-1?(i+=`<span style="${c}">${f.substring(b,f?.length)}</span>`,o="",!1):b===-1?(i+=`<span style="${s}">${f.substring(p,f?.length)}</span>`,o="",!1):!0};let A=!0;for(;A;)A=r(o);return i};function cn(t){const i=document.cookie.split(";");let n=null;return i.forEach(l=>{const[o,a]=l.trim().split("=");o===t&&(n=a)}),n??""}function un(){const t=self.navigator.userAgent;return t?/TalkBack/i.test(t)||/Funtouch/i.test(t)||/VoiceOver/i.test(t)||/NVDA/i.test(t)||/JAWS/i.test(t)||/ChromeVox/i.test(t):!1}function pi(t){if(!t)return;const e=[];for(let l=0;l<t.length;l++){const o=t[l],a=t.substring(l+1,t.length);o==="&"&&a?.indexOf("=")!==-1&&(a?.indexOf("=")<a?.indexOf("&")||a?.indexOf("&")===-1)&&e.push(l)}const i=e.length>0?[]:[t];let n=0;return e?.map(l=>{i?.push(t.substring(n,l)),n=l+1,l===e[e.length-1]&&l<t.length&&i?.push(t.substring(n,t.length))}),i??[]}function ol(t,e="/",i=""){const n="expires=Thu, 01 Jan 1970 00:00:00 GMT",l=e?`; path=${e}`:"",o=i?`; domain=${i}`:"";document.cookie=`${t}=; ${n}${l}${o}`,console.log(`\u5DF2\u5C1D\u8BD5\u5220\u9664Cookie: ${t}`)}function Zn(t){const i=atob(t).split("").map(function(o){return o.charCodeAt(0)}),n=new Uint8Array(i),l=Ko.inflate(n,{to:"string"});return JSON.parse(l)}let vn=null;const ll={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class al{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,vn)return vn;vn=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?ll[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let jt=null;const sl={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{jt||(jt=new al),n&&jt.setApiUrl(n),jt.setAppId(t),jt.setTenantId(e),jt.setEnv(i)},getDetail:t=>{if(!jt)return;const e=jt.getTenantId(),i=jt.getAppId(),n=jt.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>mt(void 0,void 0,void 0,function*(){var o,a;const d=yield l.json(),s=Zn((o=d?.data)===null||o===void 0?void 0:o.data);if(s){const{$store:c}=yield Gn(n,(a=s?.dataSource)!==null&&a!==void 0?a:[]);d.data.data=s,Object.assign(d.data.data,{__STORE__:c})}return d}))},getSxpDetailByPageId:t=>mt(void 0,void 0,void 0,function*(){if(!jt)return;const e=jt.getTenantId(),i=jt.getAppId(),n=jt.getApiUrl();return fetch(`${n}/storefront/v1/page/build?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>mt(void 0,void 0,void 0,function*(){var o;const a=yield l.json();return a.success?(o=a?.data)===null||o===void 0?void 0:o.map(s=>Object.assign(Object.assign({},s),{data:Zn(s?.data)})):void 0}))}),getSxpRecommendVideoData:t=>mt(void 0,void 0,void 0,function*(){if(!jt)return;const e=yield tl(jt,t),i=qi(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ui(n)&&(n=qi(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const l=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(o=>o.json());return l?.data||null})};function ai(){return Ii(co)}function rl(){return Ii(ro)}const pn="feRealSessionIdKey",Kn=()=>{const t=nl();return`${Date.now()}${t}`},dl=()=>{let t=cl();return t||(t=Kn(),window.localStorage.setItem(pn,t)),t},mn=()=>{const t=Kn();window.localStorage.setItem(pn,t)},cl=()=>window.localStorage.getItem(pn),Jn="SXP_FAKE_USER_ID",Qn="FAKE_USER_STATE",$n="AGREE_POLICY",eo="SLIDE_SKIP_STATE",to="CCONTSENT_STATE",io="USER_CONSENT_RESULT",ul=()=>{let t=window.localStorage.getItem(Jn);return ui(t)&&(t=qi(36,62),window.localStorage.setItem(Jn,t)),t},vl=()=>{const t=window.localStorage.getItem(Qn);return ui(t)&&window.localStorage.setItem(Qn,"true"),ui(t)},pl=()=>{const t=window.localStorage.getItem(eo);return ui(t)},ml=()=>{window.localStorage.setItem(eo,"true")},fl=()=>{const t=window.localStorage.getItem(to);return ui(t)&&window.localStorage.setItem(to,"true"),ui(t)},no=()=>window.localStorage.getItem(io)==="true",oo=()=>{window.localStorage.setItem(io,"true")};function Lt(t,e){const{appDomain:i}=Ge();return we(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Ct=new Qo;var xt;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(xt||(xt={}));const hl=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:l,privacy_policy_title:o})=>{const{setIsAgreePolicy:a,bffEventReport:d}=Ge(),s=we(()=>{var A;const f=location.search.slice(1),p={};(A=pi(f.replace(/\+/g,"%2B")))===null||A===void 0||A.map(b=>{const m=b.split("=")[0],S=b.split("=")[1];p[m]=S});for(const b in p)p[b]=p[b].replace(/%2B/g,"+");return p},[]),c=A=>{var f;return(f=s[A])!==null&&f!==void 0?f:null};ce(()=>{d?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const r=()=>{d?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),a?.(!0),window.localStorage.setItem($n,"yes")};return u.createElement("div",{className:"consent-bg"},u.createElement("div",{className:"consent"},u.createElement("div",{className:"consent-col"},u.createElement("div",{className:"consent-title"},i??"Privacy Policy"),u.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),u.createElement("div",{className:"consent-col"},u.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:r},"Agree"),u.createElement("a",{className:"consent-policy",target:"_blank",href:l?`https://${l}`:void 0},o??"More information"))))};var Al=je(hl);const lo=ki({rtcList:[],tagList:[]});var fn;(function(t){t[t.BFF=5]="BFF"})(fn||(fn={}));const Yi="FOR U",bl=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:o,isPreview:a=!1,sxpParameter:d,appDomain:s,hashTagSize:c,loadingImage:r,isOpenHashTag:A=!1,enabledMetaConversionApi:f=!1,consentHeight:p,consentWidth:b,isOpenConsent:m=!1,isEditor:S=!1,utmParameter:v,channelQueryList:g,data:h,dataList:w,isDiyH5:C,onUpdateSchema:P,onUpdateChannel:V})=>{var j,x,T,R,I;const[N,E]=Z([]),[y,F]=Z([]),[D,B]=Z(!0),[O,k]=Z({rtc:"",requestId:""}),M=fe(null),X=fe(!1),[U,q]=Z(()=>!!window.localStorage.getItem($n)),[$,be]=Z(),[ue,J]=Z(),[Pe,De]=Z(A),[Xe,me]=Z([]),[ve,et]=Z(0),[_e,Ze]=Z(!1),[$e,dt]=Z(null),tt=fe(),Le=fe(),ot=fe(),[Pt,He]=Z(Yi),qe=fe(-1),Ye=fe(null),[K,te]=Z(!1),[_,ae]=Z((x=(j=h?.data)===null||j===void 0?void 0:j.sxpPageConf)===null||x===void 0?void 0:x.globalConfig),[Ie,Ee]=Z(),[ee,W]=Z(!1),[We,lt]=Z(),[it,ct]=Z(),[nt,Ue]=Z([]),[at,ht]=Z(),[St,Yt]=Z(),Rt=we(()=>Ie??h,[Ie,h]),Et=fe(!1);ce(()=>{var z,H;ae((H=(z=h?.data)===null||z===void 0?void 0:z.sxpPageConf)===null||H===void 0?void 0:H.globalConfig)},[h]);const It=we(()=>{var z,H,ie,ye;return(((ye=(ie=(H=(z=_?.consent)===null||z===void 0?void 0:z[0])===null||H===void 0?void 0:H.item)===null||ie===void 0?void 0:ie.props)===null||ye===void 0?void 0:ye.privacy_necessity)&&!U&&!S||m)&&ee},[U,_,m,S,ee]),Kt=de(z=>{V?.(z),ct(z)},[]),Tt=de(z=>{var H;const ie=z?.recList;return(H=ie?.map(pe=>{var he,Se,ke,Ce,Be,L;if(!((he=pe?.video)===null||he===void 0)&&he.bindProducts&&((ke=(Se=pe?.video)===null||Se===void 0?void 0:Se.bindProducts)===null||ke===void 0?void 0:ke.length)>0){const Y=(L=(Be=(Ce=pe?.video)===null||Ce===void 0?void 0:Ce.bindProducts)===null||Be===void 0?void 0:Be.filter(G=>!!G?.bindCta))!==null&&L!==void 0?L:[];return Object.assign(Object.assign({},pe),{video:Object.assign(Object.assign({},pe?.video),{bindProducts:Y})})}return pe}))!==null&&H!==void 0?H:[]},[]);ce(()=>{let z;return nt.length>0&&(z=setInterval(()=>{const ie=new Date,ye=15*1e3;Ue(pe=>pe.filter(he=>ie-he.time<=ye))},1e3)),()=>{clearInterval(z)}},[nt]),ce(()=>{const z=H=>{tt.current=H};return Ct.on(xt.CHANGE_THEME_TAG,z),()=>{Ct.off(xt.CHANGE_THEME_TAG,z)}},[]),ce(()=>{De(A)},[A]);const Ke=we(()=>e?.find(z=>z.type===fn.BFF),[e]),Oe=we(()=>{var z;return((z=Ke?.headers)===null||z===void 0?void 0:z["x-app-id"])+ul()},[Ke]),ge=()=>{var z,H;function ie(he){const Se=he.match(/groups=([^&]+)/);if(!Se||!Se[1])return!1;const Ce=Se[1].split(",");for(const Be of Ce){const[L,Y]=Be.split(":");if(L==="4")return Y==="0"}return!1}function ye(he){var Se;const Ce=`; ${document.cookie}`.split(`; ${he}=`);return Ce.length===2?(Se=Ce.pop())===null||Se===void 0?void 0:Se.split(";").shift():""}const pe=decodeURIComponent((z=ye("OptanonConsent"))!==null&&z!==void 0?z:"");return!!(window?.OnetrustActiveGroups&&((H=window?.OnetrustActiveGroups)===null||H===void 0?void 0:H.length)>2&&!window?.OnetrustActiveGroups.includes("4")&&ie(pe))},xe=de((z,H,ie=!0)=>{var ye;if(!Ke)return;const pe=Ke.url;if(H?.query){const Se=qn.stringify(H.query);z=`${z}?${Se}`}const he=location.search.slice(1);return(ye=pi(he))===null||ye===void 0||ye.forEach(Se=>{Se.split("=")[0],Se.split("=")[1]}),window.fetch(`${pe}/api/${z}`,Object.assign({headers:Object.assign({"Content-Type":"application/json","x-user-id":Oe},Ke.headers),method:H.method,body:H.type==="beacon"&&ie?JSON.stringify({body:btoa(encodeURIComponent(JSON.stringify(Object.assign(Object.assign(Object.assign({},H.body),Ke.headers),{"x-user-id":Oe}))))}):JSON.stringify(H.body)},H.type==="beacon"&&{keepalive:!0})).then(Se=>Se.json()).catch(Se=>Promise.reject(Se))},[Ke,Oe]),bt=de(z=>{var H;if(ge())return Promise.resolve();const ie={eventName:z?.eventName,eventSource:z?.eventSource};return xe?.(`v1/data/collect/${(H=Ke?.headers)===null||H===void 0?void 0:H["x-app-id"]}/${z?.eventName}`,{method:"POST",body:ie,type:"beacon"},!1)},[xe,Ke]);ce(()=>{const z=window.Image;window.Image=function(){const H=new z,ie=Object.getOwnPropertyDescriptor(HTMLImageElement.prototype,"src");return Object.defineProperty(H,"src",{set(ye){if(!(ge()&&(ye.includes("https://www.facebook.com/privacy_sandbox/pixel/register/trigger/")||ye.includes("https://www.facebook.com/tr")))&&(ie.set.call(this,ye),ye.includes("https://www.facebook.com/privacy_sandbox/pixel/register/trigger/"))){const pe=new URL(ye),he=Object.fromEntries(pe.searchParams.entries());bt({eventName:he?.ev,eventSource:"Meta Pixel"})}},get(){return ie.get.call(this)}}),H}},[bt]),ce(()=>{const z=navigator;if(!z.sendBeacon){console.warn("navigator.sendBeacon is not supported");return}const H=z.sendBeacon.bind(z);return z.sendBeacon=function(ie,ye){const pe=ie instanceof URL?ie.href:ie.toString();if(ge()&&(pe.includes("https://tr.snapchat.com/p")||pe.includes("https://analytics.tiktok.com/api/v2/pixel")))return!0;const he=H(ie,ye);function Se(ke){return mt(this,void 0,void 0,function*(){return typeof ke=="string"?JSON.parse(ke):ke instanceof Blob?JSON.parse(yield ke.text()):ke instanceof ArrayBuffer?JSON.parse(new TextDecoder().decode(ke)):null})}return he&&Promise.resolve().then(()=>mt(this,void 0,void 0,function*(){var ke,Ce;try{const Be=yield Se(ye);pe.includes("https://tr.snapchat.com/p")?(Ce=(ke=Be?.req)===null||ke===void 0?void 0:ke.forEach)===null||Ce===void 0||Ce.call(ke,L=>{var Y,G;!((Y=L?.t)===null||Y===void 0)&&Y.ev&&bt({eventName:(G=L?.t)===null||G===void 0?void 0:G.ev,eventSource:"Snapchat Pixel"})}):pe.includes("https://analytics.tiktok.com/api/v2/pixel")&&Be?.event&&bt({eventName:Be.event,eventSource:"TikTok Pixel"})}catch(Be){console.error("\u76D1\u63A7\u5931\u8D25:",Be)}})),he},()=>{z.sendBeacon=H}},[bt]),ce(()=>{const z=window.fetch;window.fetch=function(H,ie){var ye=arguments;return mt(this,void 0,void 0,function*(){var pe;let he;try{he=typeof H=="string"?H:H instanceof URL?H.href:H.url}catch(Se){return console.error("\u89E3\u6790\u8BF7\u6C42URL\u5931\u8D25:",Se),z.apply(this,ye)}try{if(ge()&&(he.includes("https://www.google-analytics.com/g/collect")||he.includes("https://arms-retcode.aliyuncs.com/r.png")))return Promise.resolve(new Response(""));const Se=z.apply(this,ye);if(he.includes("https://www.google-analytics.com/g/collect")){const ke=new URL(he),Ce=Object.fromEntries(ke.searchParams.entries()),Be=(pe=ye[1])===null||pe===void 0?void 0:pe.body;if(Ce?.en)bt({eventName:Ce?.en,eventSource:"Google Analytics"});else if(Be){const Y=function(G){if(typeof G!="string")return[];const Q=[],re=/en=([^&\r\n]*)/g;let ne;for(;(ne=re.exec(G))!==null;)Q.push(decodeURIComponent(ne[1]));return Q}(Be);Y?.forEach(G=>{bt({eventName:G,eventSource:"Google Analytics"})})}}return Se}catch(Se){throw console.error(Se),Se}})}},[bt]),ce(()=>{const z=XMLHttpRequest.prototype.open,H=XMLHttpRequest.prototype.send;return XMLHttpRequest.prototype.open=function(ie,ye){this._url=ye,z.apply(this,arguments)},XMLHttpRequest.prototype.send=function(ie){var ye;if(!(ge()&&this._url&&typeof this._url=="string"&&(this._url.includes("https://rumcollector.uptime.com")||this._url.includes("https://arms-retcode.aliyuncs.com/r.png")||this._url.includes("https://i.giesswein.com/nb-collector")))){if(this._url&&typeof this._url=="string"&&this._url.includes("https://i.giesswein.com/nb-collector")&&ie&&typeof ie=="string")try{const pe=JSON.parse(ie);if(pe&&Array.isArray(pe.data)){const he=pe.data[((ye=pe.data)===null||ye===void 0?void 0:ye.length)-1];he&&he.e&&bt({eventName:he.e,eventSource:"Northbeam Pixel"})}}catch(pe){console.error("Failed to parse Northbeam event from XHR",pe)}H.apply(this,arguments)}},()=>{XMLHttpRequest.prototype.open=z,XMLHttpRequest.prototype.send=H}},[bt]),ce(()=>{typeof window?.fbq=="function"&&window?.fbq("track","PageView")},[]);const Gt=de((z,H)=>{if(!Ke)return;const ie=Ke.url;if(H?.query){const ye=qn.stringify(H.query);z=`${z}?${ye}`}return window.fetch(`${ie}/admin/${z}`,{headers:Object.assign({"Content-Type":"application/json"},Ke.headers),method:H.method,body:JSON.stringify(H.body)}).then(ye=>ye.json()).catch(ye=>Promise.reject(ye))},[Ke]),Ut=de(z=>mt(void 0,void 0,void 0,function*(){var H,ie,ye,pe,he,Se,ke,Ce,Be,L,Y,G,Q,re;if(z=Object.assign(Object.assign({maxSize:(H=z?.maxSize)!==null&&H!==void 0?H:l,defaultSize:(ie=z?.defaultSize)!==null&&ie!==void 0?ie:o,hashTag:z?.hashTag,traceInfo:z?.traceInfo,themeTag:z?.themeTag,pageNum:z?.pageNum,contentFilter:z?.contentFilter,productFilter:z?.productFilter},St&&{chatlabsId:St}),C&&{type:"story"}),it)z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(it)});else if(i){const oe=(he=(pe=(ye=pi(i))===null||ye===void 0?void 0:ye.filter(se=>{var Ae,Fe;const Te=se.split("=")[0];return(Fe=(Ae=v?.channels)!==null&&Ae!==void 0?Ae:[])===null||Fe===void 0?void 0:Fe.includes(Te)}))===null||pe===void 0?void 0:pe.join("&"))!==null&&he!==void 0?he:"";oe&&(z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(oe)}))}if(S){let oe=1;if(z=Object.assign(Object.assign(Object.assign({},z),{directPage:!0,level:1}),!i&&g&&g?.length>0&&{channel:g?.[0]}),!z?.channel||X.current)return;X.current=!0;let se=[],Ae=null;const Fe=Te=>mt(void 0,void 0,void 0,function*(){var Ne,ft,ut,vt,pt,st;if(Te.pageNum=oe,Ae=yield Gt?.("recommend/direct_page",{method:"POST",body:Te}),!Ae?.success)return;B(!1),se=se.concat((vt=(ut=(ft=(Ne=Ae?.data)===null||Ne===void 0?void 0:Ne.recList)===null||ft===void 0?void 0:ft.filter)===null||ut===void 0?void 0:ut.call(ft,Je=>Je?.product||Je?.video))!==null&&vt!==void 0?vt:[]),N?.length===0&&(E(Tt(Object.assign(Object.assign({},Ae?.data),{recList:se}))),me(Tt(Object.assign(Object.assign({},Ae?.data),{recList:se})))),((st=(pt=Ae?.data)===null||pt===void 0?void 0:pt.recList)===null||st===void 0?void 0:st.some(Je=>Je?.product||Je?.video))&&(oe=oe+1,yield Fe(Te))});return yield Fe(z),!z?.hashTag&&Ae&&k({rtc:(Se=Ae?.data)===null||Se===void 0?void 0:Se.rtc,requestId:(ke=Ae?.data)===null||ke===void 0?void 0:ke.requestId}),Object.assign(Object.assign({},Ae?.data),{recList:se})}_?.enablePreview&&(z=Object.assign(Object.assign({},z),{directPage:!0,level:1,pageNum:(Ce=z?.pageNum)!==null&&Ce!==void 0?Ce:1}));const ne=yield xe?.("v1/recommend/list",{method:"POST",body:z});if(!ne?.success)return;z?.hashTag||k({rtc:ne.data.rtc,requestId:ne.data.requestId}),_?.enablePreview&&!S&&(!((L=(Be=ne?.data)===null||Be===void 0?void 0:Be.recList)===null||L===void 0)&&L.some(se=>se?.product||se?.video)||te(!0));let le=[];return le=le.concat((re=(Q=(G=(Y=ne?.data)===null||Y===void 0?void 0:Y.recList)===null||G===void 0?void 0:G.filter)===null||Q===void 0?void 0:Q.call(G,oe=>oe?.product||oe?.video))!==null&&re!==void 0?re:[]),Object.assign(Object.assign({},ne.data),{recList:le})}),[xe,i,l,o,g,it,St,Gt]),ln=de(z=>mt(void 0,void 0,void 0,function*(){var H,ie,ye,pe;if(N.length<=0)return;const he=N?.[N?.length-1],Se=yield Ut(Object.assign(Object.assign(Object.assign(Object.assign({hashTag:ue?.hashTag},((H=he?.product)===null||H===void 0?void 0:H.itemId)&&{productFilter:[(ie=he?.product)===null||ie===void 0?void 0:ie.itemId]}),((ye=he?.video)===null||ye===void 0?void 0:ye.itemId)&&{contentFilter:[(pe=he?.video)===null||pe===void 0?void 0:pe.itemId]}),{themeTag:tt.current}),_?.enablePreview&&!S&&{pageNum:z}));return E(N.concat(Tt(Se))),me(Xe.concat(Tt(Se))),Se}),[Ut,N,ue,Xe]),fi=de((z,H)=>{var ie,ye,pe,he,Se;let ke=!1;const Ce=(ye=(ie=h?.data)===null||ie===void 0?void 0:ie.sxpPageConf)===null||ye===void 0?void 0:ye.globalConfig;if(!((pe=Ce?.session)===null||pe===void 0)&&pe.enable){const Be=localStorage.getItem("sessionStartTime"),L=Be?JSON.parse(Be):new Date().getTime();Math.floor((new Date().getTime()-L)/1e3/60)>=((Se=(he=Ce?.session)===null||he===void 0?void 0:he.expires)!==null&&Se!==void 0?Se:30)&&(H?.("sessionTimeOut"),mn(),Le.current=new Date,ke=!0),localStorage.setItem("sessionStartTime",JSON.stringify(new Date().getTime()))}else z&&mn();return ke},[h]),wt=de(({userInfo:z,eventInfo:H,reportLayId:ie=!0,isActiveTargetingCookie:ye=!0})=>{var pe,he;if(!n||_?.enablePreview||ye&&ge())return;z||(z={});const Se=dl(),ke={},Ce=location.search.slice(1);(pe=pi(Ce))===null||pe===void 0||pe.forEach(Q=>{const re=Q.split("=")[0],ne=Q.split("=")[1];ke[re]=ne});const Be=ke?.cl_source,L=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({sessionID:Se,rtc:O.rtc,requestId:O.requestId},{playbookType:at}),We&&ie&&{layoutVariantId:We}),H),H?.position&&it&&{position:Number(H?.position)+1+""}),Be&&{clSource:Be}),Y=Object.entries(z).map(([Q,re])=>({name:Q,value:re})),G=Object.entries(L).map(([Q,re])=>re&&{name:Q,value:re}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",L),console.log("========= \u7ED3\u675F ========="),xe?.(`v2/cld/${(he=Ke?.headers)===null||he===void 0?void 0:he["x-app-id"]}/${H?.eventSubject}${Be?`/${decodeURIComponent(Be)}`:""}`,{method:"POST",body:{userInfo:Y,eventInfo:G},type:"beacon"})},[xe,O,n,_?.enablePreview,We,_,at,Ke]),di=de((z,H)=>{var ie,ye,pe;const he=bi(z),Se=new URLSearchParams(window.location.search),ke=Se?.get("fbclid"),Ce={event_source_url:(ie=window?.location)===null||ie===void 0?void 0:ie.href,external_id:Oe,client_user_agent:(pe=(ye=window?.navigator)===null||ye===void 0?void 0:ye.userAgent)!==null&&pe!==void 0?pe:"",fbc:ke?`fb.2.${new Date().getTime()}.${ke}`:"",fbp:cn("_fbp")?`${cn("_fbp")}`:"",time:Math.floor(Date.now()/1e3)},Be=/\{\{(.*?)\}\}/g,L=Y=>{if(Y){if(Y instanceof Array)Y?.map(G=>L(G));else for(const G in Y)if(Object.prototype.hasOwnProperty.call(Y,G)){const Q=Y?.[G];if(typeof Q=="object")L(Q);else if(typeof Q=="string"){const re=Q?.match(Be);re&&re.forEach(ne=>{var le;const oe=ne.substring(2,ne.length-2);try{let se=new Function("fix_par","product",`return ${oe}`)(Ce,H);se?(oe?.indexOf("currency")!==-1&&se?.indexOf("-")!==-1&&typeof se=="string"&&(se=(le=se?.split("-"))===null||le===void 0?void 0:le[0]),Y[G]=se):delete Y[G]}catch(se){delete Y[G],console.error("An error occurred:",se?.message)}})}}}};return L(he),he},[Oe]),zi=de(({eventName:z,product:H})=>{var ie,ye,pe,he,Se,ke,Ce,Be,L,Y;if(!n||_?.enablePreview||ge())return;let G=!1;const Q=(ie=_?.pixel)===null||ie===void 0?void 0:ie[z];if(Q?.event_name&&typeof window?.fbq=="function"){let le=function(oe,se,Ae){const Fe=new RegExp("([?&])"+se+"=.*?(&|$)","i"),Te=oe.indexOf("?")!==-1?"&":"?";return oe.match(Fe)?oe.replace(Fe,"$1"+se+"="+Ae+"$2"):oe+Te+se+"="+Ae};if(z==="PageView"&&Q?.event_name==="PageView")if(!Et.current)Et.current=!0;else{const oe=window.location.href,se=le(oe,"timestamp",Date.now());history.pushState({path:se},"",se),G=!0}else window?.fbq("track",Q?.event_name,di(Q,H))}if(!G){z==="PageView"&&typeof window?.gtag=="function"&&window?.gtag("event","page_view");const le=(ye=_?.tiktokPixel)===null||ye===void 0?void 0:ye[z];le?.event_name&&typeof window?.ttq=="object"&&typeof((pe=window?.ttq)===null||pe===void 0?void 0:pe.track)=="function"&&((he=window?.ttq)===null||he===void 0||he.track(le?.event_name,di(le,H)))}const re=(Se=_?.snapchatPixel)===null||Se===void 0?void 0:Se[z];re?.event_name&&typeof window?.snaptr=="function"&&window?.snaptr("track",re?.event_name,di(re,H)),z==="PageView"&&typeof window?.Northbeam=="object"&&typeof((ke=window?.Northbeam)===null||ke===void 0?void 0:ke.trackPageView)=="function"&&((Ce=window?.Northbeam)===null||Ce===void 0||Ce.trackPageView());const ne=(Be=_?.converApi)===null||Be===void 0?void 0:Be[z];if(f&&ne){const le=di(ne,H),oe={},se=location.search.slice(1);(L=pi(se))===null||L===void 0||L.forEach(Fe=>{const Te=Fe.split("=")[0],Ne=Fe.split("=")[1];oe[Te]=Ne});const Ae=oe?.cl_source;xe?.(`v2/fb/${(Y=Ke?.headers)===null||Y===void 0?void 0:Y["x-app-id"]}/${z}${Ae?`/${decodeURIComponent(Ae)}`:""}`,{method:"POST",body:le,type:"beacon"})}},[xe,n,f,_,Ke,di]),oi=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/recommend/like",{method:"POST",body:z});return H?.success}),[xe]),hi=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/recommend/unlike",{method:"POST",body:z});return H?.success}),[xe]),li=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/customform",{method:"POST",body:z});return H?.success}),[xe]),Xt=de(z=>mt(void 0,void 0,void 0,function*(){var H,ie,ye,pe,he,Se,ke,Ce;const Be=!!(!((ye=(ie=(H=z?.data)===null||H===void 0?void 0:H.sxpPageConf)===null||ie===void 0?void 0:ie.globalConfig)===null||ye===void 0)&&ye.isShowTag);if(!(!i||!Be))try{const L=(Se=(he=(pe=pi(i))===null||pe===void 0?void 0:pe.filter(G=>{var Q,re;const ne=G.split("=")[0];return(re=(Q=v?.channels)!==null&&Q!==void 0?Q:[])===null||re===void 0?void 0:re.includes(ne)}))===null||he===void 0?void 0:he.join("&"))!==null&&Se!==void 0?Se:"",Y=yield xe?.("v1/tag/list",{method:"GET",query:{channel:decodeURIComponent(L)}});F((Ce=(ke=Y?.data)===null||ke===void 0?void 0:ke.tags)!==null&&Ce!==void 0?Ce:[])}catch(L){console.log("e",L)}}),[xe,i]),_t=de((z,H,ie,ye)=>{var pe,he,Se,ke,Ce,Be,L,Y,G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt,Re,Me,Bt,Dt,Ai,At,ci,sn,rn;const $t=ie?.bindCta,_o=((pe=H?.video)===null||pe===void 0?void 0:pe.bindProduct)||((he=H?.video)===null||he===void 0?void 0:he.bindProducts)&&((ke=(Se=H?.video)===null||Se===void 0?void 0:Se.bindProducts)===null||ke===void 0?void 0:ke.length)>0;let Xi="",dn=null;_e?Xi="hashTagPage":!((Ce=H?.video)===null||Ce===void 0)&&Ce.url?(Xi="videoPage",dn="video"):!((L=(Be=H?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||L===void 0)&&L.length&&(Xi="imagePage",dn="image");const zn=(oe=(ne=(Y=ie?.tags)!==null&&Y!==void 0?Y:(re=(Q=(G=H?.video)===null||G===void 0?void 0:G.bindProducts)===null||Q===void 0?void 0:Q[0])===null||re===void 0?void 0:re.tags)!==null&&ne!==void 0?ne:(le=H?.video)===null||le===void 0?void 0:le.tags)!==null&&oe!==void 0?oe:(se=H?.product)===null||se===void 0?void 0:se.tags;wt?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(Ae=$t?.itemId)!==null&&Ae!==void 0?Ae:"",ctaName:(Fe=$t?.title)!==null&&Fe!==void 0?Fe:"",contentTags:zn?JSON.stringify(zn):"",position:ye+"",contentId:(Ne=(Te=H?.video)===null||Te===void 0?void 0:Te.itemId)!==null&&Ne!==void 0?Ne:"",productId:_o?ie?.itemId:"",traceInfo:(sn=(Ai=(kt=(pt=(ft=$t?.traceInfo)!==null&&ft!==void 0?ft:(vt=(ut=H?.video)===null||ut===void 0?void 0:ut.bindCta)===null||vt===void 0?void 0:vt.traceInfo)!==null&&pt!==void 0?pt:(Je=(gt=(st=H?.video)===null||st===void 0?void 0:st.bindProduct)===null||gt===void 0?void 0:gt.bindCta)===null||Je===void 0?void 0:Je.traceInfo)!==null&&kt!==void 0?kt:(Dt=(Bt=(Me=(Re=H?.video)===null||Re===void 0?void 0:Re.bindProducts)===null||Me===void 0?void 0:Me[0])===null||Bt===void 0?void 0:Bt.bindCta)===null||Dt===void 0?void 0:Dt.traceInfo)!==null&&Ai!==void 0?Ai:(ci=(At=H?.product)===null||At===void 0?void 0:At.bindCta)===null||ci===void 0?void 0:ci.traceInfo)!==null&&sn!==void 0?sn:"",fromKName:Xi,fromKPage:(rn=location?.href)!==null&&rn!==void 0?rn:"",contentFormat:dn})})},[wt,_e]),Ot=de(()=>{var z,H,ie;const ye=location.search.slice(1),pe={};(z=pi(ye.replace(/\+/g,"%2B")))===null||z===void 0||z.map(ke=>{const Ce=ke.split("=")[0],Be=ke.split("=")[1];pe[Ce]=Be});for(const ke in pe)pe[ke]=pe[ke].replace(/%2B/g,"+");const he=ke=>{var Ce;return(Ce=pe[ke])!==null&&Ce!==void 0?Ce:""},Se=new Date;Le.current=Se,wt?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:he("utm_source"),utmMedium:he("utm_medium"),utmCampaign:he("utm_campaign"),utmId:he("utm_id"),utmContent:he("utm_content"),enterTime:Math.floor(Se/1e3)+"",requestId:null,enterUrl:(ie=(H=window?.location)===null||H===void 0?void 0:H.href)!==null&&ie!==void 0?ie:""},reportLayId:!1})},[wt]),an=de(()=>mt(void 0,void 0,void 0,function*(){var z,H;const ie=yield xe?.("v1/account",{method:"GET"});return Yt((z=ie?.data)===null||z===void 0?void 0:z.chatLabsId),((H=ie?.data)===null||H===void 0?void 0:H.consentResult)==="true"}),[xe]),Hi=de(z=>mt(void 0,void 0,void 0,function*(){const H=yield xe?.("v1/account/consent",{method:"POST",body:{consentResult:z}});return H?.success}),[xe]);ce(()=>{It||Ot()},[It]),ce(()=>{if(It||a)return;B(!0);let z,H;Ut().then(ie=>{var ye,pe,he,Se,ke,Ce,Be,L,Y,G,Q;if(ie){const re=Tt(ie);let ne,le;if(ie?.layoutVariantId){z=ie?.layoutVariantId,lt(ie?.layoutVariantId);const oe=(pe=(ye=ie?.layoutVariantId)===null||ye===void 0?void 0:ye.split("-"))===null||pe===void 0?void 0:pe[1];oe&&(ne=w?.find(se=>se?.id===oe),ne?(Ee(ne),document.title=(he=ne?.name)!==null&&he!==void 0?he:"home",le=(ke=(Se=ne?.data)===null||Se===void 0?void 0:Se.sxpPageConf)===null||ke===void 0?void 0:ke.globalConfig,ae(le),P?.(ne?.data),!((Y=(L=(Be=(Ce=le?.consent)===null||Ce===void 0?void 0:Ce[0])===null||Be===void 0?void 0:Be.item)===null||L===void 0?void 0:L.props)===null||Y===void 0)&&Y.privacy_necessity&&W(!0)):W(!0))}else W(!0);if(it||(le?.playbook==="organic menu"||!le&&_?.playbook==="organic menu"?(ht("organicMenu"),re.unshift("organic menu"),H="organicMenu"):(ht("paidMedia"),H="paidMedia")),E(re),me(re),Xt(ne??Rt),it){const oe=re?.[0],se=((G=oe?.video)===null||G===void 0?void 0:G.traceInfo)||((Q=oe?.product)===null||Q===void 0?void 0:Q.traceInfo)||"";wt?.({eventInfo:Object.assign({eventSubject:"multiPostClick",eventDescription:"multiPostClick",traceInfo:se,branchfeed:it},z&&{layoutVariantId:z})}),wt?.({eventInfo:Object.assign({eventSubject:"endMultiPost",eventDescription:"endMultiPost",contentFormat:"image",position:"0",traceInfo:se,nextStep:"multipostClick",timeOnSite:Math.floor((new Date-ot?.current)/1e3)+""},z&&{layoutVariantId:z})})}}}).finally(()=>{wt({eventInfo:Object.assign(Object.assign({eventSubject:"apiRequest",eventDescription:"api request succeed"},z&&{layoutVariantId:z}),H&&{playbookType:H})}),B(!1)})},[It,it]),ce(()=>{a&&(B(!0),Xt(h),Ut().then(z=>{if(z){const H=Tt(z);_?.playbook==="organic menu"&&!it&&H.unshift("organic menu"),E(H),me(H)}}).finally(()=>{B(!1)}))},[Ut,Xt,it]);const Ui=Lt("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",s);return u.createElement(lo.Provider,{value:{rtcList:N,setRtcList:E,mutateLike:oi,mutateUnlike:hi,submitForm:li,popupDetailData:$,loadVideos:ln,setPopupDetailData:be,getRecommendVideos:Ut,bffEventReport:wt,isPreview:a,loading:D,sxpParameter:d,waterFallData:ue,setWaterFallData:J,ctaEvent:_t,swiperRef:M,openHashtag:Pe,setOpenHashtag:De,cacheRtcList:Xe,setCacheRtcList:me,cacheActiveIndex:ve,setCacheActiveIndex:et,isFromHashtag:_e,setIsFromHashtag:Ze,appDomain:s,hashTagSize:c,loadingImage:r??Ui,isOpenHashTag:A,tagList:y,setLoading:B,videoRef:$e,setVideoRef:dt,bffFbReport:zi,isAgreePolicy:U,setIsAgreePolicy:q,curTime:Le,h5EnterLink:Ot,themeTag:tt,isShowConsent:It,selectTag:Pt,setSelectTag:He,globalConfig:_,popupCurTimeRef:Ye,checkCommodityIndexRef:qe,isEditor:S,isNoMoreData:K,updateChannel:Kt,channel:it,eventTimeList:nt,setEventTimeList:Ue,multiPostTimeRef:ot,refreshFeSession:fi,getAccount:an,accountSonsent:Hi,isDiyH5:C,pixelPvStatusRef:Et}},It?u.createElement(Al,Object.assign({},(I=(R=(T=_?.consent)===null||T===void 0?void 0:T[0])===null||R===void 0?void 0:R.item)===null||I===void 0?void 0:I.props)):t({rtcList:N,mutateLike:oi,mutateUnlike:hi,submitForm:li,tagList:y,pageData:Rt}))};var ao=je(bl);function Ge(){return Ii(lo)}var so;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(so||(so={}));const ro=ki({$store:{},options:[],configs:[]}),gl=({children:t,isSsr:e,enable:i})=>{const[n,l]=Z([]),{schema:o}=ai(),[a,d]=Z(o.__STORE__||{}),[s,c]=Z([]);ce(()=>{var f;e||Hn(s,o?.dataSource)||c((f=o?.dataSource)!==null&&f!==void 0?f:[])},[o?.dataSource,e]);const r=de(()=>mt(void 0,void 0,void 0,function*(){const{$store:f,idMapName:p}=yield Gn("",s);d(f),A(f,p)}),[s]),A=(f,p)=>{const b=[];Object.entries(f).forEach(([m,S])=>{Object.keys(S).forEach(v=>{const g={label:`${p[m]} - ${v}`,value:`{{ ${m}.${v} }}`};b.push(g)})}),l(b)};return ce(()=>{e||r()},[r,e,o]),i?u.createElement(ro.Provider,{value:{$store:o.__STORE__||a,options:n,configs:s}},t):t};var yl=je(gl);const Gi={id:qi(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},hn={id:"",duration:0,name:"none"},co=u.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Gi],redoStack:[],popup:hn,setPopup:()=>{}}),uo=vi(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:o},a)=>{const[d,s]=Z(null),[c,r]=Z(n||{pointData:[Gi],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[A,f]=Z([Gi]),[p,b]=Z([[Gi]]),[m,S]=Z([]),[v,g]=Z(hn);typeof window<"u"&&(window.sxpPopup=(V,j)=>{g(Object.assign(Object.assign(Object.assign({},hn),{id:V}),j))}),typeof window<"u"&&(window.getJointUtmLink=V=>(ml(),V?.indexOf("?")!==-1?V+(o?"&"+o:""):V+(o?"?"+o:""))),ce(()=>{b([c.pointData]),S([])},[c.type]);const h=de(V=>{const j=bi(c);j&&(j.dataSource=V,r?.(j))},[c]),[w,C]=Z();Ci(a,()=>({loadSchema(V){V&&(b([V.pointData]),r(V))},exportSchema(){return bi(c)},getPageInfoData(){return w},initPageInfoData(V){V&&C(V)}}));const P=we(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return u.createElement(co.Provider,{value:{resolver:e,currentNode:d,schema:c,setCurrentNode:s,setSchema:r,saveDataSource:h,prePiontData:A,setPrePiontData:f,pageInfoData:w,setPageInfoData:V=>C(Object.assign(Object.assign({},w),V)),undoStack:p,redoStack:m,setRedoStack:S,setUndoStack:b,getCurPageConf:P,popup:v,setPopup:g}},u.createElement(yl,{isSsr:i,enable:l},t))});var wl=Object.freeze({__proto__:null,EditorCore:uo}),Sl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],xl=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","popupBg","borderRadius"],max:100},{type:"Number",name:["props","popupBg","borderRadius"],addonAfter:"px",max:100}]}]},{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["textStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["textStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["textStyle","color"]},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u6807\u9898\u95F4\u8DDD",type:"TextSpace",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Select",name:["props","submitButtonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","submitButtonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C\u6837\u5F0F",type:"TextStyle",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u5BF9\u9F50",type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u95F4\u8DDD",type:"TextSpace",name:["props","submitButtonStyle"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Vt(){const{bffEventReport:t,popupDetailData:e,isFromHashtag:i,eventTimeList:n,setEventTimeList:l}=Ge(),o=de((s,c,r,A,f,p)=>{var b,m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U,q,$,be,ue,J,Pe,De,Xe,me,ve,et,_e;if(n?.findIndex(Le=>Le.target===s?.target)!==-1)return;s&&l?.(Le=>[...Le,{target:s?.target,time:new Date}]);let $e="";e&&(!((m=(b=c?.video)===null||b===void 0?void 0:b.bindProducts)===null||m===void 0)&&m.length||!((S=c?.video)===null||S===void 0)&&S.bindProduct)?$e="pdpPage":i?$e="hashTagPage":!((v=c?.video)===null||v===void 0)&&v.url?$e="videoPage":!((g=c?.video)===null||g===void 0)&&g.imgUrls&&(!((w=(h=c?.video)===null||h===void 0?void 0:h.imgUrls)===null||w===void 0)&&w.length)?$e="imagePage":c?.product&&($e="productPage");const dt=(R=(x=(C=r?.tags)!==null&&C!==void 0?C:(j=(V=(P=c?.video)===null||P===void 0?void 0:P.bindProducts)===null||V===void 0?void 0:V[0])===null||j===void 0?void 0:j.tags)!==null&&x!==void 0?x:(T=c?.video)===null||T===void 0?void 0:T.tags)!==null&&R!==void 0?R:(I=c?.product)===null||I===void 0?void 0:I.tags;let tt=null;!((N=c?.video)===null||N===void 0)&&N.url?tt="video":!((E=c?.video)===null||E===void 0)&&E.imgUrls&&(!((F=(y=c?.video)===null||y===void 0?void 0:y.imgUrls)===null||F===void 0)&&F.length)&&(tt="image"),t?.({eventInfo:Object.assign({eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(D=r?.itemId)!==null&&D!==void 0?D:"",productName:(B=r?.title)!==null&&B!==void 0?B:"",price:r?.price?r?.price+"":"0",productCollection:(O=r?.collection)!==null&&O!==void 0?O:"",fromKName:$e,fromKPage:location?.href,contentTags:dt?JSON.stringify(dt):"",position:f+"",contentId:(M=(k=c?.video)===null||k===void 0?void 0:k.itemId)!==null&&M!==void 0?M:"",ctatId:(X=A?.itemId)!==null&&X!==void 0?X:"",traceInfo:(_e=(me=(De=(be=(U=p??r?.traceInfo)!==null&&U!==void 0?U:($=(q=c?.video)===null||q===void 0?void 0:q.bindProduct)===null||$===void 0?void 0:$.traceInfo)!==null&&be!==void 0?be:(Pe=(J=(ue=c?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||J===void 0?void 0:J[0])===null||Pe===void 0?void 0:Pe.traceInfo)!==null&&De!==void 0?De:(Xe=c?.product)===null||Xe===void 0?void 0:Xe.traceInfo)!==null&&me!==void 0?me:(et=(ve=c?.video)===null||ve===void 0?void 0:ve.bindCta)===null||et===void 0?void 0:et.traceInfo)!==null&&_e!==void 0?_e:""},tt&&{contentFormat:tt})})},[t,e,i,n]),a=de((s,c,r,A,f)=>{var p,b,m,S,v,g,h,w,C,P,V,j,x,T;let R="";e&&(!((b=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||b===void 0)&&b.length||!((m=s?.video)===null||m===void 0)&&m.bindProduct)?R="pdpPage":s?.product&&(R="productPage"),t?.({eventInfo:{productId:c?.itemId,productName:c?.title,price:c?.price?c?.price+"":"0",productCollection:c?.collection,fromKName:R,fromKPage:location?.href,contentTags:JSON.stringify(c?.tags),position:f+"",contentId:(S=s?.video)===null||S===void 0?void 0:S.itemId,ctatId:r?.itemId,traceInfo:(T=(j=(w=(v=c?.traceInfo)!==null&&v!==void 0?v:(h=(g=s?.video)===null||g===void 0?void 0:g.bindProduct)===null||h===void 0?void 0:h.traceInfo)!==null&&w!==void 0?w:(V=(P=(C=s?.video)===null||C===void 0?void 0:C.bindProducts)===null||P===void 0?void 0:P[0])===null||V===void 0?void 0:V.traceInfo)!==null&&j!==void 0?j:(x=s?.product)===null||x===void 0?void 0:x.traceInfo)!==null&&T!==void 0?T:"",timeOnSite:Math.floor((new Date-A)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),d=de((s,c,r,A)=>{c&&c===Yi&&t?.({eventInfo:{lastFeed:s,themeTags:r?`['${r}']`:"",hashTags:A?`['${A}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:a,backMainFeed:d}}const Tl=({layout:t,columns:e,onChange:i})=>u.createElement(u.Fragment,null,e?.map((n,l)=>u.createElement("div",{key:l,className:"pb-appoint-form-container-item",style:{flexDirection:t==="horizontal"?"row":"column"}},t!=="inline"&&u.createElement("label",{className:"pb-appoint-form-container-label"},n?.title),n?.valueType==="text"&&u.createElement("input",Object.assign({className:"pb-appoint-form-container-input",type:"text",placeholder:t==="inline"?n?.title:"\u8BF7\u8F93\u5165",name:n?.dataIndex},i&&{onChange:i})))));var El=je(Tl);const Il=t=>{var e,i,{columns:n,style:l,title:o,textStyle:a,submitBgColor:d,submitColor:s,submitText:c,layoutType:r="inline",isExternalLink:A,isPopup:f,onClick:p,onClose:b,submitButtonStyle:m}=t,S=rt(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:v,popupDetailData:g}=Ge(),{jumpToWeb:h}=Vt(),[w,C]=Z(!1),[P,V]=Z({}),[j,x]=Z(0),T=we(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),R=((e=document?.documentElement)===null||e===void 0?void 0:e.clientHeight)||((i=document?.body)===null||i===void 0?void 0:i.clientHeight),I=we(()=>bi(n)||T,[n,T]),N=de(y=>{const{name:F,value:D}=y.target;V(Object.assign(Object.assign({},P),{[F]:D}))},[P]),E=Ei(y=>mt(void 0,void 0,void 0,function*(){var F,D,B,O,k;const M=P;if(!M)return;const X=(D=(F=Object.keys(M))===null||F===void 0?void 0:F.map(q=>{var $;return{name:q,value:($=M[q])!==null&&$!==void 0?$:""}}))===null||D===void 0?void 0:D.filter(q=>q?.value);if(!X||!X?.length)return;C(!0);const U=yield v?.({attributes:X});if(C(!1),U){if(A){const q=g,$=(B=q?.video)===null||B===void 0?void 0:B.bindProduct,be=(k=(O=q?.video)===null||O===void 0?void 0:O.bindProduct)===null||k===void 0?void 0:k.bindCta,ue=g?.index;h(y,q,$,be,ue)}f||b?.(),p?.()}}),1e3);return ce(()=>{const y=()=>{var F,D;if(!navigator.userAgent.toLowerCase().includes("android"))return;(((F=document?.documentElement)===null||F===void 0?void 0:F.clientHeight)||((D=document?.body)===null||D===void 0?void 0:D.clientHeight))<R?x(50):x(0)};return window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)}},[]),u.createElement("div",{className:"pb-appoint-form"},u.createElement("div",{className:`pb-appoint-form-title ${ze(Object.assign({},a))}`,dangerouslySetInnerHTML:{__html:Ve(o,a)}}),u.createElement("div",Object.assign({className:ze(Object.assign(Object.assign({},l),{marginTop:j}))},S),u.createElement("div",{className:"pb-appoint-form-container"},u.createElement(El,{columns:I,layout:r,onChange:N}))),u.createElement("div",{className:"pb-appoint-form-btn-wrapper"},u.createElement("button",{"aria-label":c,onClick:E,className:"pb-appoint-form-btn",style:Object.assign({color:s,background:d},m),dangerouslySetInnerHTML:{__html:Ve(w?"loading...":c,m)}})))};var kl=je(Il);function yt(t,e){return t.extend=e,t}const Cl=yt(kl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:xl,bindableProps:[],interactionRender:Sl},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Pl=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","popupBg","borderRadius"],max:100},{type:"Number",name:["props","popupBg","borderRadius"],addonAfter:"px",max:100}]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]},{label:"\u95F4\u8DDD",type:"TextSpace"},{label:"\u4EF7\u683C\u5343\u5206\u7B26\u5C55\u793A",type:"Switch",name:["enableFormattedPrice"],initialValue:!0,belong:"price"}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{label:"\u82F1\u6587\u5927\u5C0F\u5199",type:"Select",name:["props","buttonStyle","textTransform"],options:[{label:"\u9ED8\u8BA4",value:"unset"},{label:"\u5C0F\u5199",value:"lowercase"},{label:"\u5927\u5199",value:"uppercase"}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","buttonStyle"]}]},{title:"Iframe\u5546\u54C1\u5F39\u7A97",child:[{label:"\u5F39\u7A97\u6309\u94AE",type:"Upload",name:["props","iframeIcon"],text:"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A72 * 30"},{label:"\u80CC\u666F\u8272",type:"Color",name:["props","iframeBgColor"]}]},{title:"\u8F6E\u64AD\u6307\u793A\u5668",child:[{label:"\u80CC\u666F\u8272",name:["props","swiper","dotsBgColor"],type:"Color",initialValue:"rgba(0,0,0,.2)"},{label:"\u9009\u4E2D\u8272",name:["props","swiper","dotsActiveColor"],type:"Color",initialValue:"rgba(0,0,0,1)"},{label:"\u5E95\u8FB9\u8DDD",name:["props","swiper","dotsMarginBottom"],type:"Number",addonAfter:"px"}]},{title:"\u5173\u95ED\u6309\u94AE",child:[{label:"\u8DDF\u968F\u5F39\u7A97\u6EDA\u52A8",type:"Switch",name:["props","enableFixedCloseButton"]}]}],Ol=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];function vo(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function An(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:vo(e[i])&&vo(t[i])&&Object.keys(e[i]).length>0&&An(t[i],e[i])})}const po={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ft(){const t=typeof document<"u"?document:{};return An(t,po),t}const Ll={document:po,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Nt(){const t=typeof window<"u"?window:{};return An(t,Ll),t}function si(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function jl(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function gi(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function qt(){return Date.now()}function Nl(t){const e=Nt();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Ml(t,e){e===void 0&&(e="x");const i=Nt();let n,l,o;const a=Nl(t);return i.WebKitCSSMatrix?(l=a.transform||a.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(d=>d.replace(",",".")).join(", ")),o=new i.WebKitCSSMatrix(l==="none"?"":l)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?l=o.m41:n.length===16?l=parseFloat(n[12]):l=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?l=o.m42:n.length===16?l=parseFloat(n[13]):l=parseFloat(n[5])),l||0}function _i(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Dl(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Wt(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Dl(n)){const l=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,a=l.length;o<a;o+=1){const d=l[o],s=Object.getOwnPropertyDescriptor(n,d);s!==void 0&&s.enumerable&&(_i(t[d])&&_i(n[d])?n[d].__swiper__?t[d]=n[d]:Wt(t[d],n[d]):!_i(t[d])&&_i(n[d])?(t[d]={},n[d].__swiper__?t[d]=n[d]:Wt(t[d],n[d])):t[d]=n[d])}}}return t}function Zi(t,e,i){t.style.setProperty(e,i)}function mo(t){let{swiper:e,targetPosition:i,side:n}=t;const l=Nt(),o=-e.translate;let a=null,d;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const c=i>o?"next":"prev",r=(f,p)=>c==="next"&&f>=p||c==="prev"&&f<=p,A=()=>{d=new Date().getTime(),a===null&&(a=d);const f=Math.max(Math.min((d-a)/s,1),0),p=.5-Math.cos(f*Math.PI)/2;let b=o+p*(i-o);if(r(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),r(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(A)};A()}function Jt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Ki(t){try{console.warn(t);return}catch{}}function yi(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:si(e)),i}function fo(t){const e=Nt(),i=Ft(),n=t.getBoundingClientRect(),l=i.body,o=t.clientTop||l.clientTop||0,a=t.clientLeft||l.clientLeft||0,d=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:n.top+d-o,left:n.left+s-a}}function Vl(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Rl(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function ri(t,e){return Nt().getComputedStyle(t,null).getPropertyValue(e)}function Pi(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ji(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function bn(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function gn(t,e,i){const n=Nt();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function Qe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}let yn;function Bl(){const t=Nt(),e=Ft();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function ho(){return yn||(yn=Bl()),yn}let wn;function Fl(t){let{userAgent:e}=t===void 0?{}:t;const i=ho(),n=Nt(),l=n.navigator.platform,o=e||n.navigator.userAgent,a={ios:!1,android:!1},d=n.screen.width,s=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let r=o.match(/(iPad).*OS\s([\d_]+)/);const A=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!r&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=l==="Win32";let b=l==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!r&&b&&i.touch&&m.indexOf(`${d}x${s}`)>=0&&(r=o.match(/(Version)\/([\d.]+)/),r||(r=[0,1,"13_0_0"]),b=!1),c&&!p&&(a.os="android",a.android=!0),(r||f||A)&&(a.os="ios",a.ios=!0),a}function Ao(t){return t===void 0&&(t={}),wn||(wn=Fl(t)),wn}let Sn;function Wl(){const t=Nt(),e=Ao();let i=!1;function n(){const d=t.navigator.userAgent.toLowerCase();return d.indexOf("safari")>=0&&d.indexOf("chrome")<0&&d.indexOf("android")<0}if(n()){const d=String(t.navigator.userAgent);if(d.includes("Version/")){const[s,c]=d.split("Version/")[1].split(" ")[0].split(".").map(r=>Number(r));i=s<16||s===16&&c<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),o=n(),a=o||l&&e.ios;return{isSafari:i||o,needPerspectiveFix:i,need3dFix:a,isWebView:l}}function zl(){return Sn||(Sn=Wl()),Sn}function Hl(t){let{swiper:e,on:i,emit:n}=t;const l=Nt();let o=null,a=null;const d=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(A=>{a=l.requestAnimationFrame(()=>{const{width:f,height:p}=e;let b=f,m=p;A.forEach(S=>{let{contentBoxSize:v,contentRect:g,target:h}=S;h&&h!==e.el||(b=g?g.width:(v[0]||v).inlineSize,m=g?g.height:(v[0]||v).blockSize)}),(b!==f||m!==p)&&d()})}),o.observe(e.el))},c=()=>{a&&l.cancelAnimationFrame(a),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},r=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){s();return}l.addEventListener("resize",d),l.addEventListener("orientationchange",r)}),i("destroy",()=>{c(),l.removeEventListener("resize",d),l.removeEventListener("orientationchange",r)})}function Ul(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=[],a=Nt(),d=function(r,A){A===void 0&&(A={});const f=a.MutationObserver||a.WebkitMutationObserver,p=new f(b=>{if(e.__preventObserver__)return;if(b.length===1){l("observerUpdate",b[0]);return}const m=function(){l("observerUpdate",b[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});p.observe(r,{attributes:typeof A.attributes>"u"?!0:A.attributes,childList:typeof A.childList>"u"?!0:A.childList,characterData:typeof A.characterData>"u"?!0:A.characterData}),o.push(p)},s=()=>{if(e.params.observer){if(e.params.observeParents){const r=Ji(e.hostEl);for(let A=0;A<r.length;A+=1)d(r[A])}d(e.hostEl,{childList:e.params.observeSlideChildren}),d(e.wrapperEl,{attributes:!1})}},c=()=>{o.forEach(r=>{r.disconnect()}),o.splice(0,o.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",s),n("destroy",c)}var Xl={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const l=i?"unshift":"push";return t.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][l](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function l(){n.off(t,l),l.__emitterProxy&&delete l.__emitterProxy;for(var o=arguments.length,a=new Array(o),d=0;d<o;d++)a[d]=arguments[d];e.apply(n,a)}return l.__emitterProxy=e,n.on(t,l,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((l,o)=>{(l===e||l.__emitterProxy&&l.__emitterProxy===e)&&i.eventsListeners[n].splice(o,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var l=arguments.length,o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],i=o.slice(1,o.length),n=t):(e=o[0].events,i=o[0].data,n=o[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(c=>{c.apply(n,i)})}),t}};function ql(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(ri(n,"padding-left")||0,10)-parseInt(ri(n,"padding-right")||0,10),i=i-parseInt(ri(n,"padding-top")||0,10)-parseInt(ri(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Yl(){const t=this;function e(T,R){return parseFloat(T.getPropertyValue(t.getDirectionLabel(R))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:o,rtlTranslate:a,wrongRTL:d}=t,s=t.virtual&&i.virtual.enabled,c=s?t.virtual.slides.length:t.slides.length,r=Jt(l,`.${t.params.slideClass}, swiper-slide`),A=s?t.virtual.slides.length:r.length;let f=[];const p=[],b=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let S=i.slidesOffsetAfter;typeof S=="function"&&(S=i.slidesOffsetAfter.call(t));const v=t.snapGrid.length,g=t.slidesGrid.length;let h=i.spaceBetween,w=-m,C=0,P=0;if(typeof o>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*o:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,r.forEach(T=>{a?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Zi(n,"--swiper-centered-offset-before",""),Zi(n,"--swiper-centered-offset-after",""));const V=i.grid&&i.grid.rows>1&&t.grid;V?t.grid.initSlides(r):t.grid&&t.grid.unsetSlides();let j;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(T=>typeof i.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<A;T+=1){j=0;let R;if(r[T]&&(R=r[T]),V&&t.grid.updateSlide(T,R,r),!(r[T]&&ri(R,"display")==="none")){if(i.slidesPerView==="auto"){x&&(r[T].style[t.getDirectionLabel("width")]="");const I=getComputedStyle(R),N=R.style.transform,E=R.style.webkitTransform;if(N&&(R.style.transform="none"),E&&(R.style.webkitTransform="none"),i.roundLengths)j=t.isHorizontal()?gn(R,"width",!0):gn(R,"height",!0);else{const y=e(I,"width"),F=e(I,"padding-left"),D=e(I,"padding-right"),B=e(I,"margin-left"),O=e(I,"margin-right"),k=I.getPropertyValue("box-sizing");if(k&&k==="border-box")j=y+B+O;else{const{clientWidth:M,offsetWidth:X}=R;j=y+F+D+B+O+(X-M)}}N&&(R.style.transform=N),E&&(R.style.webkitTransform=E),i.roundLengths&&(j=Math.floor(j))}else j=(o-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(j=Math.floor(j)),r[T]&&(r[T].style[t.getDirectionLabel("width")]=`${j}px`);r[T]&&(r[T].swiperSlideSize=j),b.push(j),i.centeredSlides?(w=w+j/2+C/2+h,C===0&&T!==0&&(w=w-o/2-h),T===0&&(w=w-o/2-h),Math.abs(w)<1/1e3&&(w=0),i.roundLengths&&(w=Math.floor(w)),P%i.slidesPerGroup===0&&f.push(w),p.push(w)):(i.roundLengths&&(w=Math.floor(w)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&f.push(w),p.push(w),w=w+j+h),t.virtualSize+=j+h,C=j,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+S,a&&d&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),V&&t.grid.updateWrapperSize(j,f),!i.centeredSlides){const T=[];for(let R=0;R<f.length;R+=1){let I=f[R];i.roundLengths&&(I=Math.floor(I)),f[R]<=t.virtualSize-o&&T.push(I)}f=T,Math.floor(t.virtualSize-o)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-o)}if(s&&i.loop){const T=b[0]+h;if(i.slidesPerGroup>1){const R=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),I=T*i.slidesPerGroup;for(let N=0;N<R;N+=1)f.push(f[f.length-1]+I)}for(let R=0;R<t.virtual.slidesBefore+t.virtual.slidesAfter;R+=1)i.slidesPerGroup===1&&f.push(f[f.length-1]+T),p.push(p[p.length-1]+T),t.virtualSize+=T}if(f.length===0&&(f=[0]),h!==0){const T=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");r.filter((R,I)=>!i.cssMode||i.loop?!0:I!==r.length-1).forEach(R=>{R.style[T]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let T=0;b.forEach(I=>{T+=I+(h||0)}),T-=h;const R=T-o;f=f.map(I=>I<=0?-m:I>R?R+S:I)}if(i.centerInsufficientSlides){let T=0;b.forEach(I=>{T+=I+(h||0)}),T-=h;const R=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(T+R<o){const I=(o-T-R)/2;f.forEach((N,E)=>{f[E]=N-I}),p.forEach((N,E)=>{p[E]=N+I})}}if(Object.assign(t,{slides:r,snapGrid:f,slidesGrid:p,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Zi(n,"--swiper-centered-offset-before",`${-f[0]}px`),Zi(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const T=-t.snapGrid[0],R=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(I=>I+T),t.slidesGrid=t.slidesGrid.map(I=>I+R)}if(A!==c&&t.emit("slidesLengthChange"),f.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const T=`${i.containerModifierClass}backface-hidden`,R=t.el.classList.contains(T);A<=i.maxBackfaceHiddenSlides?R||t.el.classList.add(T):R&&t.el.classList.remove(T)}}function Gl(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let l=0,o;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=d=>n?e.slides[e.getSlideIndexByData(d)]:e.slides[d];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(d=>{i.push(d)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const d=e.activeIndex+o;if(d>e.slides.length&&!n)break;i.push(a(d))}else i.push(a(e.activeIndex));for(o=0;o<i.length;o+=1)if(typeof i[o]<"u"){const d=i[o].offsetHeight;l=d>l?d:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}px`)}function _l(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const bo=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Zl(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:l,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;l&&(a=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let d=i.spaceBetween;typeof d=="string"&&d.indexOf("%")>=0?d=parseFloat(d.replace("%",""))/100*e.size:typeof d=="string"&&(d=parseFloat(d));for(let s=0;s<n.length;s+=1){const c=n[s];let r=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(r-=n[0].swiperSlideOffset);const A=(a+(i.centeredSlides?e.minTranslate():0)-r)/(c.swiperSlideSize+d),f=(a-o[0]+(i.centeredSlides?e.minTranslate():0)-r)/(c.swiperSlideSize+d),p=-(a-r),b=p+e.slidesSizesGrid[s],m=p>=0&&p<=e.size-e.slidesSizesGrid[s],S=p>=0&&p<e.size-1||b>1&&b<=e.size||p<=0&&b>=e.size;S&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(s)),bo(c,S,i.slideVisibleClass),bo(c,m,i.slideFullyVisibleClass),c.progress=l?-A:A,c.originalProgress=l?-f:f}}function Kl(t){const e=this;if(typeof t>"u"){const r=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*r||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:o,isEnd:a,progressLoop:d}=e;const s=o,c=a;if(n===0)l=0,o=!0,a=!0;else{l=(t-e.minTranslate())/n;const r=Math.abs(t-e.minTranslate())<1,A=Math.abs(t-e.maxTranslate())<1;o=r||l<=0,a=A||l>=1,r&&(l=0),A&&(l=1)}if(i.loop){const r=e.getSlideIndexByData(0),A=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[r],p=e.slidesGrid[A],b=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=f?d=(m-f)/b:d=(m+b-p)/b,d>1&&(d-=1)}Object.assign(e,{progress:l,progressLoop:d,isBeginning:o,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),o&&!s&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(s&&!o||c&&!a)&&e.emit("fromEdge"),e.emit("progress",l)}const xn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Jl(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,o=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,d=A=>Jt(n,`.${i.slideClass}${A}, swiper-slide${A}`)[0];let s,c,r;if(o)if(i.loop){let A=l-t.virtual.slidesBefore;A<0&&(A=t.virtual.slides.length+A),A>=t.virtual.slides.length&&(A-=t.virtual.slides.length),s=d(`[data-swiper-slide-index="${A}"]`)}else s=d(`[data-swiper-slide-index="${l}"]`);else a?(s=e.filter(A=>A.column===l)[0],r=e.filter(A=>A.column===l+1)[0],c=e.filter(A=>A.column===l-1)[0]):s=e[l];s&&(a||(r=Rl(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!r&&(r=e[0]),c=Vl(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(A=>{xn(A,A===s,i.slideActiveClass),xn(A,A===r,i.slideNextClass),xn(A,A===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Qi=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let l=n.querySelector(`.${t.params.lazyPreloaderClass}`);!l&&t.isElement&&(n.shadowRoot?l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),l&&l.remove())})),l&&l.remove()}},Tn=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},En=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),l=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=l,d=[a-e];d.push(...Array.from({length:e}).map((s,c)=>a+n+c)),t.slides.forEach((s,c)=>{d.includes(s.column)&&Tn(t,c)});return}const o=l+n-1;if(t.params.rewind||t.params.loop)for(let a=l-e;a<=o+e;a+=1){const d=(a%i+i)%i;(d<l||d>o)&&Tn(t,d)}else for(let a=Math.max(l-e,0);a<=Math.min(o+e,i-1);a+=1)a!==l&&(a>o||a<l)&&Tn(t,a)};function Ql(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let l;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?l=o:n>=e[o]&&n<e[o+1]&&(l=o+1):n>=e[o]&&(l=o);return i.normalizeSlideIndex&&(l<0||typeof l>"u")&&(l=0),l}function $l(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:o,realIndex:a,snapIndex:d}=e;let s=t,c;const r=p=>{let b=p-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof s>"u"&&(s=Ql(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const p=Math.min(l.slidesPerGroupSkip,s);c=p+Math.floor((s-p)/l.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),s===o&&!e.params.loop){c!==d&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(s===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=r(s);return}const A=e.grid&&l.grid&&l.grid.rows>1;let f;if(e.virtual&&l.virtual.enabled&&l.loop)f=r(s);else if(A){const p=e.slides.filter(m=>m.column===s)[0];let b=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(p),0)),f=Math.floor(b/l.grid.rows)}else if(e.slides[s]){const p=e.slides[s].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=s}else f=s;Object.assign(e,{previousSnapIndex:d,snapIndex:c,previousRealIndex:a,realIndex:f,previousIndex:o,activeIndex:s}),e.initialized&&En(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function ea(t,e){const i=this,n=i.params;let l=t.closest(`.${n.slideClass}, swiper-slide`);!l&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(d=>{!l&&d.matches&&d.matches(`.${n.slideClass}, swiper-slide`)&&(l=d)});let o=!1,a;if(l){for(let d=0;d<i.slides.length;d+=1)if(i.slides[d]===l){o=!0,a=d;break}}if(l&&o)i.clickedSlide=l,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(l.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var ta={updateSize:ql,updateSlides:Yl,updateAutoHeight:Gl,updateSlidesOffset:_l,updateSlidesProgress:Zl,updateProgress:Kl,updateSlidesClasses:Jl,updateActiveIndex:$l,updateClickedSlide:ea};function ia(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:l,wrapperEl:o}=e;if(i.virtualTranslate)return n?-l:l;if(i.cssMode)return l;let a=Ml(o,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function na(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:o,progress:a}=i;let d=0,s=0;const c=0;i.isHorizontal()?d=n?-t:t:s=t,l.roundLengths&&(d=Math.floor(d),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?d:s,l.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-d:-s:l.virtualTranslate||(i.isHorizontal()?d-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${d}px, ${s}px, ${c}px)`);let r;const A=i.maxTranslate()-i.minTranslate();A===0?r=0:r=(t-i.minTranslate())/A,r!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function oa(){return-this.snapGrid[0]}function la(){return-this.snapGrid[this.snapGrid.length-1]}function aa(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const o=this,{params:a,wrapperEl:d}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const s=o.minTranslate(),c=o.maxTranslate();let r;if(n&&t>s?r=s:n&&t<c?r=c:r=t,o.updateProgress(r),a.cssMode){const A=o.isHorizontal();if(e===0)d[A?"scrollLeft":"scrollTop"]=-r;else{if(!o.support.smoothScroll)return mo({swiper:o,targetPosition:-r,side:A?"left":"top"}),!0;d.scrollTo({[A?"left":"top"]:-r,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(r),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(r),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(f){!o||o.destroyed||f.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var sa={getTranslate:ia,setTranslate:na,minTranslate:oa,maxTranslate:la,translateTo:aa};function ra(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function go(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:o,previousIndex:a}=e;let d=n;if(d||(o>a?d="next":o<a?d="prev":d="reset"),e.emit(`transition${l}`),i&&o!==a){if(d==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),d==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function da(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),go({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function ca(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),go({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var ua={setTransition:ra,transitionStart:da,transitionEnd:ca};function va(t,e,i,n,l){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;let a=t;a<0&&(a=0);const{params:d,snapGrid:s,slidesGrid:c,previousIndex:r,activeIndex:A,rtlTranslate:f,wrapperEl:p,enabled:b}=o;if(!b&&!n&&!l||o.destroyed||o.animating&&d.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,a);let S=m+Math.floor((a-m)/o.params.slidesPerGroup);S>=s.length&&(S=s.length-1);const v=-s[S];if(d.normalizeSlideIndex)for(let h=0;h<c.length;h+=1){const w=-Math.floor(v*100),C=Math.floor(c[h]*100),P=Math.floor(c[h+1]*100);typeof c[h+1]<"u"?w>=C&&w<P-(P-C)/2?a=h:w>=C&&w<P&&(a=h+1):w>=C&&(a=h)}if(o.initialized&&a!==A&&(!o.allowSlideNext&&(f?v>o.translate&&v>o.minTranslate():v<o.translate&&v<o.minTranslate())||!o.allowSlidePrev&&v>o.translate&&v>o.maxTranslate()&&(A||0)!==a))return!1;a!==(r||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(v);let g;if(a>A?g="next":a<A?g="prev":g="reset",f&&-v===o.translate||!f&&v===o.translate)return o.updateActiveIndex(a),d.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),d.effect!=="slide"&&o.setTranslate(v),g!=="reset"&&(o.transitionStart(i,g),o.transitionEnd(i,g)),!1;if(d.cssMode){const h=o.isHorizontal(),w=f?v:-v;if(e===0){const C=o.virtual&&o.params.virtual.enabled;C&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),C&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[h?"scrollLeft":"scrollTop"]=w})):p[h?"scrollLeft":"scrollTop"]=w,C&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return mo({swiper:o,targetPosition:w,side:h?"left":"top"}),!0;p.scrollTo({[h?"left":"top"]:w,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(v),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(i,g),e===0?o.transitionEnd(i,g):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(w){!o||o.destroyed||w.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,g))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function pa(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;typeof e>"u"&&(e=l.params.speed);const o=l.grid&&l.params.grid&&l.params.grid.rows>1;let a=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)a=a+l.virtual.slidesBefore;else{let d;if(o){const f=a*l.params.grid.rows;d=l.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else d=l.getSlideIndexByData(a);const s=o?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:c}=l.params;let r=l.params.slidesPerView;r==="auto"?r=l.slidesPerViewDynamic():(r=Math.ceil(parseFloat(l.params.slidesPerView,10)),c&&r%2===0&&(r=r+1));let A=s-d<r;if(c&&(A=A||d<Math.ceil(r/2)),n&&c&&l.params.slidesPerView!=="auto"&&!o&&(A=!1),A){const f=c?d<l.activeIndex?"prev":"next":d-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?d+1:d-s+1,slideRealIndex:f==="next"?l.realIndex:void 0})}if(o){const f=a*l.params.grid.rows;a=l.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=l.getSlideIndexByData(a)}return requestAnimationFrame(()=>{l.slideTo(a,e,i,n)}),l}function ma(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:l,params:o,animating:a}=n;if(!l||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let d=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(d=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<o.slidesPerGroupSkip?1:d,c=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+s,t,e,i)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+s,t,e,i)}function fa(t,e,i){e===void 0&&(e=!0);const n=this,{params:l,snapGrid:o,slidesGrid:a,rtlTranslate:d,enabled:s,animating:c}=n;if(!s||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const r=n.virtual&&l.virtual.enabled;if(l.loop){if(c&&!r&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const A=d?n.translate:-n.translate;function f(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const p=f(A),b=o.map(v=>f(v));let m=o[b.indexOf(p)-1];if(typeof m>"u"&&l.cssMode){let v;o.forEach((g,h)=>{p>=g&&(v=h)}),typeof v<"u"&&(m=o[v>0?v-1:v])}let S=0;if(typeof m<"u"&&(S=a.indexOf(m),S<0&&(S=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(S=S-n.slidesPerViewDynamic("previous",!0)+1,S=Math.max(S,0))),l.rewind&&n.isBeginning){const v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(S,t,e,i)}),!0;return n.slideTo(S,t,e,i)}function ha(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function Aa(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;typeof t>"u"&&(t=l.params.speed);let o=l.activeIndex;const a=Math.min(l.params.slidesPerGroupSkip,o),d=a+Math.floor((o-a)/l.params.slidesPerGroup),s=l.rtlTranslate?l.translate:-l.translate;if(s>=l.snapGrid[d]){const c=l.snapGrid[d],r=l.snapGrid[d+1];s-c>(r-c)*n&&(o+=l.params.slidesPerGroup)}else{const c=l.snapGrid[d-1],r=l.snapGrid[d];s-c<=(r-c)*n&&(o-=l.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,l.slidesGrid.length-1),l.slideTo(o,t,e,i)}function ba(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let l=t.clickedIndex,o;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;o=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?l<t.loopedSlides-n/2||l>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),l=t.getSlideIndex(Jt(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),gi(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Jt(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),gi(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var ga={slideTo:va,slideToLoop:pa,slideNext:ma,slidePrev:fa,slideReset:ha,slideToClosest:Aa,slideToClickedSlide:ba};function ya(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{Jt(n,`.${i.slideClass}, swiper-slide`).forEach((A,f)=>{A.setAttribute("data-swiper-slide-index",f)})},o=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(o?i.grid.rows:1),d=e.slides.length%a!==0,s=o&&e.slides.length%i.grid.rows!==0,c=r=>{for(let A=0;A<r;A+=1){const f=e.isElement?yi("swiper-slide",[i.slideBlankClass]):yi("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(f)}};if(d){if(i.loopAddBlankSlides){const r=a-e.slides.length%a;c(r),e.recalcSlides(),e.updateSlides()}else Ki("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else if(s){if(i.loopAddBlankSlides){const r=i.grid.rows-e.slides.length%i.grid.rows;c(r),e.recalcSlides(),e.updateSlides()}else Ki("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else l();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function wa(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:o,byController:a,byMousewheel:d}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:c,allowSlidePrev:r,allowSlideNext:A,slidesEl:f,params:p}=s,{centeredSlides:b}=p;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&p.virtual.enabled){i&&(!p.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):p.centeredSlides&&s.snapIndex<p.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=r,s.allowSlideNext=A,s.emit("loopFix");return}let m=p.slidesPerView;m==="auto"?m=s.slidesPerViewDynamic():(m=Math.ceil(parseFloat(p.slidesPerView,10)),b&&m%2===0&&(m=m+1));const S=p.slidesPerGroupAuto?m:p.slidesPerGroup;let v=S;v%S!==0&&(v+=S-v%S),v+=p.loopAdditionalSlides,s.loopedSlides=v;const g=s.grid&&p.grid&&p.grid.rows>1;c.length<m+v?Ki("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&p.grid.fill==="row"&&Ki("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],w=[];let C=s.activeIndex;typeof o>"u"?o=s.getSlideIndex(c.filter(N=>N.classList.contains(p.slideActiveClass))[0]):C=o;const P=n==="next"||!n,V=n==="prev"||!n;let j=0,x=0;const T=g?Math.ceil(c.length/p.grid.rows):c.length,I=(g?c[o].column:o)+(b&&typeof l>"u"?-m/2+.5:0);if(I<v){j=Math.max(v-I,S);for(let N=0;N<v-I;N+=1){const E=N-Math.floor(N/T)*T;if(g){const y=T-E-1;for(let F=c.length-1;F>=0;F-=1)c[F].column===y&&h.push(F)}else h.push(T-E-1)}}else if(I+m>T-v){x=Math.max(I-(T-v*2),S);for(let N=0;N<x;N+=1){const E=N-Math.floor(N/T)*T;g?c.forEach((y,F)=>{y.column===E&&w.push(F)}):w.push(E)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),V&&h.forEach(N=>{c[N].swiperLoopMoveDOM=!0,f.prepend(c[N]),c[N].swiperLoopMoveDOM=!1}),P&&w.forEach(N=>{c[N].swiperLoopMoveDOM=!0,f.append(c[N]),c[N].swiperLoopMoveDOM=!1}),s.recalcSlides(),p.slidesPerView==="auto"?s.updateSlides():g&&(h.length>0&&V||w.length>0&&P)&&s.slides.forEach((N,E)=>{s.grid.updateSlide(E,N,s.slides)}),p.watchSlidesProgress&&s.updateSlidesOffset(),i){if(h.length>0&&V){if(typeof e>"u"){const N=s.slidesGrid[C],y=s.slidesGrid[C+j]-N;d?s.setTranslate(s.translate-y):(s.slideTo(C+Math.ceil(j),0,!1,!0),l&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-y,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-y))}else if(l){const N=g?h.length/p.grid.rows:h.length;s.slideTo(s.activeIndex+N,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(w.length>0&&P)if(typeof e>"u"){const N=s.slidesGrid[C],y=s.slidesGrid[C-x]-N;d?s.setTranslate(s.translate-y):(s.slideTo(C-x,0,!1,!0),l&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-y,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-y))}else{const N=g?w.length/p.grid.rows:w.length;s.slideTo(s.activeIndex-N,0,!1,!0)}}if(s.allowSlidePrev=r,s.allowSlideNext=A,s.controller&&s.controller.control&&!a){const N={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:o,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(E=>{!E.destroyed&&E.params.loop&&E.loopFix({...N,slideTo:E.params.slidesPerView===p.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...N,slideTo:s.controller.control.params.slidesPerView===p.slidesPerView?i:!1})}s.emit("loopFix")}function Sa(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(l=>{const o=typeof l.swiperSlideIndex>"u"?l.getAttribute("data-swiper-slide-index")*1:l.swiperSlideIndex;n[o]=l}),t.slides.forEach(l=>{l.removeAttribute("data-swiper-slide-index")}),n.forEach(l=>{i.append(l)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var xa={loopCreate:ya,loopFix:wa,loopDestroy:Sa};function Ta(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Ea(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Ia={setGrabCursor:Ta,unsetGrabCursor:Ea};function ka(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ft()||n===Nt())return null;n.assignedSlot&&(n=n.assignedSlot);const l=n.closest(t);return!l&&!n.getRootNode?null:l||i(n.getRootNode().host)}return i(e)}function yo(t,e,i){const n=Nt(),{params:l}=t,o=l.edgeSwipeDetection,a=l.edgeSwipeThreshold;return o&&(i<=a||i>=n.innerWidth-a)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function Ca(t){const e=this,i=Ft();let n=t;n.originalEvent&&(n=n.originalEvent);const l=e.touchEventsData;if(n.type==="pointerdown"){if(l.pointerId!==null&&l.pointerId!==n.pointerId)return;l.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(l.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){yo(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:a,enabled:d}=e;if(!d||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let s=n.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const c=!!o.noSwipingClass&&o.noSwipingClass!=="",r=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&r&&(s=r[0]);const A=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(f?ka(A,s):s.closest(A))){e.allowClick=!0;return}if(o.swipeHandler&&!s.closest(o.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const p=a.currentX,b=a.currentY;if(!yo(e,n,p))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=b,l.touchStartTime=qt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1);let m=!0;s.matches(l.focusableElements)&&(m=!1,s.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const S=m&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||S)&&!s.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function Pa(t){const e=Ft(),i=this,n=i.touchEventsData,{params:l,touches:o,rtlTranslate:a,enabled:d}=i;if(!d||!l.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(n.touchId!==null||s.pointerId!==n.pointerId))return;let c;if(s.type==="touchmove"){if(c=[...s.changedTouches].filter(P=>P.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=s;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",s);return}const r=c.pageX,A=c.pageY;if(s.preventedByNestedSwiper){o.startX=r,o.startY=A;return}if(!i.allowTouchMove){s.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:r,startY:A,currentX:r,currentY:A}),n.touchStartTime=qt());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(A<o.startY&&i.translate<=i.maxTranslate()||A>o.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(r<o.startX&&i.translate<=i.maxTranslate()||r>o.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&s.target===e.activeElement&&s.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",s),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=r,o.currentY=A;const f=o.currentX-o.startX,p=o.currentY-o.startY;if(i.params.threshold&&Math.sqrt(f**2+p**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let P;i.isHorizontal()&&o.currentY===o.startY||i.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:f*f+p*p>=25&&(P=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,n.isScrolling=i.isHorizontal()?P>l.touchAngle:90-P>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",s),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling||s.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&s.cancelable&&s.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&s.stopPropagation();let b=i.isHorizontal()?f:p,m=i.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;l.oneWayMovement&&(b=Math.abs(b)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=b,b*=l.touchRatio,a&&(b=-b,m=-m);const S=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const v=i.params.loop&&!l.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(v&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(P)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&S!==i.touchesDirection&&v&&g&&Math.abs(b)>=1){Object.assign(o,{startX:r,startY:A,currentX:r,currentY:A,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",s),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let w=!0,C=l.resistanceRatio;if(l.touchReleaseOnEdges&&(C=0),b>0?(v&&g&&!h&&n.allowThresholdMove&&n.currentTranslate>(l.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(w=!1,l.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**C))):b<0&&(v&&g&&!h&&n.allowThresholdMove&&n.currentTranslate<(l.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(l.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(l.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(w=!1,l.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**C))),w&&(s.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),l.threshold>0)if(Math.abs(b)>l.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=i.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!l.followFinger||l.cssMode||((l.freeMode&&l.freeMode.enabled&&i.freeMode||l.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),l.freeMode&&l.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Oa(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let l;if(n.type==="touchend"||n.type==="touchcancel"){if(l=[...n.changedTouches].filter(C=>C.identifier===i.touchId)[0],!l||l.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;l=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:d,rtlTranslate:s,slidesGrid:c,enabled:r}=e;if(!r||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const A=qt(),f=A-i.touchStartTime;if(e.allowClick){const C=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(C&&C[0]||n.target,C),e.emit("tap click",n),f<300&&A-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=qt(),gi(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||d.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let p;if(a.followFinger?p=s?e.translate:-e.translate:p=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const b=p>=-e.maxTranslate()&&!e.params.loop;let m=0,S=e.slidesSizesGrid[0];for(let C=0;C<c.length;C+=C<a.slidesPerGroupSkip?1:a.slidesPerGroup){const P=C<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[C+P]<"u"?(b||p>=c[C]&&p<c[C+P])&&(m=C,S=c[C+P]-c[C]):(b||p>=c[C])&&(m=C,S=c[c.length-1]-c[c.length-2])}let v=null,g=null;a.rewind&&(e.isBeginning?g=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));const h=(p-c[m])/S,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?v:m+w):e.slideTo(m)),e.swipeDirection==="prev"&&(h>1-a.longSwipesRatio?e.slideTo(m+w):g!==null&&h<0&&Math.abs(h)>a.longSwipesRatio?e.slideTo(g):e.slideTo(m))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(m+w):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(v!==null?v:m+w),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:m))}}function wo(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:l,snapGrid:o}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const d=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!d?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=l,t.allowSlideNext=n,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function La(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ja(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let l;const o=t.maxTranslate()-t.minTranslate();o===0?l=0:l=(t.translate-t.minTranslate())/o,l!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Na(t){const e=this;Qi(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Ma(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const So=(t,e)=>{const i=Ft(),{params:n,el:l,wrapperEl:o,device:a}=t,d=!!n.nested,s=e==="on"?"addEventListener":"removeEventListener",c=e;!l||typeof l=="string"||(i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:d}),l[s]("touchstart",t.onTouchStart,{passive:!1}),l[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:d}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:d}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&l[s]("click",t.onClick,!0),n.cssMode&&o[s]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",wo,!0):t[c]("observerUpdate",wo,!0),l[s]("load",t.onLoad,{capture:!0}))};function Da(){const t=this,{params:e}=t;t.onTouchStart=Ca.bind(t),t.onTouchMove=Pa.bind(t),t.onTouchEnd=Oa.bind(t),t.onDocumentTouchStart=Ma.bind(t),e.cssMode&&(t.onScroll=ja.bind(t)),t.onClick=La.bind(t),t.onLoad=Na.bind(t),So(t,"on")}function Va(){So(this,"off")}var Ra={attachEvents:Da,detachEvents:Va};const xo=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Ba(){const t=this,{realIndex:e,initialized:i,params:n,el:l}=t,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const a=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const s=(a in o?o[a]:void 0)||t.originalParams,c=xo(t,n),r=xo(t,s),A=t.params.grabCursor,f=s.grabCursor,p=n.enabled;c&&!r?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&r&&(l.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&n.grid.fill==="column")&&l.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),A&&!f?t.unsetGrabCursor():!A&&f&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof s[h]>"u")return;const w=n[h]&&n[h].enabled,C=s[h]&&s[h].enabled;w&&!C&&t[h].disable(),!w&&C&&t[h].enable()});const b=s.direction&&s.direction!==n.direction,m=n.loop&&(s.slidesPerView!==n.slidesPerView||b),S=n.loop;b&&i&&t.changeDirection(),Wt(t.params,s);const v=t.params.enabled,g=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!v?t.disable():!p&&v&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",s),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!S&&g?(t.loopCreate(e),t.updateSlides()):S&&!g&&t.loopDestroy()),t.emit("breakpoint",s)}function Fa(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=Nt(),o=e==="window"?l.innerHeight:i.clientHeight,a=Object.keys(t).map(d=>{if(typeof d=="string"&&d.indexOf("@")===0){const s=parseFloat(d.substr(1));return{value:o*s,point:d}}return{value:d,point:d}});a.sort((d,s)=>parseInt(d.value,10)-parseInt(s.value,10));for(let d=0;d<a.length;d+=1){const{point:s,value:c}=a[d];e==="window"?l.matchMedia(`(min-width: ${c}px)`).matches&&(n=s):c<=i.clientWidth&&(n=s)}return n||"max"}var Wa={setBreakpoint:Ba,getBreakpoint:Fa};function za(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(l=>{n[l]&&i.push(e+l)}):typeof n=="string"&&i.push(e+n)}),i}function Ha(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:o}=t,a=za(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),l.classList.add(...e),t.emitContainerClasses()}function Ua(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Xa={addClasses:Ha,removeClasses:Ua};function qa(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const l=t.slides.length-1,o=t.slidesGrid[l]+t.slidesSizesGrid[l]+n*2;t.isLocked=t.size>o}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ya={checkOverflow:qa},In={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ga(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],o=n[l];if(typeof o!="object"||o===null){Wt(e,n);return}if(t[l]===!0&&(t[l]={enabled:!0}),l==="navigation"&&t[l]&&t[l].enabled&&!t[l].prevEl&&!t[l].nextEl&&(t[l].auto=!0),["pagination","scrollbar"].indexOf(l)>=0&&t[l]&&t[l].enabled&&!t[l].el&&(t[l].auto=!0),!(l in t&&"enabled"in o)){Wt(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Wt(e,n)}}const kn={eventsEmitter:Xl,update:ta,translate:sa,transition:ua,slide:ga,loop:xa,grabCursor:Ia,events:Ra,breakpoints:Wa,checkOverflow:Ya,classes:Xa},Cn={};let Pn=class ni{constructor(){let e,i;for(var n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];l.length===1&&l[0].constructor&&Object.prototype.toString.call(l[0]).slice(8,-1)==="Object"?i=l[0]:[e,i]=l,i||(i={}),i=Wt({},i),e&&!i.el&&(i.el=e);const a=Ft();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const r=[];return a.querySelectorAll(i.el).forEach(A=>{const f=Wt({},i,{el:A});r.push(new ni(f))}),r}const d=this;d.__swiper__=!0,d.support=ho(),d.device=Ao({userAgent:i.userAgent}),d.browser=zl(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],i.modules&&Array.isArray(i.modules)&&d.modules.push(...i.modules);const s={};d.modules.forEach(r=>{r({params:i,swiper:d,extendParams:Ga(i,s),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});const c=Wt({},In,s);return d.params=Wt({},c,Cn,i),d.originalParams=Wt({},d.params),d.passedParams=Wt({},i),d.params&&d.params.on&&Object.keys(d.params.on).forEach(r=>{d.on(r,d.params.on[r])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return d.params.direction==="horizontal"},isVertical(){return d.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:d.params.allowSlideNext,allowSlidePrev:d.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,l=Jt(i,`.${n.slideClass}, swiper-slide`),o=Pi(l[0]);return Pi(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Jt(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const l=n.minTranslate(),a=(n.maxTranslate()-l)*e+l;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const l=e.getSlideClasses(n);i.push({slideEl:n,classNames:l}),e.emit("_slideClass",n,l)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:l,slides:o,slidesGrid:a,slidesSizesGrid:d,size:s,activeIndex:c}=n;let r=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let A=o[c]?Math.ceil(o[c].swiperSlideSize):0,f;for(let p=c+1;p<o.length;p+=1)o[p]&&!f&&(A+=Math.ceil(o[p].swiperSlideSize),r+=1,A>s&&(f=!0));for(let p=c-1;p>=0;p-=1)o[p]&&!f&&(A+=o[p].swiperSlideSize,r+=1,A>s&&(f=!0))}else if(e==="current")for(let A=c+1;A<o.length;A+=1)(i?a[A]+d[A]-a[c]<s:a[A]-a[c]<s)&&(r+=1);else for(let A=c-1;A>=0;A-=1)a[c]-a[A]<s&&(r+=1);return r}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Qi(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const a=e.rtlTranslate?e.translate*-1:e.translate,d=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(d),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)l(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(a.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||l()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,l=n.params.direction;return e||(e=l==="horizontal"?"vertical":"horizontal"),e===l||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${l}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const l=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):Jt(n,l())[0];return!a&&i.params.createElements&&(a=yi("div",i.params.wrapperClass),n.append(a),Jt(n,`.${i.params.slideClass}`).forEach(d=>{a.append(d)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||ri(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ri(n,"direction")==="rtl"),wrongRTL:ri(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const l=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&l.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),l.forEach(o=>{o.complete?Qi(i,o):o.addEventListener("load",a=>{Qi(i,a.target)})}),En(i),i.initialized=!0,En(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:l,el:o,wrapperEl:a,slides:d}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),o&&typeof o!="string"&&o.removeAttribute("style"),a&&a.removeAttribute("style"),d&&d.length&&d.forEach(s=>{s.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(s=>{n.off(s)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),jl(n)),n.destroyed=!0),null}static extendDefaults(e){Wt(Cn,e)}static get extendedDefaults(){return Cn}static get defaults(){return In}static installModule(e){ni.prototype.__modules__||(ni.prototype.__modules__=[]);const i=ni.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ni.installModule(i)),ni):(ni.installModule(e),ni)}};Object.keys(kn).forEach(t=>{Object.keys(kn[t]).forEach(e=>{Pn.prototype[e]=kn[t][e]})}),Pn.use([Hl,Ul]);const To=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function mi(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function wi(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:mi(e[n])&&mi(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:wi(t[n],e[n]):t[n]=e[n]})}function Eo(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Io(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function ko(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Co(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function _a(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Za(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:o,prevEl:a,scrollbarEl:d,paginationEl:s}=t;const c=l.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:r,pagination:A,navigation:f,scrollbar:p,virtual:b,thumbs:m}=e;let S,v,g,h,w,C,P,V;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&r.thumbs&&!r.thumbs.swiper&&(S=!0),l.includes("controller")&&n.controller&&n.controller.control&&r.controller&&!r.controller.control&&(v=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(r.pagination||r.pagination===!1)&&A&&!A.el&&(g=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||d)&&(r.scrollbar||r.scrollbar===!1)&&p&&!p.el&&(h=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(r.navigation||r.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const j=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),r[x].prevEl=void 0,r[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),r[x].el=void 0,e[x].el=void 0))};l.includes("loop")&&e.isElement&&(r.loop&&!n.loop?C=!0:!r.loop&&n.loop?P=!0:V=!0),c.forEach(x=>{if(mi(r[x])&&mi(n[x]))Object.assign(r[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&j(x);else{const T=n[x];(T===!0||T===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?T===!1&&j(x):r[x]=n[x]}}),c.includes("controller")&&!v&&e.controller&&e.controller.control&&r.controller&&r.controller.control&&(e.controller.control=r.controller.control),l.includes("children")&&i&&b&&r.virtual.enabled?(b.slides=i,b.update(!0)):l.includes("virtual")&&b&&r.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),l.includes("children")&&i&&r.loop&&(V=!0),S&&m.init()&&m.update(!0),v&&(e.controller.control=r.controller.control),g&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(r.pagination.el=s),A.init(),A.render(),A.update()),h&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),e.el.appendChild(d)),d&&(r.scrollbar.el=d),p.init(),p.updateSize(),p.setTranslate()),w&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),o&&(r.navigation.nextEl=o),a&&(r.navigation.prevEl=a),f.init(),f.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(C||V)&&e.loopDestroy(),(P||V)&&e.loopCreate(),e.update()}function Ka(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};wi(i,In),i._emitClasses=!0,i.init=!1;const o={},a=To.map(s=>s.replace(/_/,"")),d=Object.assign({},t);return Object.keys(d).forEach(s=>{typeof t[s]>"u"||(a.indexOf(s)>=0?mi(t[s])?(i[s]={},l[s]={},wi(i[s],t[s]),wi(l[s],t[s])):(i[s]=t[s],l[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?n[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:o[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:l,rest:o,events:n}}function Ja(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:o,scrollbarEl:a,swiper:d}=t;Eo(e)&&n&&l&&(d.params.navigation.nextEl=n,d.originalParams.navigation.nextEl=n,d.params.navigation.prevEl=l,d.originalParams.navigation.prevEl=l),Io(e)&&o&&(d.params.pagination.el=o,d.originalParams.pagination.el=o),ko(e)&&a&&(d.params.scrollbar.el=a,d.originalParams.scrollbar.el=a),d.init(i)}function Qa(t,e,i,n,l){const o=[];if(!e)return o;const a=s=>{o.indexOf(s)<0&&o.push(s)};if(i&&n){const s=n.map(l),c=i.map(l);s.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return To.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(mi(t[s])&&mi(e[s])){const c=Object.keys(t[s]),r=Object.keys(e[s]);c.length!==r.length?a(s):(c.forEach(A=>{t[s][A]!==e[s][A]&&a(s)}),r.forEach(A=>{t[s][A]!==e[s][A]&&a(s)}))}else t[s]!==e[s]&&a(s)}),o}const $a=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function $i(){return $i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},$i.apply(this,arguments)}function Po(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Oo(t){const e=[];return u.Children.toArray(t).forEach(i=>{Po(i)?e.push(i):i.props&&i.props.children&&Oo(i.props.children).forEach(n=>e.push(n))}),e}function es(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return u.Children.toArray(t).forEach(n=>{if(Po(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const l=Oo(n.props.children);l.length>0?l.forEach(o=>e.push(o)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function ts(t,e,i){if(!i)return null;const n=r=>{let A=r;return r<0?A=e.length+r:A>=e.length&&(A=A-e.length),A},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:o,to:a}=i,d=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,c=[];for(let r=d;r<s;r+=1)r>=o&&r<=a&&c.push(e[n(r)]);return c.map((r,A)=>u.cloneElement(r,{swiper:t,style:l,key:r.props.virtualIndex||r.key||`slide-${A}`}))}function Oi(t,e){return typeof window>"u"?ce(t,e):Jo(t,e)}const On=ki(null),Li=()=>Ii(On),is=ki(null),ei=vi(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:o,onSwiper:a,...d}=t===void 0?{}:t,s=!1;const[c,r]=Z("swiper"),[A,f]=Z(null),[p,b]=Z(!1),m=fe(!1),S=fe(null),v=fe(null),g=fe(null),h=fe(null),w=fe(null),C=fe(null),P=fe(null),V=fe(null),{params:j,passedParams:x,rest:T,events:R}=Ka(d),{slides:I,slots:N}=es(o),E=()=>{b(!p)};Object.assign(j.on,{_containerClasses(O,k){r(k)}});const y=()=>{Object.assign(j.on,R),s=!0;const O={...j};if(delete O.wrapperClass,v.current=new Pn(O),v.current.virtual&&v.current.params.virtual.enabled){v.current.virtual.slides=I;const k={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};wi(v.current.params.virtual,k),wi(v.current.originalParams.virtual,k)}};S.current||y(),v.current&&v.current.on("_beforeBreakpoint",E);const F=()=>{s||!R||!v.current||Object.keys(R).forEach(O=>{v.current.on(O,R[O])})},D=()=>{!R||!v.current||Object.keys(R).forEach(O=>{v.current.off(O,R[O])})};ce(()=>()=>{v.current&&v.current.off("_beforeBreakpoint",E)}),ce(()=>{!m.current&&v.current&&(v.current.emitSlidesClasses(),m.current=!0)}),Oi(()=>{if(e&&(e.current=S.current),!!S.current)return v.current.destroyed&&y(),Ja({el:S.current,nextEl:w.current,prevEl:C.current,paginationEl:P.current,scrollbarEl:V.current,swiper:v.current},j),a&&!v.current.destroyed&&a(v.current),()=>{v.current&&!v.current.destroyed&&v.current.destroy(!0,!1)}},[]),Oi(()=>{F();const O=Qa(x,g.current,I,h.current,k=>k.key);return g.current=x,h.current=I,O.length&&v.current&&!v.current.destroyed&&Za({swiper:v.current,slides:I,passedParams:x,changedParams:O,nextEl:w.current,prevEl:C.current,scrollbarEl:V.current,paginationEl:P.current}),()=>{D()}}),Oi(()=>{$a(v.current)},[A]);function B(){return j.virtual?ts(v.current,I,A):I.map((O,k)=>u.cloneElement(O,{swiper:v.current,swiperSlideIndex:k}))}return u.createElement(n,$i({ref:S,className:Co(`${c}${i?` ${i}`:""}`)},T),u.createElement(is.Provider,{value:v.current},N["container-start"],u.createElement(l,{className:_a(j.wrapperClass)},N["wrapper-start"],B(),N["wrapper-end"]),Eo(j)&&u.createElement(u.Fragment,null,u.createElement("div",{ref:C,className:"swiper-button-prev"}),u.createElement("div",{ref:w,className:"swiper-button-next"})),ko(j)&&u.createElement("div",{ref:V,className:"swiper-scrollbar"}),Io(j)&&u.createElement("div",{ref:P,className:"swiper-pagination"}),N["container-end"]))});ei.displayName="Swiper";const zt=vi(function(t,e){let{tag:i="div",children:n,className:l="",swiper:o,zoom:a,lazy:d,virtualIndex:s,swiperSlideIndex:c,...r}=t===void 0?{}:t;const A=fe(null),[f,p]=Z("swiper-slide"),[b,m]=Z(!1);function S(w,C,P){C===A.current&&p(P)}Oi(()=>{if(typeof c<"u"&&(A.current.swiperSlideIndex=c),e&&(e.current=A.current),!(!A.current||!o)){if(o.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return o.on("_slideClass",S),()=>{o&&o.off("_slideClass",S)}}}),Oi(()=>{o&&A.current&&!o.destroyed&&p(o.getSlideClasses(A.current))},[o]);const v={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(v):n,h=()=>{m(!0)};return u.createElement(i,$i({ref:A,className:Co(`${f}${l?` ${l}`:""}`),"data-swiper-slide-index":s,onLoad:h},r),a&&u.createElement(On.Provider,{value:v},u.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},g(),d&&!b&&u.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&u.createElement(On.Provider,{value:v},g(),d&&!b&&u.createElement("div",{className:"swiper-lazy-preloader"})))});zt.displayName="SwiperSlide";function Ln(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ft(),a=Nt();e.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function d(r){if(!e.enabled)return;const{rtlTranslate:A}=e;let f=r;f.originalEvent&&(f=f.originalEvent);const p=f.keyCode||f.charCode,b=e.params.keyboard.pageUpDown,m=b&&p===33,S=b&&p===34,v=p===37,g=p===39,h=p===38,w=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&g||e.isVertical()&&w||S)||!e.allowSlidePrev&&(e.isHorizontal()&&v||e.isVertical()&&h||m))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(o.activeElement&&o.activeElement.nodeName&&(o.activeElement.nodeName.toLowerCase()==="input"||o.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(m||S||v||g||h||w)){let C=!1;if(Ji(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ji(e.el,`.${e.params.slideActiveClass}`).length===0)return;const P=e.el,V=P.clientWidth,j=P.clientHeight,x=a.innerWidth,T=a.innerHeight,R=fo(P);A&&(R.left-=P.scrollLeft);const I=[[R.left,R.top],[R.left+V,R.top],[R.left,R.top+j],[R.left+V,R.top+j]];for(let N=0;N<I.length;N+=1){const E=I[N];if(E[0]>=0&&E[0]<=x&&E[1]>=0&&E[1]<=T){if(E[0]===0&&E[1]===0)continue;C=!0}}if(!C)return}e.isHorizontal()?((m||S||v||g)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((S||g)&&!A||(m||v)&&A)&&e.slideNext(),((m||v)&&!A||(S||g)&&A)&&e.slidePrev()):((m||S||h||w)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(S||w)&&e.slideNext(),(m||h)&&e.slidePrev()),l("keyPress",p)}}function s(){e.keyboard.enabled||(o.addEventListener("keydown",d),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(o.removeEventListener("keydown",d),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&s()}),n("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:s,disable:c})}function en(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Nt();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,d=qt(),s;const c=[];function r(h){let V=0,j=0,x=0,T=0;return"detail"in h&&(j=h.detail),"wheelDelta"in h&&(j=-h.wheelDelta/120),"wheelDeltaY"in h&&(j=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(V=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(V=j,j=0),x=V*10,T=j*10,"deltaY"in h&&(T=h.deltaY),"deltaX"in h&&(x=h.deltaX),h.shiftKey&&!x&&(x=T,T=0),(x||T)&&h.deltaMode&&(h.deltaMode===1?(x*=40,T*=40):(x*=800,T*=800)),x&&!V&&(V=x<1?-1:1),T&&!j&&(j=T<1?-1:1),{spinX:V,spinY:j,pixelX:x,pixelY:T}}function A(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function p(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&qt()-d<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&qt()-d<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",h.raw)),d=new o.Date().getTime(),!1)}function b(h){const w=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&w.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&w.releaseOnEdges)return!0;return!1}function m(h){let w=h,C=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&w.preventDefault();let V=e.el;e.params.mousewheel.eventsTarget!=="container"&&(V=document.querySelector(e.params.mousewheel.eventsTarget));const j=V&&V.contains(w.target);if(!e.mouseEntered&&!j&&!P.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let x=0;const T=e.rtlTranslate?-1:1,R=r(w);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(R.pixelX)>Math.abs(R.pixelY))x=-R.pixelX*T;else return!0;else if(Math.abs(R.pixelY)>Math.abs(R.pixelX))x=-R.pixelY;else return!0;else x=Math.abs(R.pixelX)>Math.abs(R.pixelY)?-R.pixelX*T:-R.pixelY;if(x===0)return!0;P.invert&&(x=-x);let I=e.getTranslate()+x*P.sensitivity;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),C=e.params.loop?!0:!(I===e.minTranslate()||I===e.maxTranslate()),C&&e.params.nested&&w.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const N={time:qt(),delta:Math.abs(x),direction:Math.sign(x),raw:h};c.length>=2&&c.shift();const E=c.length?c[c.length-1]:void 0;if(c.push(N),E?(N.direction!==E.direction||N.delta>E.delta||N.time>E.time+150)&&p(N):p(N),b(N))return!0}else{const N={time:qt(),delta:Math.abs(x),direction:Math.sign(x)},E=s&&N.time<s.time+500&&N.delta<=s.delta&&N.direction===s.direction;if(!E){s=void 0;let y=e.getTranslate()+x*P.sensitivity;const F=e.isBeginning,D=e.isEnd;if(y>=e.minTranslate()&&(y=e.minTranslate()),y<=e.maxTranslate()&&(y=e.maxTranslate()),e.setTransition(0),e.setTranslate(y),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!D&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:N.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const B=c.length?c[c.length-1]:void 0,O=c[0];if(c.push(N),B&&(N.delta>B.delta||N.direction!==B.direction))c.splice(0);else if(c.length>=15&&N.time-O.time<500&&O.delta-N.delta>=1&&N.delta<=6){const k=x>0?.8:.2;s=N,c.splice(0),a=gi(()=>{e.slideToClosest(e.params.speed,!0,void 0,k)},0)}a||(a=gi(()=>{s=N,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(E||l("scroll",w),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(y===e.minTranslate()||y===e.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function S(h){let w=e.el;e.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(e.params.mousewheel.eventsTarget)),w[h]("mouseenter",A),w[h]("mouseleave",f),w[h]("wheel",m)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(S("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(S("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&v()}),n("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:v,disable:g})}function jn(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let o=Jt(t.el,`.${n[l]}`)[0];o||(o=yi("div",n[l]),o.className=n[l],t.el.append(o)),i[l]=o,e[l]=o}}),i}function Nn(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(b){let m;return b&&typeof b=="string"&&e.isElement&&(m=e.el.querySelector(b),m)?m:(b&&(typeof b=="string"&&(m=[...document.querySelectorAll(b)]),e.params.uniqueNavElements&&typeof b=="string"&&m&&m.length>1&&e.el.querySelectorAll(b).length===1?m=e.el.querySelector(b):m&&m.length===1&&(m=m[0])),b&&!m?b:m)}function a(b,m){const S=e.params.navigation;b=Qe(b),b.forEach(v=>{v&&(v.classList[m?"add":"remove"](...S.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=m),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](S.lockClass))})}function d(){const{nextEl:b,prevEl:m}=e.navigation;if(e.params.loop){a(m,!1),a(b,!1);return}a(m,e.isBeginning&&!e.params.rewind),a(b,e.isEnd&&!e.params.rewind)}function s(b){b.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),l("navigationPrev"))}function c(b){b.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),l("navigationNext"))}function r(){const b=e.params.navigation;if(e.params.navigation=jn(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(b.nextEl||b.prevEl))return;let m=o(b.nextEl),S=o(b.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:S}),m=Qe(m),S=Qe(S);const v=(g,h)=>{g&&g.addEventListener("click",h==="next"?c:s),!e.enabled&&g&&g.classList.add(...b.lockClass.split(" "))};m.forEach(g=>v(g,"next")),S.forEach(g=>v(g,"prev"))}function A(){let{nextEl:b,prevEl:m}=e.navigation;b=Qe(b),m=Qe(m);const S=(v,g)=>{v.removeEventListener("click",g==="next"?c:s),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};b.forEach(v=>S(v,"next")),m.forEach(v=>S(v,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?p():(r(),d())}),n("toEdge fromEdge lock unlock",()=>{d()}),n("destroy",()=>{A()}),n("enable disable",()=>{let{nextEl:b,prevEl:m}=e.navigation;if(b=Qe(b),m=Qe(m),e.enabled){d();return}[...b,...m].filter(S=>!!S).forEach(S=>S.classList.add(e.params.navigation.lockClass))}),n("click",(b,m)=>{let{nextEl:S,prevEl:v}=e.navigation;S=Qe(S),v=Qe(v);const g=m.target;let h=v.includes(g)||S.includes(g);if(e.isElement&&!h){const w=m.path||m.composedPath&&m.composedPath();w&&(h=w.find(C=>S.includes(C)||v.includes(C)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let w;S.length?w=S[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(w=v[0].classList.contains(e.params.navigation.hiddenClass)),l(w===!0?"navigationShow":"navigationHide"),[...S,...v].filter(C=>!!C).forEach(C=>C.classList.toggle(e.params.navigation.hiddenClass))}});const f=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),r(),d()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),A()};Object.assign(e.navigation,{enable:f,disable:p,update:d,init:r,destroy:A})}function ti(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ji(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:v=>v,formatFractionTotal:v=>v,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let a,d=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(v,g){const{bulletActiveClass:h}=e.params.pagination;v&&(v=v[`${g==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${h}-${g}`),v=v[`${g==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${h}-${g}-${g}`)))}function r(v){const g=v.target.closest(ti(e.params.pagination.bulletClass));if(!g)return;v.preventDefault();const h=Pi(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function A(){const v=e.rtl,g=e.params.pagination;if(s())return;let h=e.pagination.el;h=Qe(h);let w,C;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,V=e.params.loop?Math.ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,w=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const j=e.pagination.bullets;let x,T,R;if(g.dynamicBullets&&(a=gn(j[0],e.isHorizontal()?"width":"height",!0),h.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&C!==void 0&&(d+=w-(C||0),d>g.dynamicMainBullets-1?d=g.dynamicMainBullets-1:d<0&&(d=0)),x=Math.max(w-d,0),T=x+(Math.min(j.length,g.dynamicMainBullets)-1),R=(T+x)/2),j.forEach(I=>{const N=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(E=>`${g.bulletActiveClass}${E}`)].map(E=>typeof E=="string"&&E.includes(" ")?E.split(" "):E).flat();I.classList.remove(...N)}),h.length>1)j.forEach(I=>{const N=Pi(I);N===w?I.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),g.dynamicBullets&&(N>=x&&N<=T&&I.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),N===x&&c(I,"prev"),N===T&&c(I,"next"))});else{const I=j[w];if(I&&I.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&j.forEach((N,E)=>{N.setAttribute("part",E===w?"bullet-active":"bullet")}),g.dynamicBullets){const N=j[x],E=j[T];for(let y=x;y<=T;y+=1)j[y]&&j[y].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(N,"prev"),c(E,"next")}}if(g.dynamicBullets){const I=Math.min(j.length,g.dynamicMainBullets+4),N=(a*I-a)/2-R*a,E=v?"right":"left";j.forEach(y=>{y.style[e.isHorizontal()?E:"top"]=`${N}px`})}}h.forEach((j,x)=>{if(g.type==="fraction"&&(j.querySelectorAll(ti(g.currentClass)).forEach(T=>{T.textContent=g.formatFractionCurrent(w+1)}),j.querySelectorAll(ti(g.totalClass)).forEach(T=>{T.textContent=g.formatFractionTotal(V)})),g.type==="progressbar"){let T;g.progressbarOpposite?T=e.isHorizontal()?"vertical":"horizontal":T=e.isHorizontal()?"horizontal":"vertical";const R=(w+1)/V;let I=1,N=1;T==="horizontal"?I=R:N=R,j.querySelectorAll(ti(g.progressbarFillClass)).forEach(E=>{E.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${N})`,E.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(j.innerHTML=g.renderCustom(e,w+1,V),x===0&&l("paginationRender",j)):(x===0&&l("paginationRender",j),l("paginationUpdate",j)),e.params.watchOverflow&&e.enabled&&j.classList[e.isLocked?"add":"remove"](g.lockClass)})}function f(){const v=e.params.pagination;if(s())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=Qe(h);let w="";if(v.type==="bullets"){let C=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>g&&(C=g);for(let P=0;P<C;P+=1)v.renderBullet?w+=v.renderBullet.call(e,P,v.bulletClass):w+=`<${v.bulletElement} ${e.isElement?'part="bullet"':""} class="${v.bulletClass}"></${v.bulletElement}>`}v.type==="fraction"&&(v.renderFraction?w=v.renderFraction.call(e,v.currentClass,v.totalClass):w=`<span class="${v.currentClass}"></span> / <span class="${v.totalClass}"></span>`),v.type==="progressbar"&&(v.renderProgressbar?w=v.renderProgressbar.call(e,v.progressbarFillClass):w=`<span class="${v.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(C=>{v.type!=="custom"&&(C.innerHTML=w||""),v.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(ti(v.bulletClass)))}),v.type!=="custom"&&l("paginationRender",h[0])}function p(){e.params.pagination=jn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let g;typeof v.el=="string"&&e.isElement&&(g=e.el.querySelector(v.el)),!g&&typeof v.el=="string"&&(g=[...document.querySelectorAll(v.el)]),g||(g=v.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(v.el)],g.length>1&&(g=g.filter(h=>Ji(h,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=Qe(g),g.forEach(h=>{v.type==="bullets"&&v.clickable&&h.classList.add(...(v.clickableClass||"").split(" ")),h.classList.add(v.modifierClass+v.type),h.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(h.classList.add(`${v.modifierClass}${v.type}-dynamic`),d=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&h.classList.add(v.progressbarOppositeClass),v.clickable&&h.addEventListener("click",r),e.enabled||h.classList.add(v.lockClass)}))}function b(){const v=e.params.pagination;if(s())return;let g=e.pagination.el;g&&(g=Qe(g),g.forEach(h=>{h.classList.remove(v.hiddenClass),h.classList.remove(v.modifierClass+v.type),h.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(h.classList.remove(...(v.clickableClass||"").split(" ")),h.removeEventListener("click",r))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...v.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:g}=e.pagination;g=Qe(g),g.forEach(h=>{h.classList.remove(v.horizontalClass,v.verticalClass),h.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?S():(p(),f(),A())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&A()}),n("snapIndexChange",()=>{A()}),n("snapGridLengthChange",()=>{f(),A()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:v}=e.pagination;v&&(v=Qe(v),v.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{A()}),n("click",(v,g)=>{const h=g.target,w=Qe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const C=w[0].classList.contains(e.params.pagination.hiddenClass);l(C===!0?"paginationShow":"paginationHide"),w.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Qe(v),v.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),p(),f(),A()},S=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Qe(v),v.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:m,disable:S,render:f,update:A,init:p,destroy:b})}function ns(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ft();let a=!1,d=null,s=null,c,r,A,f;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I,rtlTranslate:N}=e,{dragEl:E,el:y}=I,F=e.params.scrollbar,D=e.params.loop?e.progressLoop:e.progress;let B=r,O=(A-r)*D;N?(O=-O,O>0?(B=r-O,O=0):-O+r>A&&(B=A+O)):O<0?(B=r+O,O=0):O+r>A&&(B=A-O),e.isHorizontal()?(E.style.transform=`translate3d(${O}px, 0, 0)`,E.style.width=`${B}px`):(E.style.transform=`translate3d(0px, ${O}px, 0)`,E.style.height=`${B}px`),F.hide&&(clearTimeout(d),y.style.opacity=1,d=setTimeout(()=>{y.style.opacity=0,y.style.transitionDuration="400ms"},1e3))}function b(I){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${I}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I}=e,{dragEl:N,el:E}=I;N.style.width="",N.style.height="",A=e.isHorizontal()?E.offsetWidth:E.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?r=A*f:r=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?N.style.width=`${r}px`:N.style.height=`${r}px`,f>=1?E.style.display="none":E.style.display="",e.params.scrollbar.hide&&(E.style.opacity=0),e.params.watchOverflow&&e.enabled&&I.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function S(I){return e.isHorizontal()?I.clientX:I.clientY}function v(I){const{scrollbar:N,rtlTranslate:E}=e,{el:y}=N;let F;F=(S(I)-fo(y)[e.isHorizontal()?"left":"top"]-(c!==null?c:r/2))/(A-r),F=Math.max(Math.min(F,1),0),E&&(F=1-F);const D=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(D),e.setTranslate(D),e.updateActiveIndex(),e.updateSlidesClasses()}function g(I){const N=e.params.scrollbar,{scrollbar:E,wrapperEl:y}=e,{el:F,dragEl:D}=E;a=!0,c=I.target===D?S(I)-I.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,I.preventDefault(),I.stopPropagation(),y.style.transitionDuration="100ms",D.style.transitionDuration="100ms",v(I),clearTimeout(s),F.style.transitionDuration="0ms",N.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",I)}function h(I){const{scrollbar:N,wrapperEl:E}=e,{el:y,dragEl:F}=N;a&&(I.preventDefault&&I.cancelable?I.preventDefault():I.returnValue=!1,v(I),E.style.transitionDuration="0ms",y.style.transitionDuration="0ms",F.style.transitionDuration="0ms",l("scrollbarDragMove",I))}function w(I){const N=e.params.scrollbar,{scrollbar:E,wrapperEl:y}=e,{el:F}=E;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",y.style.transitionDuration=""),N.hide&&(clearTimeout(s),s=gi(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",I),N.snapOnRelease&&e.slideToClosest())}function C(I){const{scrollbar:N,params:E}=e,y=N.el;if(!y)return;const F=y,D=E.passiveListeners?{passive:!1,capture:!1}:!1,B=E.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const O=I==="on"?"addEventListener":"removeEventListener";F[O]("pointerdown",g,D),o[O]("pointermove",h,D),o[O]("pointerup",w,B)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||C("on")}function V(){!e.params.scrollbar.el||!e.scrollbar.el||C("off")}function j(){const{scrollbar:I,el:N}=e;e.params.scrollbar=jn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const E=e.params.scrollbar;if(!E.el)return;let y;if(typeof E.el=="string"&&e.isElement&&(y=e.el.querySelector(E.el)),!y&&typeof E.el=="string"){if(y=o.querySelectorAll(E.el),!y.length)return}else y||(y=E.el);e.params.uniqueNavElements&&typeof E.el=="string"&&y.length>1&&N.querySelectorAll(E.el).length===1&&(y=N.querySelector(E.el)),y.length>0&&(y=y[0]),y.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass);let F;y&&(F=y.querySelector(ti(e.params.scrollbar.dragClass)),F||(F=yi("div",e.params.scrollbar.dragClass),y.append(F))),Object.assign(I,{el:y,dragEl:F}),E.draggable&&P(),y&&y.classList[e.enabled?"remove":"add"](...si(e.params.scrollbar.lockClass))}function x(){const I=e.params.scrollbar,N=e.scrollbar.el;N&&N.classList.remove(...si(e.isHorizontal()?I.horizontalClass:I.verticalClass)),V()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const I=e.params.scrollbar;let{el:N}=e.scrollbar;N=Qe(N),N.forEach(E=>{E.classList.remove(I.horizontalClass,I.verticalClass),E.classList.add(e.isHorizontal()?I.horizontalClass:I.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?R():(j(),m(),p())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{p()}),n("setTransition",(I,N)=>{b(N)}),n("enable disable",()=>{const{el:I}=e.scrollbar;I&&I.classList[e.enabled?"remove":"add"](...si(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const T=()=>{e.el.classList.remove(...si(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...si(e.params.scrollbar.scrollbarDisabledClass)),j(),m(),p()},R=()=>{e.el.classList.add(...si(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...si(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:T,disable:R,updateSize:m,setTranslate:p,init:j,destroy:x})}function Mn(t){let{swiper:e,extendParams:i,on:n}=t;i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let l=null,o,a,d=new Date().getTime();function s(D){const B=l;B.length!==0&&(B.innerHTML="",B.innerHTML=D)}function c(D){D===void 0&&(D=16);const B=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(D).replace(/x/g,B)}function r(D){D=Qe(D),D.forEach(B=>{B.setAttribute("tabIndex","0")})}function A(D){D=Qe(D),D.forEach(B=>{B.setAttribute("tabIndex","-1")})}function f(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("role",B)})}function p(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-roledescription",B)})}function b(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-controls",B)})}function m(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-label",B)})}function S(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("id",B)})}function v(D,B){D=Qe(D),D.forEach(O=>{O.setAttribute("aria-live",B)})}function g(D){D=Qe(D),D.forEach(B=>{B.setAttribute("aria-disabled",!0)})}function h(D){D=Qe(D),D.forEach(B=>{B.setAttribute("aria-disabled",!1)})}function w(D){if(D.keyCode!==13&&D.keyCode!==32)return;const B=e.params.a11y,O=D.target;if(!(e.pagination&&e.pagination.el&&(O===e.pagination.el||e.pagination.el.contains(D.target))&&!D.target.matches(ti(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const k=Qe(e.navigation.prevEl);Qe(e.navigation.nextEl).includes(O)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s(B.lastSlideMessage):s(B.nextSlideMessage)),k.includes(O)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s(B.firstSlideMessage):s(B.prevSlideMessage))}e.pagination&&O.matches(ti(e.params.pagination.bulletClass))&&O.click()}}function C(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:D,prevEl:B}=e.navigation;B&&(e.isBeginning?(g(B),A(B)):(h(B),r(B))),D&&(e.isEnd?(g(D),A(D)):(h(D),r(D)))}function P(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function V(){return P()&&e.params.pagination.clickable}function j(){const D=e.params.a11y;P()&&e.pagination.bullets.forEach(B=>{e.params.pagination.clickable&&(r(B),e.params.pagination.renderBullet||(f(B,"button"),m(B,D.paginationBulletMessage.replace(/\{\{index\}\}/,Pi(B)+1)))),B.matches(ti(e.params.pagination.bulletActiveClass))?B.setAttribute("aria-current","true"):B.removeAttribute("aria-current")})}const x=(D,B,O)=>{r(D),D.tagName!=="BUTTON"&&(f(D,"button"),D.addEventListener("keydown",w)),m(D,O),b(D,B)},T=D=>{a&&a!==D.target&&!a.contains(D.target)&&(o=!0),e.a11y.clicked=!0},R=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},I=D=>{d=new Date().getTime()},N=D=>{if(e.a11y.clicked||new Date().getTime()-d<100)return;const B=D.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!B||!e.slides.includes(B))return;a=B;const O=e.slides.indexOf(B)===e.activeIndex,k=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(B);O||k||D.sourceCapabilities&&D.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{o||(e.params.loop?e.slideToLoop(parseInt(B.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(B),0),o=!1)}))},E=()=>{const D=e.params.a11y;D.itemRoleDescriptionMessage&&p(e.slides,D.itemRoleDescriptionMessage),D.slideRole&&f(e.slides,D.slideRole);const B=e.slides.length;D.slideLabelMessage&&e.slides.forEach((O,k)=>{const M=e.params.loop?parseInt(O.getAttribute("data-swiper-slide-index"),10):k,X=D.slideLabelMessage.replace(/\{\{index\}\}/,M+1).replace(/\{\{slidesLength\}\}/,B);m(O,X)})},y=()=>{const D=e.params.a11y;e.el.append(l);const B=e.el;D.containerRoleDescriptionMessage&&p(B,D.containerRoleDescriptionMessage),D.containerMessage&&m(B,D.containerMessage);const O=e.wrapperEl,k=D.id||O.getAttribute("id")||`swiper-wrapper-${c(16)}`,M=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";S(O,k),v(O,M),E();let{nextEl:X,prevEl:U}=e.navigation?e.navigation:{};X=Qe(X),U=Qe(U),X&&X.forEach($=>x($,k,D.nextSlideMessage)),U&&U.forEach($=>x($,k,D.prevSlideMessage)),V()&&Qe(e.pagination.el).forEach(be=>{be.addEventListener("keydown",w)}),Ft().addEventListener("visibilitychange",I),e.el.addEventListener("focus",N,!0),e.el.addEventListener("focus",N,!0),e.el.addEventListener("pointerdown",T,!0),e.el.addEventListener("pointerup",R,!0)};function F(){l&&l.remove();let{nextEl:D,prevEl:B}=e.navigation?e.navigation:{};D=Qe(D),B=Qe(B),D&&D.forEach(k=>k.removeEventListener("keydown",w)),B&&B.forEach(k=>k.removeEventListener("keydown",w)),V()&&Qe(e.pagination.el).forEach(M=>{M.removeEventListener("keydown",w)}),Ft().removeEventListener("visibilitychange",I),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",N,!0),e.el.removeEventListener("pointerdown",T,!0),e.el.removeEventListener("pointerup",R,!0))}n("beforeInit",()=>{l=yi("span",e.params.a11y.notificationClass),l.setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&y()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&E()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&C()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&j()}),n("destroy",()=>{e.params.a11y.enabled&&F()})}function Ni(t){let{swiper:e,extendParams:i,on:n,emit:l,params:o}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,d,s=o&&o.autoplay?o.autoplay.delay:3e3,c=o&&o.autoplay?o.autoplay.delay:3e3,r,A=new Date().getTime(),f,p,b,m,S,v,g;function h(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!(g||B.detail&&B.detail.bySwiperTouchMove)&&T())}const w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(c=r,f=!1);const B=e.autoplay.paused?r:A+c-new Date().getTime();e.autoplay.timeLeft=B,l("autoplayTimeLeft",B,B/s),d=requestAnimationFrame(()=>{w()})},C=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.filter(k=>k.classList.contains("swiper-slide-active"))[0]:B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},P=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),w();let O=typeof B>"u"?e.params.autoplay.delay:B;s=e.params.autoplay.delay,c=e.params.autoplay.delay;const k=C();!Number.isNaN(k)&&k>0&&typeof B>"u"&&(O=k,s=k,c=k),r=O;const M=e.params.speed,X=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,M,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,M,!0,!0),l("autoplay")),e.params.cssMode&&(A=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return O>0?(clearTimeout(a),a=setTimeout(()=>{X()},O)):requestAnimationFrame(()=>{X()}),O},V=()=>{A=new Date().getTime(),e.autoplay.running=!0,P(),l("autoplayStart")},j=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(d),l("autoplayStop")},x=(B,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),B||(v=!0);const k=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):T()};if(e.autoplay.paused=!0,O){S&&(r=e.params.autoplay.delay),S=!1,k();return}r=(r||e.params.autoplay.delay)-(new Date().getTime()-A),!(e.isEnd&&r<0&&!e.params.loop)&&(r<0&&(r=0),k())},T=()=>{e.isEnd&&r<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(A=new Date().getTime(),v?(v=!1,P(r)):P(),e.autoplay.paused=!1,l("autoplayResume"))},R=()=>{if(e.destroyed||!e.autoplay.running)return;const B=Ft();B.visibilityState==="hidden"&&(v=!0,x(!0)),B.visibilityState==="visible"&&T()},I=B=>{B.pointerType==="mouse"&&(v=!0,g=!0,!(e.animating||e.autoplay.paused)&&x(!0))},N=B=>{B.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&T())},E=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",I),e.el.addEventListener("pointerleave",N))},y=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",I),e.el.removeEventListener("pointerleave",N))},F=()=>{Ft().addEventListener("visibilitychange",R)},D=()=>{Ft().removeEventListener("visibilitychange",R)};n("init",()=>{e.params.autoplay.enabled&&(E(),F(),V())}),n("destroy",()=>{y(),D(),e.autoplay.running&&j()}),n("_freeModeStaticRelease",()=>{(b||v)&&T()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?j():x(!0,!0)}),n("beforeTransitionStart",(B,O,k)=>{e.destroyed||!e.autoplay.running||(k||!e.params.autoplay.disableOnInteraction?x(!0,!0):j())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){j();return}p=!0,b=!1,v=!1,m=setTimeout(()=>{v=!0,b=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){b=!1,p=!1;return}b&&e.params.cssMode&&T(),b=!1,p=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(S=!0)}),Object.assign(e.autoplay,{start:V,stop:j,pause:x,resume:T})}function os(t){let{swiper:e,extendParams:i,emit:n,once:l}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:s,touches:c}=e;s.velocities.length===0&&s.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:qt()})}function d(s){let{currentPos:c}=s;if(e.params.cssMode)return;const{params:r,wrapperEl:A,rtlTranslate:f,snapGrid:p,touchEventsData:b}=e,S=qt()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<p.length?e.slideTo(p.length-1):e.slideTo(e.slides.length-1);return}if(r.freeMode.momentum){if(b.velocities.length>1){const j=b.velocities.pop(),x=b.velocities.pop(),T=j.position-x.position,R=j.time-x.time;e.velocity=T/R,e.velocity/=2,Math.abs(e.velocity)<r.freeMode.minimumVelocity&&(e.velocity=0),(R>150||qt()-j.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,b.velocities.length=0;let v=1e3*r.freeMode.momentumRatio;const g=e.velocity*v;let h=e.translate+g;f&&(h=-h);let w=!1,C;const P=Math.abs(e.velocity)*20*r.freeMode.momentumBounceRatio;let V;if(h<e.maxTranslate())r.freeMode.momentumBounce?(h+e.maxTranslate()<-P&&(h=e.maxTranslate()-P),C=e.maxTranslate(),w=!0,b.allowMomentumBounce=!0):h=e.maxTranslate(),r.loop&&r.centeredSlides&&(V=!0);else if(h>e.minTranslate())r.freeMode.momentumBounce?(h-e.minTranslate()>P&&(h=e.minTranslate()+P),C=e.minTranslate(),w=!0,b.allowMomentumBounce=!0):h=e.minTranslate(),r.loop&&r.centeredSlides&&(V=!0);else if(r.freeMode.sticky){let j;for(let x=0;x<p.length;x+=1)if(p[x]>-h){j=x;break}Math.abs(p[j]-h)<Math.abs(p[j-1]-h)||e.swipeDirection==="next"?h=p[j]:h=p[j-1],h=-h}if(V&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?v=Math.abs((-h-e.translate)/e.velocity):v=Math.abs((h-e.translate)/e.velocity),r.freeMode.sticky){const j=Math.abs((f?-h:h)-e.translate),x=e.slidesSizesGrid[e.activeIndex];j<x?v=r.speed:j<2*x?v=r.speed*1.5:v=r.speed*2.5}}else if(r.freeMode.sticky){e.slideToClosest();return}r.freeMode.momentumBounce&&w?(e.updateProgress(C),e.setTransition(v),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,bn(A,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(r.speed),setTimeout(()=>{e.setTranslate(C),bn(A,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(v),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,bn(A,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(r.freeMode.sticky){e.slideToClosest();return}else r.freeMode&&n("_freeModeNoMomentumRelease");(!r.freeMode.momentum||S>=r.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:a,onTouchEnd:d}})}const ls=({children:t,isPadding:e=!0,style:i,enableSlideActive:n=!1})=>{const l=fe(),{popupDetailData:o}=Ge();return ce(()=>{var a,d;n&&((a=l?.current)===null||a===void 0||a.swiper.slideTo((d=o?.multiCheckIndex)!==null&&d!==void 0?d:0))},[o,n]),u.createElement(ei,{role:"list",tag:"ul",ref:l,direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[os,ns,en],style:Object.assign({padding:e?"0 12px 0 20px":0},i)},t)};var Mi=je(ls);const as=vi((t,e)=>{const{src:i,onLoad:n,style:l,className:o,loading:a,alt:d="image"}=t,[s,c]=Z(i),r=fe(null),[A,f]=Z(!1);return Ci(e,()=>({setSrc:p=>{p&&c(p)}})),ce(()=>{i&&c(i)},[i]),ce(()=>{const p=()=>{i&&!A&&r.current&&(r.current.src="",r.current.src=i)};return Ct.on(xt.PAGE_DID_SHOW,p),()=>{Ct.off(xt.PAGE_DID_SHOW,p)}},[i,A]),u.createElement(u.Fragment,null,!A&&!s&&u.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),s?.includes(".avif")?u.createElement("picture",null,u.createElement("source",{type:"image/avif",srcSet:s}),u.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),u.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),u.createElement("img",{ref:r,className:o,src:s,style:Object.assign({},l),loading:a,onLoad:p=>{f(!0),n?.(p.target)},alt:d})):u.createElement("img",{ref:r,className:o,src:s,style:Object.assign({},l),loading:a,onLoad:p=>{f(!0),n?.(p.target)},alt:d}))});var Mt=je(as);const ss=({products:t,data:e,defImg:i,style:n,onCLick:l,popupDetailData:o,check:a})=>{var d;const{productView:s}=Vt(),{popupCurTimeRef:c}=Ge(),r=(A,f)=>{if(a===f)return;const p=t?.[a];s(o,p,p?.bindCta,c.current,o?.index),l?.(f)};return u.createElement(u.Fragment,null,e?.open&&(t&&t?.length>1||!o)&&u.createElement(Mi,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},n),e?.style)},(d=o?t:[0,1,2,3])===null||d===void 0?void 0:d.map((A,f)=>{var p,b,m;return u.createElement(u.Fragment,null,A?.bindCta?u.createElement(zt,{className:ze({width:"50px",height:"50px",marginInlineEnd:"10px"}),onClick:()=>{r(A,f)},key:f},u.createElement(Mt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:a===f?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(m=(p=A?.cover)!==null&&p!==void 0?p:(b=A?.homePage)===null||b===void 0?void 0:b[0])!==null&&m!==void 0?m:i})):null)})))};var Lo=je(ss);function jo(){const[t,e]=Z(0),[i,n]=Z(0),l=()=>{if(typeof window>"u")return 0;let a=window.innerHeight;return window.visualViewport&&(a=window.visualViewport.height),(a<=0||a>window.screen.height)&&(a=window.innerHeight),a<=0&&(a=document.documentElement.clientHeight),a},o=de(()=>{var a;const d=l(),s=(a=window.screen)===null||a===void 0?void 0:a.height,c=navigator.userAgent,r=/Instagram/i.test(c),A=/FBAV|FBAN|FBSN/i.test(c);if(!s||d<=0||!r&&!A){e(d);return}const f=d/s,p=.9,b=s>=900?s*.8:s*.79,m=f>=p&&f!==1,S=m?Math.round(b):d,v=s-Math.round(b);if(m){const g=document.querySelector("#onetrust-banner-sdk");g&&(g.style.bottom=`${v}px`);const h=document.createElement("style");h.id="onetrust-pc-sdk",h.setAttribute("type","text/css"),document.head.appendChild(h);const w=`
|
|
2
2
|
#onetrust-pc-sdk {
|
|
3
3
|
height: ${S}px !important;
|
|
4
4
|
}
|
|
5
5
|
#onetrust-pc-sdk #ot-pc-content{
|
|
6
6
|
bottom: ${v}px !important;
|
|
7
7
|
}
|
|
8
|
-
`;h.textContent=w}if(n(m?v:0),"fundebug"in window){const g={ratio:f,h:b,finalHeight:S,visibleHeight:d,screenHeight:s,isInstagram:r,isFacebook:A,ua:c};window?.fundebug.notify("Collect_Info","resize",{metaData:{systemInfo:g,otherInfo:{}}})}e(S)},[l]);return ce(()=>{o();const a=["resize","orientationchange","load","DOMContentLoaded"];return a.forEach(d=>{window.addEventListener(d,o)}),window.visualViewport&&(window.visualViewport.addEventListener("resize",o),window.visualViewport.addEventListener("scroll",o)),"virtualKeyboard"in navigator&&navigator.virtualKeyboard.addEventListener("geometrychange",o),()=>{a.forEach(d=>{window.removeEventListener(d,o)}),window.visualViewport&&(window.visualViewport.removeEventListener("resize",o),window.visualViewport.removeEventListener("scroll",o)),"virtualKeyboard"in navigator&&navigator.virtualKeyboard.removeEventListener("geometrychange",o)}},[o]),{visibleHeight:t,bottomHeight:i}}const rs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",ds=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:o,schema:a,fullHeight:d,isFullScreen:s=!1,openState:c})=>{var r,A,f,p,b,m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D;const{visibleHeight:B,bottomHeight:O}=jo(),k=fe(null),M=fe(null),X=fe(null),U=fe(null),q=fe(null),$=d||B,be=$*.2,ue=s?$:$*.8,[J,Pe]=Z(be),[De,Xe]=Z(!1),me=fe(null),{globalConfig:ve,popupDetailData:et}=Ge(),{schema:_e,popup:Ze}=ai(),[$e,dt]=Z(15);ce(()=>{const te=document.getElementById("sxp-render"),_=document.getElementById("pb-modal");_?me.current=_:(me.current=document.createElement("div"),me.current.setAttribute("id","pb-modal"),te?.appendChild(me.current))},[]);const tt=we(()=>o?.id&&o?.id!==""||t,[t,o]),Le=we(()=>{var te,_,ae;const Ie=a??_e;return(ae=(_=(te=Ie?.sxpPageConf)===null||te===void 0?void 0:te.globalConfig)===null||_===void 0?void 0:_.popupList)===null||ae===void 0?void 0:ae.find(ee=>ee?.id===o?.id)},[o,a,_e]),ot=we(()=>{var te,_;return((_=(te=Le?.item)===null||te===void 0?void 0:te.event)===null||_===void 0?void 0:_.isScrollFullScreen)||!1},[Le]);ce(()=>{tt?Xe(!0):setTimeout(()=>{Xe(!1),Pe(be)},o?.duration)},[tt,o]);const Pt=de(()=>i,[Ze,c,ve,a]);if(ce(()=>{const te=_=>{const ae=_?.querySelectorAll('[role="button"],a, a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),Ie=ae?.[0],Ee=ae?.[ae?.length-1],ee=9;_.addEventListener("keydown",function(W){(W.key==="Escape"||W.key==="Esc")&&(He(),W.preventDefault()),(W.key==="Tab"||W.keyCode===ee)&&(W.shiftKey?document?.activeElement===Ie&&(Ee?.focus(),W.preventDefault()):document?.activeElement===Ee&&(Ie?.focus(),W.preventDefault()))}),Ie?.focus()};return q?.current&&te(q?.current),()=>{var _;(_=q?.current)===null||_===void 0||_.removeEventListener("keydown",te)}},[q,De,Ze]),!me.current)return null;const He=Ei(()=>{e?.()},300),qe=te=>{k.current=te.touches[0],M.current=te.touches[0],X.current=!0},Ye=te=>{requestAnimationFrame(()=>{var _;if(X.current&&((_=U?.current)===null||_===void 0?void 0:_.scrollTop)===0){const ae=te.touches[0].clientY,Ie=te.touches[0].clientX,Ee=k.current.clientY-ae;k.current=te.touches[0];const ee=ae-M.current.clientY,W=Ie-M.current.clientX;if(Math.abs(W)>Math.abs(ee))return;const We=J-Ee;We>0&&Pe(We)}})},K=te=>{var _;if(X.current&&((_=U?.current)===null||_===void 0?void 0:_.scrollTop)===0){const ae=te.changedTouches[0].clientY-M.current.clientY,Ie=te.changedTouches[0].clientX-M.current.clientX;if(Math.abs(Ie)>Math.abs(ae))return;const Ee=M.current.clientY-k.current.clientY;Ee>0?Pe(0):J<be&&Ee<0?Pe(be):J>=be&&Ee<0&&e?.()}X.current=!1};return Yn.createPortal(u.createElement(u.Fragment,null,De&&u.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:tt?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)",bottom:O+"px"},n),onClick:He},u.createElement("div",{style:{position:"relative",left:`${(p=(f=(A=(r=Le?.item)===null||r===void 0?void 0:r.props)===null||A===void 0?void 0:A.popupBg)===null||f===void 0?void 0:f.horizontalMargin)!==null&&p!==void 0?p:0}px`,right:`${(v=(S=(m=(b=Le?.item)===null||b===void 0?void 0:b.props)===null||m===void 0?void 0:m.popupBg)===null||S===void 0?void 0:S.horizontalMargin)!==null&&v!==void 0?v:0}px`,bottom:`${((C=(w=(h=(g=Le?.item)===null||g===void 0?void 0:g.props)===null||h===void 0?void 0:h.popupBg)===null||w===void 0?void 0:w.bottomMargin)!==null&&C!==void 0?C:0)+O}px`,overflow:"hidden",width:`calc(100% - ${((x=(j=(V=(P=Le?.item)===null||P===void 0?void 0:P.props)===null||V===void 0?void 0:V.popupBg)===null||j===void 0?void 0:j.horizontalMargin)!==null&&x!==void 0?x:0)*2}px)`,height:"100%"}},u.createElement("div",Object.assign({ref:q,className:`modal-container ${tt?"modal-popIn":"modal-popOut"}`,role:"dialog","aria-label":(T=Le?.item)===null||T===void 0?void 0:T.displayName,"aria-modal":!0,"aria-labelledby":"modal-content",style:Object.assign(Object.assign({padding:l,animationDuration:((R=o?.duration)!==null&&R!==void 0?R:0)/1e3+"s"},ot&&{transform:`translateY(${J}px)`}),{overflow:"hidden",borderRadius:`${(y=(E=(N=(I=Le?.item)===null||I===void 0?void 0:I.props)===null||N===void 0?void 0:N.popupBg)===null||E===void 0?void 0:E.borderRadius)!==null&&y!==void 0?y:0}px`,zIndex:9}),onClick:te=>{te.stopPropagation(),te.preventDefault()}},ot&&{onTouchMove:Ye,onTouchStart:qe,onTouchEnd:K}),u.createElement("div",Object.assign({id:"modal-content",ref:U,style:{height:ot?$:ue,overflow:ot&&J<=0||!ot?"auto":"hidden",zIndex:1}},((D=(F=Le?.item)===null||F===void 0?void 0:F.props)===null||D===void 0?void 0:D.enableFixedCloseButton)&&{onScroll:te=>{var _;dt(15-((_=te?.target)===null||_===void 0?void 0:_.scrollTop))}}),Pt()),u.createElement("button",{className:"modal-icon-wrapper",role:"button","aria-label":"close button",onClick:e,style:{top:$e}},u.createElement("img",{src:ve?.popupCloseIcon||rs,alt:"close button",className:"modal-icon"})))))),me.current)};var Si=je(ds);const cs=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:o,unfoldText:a,isPost:d,onChange:s})=>{const[c,r]=Z(!1),[A,f]=Z(!1),p=i||{},{lineClamp:b}=p,m=rt(p,["lineClamp"]),S=Number(b||2),v=fe(null),g=fe(null),h=fe(),w=()=>{r(!c)},C=de(()=>{!v.current||!g.current||!d||!t||c||requestAnimationFrame(()=>{if(!v.current)return;v.current.style.position="relative";const P=v.current.getBoundingClientRect().height,V=g.current.getBoundingClientRect().height,j=P>V+1;f(j),v.current.style.position="absolute"})},[d,t,c]);return ce(()=>{if(v.current)return h.current=new ResizeObserver(C),h.current.observe(v.current),C(),()=>{var P;(P=h.current)===null||P===void 0||P.disconnect()}},[C]),u.createElement("div",{className:n,style:Object.assign(Object.assign({},m),{transform:"translate3d(0px, 0px, 0px)",overflow:"hidden",position:"relative"}),hidden:!t||t===""},u.createElement("div",{ref:g,style:Object.assign(Object.assign({},!c&&d&&{WebkitLineClamp:S,lineClamp:S,textOverflow:"ellipsis",overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical"}),{wordBreak:"break-word",textRendering:"geometricPrecision",fontKerning:"none",textSizeAdjust:"100%",boxSizing:"border-box",contain:"content"}),dangerouslySetInnerHTML:{__html:Ve(t?.replace(/\n/g,"</br>"),m)}}),d&&u.createElement("div",{ref:v,style:{wordBreak:"break-word",textRendering:"geometricPrecision",fontKerning:"none",textSizeAdjust:"100%",boxSizing:"border-box",contain:"content",visibility:"hidden",opacity:0,clipPath:"inset(100%)",transform:"translateX(-9999px)"},dangerouslySetInnerHTML:{__html:Ve(t?.replace(/\n/g,"</br>"),m)}}),t&&d&&A&&u.createElement("button",{"aria-label":c?a||"show less":o||"show more",style:{textDecoration:"underline",cursor:"pointer"},onClick:l??w,dangerouslySetInnerHTML:{__html:Ve(c?a||"show less":o||"show more",m)}}))};var Di=je(cs);const us=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:l,src:o}=t;switch(i){case 2:return n||null;case 3:return o||null;default:return l&&l.length>0?(e=l[0])===null||e===void 0?void 0:e.url:null}},vs=t=>t?{backgroundImage:`url(${t})`,backgroundRepeat:"no-repeat",backgroundSize:"cover"}:"",Vi=({product:t,enableFormattedPrice:e,globalConfig:i,isHiddenDef:n,style:l})=>{var o,a,d,s,c,r,A,f;let p="";if((!t?.currency||!t?.price)&&n)return null;let b=Number(t?.currency&&t?.price?t?.price:7e3);if(typeof b!="number")return p;let m=i?.priceSymbol,S=t?.currency?(d=(a=(o=t?.currency)===null||o===void 0?void 0:o.split("-")[1])===null||a===void 0?void 0:a.toUpperCase())!==null&&d!==void 0?d:"":"$";const v=e===void 0||e;let g=b?.toString();m?.showTwoDecimalPoint&&(g=b?.toFixed(2));let h=(s=g?.indexOf("."))!==null&&s!==void 0?s:-1;if(v){p=(c=b?.toLocaleString("zh",{minimumFractionDigits:m?.showTwoDecimalPoint?2:0}))!==null&&c!==void 0?c:"";let w=0,C=h??p?.length;m?.millesimalSymbol==="."?p=p?.replace(/\,/g,function(P,V){return V>=w&&V<C?".":P}):m?.millesimalSymbol===" "&&(p=p?.replace(","," "))}else p=`${m?.showTwoDecimalPoint?b?.toFixed(2):b}`;return m?.decimalPoint===","&&h>0&&(p=p=p?.replace(/\./g,function(w,C){return C>=h&&C<p?.length?",":w})),S=`<span style="font-family:${(f=(A=(r=i?.priceSymbol)===null||r===void 0?void 0:r.fontFamily)!==null&&A!==void 0?A:l?.["fontFamily-en"])!==null&&f!==void 0?f:"inherit"}">${S}</span>`,p=Ve(p,l),m?.currencyPosition&&m?.currencyPosition!=="none"?p=m?.currencyPosition==="left"?S+p:p+S:m?.currencyPosition!=="none"&&(p=S+p),p},ps=t=>{var e,i,n,l,o,a,d,s,c,r,A,f,p,b,m,S,v,g,h,w,C,P,V,j,{content:x,style:T,bgImg:R,onClick:I,schema:N,isDefault:E,bottom_image:y,tipText:F,isPost:D,viewTime:B,rec:O,swiper:k,commodityStyles:M,buttonStyle:X,index:U,commodityGroup:q,popupBg:$,iframeIcon:be,commodityImgRatio:ue,isTel:J,iframeBgColor:Pe,isActive:De=!0}=t,Xe=rt(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio","isTel","iframeBgColor","isActive"]);const{sxpParameter:me,popupDetailData:ve,isPreview:et,bffFbReport:_e,popupCurTimeRef:Ze,checkCommodityIndexRef:$e,globalConfig:dt,ctaEvent:tt}=Ge(),{jumpToWeb:Le,productView:ot}=Vt(),Pt=fe(null),[He,qe]=Z(!1),[Ye,K]=Z(!1),[te,_]=Z((e=ve?.multiCheckIndex)!==null&&e!==void 0?e:0),ae=fe(),[Ie,Ee]=Z(0),ee=D?O:ve;let W=D?ee?.product:(n=(i=ee?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(o=(l=ee?.video)===null||l===void 0?void 0:l.bindProducts)===null||o===void 0?void 0:o[0],We=D?(a=ee?.product)===null||a===void 0?void 0:a.bindCta:(c=(s=(d=ee?.video)===null||d===void 0?void 0:d.bindProduct)===null||s===void 0?void 0:s.bindCta)!==null&&c!==void 0?c:(f=(A=(r=ee?.video)===null||r===void 0?void 0:r.bindProducts)===null||A===void 0?void 0:A[0])===null||f===void 0?void 0:f.bindCta;const lt=D?U:ve?.index;if(!D&&q?.open&&(!((p=ee?.video)===null||p===void 0)&&p.bindProducts)&&((m=(b=ee?.video)===null||b===void 0?void 0:b.bindProducts)===null||m===void 0?void 0:m.length)>0){$e.current=te;const ge=(S=ee?.video)===null||S===void 0?void 0:S.bindProducts[te];W=ge,We=ge?.bindCta}const it=ge=>{W?.link&&(Le(ge,ee,W,We,lt),D?tt?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},ee,W,lt):ot(ee,W,We,B||Pt.current,lt),window.location.href=window.getJointUtmLink(W.link))};ce(()=>{De&&(_e?.({eventName:"ProductView",product:W}),_e?.({eventName:"PageView",product:W}))},[De,_e]),ce(()=>{const ge=()=>{Pt.current=new Date};return ge(),window.addEventListener("pageshow",ge),()=>{window.removeEventListener("pageshow",ge)}},[]);const ct=Vi({product:W,enableFormattedPrice:(v=M?.price)===null||v===void 0?void 0:v.enableFormattedPrice,globalConfig:dt,style:M?.price}),nt=(et?375:(g=T?.width)!==null&&g!==void 0?g:window.innerWidth)-((h=$?.horizontalMargin)!==null&&h!==void 0?h:0)*2,Ue=ue?nt*(ue.h/ue.w):nt,at=({isPost:ge})=>{var xe,bt,Gt,Ut;return u.createElement("div",null,u.createElement("div",{className:"pb-commondity-content-collection",style:St(M?.collection),hidden:!!W&&(!W?.collection||W?.collection===""),dangerouslySetInnerHTML:{__html:Ve((xe=W?.collection)!==null&&xe!==void 0?xe:"Tiffany Lock",M?.collection)}}),u.createElement("div",{className:"pb-commondity-content-title",style:St(M?.title),hidden:!!W&&!W?.title,dangerouslySetInnerHTML:{__html:Ve((bt=W?.title)!==null&&bt!==void 0?bt:"Pendant in Yellow Gold with Diamonds, Medium",M?.title)}}),u.createElement("div",{className:"pb-commondity-content-price",style:St(M?.price),hidden:!!W&&!W?.price,dangerouslySetInnerHTML:{__html:ct??""}}),u.createElement("div",{hidden:!!W&&!W?.taxInfo,style:St(M?.taxInfo),dangerouslySetInnerHTML:{__html:Ve((Gt=W?.taxInfo)!==null&&Gt!==void 0?Gt:"\u7A0E\u8D39",M?.taxInfo)}}),u.createElement("div",{hidden:!!W&&(!W?.info||W?.info==="")},u.createElement(Di,{foldText:F?.foldText,unfoldText:F?.unfoldText,onClick:()=>qe(!0),isPost:ge,text:(Ut=W?.info)!==null&&Ut!==void 0?Ut:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
|
8
|
+
`;h.textContent=w}n(m?v:0),e(S)},[l]);return ce(()=>{o();const a=["resize","orientationchange","load","DOMContentLoaded"];return a.forEach(d=>{window.addEventListener(d,o)}),window.visualViewport&&(window.visualViewport.addEventListener("resize",o),window.visualViewport.addEventListener("scroll",o)),"virtualKeyboard"in navigator&&navigator.virtualKeyboard.addEventListener("geometrychange",o),()=>{a.forEach(d=>{window.removeEventListener(d,o)}),window.visualViewport&&(window.visualViewport.removeEventListener("resize",o),window.visualViewport.removeEventListener("scroll",o)),"virtualKeyboard"in navigator&&navigator.virtualKeyboard.removeEventListener("geometrychange",o)}},[o]),{visibleHeight:t,bottomHeight:i}}const rs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",ds=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:o,schema:a,fullHeight:d,isFullScreen:s=!1,openState:c})=>{var r,A,f,p,b,m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D;const{visibleHeight:B,bottomHeight:O}=jo(),k=fe(null),M=fe(null),X=fe(null),U=fe(null),q=fe(null),$=d||B,be=$*.2,ue=s?$:$*.8,[J,Pe]=Z(be),[De,Xe]=Z(!1),me=fe(null),{globalConfig:ve,popupDetailData:et}=Ge(),{schema:_e,popup:Ze}=ai(),[$e,dt]=Z(15);ce(()=>{const te=document.getElementById("sxp-render"),_=document.getElementById("pb-modal");_?me.current=_:(me.current=document.createElement("div"),me.current.setAttribute("id","pb-modal"),te?.appendChild(me.current))},[]);const tt=we(()=>o?.id&&o?.id!==""||t,[t,o]),Le=we(()=>{var te,_,ae;const Ie=a??_e;return(ae=(_=(te=Ie?.sxpPageConf)===null||te===void 0?void 0:te.globalConfig)===null||_===void 0?void 0:_.popupList)===null||ae===void 0?void 0:ae.find(ee=>ee?.id===o?.id)},[o,a,_e]),ot=we(()=>{var te,_;return((_=(te=Le?.item)===null||te===void 0?void 0:te.event)===null||_===void 0?void 0:_.isScrollFullScreen)||!1},[Le]);ce(()=>{tt?Xe(!0):setTimeout(()=>{Xe(!1),Pe(be)},o?.duration)},[tt,o]);const Pt=de(()=>i,[Ze,c,ve,a]);if(ce(()=>{const te=_=>{const ae=_?.querySelectorAll('[role="button"],a, a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),Ie=ae?.[0],Ee=ae?.[ae?.length-1],ee=9;_.addEventListener("keydown",function(W){(W.key==="Escape"||W.key==="Esc")&&(He(),W.preventDefault()),(W.key==="Tab"||W.keyCode===ee)&&(W.shiftKey?document?.activeElement===Ie&&(Ee?.focus(),W.preventDefault()):document?.activeElement===Ee&&(Ie?.focus(),W.preventDefault()))}),Ie?.focus()};return q?.current&&te(q?.current),()=>{var _;(_=q?.current)===null||_===void 0||_.removeEventListener("keydown",te)}},[q,De,Ze]),!me.current)return null;const He=Ei(()=>{e?.()},300),qe=te=>{k.current=te.touches[0],M.current=te.touches[0],X.current=!0},Ye=te=>{requestAnimationFrame(()=>{var _;if(X.current&&((_=U?.current)===null||_===void 0?void 0:_.scrollTop)===0){const ae=te.touches[0].clientY,Ie=te.touches[0].clientX,Ee=k.current.clientY-ae;k.current=te.touches[0];const ee=ae-M.current.clientY,W=Ie-M.current.clientX;if(Math.abs(W)>Math.abs(ee))return;const We=J-Ee;We>0&&Pe(We)}})},K=te=>{var _;if(X.current&&((_=U?.current)===null||_===void 0?void 0:_.scrollTop)===0){const ae=te.changedTouches[0].clientY-M.current.clientY,Ie=te.changedTouches[0].clientX-M.current.clientX;if(Math.abs(Ie)>Math.abs(ae))return;const Ee=M.current.clientY-k.current.clientY;Ee>0?Pe(0):J<be&&Ee<0?Pe(be):J>=be&&Ee<0&&e?.()}X.current=!1};return Yn.createPortal(u.createElement(u.Fragment,null,De&&u.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:tt?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)",bottom:O+"px"},n),onClick:He},u.createElement("div",{style:{position:"relative",left:`${(p=(f=(A=(r=Le?.item)===null||r===void 0?void 0:r.props)===null||A===void 0?void 0:A.popupBg)===null||f===void 0?void 0:f.horizontalMargin)!==null&&p!==void 0?p:0}px`,right:`${(v=(S=(m=(b=Le?.item)===null||b===void 0?void 0:b.props)===null||m===void 0?void 0:m.popupBg)===null||S===void 0?void 0:S.horizontalMargin)!==null&&v!==void 0?v:0}px`,bottom:`${((C=(w=(h=(g=Le?.item)===null||g===void 0?void 0:g.props)===null||h===void 0?void 0:h.popupBg)===null||w===void 0?void 0:w.bottomMargin)!==null&&C!==void 0?C:0)+O}px`,overflow:"hidden",width:`calc(100% - ${((x=(j=(V=(P=Le?.item)===null||P===void 0?void 0:P.props)===null||V===void 0?void 0:V.popupBg)===null||j===void 0?void 0:j.horizontalMargin)!==null&&x!==void 0?x:0)*2}px)`,height:"100%"}},u.createElement("div",Object.assign({ref:q,className:`modal-container ${tt?"modal-popIn":"modal-popOut"}`,role:"dialog","aria-label":(T=Le?.item)===null||T===void 0?void 0:T.displayName,"aria-modal":!0,"aria-labelledby":"modal-content",style:Object.assign(Object.assign({padding:l,animationDuration:((R=o?.duration)!==null&&R!==void 0?R:0)/1e3+"s"},ot&&{transform:`translateY(${J}px)`}),{overflow:"hidden",borderRadius:`${(y=(E=(N=(I=Le?.item)===null||I===void 0?void 0:I.props)===null||N===void 0?void 0:N.popupBg)===null||E===void 0?void 0:E.borderRadius)!==null&&y!==void 0?y:0}px`,zIndex:9}),onClick:te=>{te.stopPropagation(),te.preventDefault()}},ot&&{onTouchMove:Ye,onTouchStart:qe,onTouchEnd:K}),u.createElement("div",Object.assign({id:"modal-content",ref:U,style:{height:ot?$:ue,overflow:ot&&J<=0||!ot?"auto":"hidden",zIndex:1}},((D=(F=Le?.item)===null||F===void 0?void 0:F.props)===null||D===void 0?void 0:D.enableFixedCloseButton)&&{onScroll:te=>{var _;dt(15-((_=te?.target)===null||_===void 0?void 0:_.scrollTop))}}),Pt()),u.createElement("button",{className:"modal-icon-wrapper",role:"button","aria-label":"close button",onClick:e,style:{top:$e}},u.createElement("img",{src:ve?.popupCloseIcon||rs,alt:"close button",className:"modal-icon"})))))),me.current)};var Si=je(ds);const cs=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:o,unfoldText:a,isPost:d,onChange:s})=>{const[c,r]=Z(!1),[A,f]=Z(!1),p=i||{},{lineClamp:b}=p,m=rt(p,["lineClamp"]),S=Number(b||2),v=fe(null),g=fe(null),h=fe(),w=()=>{r(!c)},C=de(()=>{!v.current||!g.current||!d||!t||c||requestAnimationFrame(()=>{if(!v.current)return;v.current.style.position="relative";const P=v.current.getBoundingClientRect().height,V=g.current.getBoundingClientRect().height,j=P>V+1;f(j),v.current.style.position="absolute"})},[d,t,c]);return ce(()=>{if(v.current)return h.current=new ResizeObserver(C),h.current.observe(v.current),C(),()=>{var P;(P=h.current)===null||P===void 0||P.disconnect()}},[C]),u.createElement("div",{className:n,style:Object.assign(Object.assign({},m),{transform:"translate3d(0px, 0px, 0px)",overflow:"hidden",position:"relative"}),hidden:!t||t===""},u.createElement("div",{ref:g,style:Object.assign(Object.assign({},!c&&d&&{WebkitLineClamp:S,lineClamp:S,textOverflow:"ellipsis",overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical"}),{wordBreak:"break-word",textRendering:"geometricPrecision",fontKerning:"none",textSizeAdjust:"100%",boxSizing:"border-box",contain:"content"}),dangerouslySetInnerHTML:{__html:Ve(t?.replace(/\n/g,"</br>"),m)}}),d&&u.createElement("div",{ref:v,style:{wordBreak:"break-word",textRendering:"geometricPrecision",fontKerning:"none",textSizeAdjust:"100%",boxSizing:"border-box",contain:"content",visibility:"hidden",opacity:0,clipPath:"inset(100%)",transform:"translateX(-9999px)"},dangerouslySetInnerHTML:{__html:Ve(t?.replace(/\n/g,"</br>"),m)}}),t&&d&&A&&u.createElement("button",{"aria-label":c?a||"show less":o||"show more",style:{textDecoration:"underline",cursor:"pointer"},onClick:l??w,dangerouslySetInnerHTML:{__html:Ve(c?a||"show less":o||"show more",m)}}))};var Di=je(cs);const us=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:l,src:o}=t;switch(i){case 2:return n||null;case 3:return o||null;default:return l&&l.length>0?(e=l[0])===null||e===void 0?void 0:e.url:null}},vs=t=>t?{backgroundImage:`url(${t})`,backgroundRepeat:"no-repeat",backgroundSize:"cover"}:"",Vi=({product:t,enableFormattedPrice:e,globalConfig:i,isHiddenDef:n,style:l})=>{var o,a,d,s,c,r,A,f;let p="";if((!t?.currency||!t?.price)&&n)return null;let b=Number(t?.currency&&t?.price?t?.price:7e3);if(typeof b!="number")return p;let m=i?.priceSymbol,S=t?.currency?(d=(a=(o=t?.currency)===null||o===void 0?void 0:o.split("-")[1])===null||a===void 0?void 0:a.toUpperCase())!==null&&d!==void 0?d:"":"$";const v=e===void 0||e;let g=b?.toString();m?.showTwoDecimalPoint&&(g=b?.toFixed(2));let h=(s=g?.indexOf("."))!==null&&s!==void 0?s:-1;if(v){p=(c=b?.toLocaleString("zh",{minimumFractionDigits:m?.showTwoDecimalPoint?2:0}))!==null&&c!==void 0?c:"";let w=0,C=h??p?.length;m?.millesimalSymbol==="."?p=p?.replace(/\,/g,function(P,V){return V>=w&&V<C?".":P}):m?.millesimalSymbol===" "&&(p=p?.replace(","," "))}else p=`${m?.showTwoDecimalPoint?b?.toFixed(2):b}`;return m?.decimalPoint===","&&h>0&&(p=p=p?.replace(/\./g,function(w,C){return C>=h&&C<p?.length?",":w})),S=`<span style="font-family:${(f=(A=(r=i?.priceSymbol)===null||r===void 0?void 0:r.fontFamily)!==null&&A!==void 0?A:l?.["fontFamily-en"])!==null&&f!==void 0?f:"inherit"}">${S}</span>`,p=Ve(p,l),m?.currencyPosition&&m?.currencyPosition!=="none"?p=m?.currencyPosition==="left"?S+p:p+S:m?.currencyPosition!=="none"&&(p=S+p),p},ps=t=>{var e,i,n,l,o,a,d,s,c,r,A,f,p,b,m,S,v,g,h,w,C,P,V,j,{content:x,style:T,bgImg:R,onClick:I,schema:N,isDefault:E,bottom_image:y,tipText:F,isPost:D,viewTime:B,rec:O,swiper:k,commodityStyles:M,buttonStyle:X,index:U,commodityGroup:q,popupBg:$,iframeIcon:be,commodityImgRatio:ue,isTel:J,iframeBgColor:Pe,isActive:De=!0}=t,Xe=rt(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio","isTel","iframeBgColor","isActive"]);const{sxpParameter:me,popupDetailData:ve,isPreview:et,bffFbReport:_e,popupCurTimeRef:Ze,checkCommodityIndexRef:$e,globalConfig:dt,ctaEvent:tt}=Ge(),{jumpToWeb:Le,productView:ot}=Vt(),Pt=fe(null),[He,qe]=Z(!1),[Ye,K]=Z(!1),[te,_]=Z((e=ve?.multiCheckIndex)!==null&&e!==void 0?e:0),ae=fe(),[Ie,Ee]=Z(0),ee=D?O:ve;let W=D?ee?.product:(n=(i=ee?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(o=(l=ee?.video)===null||l===void 0?void 0:l.bindProducts)===null||o===void 0?void 0:o[0],We=D?(a=ee?.product)===null||a===void 0?void 0:a.bindCta:(c=(s=(d=ee?.video)===null||d===void 0?void 0:d.bindProduct)===null||s===void 0?void 0:s.bindCta)!==null&&c!==void 0?c:(f=(A=(r=ee?.video)===null||r===void 0?void 0:r.bindProducts)===null||A===void 0?void 0:A[0])===null||f===void 0?void 0:f.bindCta;const lt=D?U:ve?.index;if(!D&&q?.open&&(!((p=ee?.video)===null||p===void 0)&&p.bindProducts)&&((m=(b=ee?.video)===null||b===void 0?void 0:b.bindProducts)===null||m===void 0?void 0:m.length)>0){$e.current=te;const ge=(S=ee?.video)===null||S===void 0?void 0:S.bindProducts[te];W=ge,We=ge?.bindCta}const it=ge=>{W?.link&&(Le(ge,ee,W,We,lt),D?tt?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},ee,W,lt):ot(ee,W,We,B||Pt.current,lt),window.location.href=window.getJointUtmLink(W.link))};ce(()=>{De&&(_e?.({eventName:"ProductView",product:W}),_e?.({eventName:"PageView",product:W}))},[De,_e]),ce(()=>{const ge=()=>{Pt.current=new Date};return ge(),window.addEventListener("pageshow",ge),()=>{window.removeEventListener("pageshow",ge)}},[]);const ct=Vi({product:W,enableFormattedPrice:(v=M?.price)===null||v===void 0?void 0:v.enableFormattedPrice,globalConfig:dt,style:M?.price}),nt=(et?375:(g=T?.width)!==null&&g!==void 0?g:window.innerWidth)-((h=$?.horizontalMargin)!==null&&h!==void 0?h:0)*2,Ue=ue?nt*(ue.h/ue.w):nt,at=({isPost:ge})=>{var xe,bt,Gt,Ut;return u.createElement("div",null,u.createElement("div",{className:"pb-commondity-content-collection",style:St(M?.collection),hidden:!!W&&(!W?.collection||W?.collection===""),dangerouslySetInnerHTML:{__html:Ve((xe=W?.collection)!==null&&xe!==void 0?xe:"Tiffany Lock",M?.collection)}}),u.createElement("div",{className:"pb-commondity-content-title",style:St(M?.title),hidden:!!W&&!W?.title,dangerouslySetInnerHTML:{__html:Ve((bt=W?.title)!==null&&bt!==void 0?bt:"Pendant in Yellow Gold with Diamonds, Medium",M?.title)}}),u.createElement("div",{className:"pb-commondity-content-price",style:St(M?.price),hidden:!!W&&!W?.price,dangerouslySetInnerHTML:{__html:ct??""}}),u.createElement("div",{hidden:!!W&&!W?.taxInfo,style:St(M?.taxInfo),dangerouslySetInnerHTML:{__html:Ve((Gt=W?.taxInfo)!==null&&Gt!==void 0?Gt:"\u7A0E\u8D39",M?.taxInfo)}}),u.createElement("div",{hidden:!!W&&(!W?.info||W?.info==="")},u.createElement(Di,{foldText:F?.foldText,unfoldText:F?.unfoldText,onClick:()=>qe(!0),isPost:ge,text:(Ut=W?.info)!==null&&Ut!==void 0?Ut:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
|
9
9
|
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
|
10
10
|
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
|
11
11
|
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
|
@@ -14,5 +14,5 @@ Made in Italy`})),ht=de(Oe=>Oe?.lineClamp?Object.assign(Object.assign({},Oe),{ov
|
|
|
14
14
|
return props?.button${g+1}${h}
|
|
15
15
|
} else {
|
|
16
16
|
return props?.button${g+1}
|
|
17
|
-
}`)(a,h)}catch{}},[a]),m=de(g=>{const h=b(g),w=h?.value;w&&(h?.linkType==="recommendFlow"?(c?.(w),s.current=new Date):new Function(w)())},[a]),S=de(()=>{r.current=new Date,d?.({eventInfo:{eventSubject:"startMultiPost",eventDescription:"startMultiPost",contentFormat:"image",position:"0",traceInfo:p}})},[]),v=de(g=>{s.current=new Date,d?.({eventInfo:{eventSubject:"endMultiPost",eventDescription:"endMultiPost",contentFormat:"image",position:"0",traceInfo:p,nextStep:g||"others",timeOnSite:Math.floor((new Date-r?.current)/1e3)+""}})},[]);return ce(()=>{A?(S(),f.current=!0):f.current&&v()},[A]),ce(()=>{if(!A)return;const g=()=>S(),h=()=>v();return Ct.on(xt.PAGE_DID_SHOW,g),Ct.on(xt.PAGE_DID_HIDE,h),()=>{Ct.off(xt.PAGE_DID_SHOW,g),Ct.off(xt.PAGE_DID_HIDE,h)}},[A]),u.createElement("div",{className:"multiposts",style:Object.assign(Object.assign({},l),vs(n))},Array.from({length:4},(g,h)=>u.createElement("button",{hidden:!b(h,"Url"),className:"multiposts-btn",role:"button","aria-label":`multiposts-${h+1}`,onClick:()=>m(h)},u.createElement("img",{className:"multiposts-btn-img",src:b(h,"Url"),alt:`multiposts-img-${h+1}`}))))};var Rn=je(Id),kd=[{title:"\u6309\u94AE1\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button1",isMultiPosts:!0}]},{title:"\u6309\u94AE2\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button2",isMultiPosts:!0}]},{title:"\u6309\u94AE3\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button3",isMultiPosts:!0}]},{title:"\u6309\u94AE4\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button4",isMultiPosts:!0}]}];const Cd=yt(Rn,{displayName:"MultiPosts",icon:"",category:"base",type:"MultiPosts",related:{settingRender:Ed,interactionRender:kd},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var tn=Object.freeze({__proto__:null,AniLink:ed,AniLinkPopup:ad,Appoint:_s,AppointForm:Cl,Click:gd,Commodity:Xs,CommodityDetail:fs,CommodityDetailDiroNew:Es,CommodityDiro:or,CommodityDiroNew:dr,CommodityList:Ls,Consent:Zr,ConsentDetail:Bs,Display:pd,HashTag:Yr,Iframe:Ds,Link:$s,MultiCommodity:gr,MultiCommodityDiro:mr,MultiCommodityDiroNew:Tr,MultiPosts:Cd,NineCommodity:Cr,Prompt:ys,Swipe:Td});const Pd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Od="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ld=t=>{var e,{active:i,activeIcon:n,unActicveIcon:l,recData:o,position:a}=t,d=rt(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:c,bffEventReport:r,setCacheRtcList:A,cacheRtcList:f}=Ge(),[p,b]=Z((e=f?.[a])===null||e===void 0?void 0:e.isCollected),m=Lt(Od),S=Lt(Pd),v=Ei(()=>mt(void 0,void 0,void 0,function*(){var g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U;if(p){b(!1);const q=(w=yield c?.({videoItemId:(h=(g=o?.video)===null||g===void 0?void 0:g.itemId)!==null&&h!==void 0?h:""}))!==null&&w!==void 0?w:!1;if(r?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(P=(C=o?.video)===null||C===void 0?void 0:C.itemId)!==null&&P!==void 0?P:"",contentName:(j=(V=o?.video)===null||V===void 0?void 0:V.title)!==null&&j!==void 0?j:"",contentTags:JSON.stringify((T=(x=o?.video)===null||x===void 0?void 0:x.tags)!==null&&T!==void 0?T:[]),position:a+"",contentFormat:!((R=o?.video)===null||R===void 0)&&R.url?"video":"image",traceInfo:(I=o?.video)===null||I===void 0?void 0:I.traceInfo}}),!q)b(!0);else{const $=(N=f?.map((be,ue)=>(ue===a&&(be.isCollected=!1),be)))!==null&&N!==void 0?N:[];A?.($)}}else{b(!0);const q=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;if(r?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(F=(y=o?.video)===null||y===void 0?void 0:y.itemId)!==null&&F!==void 0?F:"",contentName:(B=(D=o?.video)===null||D===void 0?void 0:D.title)!==null&&B!==void 0?B:"",contentTags:JSON.stringify((k=(O=o?.video)===null||O===void 0?void 0:O.tags)!==null&&k!==void 0?k:[]),position:a+"",contentFormat:!((M=o?.video)===null||M===void 0)&&M.url?"video":"image",traceInfo:(X=o?.video)===null||X===void 0?void 0:X.traceInfo}}),!q)b(!1);else{const $=(U=f?.map((be,ue)=>(ue===a&&(be.isCollected=!0),be)))!==null&&U!==void 0?U:[];A?.($)}}}),200);return u.createElement("button",Object.assign({},d,{"aria-label":"like",onClick:v}),u.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:p?n||m:l||S,alt:"icon"}))};var Bn=je(Ld),jd="data:image/gif;base64,R0lGODlhlgCWAPf/AAAAAICAgMzMzMzMzNXV1dXV1dXV1dfX19jOztjY2NvOztvb29zc3N/Pz9/V1d/f3+Pj4+bm5ubm5ujR0ejg4Ojo6Onp6erj4+rj4+rl5evr6+vr6+3k5O3t7e3t7e7u7u7u7u/v7/Dw8PDw8PHx8fHx8fHx8fLs7PLu7vLu7vLy8vPu7vPz8/Tp6fTx8fTx8fT09PT09PT09PXw8Pbx8fbz8/b29vb29vb29vb29vb29vf09Pf39/f39/f39/f39/f39/f39/f39/f39/f39/j09Pj09Pj19fj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pn29vn39/n5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fr09Pr4+Pr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vv39/v39/v4+Pv5+fv5+fv6+vv7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/z4+Pz5+fz5+fz5+fz6+vz6+vz6+vz6+vz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/P36+v36+v36+v37+/37+/37+/37+/38/P38/P38/P38/P39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f78/P78/P78/P78/P7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v/V1f/39//4+P/6+v/7+//8/P/8/P/9/f/9/f/9/f/9/f/+/v/+/v/+/v/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wD/ACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAwBLACxFABcADwAMAIYAAACAgIDMzMzV1dXX19fYzs7Y2Njbzs7b29vc3Nzfz8/f1dXf39/j4+Pm5ubo0dHo4ODo6Ojp6enq4+Pq5eXr6+vt5OTt7e3u7u7v7+/w8PDx8fHy7Ozy7u7y8vLz7u7z8/P06en08fH09PT18PD28fH28/P29vb39PT39/f49PT49fX4+Pj59vb59/f5+fn69PT6+Pj6+vr79/f7+Pj7+fn7+vr7+/v8+Pj8+fn8+vr8/Pz9+vr9+/v9/Pz9/f3+/Pz+/v7/1dX/9/f/+Pj/+vr/+/v//Pz//f3//v7///8A/wD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8IUgCXCNzxI8gOJQV3CFy4RIkMJTccQnQYZCGShAgNZiS45MfDiB8lglzSQyPGk0FCqpwY8iBKlyZFyly5xKRNmAJrzGQJcWFJmDB1MBQ4MwnDgAAAIfkECQQA/wAsRwAXAA8ADAAACFMA/wkslAhcqWKJsLkRyPAfODfgujyM+LAYQ4QGMR4sWGrhRIkQQVJcyFGjyYJrRqoU2aXYxowlS7L8SBNiIZg4XwqcGfIjw5g5G/6zUROcDYYBAQAh+QQJAwD/ACxIABcAEAAMAAAIWwD/CfzXqVSxRNgSlRrIEAm4LuDcPIz4sBNDcAYTYTy4MVEigRMlQhRJsYvAjB1TGuxio6RLkhJDaURJk+PCkDhHTvxXc6bNgzxh5ow40E3Pjm4Y/lszNKnAgAAAIfkECQMA/wAsSgAXABEADQAACGUA/wn856YLtkSlBioceAScG3BdHEJ0uLBLsUTgSl3MuLFUooESIz4UOfHhvzYYNabs2PFflJIwSUZcU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ZdWBAACH5BAkDAP8ALDoAFwASAA0AAAhiAP8JHDjQTbFOxRIVIjgQCbgu4Nw8jPiQG8NE4EolzLhRI8aCEyVCFEkR4r9CHDF6TJnyX8iXI1+WWkmzY0eHJHPCBPdPpU2fQF3GHFoyokCDQFl6dAOSKMk1DAXaZBr1X0AAIfkECQMA/wAsPgAXABAADQAACFkA/wkU6KZYp2KJwHVyM1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/IcEJMWFAQEAOw==";const Ti=(()=>{if(typeof document>"u")return;const t=document.createElement("div"),e=$o.render(u.createElement("video",{id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",preload:"auto",controls:!1,muted:!0,style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),t);return i=>i?(i.innerHTML="",i.appendChild(e),document.querySelector("#player-container-id")):void 0})(),Nd=vi(({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,videoPlayIcon:d,loopPlay:s,swiperRef:c,visibleHeight:r},A)=>{var f,p;const[b,m]=Z(!1),{bffEventReport:S,sxpParameter:v,waterFallData:g,openHashtag:h,bffFbReport:w,isDiyH5:C}=Ge(),P=fe(0),[V,j]=Z(!1),{isActive:x}=Li(),T=fe(null),[R,I]=Z(""),[N,E]=Z(!1),y=fe(),F=`pb-cache-video-${e}`,D=fe(null),B=fe(null),O=fe(),k=fe(),M=fe(!0),X=fe(s),U=t.video.scene,q=U?.mediaUrl||((f=t?.video)===null||f===void 0?void 0:f.url),$=U?.mediaUrl?U?.cover:(p=t?.video)===null||p===void 0?void 0:p.cover,be=$||v?.placeholder_image;Ci(A,()=>({setLoopPlay(K){X.current=K}})),ce(()=>{X.current=s},[s]);const ue=we(()=>a?.mode==="2",[a]),J=we(()=>{var K;return a?.mode==="2"?`translateY(-${50+((K=a?.offsetTop)!==null&&K!==void 0?K:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),Pe=we(()=>$||R,[R,t]),De=we(()=>ue?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[ue]),Xe=we(()=>a?.bgWay==="1",[a]),me=we(()=>Xe&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,Xe]);ce(()=>{y?.current&&(y.current.muted=l)},[l,y?.current]);const ve=de(()=>{var K;y?.current&&((K=y?.current)===null||K===void 0||K.play())},[y?.current]),et=Lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),_e=de(()=>{y?.current&&(E(!1),j(!0))},[]),Ze=de(()=>mt(void 0,void 0,void 0,function*(){var K,te,_,ae,Ie,Ee,ee,W,We,lt,it,ct,nt;if(!y?.current)return;m(!1);const Ue=n[e];if(Ue&&(!((K=y?.current)===null||K===void 0)&&K.duration)){P.current=((te=y?.current)===null||te===void 0?void 0:te.currentTime)||0;const at=((ae=(_=y?.current)===null||_===void 0?void 0:_.duration)!==null&&ae!==void 0?ae:0).toFixed(2),ht=((Ee=(Ie=y?.current)===null||Ie===void 0?void 0:Ie.currentTime)!==null&&Ee!==void 0?Ee:0).toFixed(2),St=M?.current?"0":"1";S?.({eventInfo:Object.assign({eventSubject:"playVideo",eventDescription:"User played the video",contentId:(W=(ee=Ue?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&W!==void 0?W:"",contentName:(lt=(We=Ue?.video)===null||We===void 0?void 0:We.title)!==null&<!==void 0?lt:"",playType:St,startTime:ht,videoDuration:at,contentTags:JSON.stringify((ct=(it=Ue?.video)===null||it===void 0?void 0:it.tags)!==null&&ct!==void 0?ct:[]),position:e+"",contentFormat:"video",traceInfo:(nt=Ue?.video)===null||nt===void 0?void 0:nt.traceInfo},M?.current&&{loadTime:k?.current-O?.current+""})}),M.current=!1}}),[S,n,e,M,y?.current]),$e=de(()=>{C&&(y.current.currentTime=U?.startTime)},[]),dt=de(()=>{if(!y?.current||R||!ue||(y.current.style.objectFit="contain",$||!T||!T.current||Xe))return;const K=()=>{const te=T?.current,_=te.getContext("2d"),ae=window?.innerWidth,Ie=r||window?.innerHeight;te.height=Ie,te.width=ae,_?.drawImage(y.current,0,0,te.width,te.height),I(te.toDataURL())};K(),setTimeout(()=>{K()},500)},[y.current,Xe,t,R,ue,r]),tt=de(()=>{y.current&&($e(),k.current=new Date,Ze(),dt())},[y.current,dt,Ze]),Le=de(K=>()=>{var te,_,ae,Ie,Ee,ee;if(!y.current||!V)return;const W=(te=y?.current)===null||te===void 0?void 0:te.paused;switch(K){case"start":if(!W)return;(_=y?.current)===null||_===void 0||_.play(),m(!1);break;case"pause":if(W)return;(ae=y?.current)===null||ae===void 0||ae.pause(),m(!0);break;default:W?(C&&Math.round((Ie=y?.current)===null||Ie===void 0?void 0:Ie.currentTime)>=U?.endTime&&(y.current.currentTime=U?.startTime),(Ee=y?.current)===null||Ee===void 0||Ee.play()):(ee=y?.current)===null||ee===void 0||ee.pause(),m(!W);break}},[V,y?.current]),ot=de(()=>{var K,te,_,ae,Ie,Ee,ee,W,We,lt,it,ct,nt;if(!y?.current||o!==e)return;m(!0);const Ue=n[e],at=((te=(K=y?.current)===null||K===void 0?void 0:K.duration)!==null&&te!==void 0?te:0).toFixed(2),ht=((ae=(_=y?.current)===null||_===void 0?void 0:_.currentTime)!==null&&ae!==void 0?ae:0).toFixed(2);if(!((Ie=y?.current)===null||Ie===void 0)&&Ie.duration){const St=(((Ee=y?.current)===null||Ee===void 0?void 0:Ee.currentTime)-P.current).toFixed(2);S?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(W=(ee=Ue?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&W!==void 0?W:"",contentName:(lt=(We=Ue?.video)===null||We===void 0?void 0:We.title)!==null&<!==void 0?lt:"",endTime:ht,videoDuration:at,playDuration:St,contentTags:JSON.stringify((ct=(it=Ue?.video)===null||it===void 0?void 0:it.tags)!==null&&ct!==void 0?ct:[]),position:e+"",contentFormat:"video",traceInfo:(nt=Ue?.video)===null||nt===void 0?void 0:nt.traceInfo}})}},[n,e,S,y?.current,o]),Pt=de(()=>{E(!0)},[]),He=()=>{!y.current||!C||setTimeout(()=>{var K,te,_,ae,Ie,Ee,ee,W,We;if(Math.round((K=y?.current)===null||K===void 0?void 0:K.currentTime)>=((te=U?.endTime)!==null&&te!==void 0?te:0)){if((_=y.current)===null||_===void 0||_.pause(),!X.current)return;if(e===n?.length-1)(Ie=(ae=c?.current)===null||ae===void 0?void 0:ae.swiper)===null||Ie===void 0||Ie.slideTo(0);else{const lt=(ee=(Ee=c?.current)===null||Ee===void 0?void 0:Ee.swiper)===null||ee===void 0?void 0:ee.activeIndex;(We=(W=c?.current)===null||W===void 0?void 0:W.swiper)===null||We===void 0||We.slideTo(lt+1)}}})};ce(()=>{var K,te,_,ae,Ie,Ee,ee,W,We,lt,it;if(!x)return;const ct=q;if(!ct)return;const nt=document.querySelector(`#${F}`);if(!nt||(y.current=Ti?.(nt),!y?.current))return;O.current=new Date;const Ue=window?.Hls;let at=B?.current;return ct.includes(".m3u8")&&Ue&&Ue.isSupported()?(at=new Ue,at?.loadSource(ct),at?.attachMedia(y?.current),at?.on(Ue.Events.MANIFEST_PARSED,function(){var ht;$e(),(ht=y?.current)===null||ht===void 0||ht.play()})):y.current.src=ct,(K=y?.current)===null||K===void 0||K.setAttribute("x5-playsinline","true"),(te=y?.current)===null||te===void 0||te.setAttribute("webkit-playsinline","true"),(_=y?.current)===null||_===void 0||_.addEventListener("loadedmetadata",tt),(ae=y?.current)===null||ae===void 0||ae.addEventListener("loadeddata",dt),(Ie=y?.current)===null||Ie===void 0||Ie.addEventListener("play",Ze),(Ee=y?.current)===null||Ee===void 0||Ee.addEventListener("playing",_e),(ee=y?.current)===null||ee===void 0||ee.addEventListener("pause",ot),(W=y?.current)===null||W===void 0||W.addEventListener("ended",ve),(We=y?.current)===null||We===void 0||We.addEventListener("canplay",ve),(lt=y?.current)===null||lt===void 0||lt.addEventListener("waiting",Pt),(it=y.current)===null||it===void 0||it.addEventListener("timeupdate",He),()=>{var ht,St,Yt,Rt,Et,It,Kt,Tt,Ke,Oe,ge;((ht=y?.current)===null||ht===void 0?void 0:ht.paused)||ot(),B?.current&&((St=B?.current)===null||St===void 0||St.destroy()),j(!1),(Yt=y?.current)===null||Yt===void 0||Yt.removeEventListener("loadedmetadata",tt),(Rt=y?.current)===null||Rt===void 0||Rt.removeEventListener("loadeddata",dt),(Et=y?.current)===null||Et===void 0||Et.removeEventListener("play",Ze),(It=y?.current)===null||It===void 0||It.removeEventListener("playing",_e),(Kt=y?.current)===null||Kt===void 0||Kt.removeEventListener("pause",ot),(Tt=y?.current)===null||Tt===void 0||Tt.removeEventListener("ended",ve),(Ke=y?.current)===null||Ke===void 0||Ke.removeEventListener("canplay",ve),(Oe=y?.current)===null||Oe===void 0||Oe.removeEventListener("waiting",Pt),(ge=y.current)===null||ge===void 0||ge.removeEventListener("timeupdate",He)}},[x]),ce(()=>{var K,te,_,ae,Ie,Ee;!y?.current||!V||(x?(w?.({eventName:"ViewContent",product:(te=(K=n?.[e])===null||K===void 0?void 0:K.video)===null||te===void 0?void 0:te.bindProduct}),w?.({eventName:"PageView",product:(ae=(_=n?.[e])===null||_===void 0?void 0:_.video)===null||ae===void 0?void 0:ae.bindProduct}),(Ie=y?.current)===null||Ie===void 0||Ie.play()):(Ee=y?.current)===null||Ee===void 0||Ee.pause())},[x,V,y?.current]),ce(()=>{var K,te,_;if(!x||!y?.current)return;!((K=y?.current)===null||K===void 0?void 0:K.paused)&&h?(te=y?.current)===null||te===void 0||te.pause():h||(_=y?.current)===null||_===void 0||_.play()},[h,x,y?.current]),ce(()=>{if(!x)return;const K=()=>{Le("start")()},te=Le("pause");return Ct.on(xt.PAGE_DID_SHOW,K),Ct.on(xt.PAGE_DID_HIDE,te),()=>{Ct.off(xt.PAGE_DID_SHOW,K),Ct.off(xt.PAGE_DID_HIDE,te)}},[Le,x]);const qe=we(()=>!be||V?null:u.createElement(Mt,{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:be,alt:"placeholder image"}),[V]),Ye=we(()=>{if(!(!N||!V))return u.createElement("img",{style:{position:"absolute",top:"50%",left:0,right:0,transform:"translateY(-100%)",margin:"auto",width:"50px",height:"50px",objectFit:"contain"},src:jd,alt:"placeholder image"})},[N,V]);return ce(()=>{if(!y?.current)return;const K=()=>{o===e&&q&&y?.current&&!b&&Le("pause")()};return window.addEventListener("beforeunload",K),()=>{window.removeEventListener("beforeunload",K)}},[o,e,t,y?.current,Le,b]),t?.video?u.createElement(u.Fragment,null,ue?u.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:Le(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},me)},!Xe&&V&&Pe&&u.createElement(Mt,{src:Pe,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},De)}),u.createElement("canvas",{ref:T,style:{display:"none"}}),u.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:J,left:0,right:0}},u.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},u.createElement("div",{className:"n-full-screen",ref:D,id:F,style:{width:"100%",height:"100%"}}),b&&u.createElement(Mt,{className:"clc-pb-video-pause",src:d??et,alt:"pause"}))),qe,Ye):u.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:Le()},u.createElement("div",{className:"n-full-screen",ref:D,id:F,style:{width:"100%",height:"100%"}}),qe,Ye,b&&u.createElement(Mt,{className:"clc-pb-video-pause",src:d??et,alt:"pause"}))):null});var Md=je(Nd);const Dd=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[o,a]=Z(t),d=s=>{s.stopPropagation();const c=!o;a(c),n?.(c)};return ce(()=>{a(t)},[t]),u.createElement("button",{style:l,"aria-label":"toggle button",className:"pb-toggle-button",onClick:d},u.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:o?e:i}))};var nn=je(Dd);const Vd=({imageUrl:t,style:e,duration:i=2e3})=>{const[n,l]=Z(!0);ai(),ce(()=>{setTimeout(()=>{l(!1)},i)},[]);const o=Lt("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),a=we(()=>n?"pb-fadeIn":"pb-fadeOut",[n]);return u.createElement("div",{hidden:!n,className:`pb-finger-wrap ${a}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},u.createElement("img",{src:t||o,alt:"finger swiper"}))},Fn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:l}=t,o=we(()=>n?.mode==="2",[n]),a=we(()=>{var r;return n?.mode==="2"?`translateY(-${50+((r=n?.offsetTop)!==null&&r!==void 0?r:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),d=we(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=we(()=>n?.bgWay==="1",[n]),c=we(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return u.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!o||!s)&&u.createElement(Mt,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},d),onLoad:l}),o&&u.createElement(Mt,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:a,left:0,right:0},onLoad:l}))},Rd=({imgUrls:t,width:e,height:i,rec:n,index:l,onViewImageEndEvent:o,onViewImageStartEvent:a,imgUrlsPostConfig:d})=>{var s,c;const{isActive:r}=Li(),{sxpParameter:A,openHashtag:f}=Ge(),[p,b]=Z(!1),[m,S]=Z(),[v,g]=Z(0),h=fe(),w=fe(!0),C=new Date;ce(()=>{p&&r?(h?.current&&h.current.swiper.autoplay.start(),f?o(n):(a(l,w.current?m:void 0,!0),w.current=!1)):h?.current&&h.current.swiper.autoplay.stop()},[n,r,o,f,l,a,p,m]);const P=de(R=>mt(void 0,void 0,void 0,function*(){p||(S({loadTime:new Date-C+""}),b(!0))}),[p]);ce(()=>{if(!r)return;const R=()=>a(l,m),I=()=>o(n);return Ct.on(xt.PAGE_DID_SHOW,R),Ct.on(xt.PAGE_DID_HIDE,I),()=>{Ct.off(xt.PAGE_DID_SHOW,R),Ct.off(xt.PAGE_DID_HIDE,I)}},[r,m]);const V=de(()=>{h.current&&h.current.swiper&&T&&h.current.swiper.autoplay.stop()},[]),j=de(()=>{h.current&&h.current.swiper&&T&&h.current.swiper.autoplay.start()},[]),x=de(R=>{g(R.activeIndex)},[]),T=we(()=>un(),[]);return u.createElement("div",{onMouseEnter:V,onMouseLeave:j},u.createElement(ei,Object.assign({defaultValue:0,direction:"horizontal",modules:[ji,Ni,...T?[Nn,Mn,en,Ln]:[]],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",bulletElement:"button"}},T?{mousewheel:!0,keyboard:!0,navigation:!0,a11y:{enabled:!0}}:{},{loop:!0,ref:h,onSlideChange:x,className:ze(Object.assign(Object.assign({".swiper-pagination":{bottom:(s=d?.marginBottom)!==null&&s!==void 0?s:0,fontSize:"14px"}},d?.dotsBgColor&&{".swiper-pagination-bullet":{backgroundColor:d?.dotsBgColor,opacity:1}}),d?.dotsActiveColor&&{".swipe-item-active-bullet":{backgroundColor:`${d?.dotsActiveColor}!important`,opacity:1}})),height:i,autoplay:{delay:((c=d?.delay)!==null&&c!==void 0?c:3)*1e3}}),t?.map((R,I)=>u.createElement(zt,{key:I,"aria-hidden":I!==v},u.createElement(Fn,{src:!p&&I>0?"":R,height:i,imgUrlsPostConfig:d,onShowFirstImage:P})))))};var Bd=je(Rd);const Fd=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:o,hashTagRightMargin:a})=>{var d;const[s,c]=Z(!1),{setWaterFallData:r,setOpenHashtag:A,setCacheActiveIndex:f,waterFallData:p,setIsFromHashtag:b}=Ge(),m=S=>{p?b?.(!0):f?.(n),r?.(i?{hashTag:S,itemId:e,itemType:i,rec:l}:{hashTag:S,rec:l}),A?.(!0)};return we(()=>t.length<=6?null:u.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>c(!s)},s?"show less":"show more"),[s,t]),u.createElement("div",{className:"clc-sxp-bottom-hashtag",style:{marginTop:`${(d=o?.marginTop)!==null&&d!==void 0?d:16}px`,width:a}},u.createElement(Mi,null,t?.map((S,v)=>u.createElement(zt,{key:v,hidden:s?!1:v>=6,className:"clc-sxp-bottom-hashtag-item",style:o,onClick:()=>m(S),tag:"li",role:"listitem"},u.createElement("button",{className:"clc-sxp-bottom-hashtag-item-button","aria-label":S,"aria-describedby":S,dangerouslySetInnerHTML:{__html:Ve(`#${S}`,o)}})))))};var Ho=je(Fd),Uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Fi(t){return je(function(e){const{$store:i}=rl(),n=o=>{let a=o;const d=o.match(/{{.*?}}/g);return d?.length&&d.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(c,r)=>{if(r){const A=Xn(i,r);return a=a.replace(s,A),A}})}),a},l=we(()=>{var o,a,d;const{bindDatas:s}=e,c=rt(e,["bindDatas"]);if((o=s?.forEach)===null||o===void 0||o.call(s,r=>{if(r?.propKey&&r?.dataPath){const{propKey:A,dataPath:f}=r;f.replace(/{{\s*([\w.]+)\s*}}/g,(p,b)=>{var m,S;if(b){const v=(S=(m=Xn(i,b))!==null&&m!==void 0?m:e[A])!==null&&S!==void 0?S:"";return c[A]=v,v}})}}),c){c.eventMap={};const r=bi(c.event)||{};for(const A in r)if(Object.prototype.hasOwnProperty.call(r,A))try{r[A].value=n(r[A].value),c.eventMap[A]=new Function(r[A].value)}catch{}}return!((d=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||d===void 0)&&d.linkType&&(c.style.cursor="pointer"),c},[i,e]);return u.createElement(t,Object.assign({},l,l.eventMap))})}const Wd=({rec:t,index:e,tempMap:i,resolver:n,includesCtaType:l=[],isActive:o,isNineProduct:a})=>{var d,s,c,r,A;const{schema:f}=ai();if(!t?.video)return null;let p=null;!((s=(d=t?.video)===null||d===void 0?void 0:d.bindProducts)===null||s===void 0)&&s.length?p="\u591A\u5546\u54C1CTA":!((c=t?.video)===null||c===void 0)&&c.bindProduct?p="\u5546\u54C1CTA":p=(A=(r=t?.video)===null||r===void 0?void 0:r.bindCta)===null||A===void 0?void 0:A.itemId;const b=i?.[p],m=we(()=>{var S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U,q,$,be,ue;if(!(l?.length>0&&!l?.includes((S=b?.item)===null||S===void 0?void 0:S.type))&&!((!l||l?.length===0)&&((v=b?.item)===null||v===void 0?void 0:v.category)==="cta")){if(((g=b?.item)===null||g===void 0?void 0:g.type)==="CommodityDiro"&&!(!((h=t?.video)===null||h===void 0)&&h.bindProduct)||((w=b?.item)===null||w===void 0?void 0:w.type)==="Commodity"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((P=b?.item)===null||P===void 0?void 0:P.type)==="CommodityDiroNew"&&!(!((V=t?.video)===null||V===void 0)&&V.bindProduct)||((j=b?.item)===null||j===void 0?void 0:j.type)==="MultiCommodity"&&!(!((T=(x=t?.video)===null||x===void 0?void 0:x.bindProducts)===null||T===void 0)&&T.length)||((R=b?.item)===null||R===void 0?void 0:R.type)==="MultiCommodityDiro"&&!(!((N=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||N===void 0)&&N.length)||((E=b?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiroNew"&&!(!((F=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||F===void 0)&&F.length))return null;if(b&&n){const J=n[a?"NineCommodity":(D=b?.item)===null||D===void 0?void 0:D.type],Pe=Fi(J),De=(B=J?.extend)===null||B===void 0?void 0:B.defaulSetting,Xe=((M=(k=(O=b?.item)===null||O===void 0?void 0:O.event)===null||k===void 0?void 0:k.onClick)===null||M===void 0?void 0:M.linkType)==="externalLink",me=bi((X=b?.item)===null||X===void 0?void 0:X.style);if(me.hasOwnProperty("backdropFilter")){const ve=me.backdropFilter;me.backdropFilter=`blur(${ve??0}px)`}return u.createElement(Pe,Object.assign({style:Object.assign(Object.assign(Object.assign({},De?.style),me),{zIndex:50,marginInlineStart:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},De?.textStyle),(U=b?.item)===null||U===void 0?void 0:U.textStyle),bindDatas:($=(q=b?.item)===null||q===void 0?void 0:q.bindDatas)!==null&&$!==void 0?$:[]},De?.props,(be=b?.item)===null||be===void 0?void 0:be.props,{event:((ue=b?.item)===null||ue===void 0?void 0:ue.event)||{},schema:f,id:b?.id,key:b?.id,recData:t,isExternalLink:Xe,index:e,isActive:o}))}else return null}},[t,n,i,f,b?.id,o]);return u.createElement(u.Fragment,null,m)};var Qt=je(Wd);const Xo=({nudge:t})=>{var e,i,n,l,o,a;return u.createElement(u.Fragment,null,t?.isOpen&&u.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(o=(l=t?.size)===null||l===void 0?void 0:l.height)!==null&&o!==void 0?o:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?u.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,u.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0,marginTop:0}),dangerouslySetInnerHTML:{__html:Ve(t?.content,t?.textStyle)}})))},zd=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:n,setRtcList:l,setCacheRtcList:o,setCacheActiveIndex:a,setLoading:d,swiperRef:s,waterFallData:c,bffEventReport:r,selectTag:A,setSelectTag:f}=Ge(),{backMainFeed:p}=Vt(),b=we(()=>[Yi,...t],[t]),m=S=>()=>{if(S===A)return;S!=="FOR U"?r?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${S}']`}}):p("theme",S,A);let v;S!==Yi&&(v=S),d?.(!0),n?.({themeTag:v}).then(g=>{var h,w,C,P;Ct.emit(xt.CHANGE_THEME_TAG,v),l?.((h=g?.recList)!==null&&h!==void 0?h:[]),o?.((w=g?.recList)!==null&&w!==void 0?w:[]),e?.(0),a?.(0),(P=(C=s?.current)===null||C===void 0?void 0:C.swiper)===null||P===void 0||P.slideTo(0)}).finally(()=>{d?.(!1)}),f?.(S)};return c||t.length<=0?null:u.createElement("div",{className:"clc-sxp-tagbar",style:i},u.createElement("div",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},b.map(S=>u.createElement("button",{className:`clc-sxp-tagbar-list-item ${S===A?"clc-sxp-tagbar-list-item-active":""}`,key:S,"aria-label":S,onClick:m(S)},S))))};var qo=je(zd);const Hd=({resolver:t,globalConfig:e})=>{var i,n,l;const{consentPopupCate:o}=Bi(),a=(n=(i=e?.consentPopup)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.item;if(!a||!o&&!(!((l=a?.props)===null||l===void 0)&&l.open))return null;const d=t?.[a?.type],s=Fi(d);return u.createElement(s,Object.assign({},a?.props,{style:a?.style,event:a?.event||{},consentPopupCate:o}))};var Ud=je(Hd);const Xd=({data:t,minusHeight:e,tagHeight:i,onClick:n})=>{var l,o,a,d,s;return u.createElement("button",{style:{position:"absolute",[(l=t?.xPosit)!==null&&l!==void 0?l:"left"]:(a=(o=t?.backButton)===null||o===void 0?void 0:o.x)!==null&&a!==void 0?a:0,[(d=t?.yPosit)!==null&&d!==void 0?d:"top"]:(t?.yPosit=="top"?e+i:0)+((s=t?.y)!==null&&s!==void 0?s:0),zIndex:8,border:"none",padding:0,background:"transparent"},role:"button","aria-label":"back button",onClick:n},u.createElement("img",{src:t?.icon||Uo,alt:"back button",width:100,style:{objectFit:"cover"}}))};var Yo=je(Xd);const qd=({globalConfig:t,descStyle:e,containerHeight:i,containerWidth:n=window.innerWidth,tempMap:l,resolver:o,data:a=[],ctaType:d,tipText:s,nudge:c,_schema:r,hashTagStyle:A,hashTagRightMargin:f,tagList:p=[],defaultData:b})=>{var m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U;const q=Lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),$=Lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png"),{schema:be}=ai(),{openMultiPosts:ue}=Bi(),[J,Pe]=Z(0),De=fe(0),[Xe,me]=Z(!0),ve=fe(),[et,_e]=Z(!1),[Ze,$e]=Z(!1),[dt,tt]=Z(new Date().getTime()),Le=fe(!1),[ot,Pt]=Z(2);Z(!1);const He=fe(null),qe=fe(""),{loadVideos:Ye,bffEventReport:K,loading:te,setPopupDetailData:_,ctaEvent:ae,swiperRef:Ie,waterFallData:Ee,setOpenHashtag:ee,appDomain:W,openHashtag:We,loadingImage:lt,isFromHashtag:it,popupDetailData:ct,bffFbReport:nt,curTime:Ue,h5EnterLink:at,isShowConsent:ht,selectTag:St,isPreview:Yt,isEditor:Rt,cacheRtcList:Et,setRtcList:It,cacheActiveIndex:Kt,rtcList:Tt,isNoMoreData:Ke,channel:Oe,refreshFeSession:ge,isDiyH5:xe,pixelPvStatusRef:bt}=Ge(),{backMainFeed:Gt,productView:Ut,jumpToWeb:ln}=Vt(),{visibleHeight:fi,bottomHeight:wt}=jo(),di=we(()=>a.length>0&&!te&&(vl()||t?.enableSwiperTip),[a,te,t?.enableSwiperTip]);ce(()=>{ge?.(!0)},[]),ce(()=>{if(a?.length>0){const L=new Date;ve.current=L}},[a?.length]);const zi=de(()=>{var L,Y,G;const Q=(Y=(L=b?.data)===null||L===void 0?void 0:L.sxpPageConf)===null||Y===void 0?void 0:Y.globalConfig;if(!((G=Q?.session)===null||G===void 0)&&G.enable||mn(),at?.(),a.length>0){const re=new Date;ve.current=re}},[a.length,at,b]);ce(()=>{var L;if(!d||d?.length<1)return;const Y=a?.findIndex(G=>{var Q,re,ne,le,oe,se,Ae,Fe,Te;const Ne=d?.[0];return Ne==="\u591A\u5546\u54C1CTA"?((Q=G?.video)===null||Q===void 0?void 0:Q.bindProducts)&&((ne=(re=G?.video)===null||re===void 0?void 0:re.bindProducts)===null||ne===void 0?void 0:ne.length)>0:Ne==="\u5546\u54C1CTA"?(le=G?.video)===null||le===void 0?void 0:le.bindProduct:((se=(oe=G?.video)===null||oe===void 0?void 0:oe.bindCta)===null||se===void 0?void 0:se.itemId)===Ne&&(((Ae=G?.video)===null||Ae===void 0?void 0:Ae.url)||((Te=(Fe=G?.video)===null||Fe===void 0?void 0:Fe.imgUrls)===null||Te===void 0?void 0:Te.length))})||0;Y!==-1&&((L=Ie?.current)===null||L===void 0||L.swiper.slideTo(Y))},[a,d,Ie]);const oi=de(L=>{var Y,G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt;const Re=a?.[J];let Me="";ct&&(!((G=(Y=Re?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||G===void 0)&&G.length||!((Q=Re?.video)===null||Q===void 0)&&Q.bindProduct)?Me="pdpPage":ct&&((oe=l?.[(le=(ne=(re=Re?.video)===null||re===void 0?void 0:re.bindCta)===null||ne===void 0?void 0:ne.itemId)!==null&&le!==void 0?le:""].item)===null||oe===void 0?void 0:oe.type)==="Appoint"?Me="formPage":it?Me="hashTagPage":!((se=Re?.video)===null||se===void 0)&&se.url?Me="videoPage":!((Ae=Re?.video)===null||Ae===void 0)&&Ae.imgUrls&&(!((Te=(Fe=Re?.video)===null||Fe===void 0?void 0:Fe.imgUrls)===null||Te===void 0)&&Te.length)?Me="imagePage":Re?.product&&(Me="productPage"),K?.({eventInfo:{sessionDuration:Math.floor((new Date-Ue.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ne=Re?.video)===null||Ne===void 0?void 0:Ne.itemId,productId:(ft=Re?.product)===null||ft===void 0?void 0:ft.itemId,position:J+"",fromKName:L||Me,fromKPage:location?.href,ctatId:(pt=(vt=(ut=Re?.video)===null||ut===void 0?void 0:ut.bindCta)===null||vt===void 0?void 0:vt.itemId)!==null&&pt!==void 0?pt:"",traceInfo:(kt=(gt=(st=Re?.video)===null||st===void 0?void 0:st.traceInfo)!==null&>!==void 0?gt:(Je=Re?.product)===null||Je===void 0?void 0:Je.traceInfo)!==null&&kt!==void 0?kt:""}})},[a,K,J,ct,l,it,Ue]);ce(()=>{const L=a?.[J],Y=()=>{const G=!We&&!ht;document.visibilityState==="hidden"?(G&&(Ct.emit(xt.PAGE_DID_HIDE,L),Se(L)),(t?.playbook!=="organic menu"||J!==0||Oe)&&(ge?.(!1,oi)||oi())):document.visibilityState==="visible"&&(Le.current===!0&&(tt(new Date().getTime()),Le.current=!1),ge?.(!1),zi(),G&&(setTimeout(()=>{Ct.emit(xt.PAGE_DID_SHOW,L)},100),Gt("external",St)))};return document.addEventListener("visibilitychange",Y),()=>{document.removeEventListener("visibilitychange",Y)}},[J,K,a,zi,ct,it,l,Ue,Gt,We,ht,St,Oe,oi,ge]);const hi=de(Ei(()=>{var L;(L=He.current)===null||L===void 0||L.setLoopPlay(!1),ge?.(!1,oi)},1e3),[oi,ge]);ce(()=>{const L=["touchstart","touchcancel"];return L.forEach(Y=>{window.addEventListener(Y,hi)}),()=>{L.forEach(Y=>{window.removeEventListener(Y,hi)})}},[hi]);const li=we(()=>{let L=0;return p.length>0&&(L+=45,Ee&&(L-=45)),L},[p,Ee]),Xt=we(()=>{let L=0;return t?.logoUrl&&t?.isShowLogo&&(L+=56),L},[t]),_t=we(()=>(i||fi)-Xt-li,[i,fi,Xt,li]),Ot=we(()=>{var L;const Y=J===0&&!Ee&&!Rt&&!xe?[(L=a?.[0])!==null&&L!==void 0?L:null]:a?.map((G,Q)=>J===Q||Q-1===J||Q+1===J?G:null);return Y?.length?!Ee&&!Ke&&!xe?Y.concat([{loading:!0}]):Y:[]},[a,J,Ee,Rt,Ke,xe]),an=we(()=>{var L,Y,G,Q;if(t?.logoUrl&&t?.isShowLogo){const re=(Y=(L=t?.logoBar)===null||L===void 0?void 0:L.onClick)===null||Y===void 0?void 0:Y.value,ne=((Q=(G=t?.logoBar)===null||G===void 0?void 0:G.onClick)===null||Q===void 0?void 0:Q.linkType)==="externalLink",le=Ot[J];return u.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},re&&{onClick:oe=>{var se,Ae,Fe,Te;ne&&ln(oe,le,(se=le?.video)===null||se===void 0?void 0:se.bindProduct,(Ae=le?.video)===null||Ae===void 0?void 0:Ae.bindCta,J,((Fe=le?.product)===null||Fe===void 0?void 0:Fe.traceInfo)||((Te=le?.video)===null||Te===void 0?void 0:Te.traceInfo)),new Function(re)()}}),u.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t,J,Ot]),Hi=de((L,Y)=>{var G,Q,re,ne,le,oe,se,Ae,Fe,Te;return L==="organic menu"?u.createElement(Rn,Object.assign({recData:a?.[1]},(re=(Q=(G=t?.multiPosts)===null||G===void 0?void 0:G[0])===null||Q===void 0?void 0:Q.item)===null||re===void 0?void 0:re.props,(oe=(le=(ne=t?.multiPosts)===null||ne===void 0?void 0:ne[0])===null||le===void 0?void 0:le.item)===null||oe===void 0?void 0:oe.event)):!((se=L?.video)===null||se===void 0)&&se.url?u.createElement(Md,Object.assign({key:dt},J===Y&&{ref:He},{rec:L,index:Y,muted:Xe,data:a,height:_t,activeIndex:J,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon,loopPlay:!0,swiperRef:Ie,visibleHeight:fi})):!((Ae=L?.video)===null||Ae===void 0)&&Ae.imgUrls?u.createElement(Bd,{key:L?.video.itemId,imgUrls:L?.video.imgUrls,width:n,height:_t,rec:L,index:Y,onViewImageEndEvent:ye,onViewImageStartEvent:ke,imgUrlsPostConfig:t?.imgUrlsPost}):L.product&&Array.isArray(t?.productPost)&&((Fe=t?.productPost)===null||Fe===void 0?void 0:Fe.length)>0?(Te=t?.productPost)===null||Te===void 0?void 0:Te.map((Ne,ft)=>{var ut,vt,pt,st,gt,Je,kt,Re;const Me=o[(ut=Ne?.item)===null||ut===void 0?void 0:ut.type],Bt=Fi(Me),Dt=(vt=Me?.extend)===null||vt===void 0?void 0:vt.defaulSetting;return u.createElement(Bt,Object.assign({key:`${Y}${ft}`,textStyle:Object.assign(Object.assign({},Dt?.textStyle),(pt=Ne?.item)===null||pt===void 0?void 0:pt.textStyle),bindDatas:(gt=(st=Ne?.item)===null||st===void 0?void 0:st.bindDatas)!==null&>!==void 0?gt:[]},Dt?.props,(Je=Ne?.item)===null||Je===void 0?void 0:Je.props,{event:((kt=Ne?.item)===null||kt===void 0?void 0:kt.event)||{},schema:be,id:Ne?.id,viewTime:ve.current,rec:L,isPost:!0,tipText:s,style:Object.assign(Object.assign(Object.assign({},Dt?.style),(Re=Ne?.item)===null||Re===void 0?void 0:Re.style),{height:"100%",overflow:"auto"}),index:Y,isActive:J===Y}))}):null},[n,a,_t,Xe,J,t?.productPost,t?.videoPlayIcon,ve,s,o,be,dt,fi]),Ui=de(L=>{$e(L)},[]),z=we(()=>Ze?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[Ze]),H=de((L,Y)=>{var G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt;if(L?.video){let st=null;!((Q=(G=L?.video)===null||G===void 0?void 0:G.bindProducts)===null||Q===void 0)&&Q.length?st="\u591A\u5546\u54C1CTA":!((re=L?.video)===null||re===void 0)&&re.bindProduct?st="\u5546\u54C1CTA":st=(le=(ne=L?.video)===null||ne===void 0?void 0:ne.bindCta)===null||le===void 0?void 0:le.itemId;const gt=l?.[st],Je=t?.nineProductEnable&&Y===(Tt?.[0]==="organic menu"?2:1)&&((oe=["MultiCommodity","MultiCommodityDiro","MultiCommodityDiroNew"])===null||oe===void 0?void 0:oe.includes((se=gt?.item)===null||se===void 0?void 0:se.type));return u.createElement(u.Fragment,null,Je&&u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,isActive:Y===J,isNineProduct:Je}),((Ae=L?.video)===null||Ae===void 0?void 0:Ae.title)&&!Ze&&u.createElement("div",{className:"clc-sxp-bottom-shadow"}),u.createElement("div",{className:"clc-sxp-bottom",style:{marginBottom:`${(Fe=t?.bottomInfoDist)!==null&&Fe!==void 0?Fe:40}px`}},u.createElement(Xo,{nudge:c}),(t?.isShowCTA===void 0||t?.isShowCTA)&&!Je?u.createElement("div",{className:"clc-sxp-bottom-card"},u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,isActive:Y===J,includesCtaType:[]})):null,u.createElement("div",{style:{display:"flex",flexDirection:"column"}},u.createElement(Di,{className:"clc-sxp-bottom-text",isPost:!0,foldText:s?.foldText,unfoldText:s?.unfoldText,text:(Ne=(Te=L?.video)===null||Te===void 0?void 0:Te.title)!==null&&Ne!==void 0?Ne:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Ui}),u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,includesCtaType:["AniLink"],isActive:Y===J}),u.createElement(Ho,{index:J,tags:(ut=(ft=L?.video)===null||ft===void 0?void 0:ft.hashTags)!==null&&ut!==void 0?ut:[],itemId:(vt=L?.video)===null||vt===void 0?void 0:vt.itemId,itemType:!((pt=L?.video)===null||pt===void 0)&&pt.itemId?"VIDEO":null,rec:L,hashTagStyle:A,hashTagRightMargin:n-(f??0)}))),u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,includesCtaType:["AniLinkPopup"],isActive:Y===J}))}return null},[e,J,l,o,s,c,A,t,Ui,Ze,z,Tt]),ie=de((L,Y,G)=>{var Q,re,ne,le;if(!t?.isShowLike||!G)return;let oe=(Q=t?.likeIconY)!==null&&Q!==void 0?Q:400;return Ee&&oe<40&&t?.likeIconYPosit==="top"&&(oe+=40),t?.likeIconYPosit==="top"&&(oe+=Xt),t?.likeIconFixed&&t?.likeIconYPosit!=="top"&&(oe+=wt),L?.video?u.createElement(Bn,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{position:t?.likeIconFixed?"fixed":"absolute",[(re=t.likeIconXPosit)!==null&&re!==void 0?re:"right"]:(ne=t.likeIconX)!==null&&ne!==void 0?ne:0,[(le=t.likeIconYPosit)!==null&&le!==void 0?le:"bottom"]:oe},position:Y}):null},[t,Ee,wt]),ye=L=>{var Y,G,Q,re,ne,le;if(!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&(!((G=L?.video)===null||G===void 0)&&G.imgUrls)){const oe=Date.now(),se=De.current===0?0:(oe-De.current)/1e3;K?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(re=(Q=L?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&re!==void 0?re:"",contentName:(ne=L?.video.title)!==null&&ne!==void 0?ne:"",imageEndTime:`${oe}`,playDuration:`${se}`,contentTags:JSON.stringify((le=L?.video.tags)!==null&&le!==void 0?le:[]),position:J+"",contentFormat:"image",traceInfo:L?.video.traceInfo}})}},pe=(L,Y)=>{var G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt,Re,Me,Bt;if(Yt||Ee)return;const Dt=new Date-Ue.current;if(t?.openSlideSkip&&Dt>=((G=t?.slideSkipStartTime)!==null&&G!==void 0?G:0)&&pl()&&L){const Ai=((ne=(re=(Q=L?.video)===null||Q===void 0?void 0:Q.bindProducts)===null||re===void 0?void 0:re[0])===null||ne===void 0?void 0:ne.link)||((oe=(le=L?.video)===null||le===void 0?void 0:le.bindProduct)===null||oe===void 0?void 0:oe.link)||((se=L?.product)===null||se===void 0?void 0:se.link),At=L?.product||((Ae=L?.video)===null||Ae===void 0?void 0:Ae.bindProduct)||((Te=(Fe=L?.video)===null||Fe===void 0?void 0:Fe.bindProducts)===null||Te===void 0?void 0:Te[0]);if(Ai){let ci=null;!((Ne=L?.video)===null||Ne===void 0)&&Ne.url?ci="video":!((ut=(ft=L?.video)===null||ft===void 0?void 0:ft.imgUrls)===null||ut===void 0)&&ut.length&&(ci="image"),K?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(vt=At?.itemId)!==null&&vt!==void 0?vt:"",productName:(pt=At?.title)!==null&&pt!==void 0?pt:"",price:At?.price?At?.price+"":"0",productCollection:(st=At?.collection)!==null&&st!==void 0?st:"",contentTags:At?.tags?JSON.stringify(At?.tags):"",position:Y+"",contentId:(Je=(gt=L?.video)===null||gt===void 0?void 0:gt.itemId)!==null&&Je!==void 0?Je:"",traceInfo:(Bt=(Re=(kt=L?.video)===null||kt===void 0?void 0:kt.traceInfo)!==null&&Re!==void 0?Re:(Me=L?.product)===null||Me===void 0?void 0:Me.traceInfo)!==null&&Bt!==void 0?Bt:"",contentFormat:ci}}),Le.current=!0,window.location.href=window.getJointUtmLink(Ai)}}},he=L=>{var Y,G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt,Re;const Me=a[L.previousIndex];if(!Me)return;let Bt=null;!((Y=Me?.video)===null||Y===void 0)&&Y.url?Bt="video":!((Q=(G=Me?.video)===null||G===void 0?void 0:G.imgUrls)===null||Q===void 0)&&Q.length&&(Bt="image"),L.previousIndex-L.activeIndex<0?(K?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(ne=(re=Me?.video)===null||re===void 0?void 0:re.itemId)!==null&&ne!==void 0?ne:"",productId:(oe=(le=Me?.product)===null||le===void 0?void 0:le.itemId)!==null&&oe!==void 0?oe:"",requestId:null,traceInfo:(Te=(Ae=(se=Me?.video)===null||se===void 0?void 0:se.traceInfo)!==null&&Ae!==void 0?Ae:(Fe=Me?.product)===null||Fe===void 0?void 0:Fe.traceInfo)!==null&&Te!==void 0?Te:"",contentFormat:Bt,position:((Ne=L.previousIndex)!==null&&Ne!==void 0?Ne:0)+""}}),ye(Me),pe(Me,L.previousIndex)):(K?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ut=(ft=Me?.video)===null||ft===void 0?void 0:ft.itemId)!==null&&ut!==void 0?ut:"",productId:(pt=(vt=Me.product)===null||vt===void 0?void 0:vt.itemId)!==null&&pt!==void 0?pt:"",requestId:null,traceInfo:(kt=(gt=(st=Me?.video)===null||st===void 0?void 0:st.traceInfo)!==null&>!==void 0?gt:(Je=Me?.product)===null||Je===void 0?void 0:Je.traceInfo)!==null&&kt!==void 0?kt:"",contentFormat:Bt,position:((Re=L.previousIndex)!==null&&Re!==void 0?Re:0)+""}}),ye(Me)),Se(Me),ve.current=new Date},Se=L=>{var Y,G,Q;!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&!(!((G=L?.video)===null||G===void 0)&&G.imgUrls)&&L?.product&&Ut(L,L.product,(Q=L?.product)===null||Q===void 0?void 0:Q.bindCta,ve.current,J)};ce(()=>{const L=a[J];We?Se(L):ve.current=new Date},[We,a,J]),ce(()=>{if(!t?.enableCookieSetting)return;function L(G){if(!G||G.indexOf(".")===-1)return"";const Q=G.split(".");return Q.length>=2?"."+Q.slice(-2).join("."):""}window.OptanonWrapper=function(){const G=window?.OnetrustActiveGroups;G&&G?.length>2};const Y=G=>{var Q,re;const ne=window?.OnetrustActiveGroups;(!((Q=G.target)===null||Q===void 0)&&Q.closest(".ot-pc-refuse-all-handler")||!((re=G.target)===null||re===void 0)&&re.closest(".save-preference-btn-handler"))&&(window.OptanonWrapper=function(){var le,oe;const se=window?.OnetrustActiveGroups;if(se)if(se?.includes("4"))window?.loadMetaPixel(!1,SXP_CONFIG==null?void 0:SXP_CONFIG.meta_conversion_api_pid),window?.fbq("consent","grant"),bt.current=!0,qe.current&&ne?.includes("4");else{window?.fbq("consent","revoke"),qe.current=cn("_fbp"),ol("_fbp","/",L(window.location.hostname));const Ae=a[J],Fe=((le=Ae?.video)===null||le===void 0?void 0:le.traceInfo)||((oe=Ae?.product)===null||oe===void 0?void 0:oe.traceInfo)||"";ne?.includes("4")&&K?.({eventInfo:{eventSubject:"refuseCookie",eventDescription:"refuseCookie",traceInfo:Fe},isActiveTargetingCookie:!1})}})};return document.addEventListener("click",Y),()=>{document.removeEventListener("click",Y)}},[t,K,a,J]);const ke=(L,Y,G)=>{var Q,re,ne,le,oe,se,Ae,Fe;const Te=a[L];if(!(!((Q=Te?.video)===null||Q===void 0)&&Q.url)&&(!((re=Te?.video)===null||re===void 0)&&re.imgUrls)){const Ne=Date.now();De.current=Ne,K?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(le=(ne=Te?.video)===null||ne===void 0?void 0:ne.itemId)!==null&&le!==void 0?le:"",contentName:(oe=Te?.video.title)!==null&&oe!==void 0?oe:"",imageStartTime:`${Ne}`,contentTags:JSON.stringify((se=Te?.video.tags)!==null&&se!==void 0?se:[]),position:L+"",contentFormat:"image",traceInfo:Te?.video.traceInfo,loadTime:Y?.loadTime}}),G&&(nt?.({eventName:"ViewContent",product:(Ae=Te?.video)===null||Ae===void 0?void 0:Ae.bindProduct}),nt?.({eventName:"PageView",product:(Fe=Te?.video)===null||Fe===void 0?void 0:Fe.bindProduct}))}},Ce=de(L=>{var Y,G,Q,re,ne,le;if(!L)return;let oe=(Y=t?.muteIconY)!==null&&Y!==void 0?Y:23;return Ee&&oe<40&&t?.muteIconYPosit==="top"&&(oe+=40),t?.muteIconYPosit==="top"&&(oe+=Xt),t?.muteIconFixed&&t?.muteIconYPosit!=="top"&&(oe+=wt),(t?.isShowMute===void 0||t?.isShowMute===!0)&&u.createElement(nn,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((Q=(G=Ot?.[J])===null||G===void 0?void 0:G.video)===null||Q===void 0)&&Q.url?"visible":"hidden",zIndex:999,transform:"translate3d(0px,0px,0px)",[(re=t?.muteIconXPosit)!==null&&re!==void 0?re:"right"]:(ne=t?.muteIconX)!==null&&ne!==void 0?ne:0,[(le=t?.muteIconYPosit)!==null&&le!==void 0?le:"bottom"]:oe},defaultValue:Xe,activeIcon:t?.unMuteIcon?t?.unMuteIcon:q,unactiveIcon:t?.muteIcon?t?.muteIcon:$,onChange:me})},[t,Ot,J,Xe,Ee,wt]),Be=we(()=>te?u.createElement("div",{style:{height:_t,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},u.createElement("img",{width:64,height:64,src:lt,alt:"loading...",style:{objectFit:"contain"}})):Ot?.map((L,Y)=>u.createElement(zt,{key:Y,virtualIndex:Y,style:{overflow:"hidden"}},L&&u.createElement(u.Fragment,null,L?.loading?u.createElement("div",{style:{height:_t,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},u.createElement("img",{width:64,height:64,src:lt,alt:"loading...",style:{objectFit:"contain"}})):u.createElement(u.Fragment,null,H(L,Y),ie(L,Y,!t?.likeIconFixed),Ce(!t?.muteIconFixed),Hi(L,Y))))),[n,a,_t,te,H,Hi,Ot,lt,dt,Ce]);return u.createElement("div",{id:"sxp-render",className:"clc-sxp-container",style:{height:_t}},a?.length<1&&te?u.createElement("div",{style:{height:_t,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},u.createElement("img",{width:64,height:64,src:lt,alt:"loading...",style:{objectFit:"contain"}})):u.createElement("div",{style:Object.assign({},t?.textUnderlineOffset&&{textUnderlineOffset:`${t?.textUnderlineOffset}px`})},Ee&&u.createElement(Vo,{icon:Uo,styles:{background:"rgba(0,0,0,.3)",color:"#fff",top:`${Xt}px`},textStyle:Object.assign(Object.assign({},(h=(g=(v=(S=(m=t?.hashTag)===null||m===void 0?void 0:m[0])===null||S===void 0?void 0:S.item)===null||v===void 0?void 0:v.props)===null||g===void 0?void 0:g.textStyles)===null||h===void 0?void 0:h.hashTagTitle),{color:"#fff"}),onClose:()=>{!Hn(Tt,Et)&&Et&&Et?.length&&It?.(Et),ee?.(!0)}}),an,u.createElement(qo,{tagList:p,setActiveIndex:Pe,style:{top:Xt}}),((w=t?.backButton)===null||w===void 0?void 0:w.enable)&&!Oe&&!ue&&!Ee&&u.createElement(Yo,{data:t?.backButton,minusHeight:Xt,tagHeight:li,onClick:()=>history?.back()}),(((x=(j=(V=(P=(C=t?.multiPosts)===null||C===void 0?void 0:C[0])===null||P===void 0?void 0:P.item)===null||V===void 0?void 0:V.props)===null||j===void 0?void 0:j.backButton)===null||x===void 0?void 0:x.enable)&&Oe||ue)&&!Ee&&u.createElement(Yo,{data:(N=(I=(R=(T=t?.multiPosts)===null||T===void 0?void 0:T[0])===null||R===void 0?void 0:R.item)===null||I===void 0?void 0:I.props)===null||N===void 0?void 0:N.backButton,minusHeight:Xt,tagHeight:li,onClick:()=>{var L,Y;const G=Ot?.[J];K?.({eventInfo:{eventSubject:"backMultiPostClick",eventDescription:"backMultiPostClick",traceInfo:((L=G?.video)===null||L===void 0?void 0:L.traceInfo)||((Y=G?.product)===null||Y===void 0?void 0:Y.traceInfo)||""}}),location?.reload()}}),di?u.createElement(Vd,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((E=t?.swipeTipOffset)!==null&&E!==void 0?E:0)}%`},duration:t?.swiperTipAniDur}):null,u.createElement(ei,{style:{marginTop:li},ref:Ie,onSlideChange:()=>{Ie.current.swiper.allowTouchMove=!1,setTimeout(()=>{Ie.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:L=>{Pe(L.activeIndex),!We&&(he(L),!(Ee||Rt||xe)&&L?.activeIndex+1>=a?.length&&(et||(_e(!0),Ye?.(ot).then(Y=>{var G;_e(!1),Y&&((G=Y?.recList)===null||G===void 0?void 0:G.length)>0&&Pt(ot+1)}))))},direction:"vertical",height:_t},Be,ie(Ot[J],J,!!t?.likeIconFixed),Ce(!!t?.muteIconFixed)),u.createElement(Bo,Object.assign({},(D=(F=(y=t?.hashTag)===null||y===void 0?void 0:y[0])===null||F===void 0?void 0:F.item)===null||D===void 0?void 0:D.props)),u.createElement(Ud,{resolver:o,globalConfig:t}),ue&&u.createElement(Rn,Object.assign({},(k=(O=(B=t?.multiPosts)===null||B===void 0?void 0:B[0])===null||O===void 0?void 0:O.item)===null||k===void 0?void 0:k.props,(U=(X=(M=t?.multiPosts)===null||M===void 0?void 0:M[0])===null||X===void 0?void 0:X.item)===null||U===void 0?void 0:U.event,{style:{position:"fixed",top:0,left:0,right:0,bottom:wt+"px"}}))),t?.enableCookieSetting&&u.createElement("div",{style:{position:"fixed",bottom:wt+"px",left:0,right:0,width:"100%",zIndex:10,backgroundColor:"#000",fontSize:0}},u.createElement("button",{id:"ot-sdk-btn",className:"ot-sdk-show-settings",style:{textDecoration:"underline",width:"fit-content",border:"none",lineHeight:"24px",fontSize:"10px",color:"#fff",padding:"0 20px",fontFamily:"Helvetica-light"}},"Cookie settings")))};var Go=je(qd);const Yd=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o})=>u.createElement(ei,{defaultValue:0,direction:"horizontal",modules:[ji,Ni],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",bulletElement:"button"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>u.createElement(zt,{key:a},u.createElement(Fn,{src:a,height:i,imgUrlsPostConfig:n}))));var Gd=je(Yd);const _d=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:d})=>{const[s,c]=Z(!1),r=fe(null),{bffEventReport:A,sxpParameter:f,waterFallData:p,openHashtag:b}=Ge(),m=fe(0),[S,v]=Z(!1),[g,h]=Z(!0),w=fe(null),[C,P]=Z("");ce(()=>{r.current&&(r.current.muted=l)},[l]);const V=de(()=>{var O;(O=r.current)===null||O===void 0||O.play()},[]),j=Lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=de(()=>{var O,k,M,X,U,q,$,be,ue,J,Pe,De,Xe;c(!1);const me=n[e];if(me&&(!((O=r?.current)===null||O===void 0)&&O.duration)){m.current=((k=r?.current)===null||k===void 0?void 0:k.currentTime)||0;const ve=((X=(M=r.current)===null||M===void 0?void 0:M.duration)!==null&&X!==void 0?X:0).toFixed(2),et=((q=(U=r.current)===null||U===void 0?void 0:U.currentTime)!==null&&q!==void 0?q:0).toFixed(2),_e=g?"0":"1";A?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(be=($=me?.video)===null||$===void 0?void 0:$.itemId)!==null&&be!==void 0?be:"",contentName:(J=(ue=me?.video)===null||ue===void 0?void 0:ue.title)!==null&&J!==void 0?J:"",playType:_e,startTime:et,videoDuration:ve,contentTags:JSON.stringify((De=(Pe=me?.video)===null||Pe===void 0?void 0:Pe.tags)!==null&&De!==void 0?De:[]),position:e+"",contentFormat:"video",traceInfo:(Xe=me?.video)===null||Xe===void 0?void 0:Xe.traceInfo}}),h(!1)}},[A,n,e,g]),T=de(()=>{v(!0)},[]),R=de(O=>()=>{var k,M,X,U,q;if(!S)return;const $=(k=r.current)===null||k===void 0?void 0:k.paused;switch(O){case"start":if(!$)return;(M=r.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if($)return;(X=r.current)===null||X===void 0||X.pause(),c(!0);break;default:$?(U=r.current)===null||U===void 0||U.play():(q=r.current)===null||q===void 0||q.pause(),c(!$);break}},[S]),I=de(()=>{var O,k,M,X,U,q,$,be,ue,J,Pe,De,Xe;const me=n[e],ve=((k=(O=r.current)===null||O===void 0?void 0:O.duration)!==null&&k!==void 0?k:0).toFixed(2),et=((X=(M=r.current)===null||M===void 0?void 0:M.currentTime)!==null&&X!==void 0?X:0).toFixed(2);if(!((U=r?.current)===null||U===void 0)&&U.duration){const _e=(((q=r?.current)===null||q===void 0?void 0:q.currentTime)-m.current).toFixed(2);A?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(be=($=me?.video)===null||$===void 0?void 0:$.itemId)!==null&&be!==void 0?be:"",contentName:(J=(ue=me?.video)===null||ue===void 0?void 0:ue.title)!==null&&J!==void 0?J:"",endTime:et,videoDuration:ve,playDuration:_e,contentTags:JSON.stringify((De=(Pe=me?.video)===null||Pe===void 0?void 0:Pe.tags)!==null&&De!==void 0?De:[]),position:e+"",contentFormat:"video",traceInfo:(Xe=me?.video)===null||Xe===void 0?void 0:Xe.traceInfo}})}},[n,e,A]),N=we(()=>a?.mode==="2",[a]),E=we(()=>{var O;return a?.mode==="2"?`translateY(-${50+((O=a?.offsetTop)!==null&&O!==void 0?O:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),y=we(()=>{var O;return((O=t?.video)===null||O===void 0?void 0:O.cover)||C},[C,t]),F=de(()=>{if(!w||!r||!r.current||!w.current)return;const O=r?.current,k=w?.current,M=k.getContext("2d"),X=window?.innerWidth,U=window?.innerHeight;k.height=U,k.width=X,M?.drawImage(O,0,0,k.width,k.height),P(k.toDataURL())},[]);ce(()=>{var O,k,M,X;if(r.current){if(c(!1),!r.current.src){const U=t?.video.url;if(U.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const q=new window.Hls;q.loadSource(U),q.attachMedia(r.current)}else r.current.canPlayType("application/vnd.apple.mpegurl"),r.current.src=U;else r.current.src=U;r.current.setAttribute("x5-playsinline","true"),r.current.setAttribute("webkit-playsinline","true")}return(O=r.current)===null||O===void 0||O.addEventListener("loadedmetadata",T),(k=r.current)===null||k===void 0||k.addEventListener("canplay",T),(M=r.current)===null||M===void 0||M.addEventListener("playing",x),(X=r.current)===null||X===void 0||X.addEventListener("loadeddata",F),()=>{var U,q,$,be;(U=r.current)===null||U===void 0||U.removeEventListener("loadedmetadata",T),(q=r.current)===null||q===void 0||q.removeEventListener("canplay",T),($=r.current)===null||$===void 0||$.removeEventListener("playing",x),(be=r.current)===null||be===void 0||be.removeEventListener("loadeddata",F)}}},[T,x,t?.video,F]);const D=we(()=>!f?.placeholder_image||S?null:u.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image,alt:"video poster"}),[S,f?.placeholder_image]);ce(()=>{const O=()=>{var k,M;o===e&&(!((k=t?.video)===null||k===void 0)&&k.url)&&(!((M=r?.current)===null||M===void 0)&&M.src)&&!s&&R("pause")()};return window.addEventListener("beforeunload",O),()=>{window.removeEventListener("beforeunload",O)}},[o,e,t,r,R,s]);const B=we(()=>N?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[N]);return t?.video?u.createElement(u.Fragment,null,N?u.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:R(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},u.createElement(Mt,{src:y,style:Object.assign({height:i,width:d,objectFit:"cover"},B)}),u.createElement("canvas",{ref:w,style:{display:"none"}}),u.createElement("div",{style:{position:"absolute",width:d,height:i,top:"50%",transform:E,left:0,right:0}},u.createElement("div",{style:{position:"relative",width:d,height:"100%"}},u.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:r,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:I,onEnded:V,style:{width:"100%",height:i,objectFit:"contain"}}),u.createElement("img",{hidden:!s,className:"clc-pb-video-pause",src:j,alt:"video pause image"}))),D):u.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:R(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},u.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:r,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:I,onEnded:V}),D,u.createElement("img",{hidden:!s,className:"clc-pb-video-pause",src:j,alt:"video pause image"}))):null};var Zd=je(_d);const Wi={};Object.values(tn).forEach(t=>{Wi[t.extend.type]=t});const Kd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Jd="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Qd=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:d=664,containerWidth:s=375,appDomain:c,tagList:r=[]})=>{const A=we(()=>{let P=0;return e?.logoUrl&&e?.isShowLogo&&(P+=45),r.length>0&&(P+=45),d-P},[e,d,r]),f=(P,V)=>{var j,x,T,R;if(!((j=P?.video)===null||j===void 0)&&j.url)return u.createElement(Zd,{rec:P,index:V,muted:!0,width:s,data:t??[],height:A,activeIndex:V,videoPostConfig:e?.videoPost});if(!((x=P?.video)===null||x===void 0)&&x.imgUrls)return u.createElement(Gd,{key:P?.video.itemId,imgUrls:P?.video.imgUrls,width:s,height:A,rec:P,index:V,imgUrlsPostConfig:e?.imgUrlsPost});if(P.product&&P.product&&Array.isArray(e?.productPost)&&((T=e?.productPost)===null||T===void 0?void 0:T.length)>0)return(R=e?.productPost)===null||R===void 0?void 0:R.map((I,N)=>{var E,y,F,D,B,O,k,M;const X=Wi[(E=I?.item)===null||E===void 0?void 0:E.type],U=Fi(X),q=(y=X?.extend)===null||y===void 0?void 0:y.defaulSetting;return u.createElement(U,Object.assign({key:`${V}${N}`,textStyle:Object.assign(Object.assign({},q?.textStyle),(F=I?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(B=(D=I?.item)===null||D===void 0?void 0:D.bindDatas)!==null&&B!==void 0?B:[]},q?.props,(O=I?.item)===null||O===void 0?void 0:O.props,{event:((k=I?.item)===null||k===void 0?void 0:k.event)||{},id:I?.id,rec:P,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},q?.style),(M=I?.item)===null||M===void 0?void 0:M.style),{width:s,height:A,overflow:"auto"}),index:V}))})},p=we(()=>e?.logoUrl&&e?.isShowLogo?u.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},u.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(P,V)=>e?.isShowCTA===void 0||e?.isShowCTA?u.createElement("div",{className:"clc-sxp-bottom-card"},u.createElement(Qt,{rec:P,index:V,tempMap:l,resolver:Wi,isActive:!0})):null,m=(P,V)=>{var j,x,T,R,I,N,E;return P?.video?u.createElement(u.Fragment,null,((j=P?.video)===null||j===void 0?void 0:j.title)&&u.createElement("div",{className:"clc-sxp-bottom-shadow"}),u.createElement("div",{className:"clc-sxp-bottom"},u.createElement(Xo,{nudge:n}),b(P,V),u.createElement("div",null,u.createElement(Di,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(T=(x=P?.video)===null||x===void 0?void 0:x.title)!==null&&T!==void 0?T:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})}),u.createElement(Qt,{rec:P,index:V,tempMap:l,resolver:Wi,includesCtaType:["AniLink"],isActive:!0})),u.createElement(Ho,{index:V,tags:(I=(R=P?.video)===null||R===void 0?void 0:R.hashTags)!==null&&I!==void 0?I:[],itemId:(N=P?.video)===null||N===void 0?void 0:N.itemId,itemType:!((E=P?.video)===null||E===void 0)&&E.itemId?"VIDEO":null,rec:P,hashTagStyle:a})),u.createElement(Qt,{rec:P,index:V,tempMap:l,resolver:Wi,includesCtaType:["AniLinkPopup"],isActive:!0})):null},S=Lt(Jd,c),v=Lt(Kd,c),g=(P,V)=>{var j,x,T,R;if(!e?.isShowLike)return;let I=(j=e?.likeIconY)!==null&&j!==void 0?j:400;return I<40&&(I+=40),P?.video?u.createElement(Bn,{key:P.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:S,unActicveIcon:(T=e?.unlikeIcon)!==null&&T!==void 0?T:v,position:V,active:P.isCollected,recData:P,className:"clc-sxp-like-button",style:{top:I,right:(R=e?.likeIconX)!==null&&R!==void 0?R:0}}):null},h=Lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),w=Lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),C=(P,V)=>{var j,x,T,R;return u.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},p,u.createElement(qo,{tagList:r}),u.createElement(nn,{style:{position:"absolute",right:(j=e?.muteIconX)!==null&&j!==void 0?j:0,visibility:!((T=(x=t?.[V])===null||x===void 0?void 0:x.video)===null||T===void 0)&&T.url?"visible":"hidden",bottom:(R=e?.muteIconY)!==null&&R!==void 0?R:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:w}),f(P,V),m(P,V),g(P,V))};return u.createElement("div",{className:ze({width:"100%",height:d,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((P,V)=>C(P,V)))};var $d=je(Qd);const ec=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o,swiperRef:a,data:d=[],loopPlay:s})=>{const{isActive:c}=Li(),[r,A]=Z(!1);ce(()=>{c&&r&&s&&setTimeout(()=>{var p,b,m,S;if(o===d?.length-1)(p=a?.current)===null||p===void 0||p.swiper.slideTo(0);else{const v=(m=(b=a?.current)===null||b===void 0?void 0:b.swiper)===null||m===void 0?void 0:m.activeIndex;(S=a?.current)===null||S===void 0||S.swiper.slideTo(v+1)}},3e3)},[c,r,d,o,a,s]);const f=()=>{A(!0)};return u.createElement(ei,{defaultValue:0,direction:"horizontal",modules:[ji,Ni],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",bulletElement:"button"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(p=>u.createElement(zt,{key:p},u.createElement(Fn,{src:p,height:i,imgUrlsPostConfig:n,onShowFirstImage:f}))))};var tc=je(ec);const ic=vi(({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:d,swiperRef:s,videoPlayIcon:c,onUpdateTimeLine:r,loopPlay:A,onPlay:f,onPause:p},b)=>{const{isActive:m}=Li(),[S,v]=Z(!1),g=fe(null),{bffEventReport:h,sxpParameter:w,waterFallData:C,openHashtag:P}=Ge();fe(0);const[V,j]=Z(!1);Z(!0),fe(null),Z("");const x=`pb-cache-video-${e}`,T=fe(null),R=fe(A),I=t.video.scene;ce(()=>{R.current=A},[A]),Ci(b,()=>({play(){var M;g.current&&(D(),(M=g.current)===null||M===void 0||M.play(),v(!1))},pause(){var M;g.current&&((M=g.current)===null||M===void 0||M.pause(),v(!0))},setLoopPlay(M){R.current=M},isPlaying(){var M;return!(!((M=g?.current)===null||M===void 0)&&M.paused)}})),ce(()=>{g.current&&(g.current.muted=l)},[l]);const N=Lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),E=de(()=>{var M;g.current.currentTime=I?.startTime,(M=g?.current)===null||M===void 0||M.play(),j(!0)},[]),y=de(M=>()=>{var X,U,q,$,be,ue;if(!m||!g?.current||!V)return;const J=(X=g.current)===null||X===void 0?void 0:X.paused;switch(M){case"start":if(!J)return;(U=g.current)===null||U===void 0||U.play(),v(!1);break;case"pause":if(J)return;(q=g.current)===null||q===void 0||q.pause(),v(!0);break;default:J?((($=g?.current)===null||$===void 0?void 0:$.currentTime)>=I?.endTime&&(g.current.currentTime=I?.startTime),(be=g.current)===null||be===void 0||be.play()):(ue=g.current)===null||ue===void 0||ue.pause(),v(!J);break}},[V]),F=we(()=>a?.mode==="2",[a]),D=()=>{g.current&&setTimeout(()=>{var M,X,U,q,$,be,ue,J,Pe;if(((M=g?.current)===null||M===void 0?void 0:M.currentTime)>=((X=I?.endTime)!==null&&X!==void 0?X:0)){if((U=g.current)===null||U===void 0||U.pause(),!R.current)return;if(e===n?.length-1)($=(q=s?.current)===null||q===void 0?void 0:q.swiper)===null||$===void 0||$.slideTo(0);else{const De=(ue=(be=s?.current)===null||be===void 0?void 0:be.swiper)===null||ue===void 0?void 0:ue.activeIndex;(Pe=(J=s?.current)===null||J===void 0?void 0:J.swiper)===null||Pe===void 0||Pe.slideTo(De+1)}}})},B=()=>{v(!0),p?.()},O=()=>{var M;const X=((M=g?.current)===null||M===void 0?void 0:M.currentTime)-I?.startTime;f?.(e,X)};ce(()=>{var M,X,U,q;if(!m)return;const $=I?.mediaUrl;if(!$)return;v(!1);const be=document.querySelector(`#${x}`);if(!be||(g.current=Ti?.(be),!g?.current))return;const ue=window?.Hls;let J=T?.current;return $.includes(".m3u8")&&ue&&ue.isSupported()?(J=new ue,J?.loadSource($),J?.attachMedia(g?.current),J?.on(ue.Events.MANIFEST_PARSED,function(){var Pe;g.current.currentTime=I?.startTime,(Pe=g?.current)===null||Pe===void 0||Pe.play()})):g.current.src=$,(M=g.current)===null||M===void 0||M.addEventListener("loadedmetadata",E),(X=g?.current)===null||X===void 0||X.addEventListener("pause",B),(U=g?.current)===null||U===void 0||U.addEventListener("play",O),(q=g.current)===null||q===void 0||q.addEventListener("timeupdate",D),()=>{var Pe,De,Xe,me,ve;T?.current&&((Pe=T?.current)===null||Pe===void 0||Pe.destroy()),j(!1),(De=g.current)===null||De===void 0||De.removeEventListener("loadedmetadata",E),(Xe=g.current)===null||Xe===void 0||Xe.removeEventListener("pause",B),(me=g.current)===null||me===void 0||me.removeEventListener("play",O),(ve=g.current)===null||ve===void 0||ve.removeEventListener("timeupdate",D)}},[m]);const k=we(()=>{var M;return!w?.placeholder_image||V?null:u.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:((M=t?.video)===null||M===void 0?void 0:M.cover)||w?.placeholder_image,alt:"video poster"})},[V,w?.placeholder_image]);return we(()=>F?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[F]),I?.mediaUrl?u.createElement("div",{className:"video-container",key:I.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:y()},u.createElement("div",{className:"n-full-screen",id:x,style:{width:"100%",height:"100%"}}),k,S&&u.createElement(Mt,{className:"clc-pb-video-pause",src:c??N,alt:"pause"})):null});var nc=je(ic);const on={};Object.values(tn).forEach(t=>{on[t.extend.type]=t});const oc="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",lc="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ac=vi(({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:d=664,containerWidth:s=375,appDomain:c,tagList:r=[],onActiveChange:A,activeIndex:f,loopPlay:p=!1,pointerEvents:b="none",onUpdateTimeLine:m,disabledListener:S,onPlay:v,onPause:g},h)=>{const w=fe(null),C=fe(null),[P,V]=Z(0);we(()=>{let O=0;return e?.logoUrl&&e?.isShowLogo&&(O+=45),r.length>0&&(O+=45),d-O},[e,d,r]),Ci(h,()=>({play(){var O;(O=w?.current)===null||O===void 0||O.play()},pause(){var O;(O=w?.current)===null||O===void 0||O.pause()},slideTo(O){var k,M;C?.current&&((M=(k=C?.current)===null||k===void 0?void 0:k.swiper)===null||M===void 0||M.slideTo(O))},isPlaying(){var O,k;return(k=(O=w?.current)===null||O===void 0?void 0:O.isPlaying())!==null&&k!==void 0?k:!1}}));const j=O=>{if(O&&O!==""&&typeof O=="string"){const k=[".mp4",".m3u8"],M=O?.toLowerCase();return k.some(X=>M?.endsWith(X))}else return!1},x=(O,k)=>{var M,X;const U=(M=O?.video)===null||M===void 0?void 0:M.scene;return j(U?.mediaUrl)?u.createElement(nc,Object.assign({key:k},P===k&&{ref:w},{rec:O,index:k,muted:!0,width:s,data:t,height:d,activeIndex:k,videoPostConfig:e?.videoPost,videoPlayIcon:e?.videoPlayIcon,swiperRef:C,loopPlay:p,onUpdateTimeLine:m,onPlay:v,onPause:g})):u.createElement(tc,{key:k,imgUrls:[(X=U?.mediaUrl)!==null&&X!==void 0?X:""],width:s,height:d,rec:O,index:k,imgUrlsPostConfig:e?.imgUrlsPost,data:t,swiperRef:C})};we(()=>e?.logoUrl&&e?.isShowLogo?u.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},u.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]);const T=(O,k)=>{var M,X,U,q;return O?.video?u.createElement(u.Fragment,null,((M=O?.video)===null||M===void 0?void 0:M.title)&&u.createElement("div",{style:{background:"repeating-linear-gradient(0deg, rgba(26, 26, 25, 0.7), hsla(0, 0%, 100%, 0))",height:"130px",position:"absolute",bottom:0,width:"100%",willChange:"transform",zIndex:2,pointerEvents:b}}),u.createElement("div",{style:{marginBottom:`${(X=e?.bottomInfoDist)!==null&&X!==void 0?X:40}px`,zIndex:999,position:"absolute",bottom:0,left:0,right:0,paddingTop:"20px"}},e?.isShowCTA===void 0||e?.isShowCTA?u.createElement("div",{style:{}},u.createElement(Qt,{rec:O,index:k,tempMap:l,resolver:on,isActive:k===f})):null,u.createElement("div",null,u.createElement(Di,{isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(q=(U=O?.video)===null||U===void 0?void 0:U.title)!==null&&q!==void 0?q:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none",padding:"0 20px",fontSize:"12px"})}),u.createElement(Qt,{rec:O,index:k,tempMap:l,resolver:on,includesCtaType:["AniLink"],isActive:k===f}))),u.createElement(Qt,{rec:O,index:k,tempMap:l,resolver:on,includesCtaType:["AniLinkPopup"],isActive:k===f})):null},R=Lt(lc,c),I=Lt(oc,c),N=(O,k)=>{var M,X,U,q;if(!e?.isShowLike)return null;let $=(M=e?.likeIconY)!==null&&M!==void 0?M:400;return $<40&&($+=40),O?.video?u.createElement(Bn,{key:O.position,activeIcon:(X=e?.likeIcon)!==null&&X!==void 0?X:R,unActicveIcon:(U=e?.unlikeIcon)!==null&&U!==void 0?U:I,position:k,active:O.isCollected,recData:O,style:{top:$,right:(q=e?.likeIconX)!==null&&q!==void 0?q:0,position:"absolute",zIndex:999,backgroundColor:"transparent",width:"50px",height:"50px",outline:"none",border:"none",boxSizing:"content-box",padding:0,transform:"translate3d(0px, 0px, 0px)"}}):null},E=Lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),y=Lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),F=O=>{var k,M,X,U;if(!O)return null;let q=(k=e?.muteIconY)!==null&&k!==void 0?k:23;return e?.muteIconYPosit==="top"&&(q+=45),e?.isShowMute===void 0||e?.isShowMute===!0?u.createElement(nn,{style:{position:"absolute",visibility:"visible",zIndex:999,transform:"translate3d(0px,0px,0px)",[(M=e?.muteIconXPosit)!==null&&M!==void 0?M:"right"]:(X=e?.muteIconX)!==null&&X!==void 0?X:0,[(U=e?.muteIconYPosit)!==null&&U!==void 0?U:"bottom"]:q,backgroundColor:"transparent",width:"50px",height:"50px",outline:"none",border:"none",boxSizing:"content-box",padding:0},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:E,unactiveIcon:e?.muteIcon?e?.muteIcon:y}):null},D=(O,k)=>{var M,X,U,q;return u.createElement("div",{style:{position:"relative"}},u.createElement(zt,{key:k,virtualIndex:k,style:{overflow:"hidden",position:"relative"}},T(O,k),N(O,k),F(!e?.muteIconFixed),u.createElement(nn,{style:{position:"absolute",right:(M=e?.muteIconX)!==null&&M!==void 0?M:0,visibility:!((U=(X=t?.[k])===null||X===void 0?void 0:X.video)===null||U===void 0)&&U.url?"visible":"hidden",bottom:(q=e?.muteIconY)!==null&&q!==void 0?q:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:E,unactiveIcon:e?.muteIcon?e?.muteIcon:y}),x(O,k)))};ce(()=>{var O,k;C?.current&&((k=(O=C?.current)===null||O===void 0?void 0:O.swiper)===null||k===void 0||k.slideTo(f))},[f]);const B=de(Ei(()=>{var O;(O=w.current)===null||O===void 0||O.setLoopPlay(!1)},1e3),[]);return ce(()=>{if(S)return;const O=["touchstart","touchcancel"];return O.forEach(k=>{window.addEventListener(k,B)}),()=>{O.forEach(k=>{window.removeEventListener(k,B)})}},[B,S]),u.createElement("div",{id:"sxp-render",style:{height:d,position:"relative",pointerEvents:b}},u.createElement(ei,{ref:C,allowTouchMove:b!=="none",onSlideChange:()=>{C.current.swiper.allowTouchMove=!1,setTimeout(()=>{C.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:O=>{V(O?.activeIndex),A?.(O.activeIndex)},direction:"vertical",style:{overflow:"hidden",height:d},height:d},t?.map((O,k)=>D(O,k))))});var sc=je(ac);const rc=()=>{const{schema:t,resolver:e,popup:i}=ai(),{setPopupDetailData:n,popupDetailData:l,popupCurTimeRef:o,checkCommodityIndexRef:a}=Ge(),{productView:d}=Vt(),[s,c]=Z();ce(()=>{const p=()=>{o.current=new Date};return p(),window.addEventListener("pageshow",p),()=>{window.removeEventListener("pageshow",p)}},[]),ce(()=>{i&&i?.id&&i?.id!==""&&(o.current=new Date,c(i))},[i]);const r=we(()=>{var p,b,m,S;const v=(m=(b=(p=t?.sxpPageConf)===null||p===void 0?void 0:p.globalConfig)===null||b===void 0?void 0:b.popupList)===null||m===void 0?void 0:m.find((g,h)=>{if(g?.id===i?.id)return g});return v!==-1&&((S=v?.item)===null||S===void 0?void 0:S.type)==="Iframe"},[i,t]),A=()=>{var p,b,m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E;if(!i||i?.id===""||!s||new Date-o.current<((p=i?.duration)!==null&&p!==void 0?p:0))return;c(Object.assign(Object.assign({},i),{id:""}));const y=(S=(m=(b=t?.sxpPageConf)===null||b===void 0?void 0:b.globalConfig)===null||m===void 0?void 0:m.popupList)===null||S===void 0?void 0:S.find(F=>F?.id===i?.id);if(((v=y?.item)===null||v===void 0?void 0:v.type)==="CommodityDetail"||((g=y?.item)===null||g===void 0?void 0:g.type)==="CommodityDetailDiroNew"){const F=l;let D=(w=(h=F?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&w!==void 0?w:(P=(C=F?.video)===null||C===void 0?void 0:C.bindProducts)===null||P===void 0?void 0:P[0],B=(x=(j=(V=F?.video)===null||V===void 0?void 0:V.bindProduct)===null||j===void 0?void 0:j.bindCta)!==null&&x!==void 0?x:(I=(R=(T=F?.video)===null||T===void 0?void 0:T.bindProducts)===null||R===void 0?void 0:R[0])===null||I===void 0?void 0:I.bindCta;if(a?.current>=0){const O=(E=(N=F?.video)===null||N===void 0?void 0:N.bindProducts)===null||E===void 0?void 0:E[a?.current];O&&(D=O,B=O?.bindCta)}D&&B&&d(F,D,B,o.current,l?.index)}setTimeout(()=>{window?.sxpPopup(""),n?.(null),a.current=-1},i?.duration)},f=we(()=>{var p,b,m;return(m=(b=(p=t?.sxpPageConf)===null||p===void 0?void 0:p.globalConfig)===null||b===void 0?void 0:b.popupList)===null||m===void 0?void 0:m.map((S,v)=>{var g,h,w,C,P,V,j,x,T,R,I,N,E,y;if(S?.id===i?.id){const F=e[(g=S?.item)===null||g===void 0?void 0:g.type],D=Fi(F),B=((C=(w=(h=S?.item)===null||h===void 0?void 0:h.event)===null||w===void 0?void 0:w.onClick)===null||C===void 0?void 0:C.linkType)==="externalLink",O=((j=(V=(P=S?.item)===null||P===void 0?void 0:P.event)===null||V===void 0?void 0:V.onClick)===null||j===void 0?void 0:j.linkType)==="popup",k=(x=F?.extend)===null||x===void 0?void 0:x.defaulSetting;return u.createElement(D,Object.assign({key:v,style:Object.assign(Object.assign(Object.assign({},k?.style),(T=S?.item)===null||T===void 0?void 0:T.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},k?.textStyle),(R=S?.item)===null||R===void 0?void 0:R.textStyle),bindDatas:(N=(I=S?.item)===null||I===void 0?void 0:I.bindDatas)!==null&&N!==void 0?N:[]},k?.props,(E=S?.item)===null||E===void 0?void 0:E.props,{event:((y=S?.item)===null||y===void 0?void 0:y.event)||{},schema:t,id:S?.id,isExternalLink:B,isPopup:O,onClose:A}))}else return u.createElement(u.Fragment,null)})},[t,i,e,A]);return u.createElement(Si,{popup:s,onClose:A,padding:0,modalStyle:{position:"fixed"},isFullScreen:r},f)},Wn={};Object.values(tn).forEach(t=>{Wn[t.extend.type]=t});const dc=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:o,enabledMetaConversionApi:a,dataList:d})=>{var s,c,r,A,f,p,b;const m=((s=t?.page_type)===null||s===void 0?void 0:s.path_type)===5,S=we(()=>{var C;return location?.search?(C=location?.search)===null||C===void 0?void 0:C.replace("?",""):""},[]),[v,g]=Z(t?.data),[h,w]=Z();return u.createElement(uo,{resolver:Wn,enableDataSource:!1,schema:v,utmVal:h||S},u.createElement(ao,{utmVal:S,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(r=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.personalized_recommend)!==null&&r!==void 0?r:e,defaultSize:(f=(A=t?.sxp_parameter)===null||A===void 0?void 0:A.default_recommend)!==null&&f!==void 0?f:i,hashTagSize:(b=(p=t?.sxp_parameter)===null||p===void 0?void 0:p.hash_tag_size)!==null&&b!==void 0?b:n,loadingImage:l,appDomain:o,enabledMetaConversionApi:a,utmParameter:t?.utm_parameter,data:t,dataList:d,isDiyH5:m,onUpdateSchema:C=>g(C),onUpdateChannel:C=>w(C),render:({rtcList:C,tagList:P,pageData:V})=>{var j;return u.createElement(u.Fragment,null,u.createElement(Go,Object.assign({defaultData:t},(j=V?.data)===null||j===void 0?void 0:j.sxpPageConf,{tagList:P,data:C,resolver:Wn})),u.createElement(rc,null))}}))};var cc=je(dc);export{$d as DiyPortalPreview,sc as DiyStoryPreview,hd as EditorDataProvider,Si as Modal,ao as SxpDataSourceProvider,cc as SxpPageCore,Go as SxpPageRender,wl as core,sl as default,tn as materials,Bi as useEditorDataProvider};
|
|
17
|
+
}`)(a,h)}catch{}},[a]),m=de(g=>{const h=b(g),w=h?.value;w&&(h?.linkType==="recommendFlow"?(c?.(w),s.current=new Date):new Function(w)())},[a]),S=de(()=>{r.current=new Date,d?.({eventInfo:{eventSubject:"startMultiPost",eventDescription:"startMultiPost",contentFormat:"image",position:"0",traceInfo:p}})},[]),v=de(g=>{s.current=new Date,d?.({eventInfo:{eventSubject:"endMultiPost",eventDescription:"endMultiPost",contentFormat:"image",position:"0",traceInfo:p,nextStep:g||"others",timeOnSite:Math.floor((new Date-r?.current)/1e3)+""}})},[]);return ce(()=>{A?(S(),f.current=!0):f.current&&v()},[A]),ce(()=>{if(!A)return;const g=()=>S(),h=()=>v();return Ct.on(xt.PAGE_DID_SHOW,g),Ct.on(xt.PAGE_DID_HIDE,h),()=>{Ct.off(xt.PAGE_DID_SHOW,g),Ct.off(xt.PAGE_DID_HIDE,h)}},[A]),u.createElement("div",{className:"multiposts",style:Object.assign(Object.assign({},l),vs(n))},Array.from({length:4},(g,h)=>u.createElement("button",{hidden:!b(h,"Url"),className:"multiposts-btn",role:"button","aria-label":`multiposts-${h+1}`,onClick:()=>m(h)},u.createElement("img",{className:"multiposts-btn-img",src:b(h,"Url"),alt:`multiposts-img-${h+1}`}))))};var Rn=je(Id),kd=[{title:"\u6309\u94AE1\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button1",isMultiPosts:!0}]},{title:"\u6309\u94AE2\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button2",isMultiPosts:!0}]},{title:"\u6309\u94AE3\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button3",isMultiPosts:!0}]},{title:"\u6309\u94AE4\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"button4",isMultiPosts:!0}]}];const Cd=yt(Rn,{displayName:"MultiPosts",icon:"",category:"base",type:"MultiPosts",related:{settingRender:Ed,interactionRender:kd},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var tn=Object.freeze({__proto__:null,AniLink:ed,AniLinkPopup:ad,Appoint:_s,AppointForm:Cl,Click:gd,Commodity:Xs,CommodityDetail:fs,CommodityDetailDiroNew:Es,CommodityDiro:or,CommodityDiroNew:dr,CommodityList:Ls,Consent:Zr,ConsentDetail:Bs,Display:pd,HashTag:Yr,Iframe:Ds,Link:$s,MultiCommodity:gr,MultiCommodityDiro:mr,MultiCommodityDiroNew:Tr,MultiPosts:Cd,NineCommodity:Cr,Prompt:ys,Swipe:Td});const Pd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Od="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ld=t=>{var e,{active:i,activeIcon:n,unActicveIcon:l,recData:o,position:a}=t,d=rt(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:c,bffEventReport:r,setCacheRtcList:A,cacheRtcList:f}=Ge(),[p,b]=Z((e=f?.[a])===null||e===void 0?void 0:e.isCollected),m=Lt(Od),S=Lt(Pd),v=Ei(()=>mt(void 0,void 0,void 0,function*(){var g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U;if(p){b(!1);const q=(w=yield c?.({videoItemId:(h=(g=o?.video)===null||g===void 0?void 0:g.itemId)!==null&&h!==void 0?h:""}))!==null&&w!==void 0?w:!1;if(r?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(P=(C=o?.video)===null||C===void 0?void 0:C.itemId)!==null&&P!==void 0?P:"",contentName:(j=(V=o?.video)===null||V===void 0?void 0:V.title)!==null&&j!==void 0?j:"",contentTags:JSON.stringify((T=(x=o?.video)===null||x===void 0?void 0:x.tags)!==null&&T!==void 0?T:[]),position:a+"",contentFormat:!((R=o?.video)===null||R===void 0)&&R.url?"video":"image",traceInfo:(I=o?.video)===null||I===void 0?void 0:I.traceInfo}}),!q)b(!0);else{const $=(N=f?.map((be,ue)=>(ue===a&&(be.isCollected=!1),be)))!==null&&N!==void 0?N:[];A?.($)}}else{b(!0);const q=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;if(r?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(F=(y=o?.video)===null||y===void 0?void 0:y.itemId)!==null&&F!==void 0?F:"",contentName:(B=(D=o?.video)===null||D===void 0?void 0:D.title)!==null&&B!==void 0?B:"",contentTags:JSON.stringify((k=(O=o?.video)===null||O===void 0?void 0:O.tags)!==null&&k!==void 0?k:[]),position:a+"",contentFormat:!((M=o?.video)===null||M===void 0)&&M.url?"video":"image",traceInfo:(X=o?.video)===null||X===void 0?void 0:X.traceInfo}}),!q)b(!1);else{const $=(U=f?.map((be,ue)=>(ue===a&&(be.isCollected=!0),be)))!==null&&U!==void 0?U:[];A?.($)}}}),200);return u.createElement("button",Object.assign({},d,{"aria-label":"like",onClick:v}),u.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:p?n||m:l||S,alt:"icon"}))};var Bn=je(Ld),jd="data:image/gif;base64,R0lGODlhlgCWAPf/AAAAAICAgMzMzMzMzNXV1dXV1dXV1dfX19jOztjY2NvOztvb29zc3N/Pz9/V1d/f3+Pj4+bm5ubm5ujR0ejg4Ojo6Onp6erj4+rj4+rl5evr6+vr6+3k5O3t7e3t7e7u7u7u7u/v7/Dw8PDw8PHx8fHx8fHx8fLs7PLu7vLu7vLy8vPu7vPz8/Tp6fTx8fTx8fT09PT09PT09PXw8Pbx8fbz8/b29vb29vb29vb29vb29vf09Pf39/f39/f39/f39/f39/f39/f39/f39/f39/j09Pj09Pj19fj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pn29vn39/n5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fr09Pr4+Pr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vv39/v39/v4+Pv5+fv5+fv6+vv7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/z4+Pz5+fz5+fz5+fz6+vz6+vz6+vz6+vz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/P36+v36+v36+v37+/37+/37+/37+/38/P38/P38/P38/P39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f78/P78/P78/P78/P7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v/V1f/39//4+P/6+v/7+//8/P/8/P/9/f/9/f/9/f/9/f/+/v/+/v/+/v/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wD/ACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAwBLACxFABcADwAMAIYAAACAgIDMzMzV1dXX19fYzs7Y2Njbzs7b29vc3Nzfz8/f1dXf39/j4+Pm5ubo0dHo4ODo6Ojp6enq4+Pq5eXr6+vt5OTt7e3u7u7v7+/w8PDx8fHy7Ozy7u7y8vLz7u7z8/P06en08fH09PT18PD28fH28/P29vb39PT39/f49PT49fX4+Pj59vb59/f5+fn69PT6+Pj6+vr79/f7+Pj7+fn7+vr7+/v8+Pj8+fn8+vr8/Pz9+vr9+/v9/Pz9/f3+/Pz+/v7/1dX/9/f/+Pj/+vr/+/v//Pz//f3//v7///8A/wD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8IUgCXCNzxI8gOJQV3CFy4RIkMJTccQnQYZCGShAgNZiS45MfDiB8lglzSQyPGk0FCqpwY8iBKlyZFyly5xKRNmAJrzGQJcWFJmDB1MBQ4MwnDgAAAIfkECQQA/wAsRwAXAA8ADAAACFMA/wkslAhcqWKJsLkRyPAfODfgujyM+LAYQ4QGMR4sWGrhRIkQQVJcyFGjyYJrRqoU2aXYxowlS7L8SBNiIZg4XwqcGfIjw5g5G/6zUROcDYYBAQAh+QQJAwD/ACxIABcAEAAMAAAIWwD/CfzXqVSxRNgSlRrIEAm4LuDcPIz4sBNDcAYTYTy4MVEigRMlQhRJsYvAjB1TGuxio6RLkhJDaURJk+PCkDhHTvxXc6bNgzxh5ow40E3Pjm4Y/lszNKnAgAAAIfkECQMA/wAsSgAXABEADQAACGUA/wn856YLtkSlBioceAScG3BdHEJ0uLBLsUTgSl3MuLFUooESIz4UOfHhvzYYNabs2PFflJIwSUZcU0olx5U4SyEJyXNkyH84bwotFepfzJ4TB7I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AP8JHDjQTbFOxRIVIjgQCbgu4Nw8jPiQG8NE4EolzLhRI8aCEyVCFEkR4r9CHDF6TJnyX8iXI1+WWkmzY0eHJHPCBPdPpU2fQF3GHFoyokCDQFl6dAOSKMk1DAXaZBr1X0AAIfkECQMA/wAsPgAXABAADQAACFkA/wkU6KZYp2KJwHVyM1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/IcEJMWFAQEAOw==";const Ti=(()=>{if(typeof document>"u")return;const t=document.createElement("div"),e=$o.render(u.createElement("video",{id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",preload:"auto",controls:!1,muted:!0,style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),t);return i=>i?(i.innerHTML="",i.appendChild(e),document.querySelector("#player-container-id")):void 0})(),Nd=vi(({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,videoPlayIcon:d,loopPlay:s,swiperRef:c,visibleHeight:r},A)=>{var f,p;const[b,m]=Z(!1),{bffEventReport:S,sxpParameter:v,waterFallData:g,openHashtag:h,bffFbReport:w,isDiyH5:C}=Ge(),P=fe(0),[V,j]=Z(!1),{isActive:x}=Li(),T=fe(null),[R,I]=Z(""),[N,E]=Z(!1),y=fe(),F=`pb-cache-video-${e}`,D=fe(null),B=fe(null),O=fe(),k=fe(),M=fe(!0),X=fe(s),U=t.video.scene,q=U?.mediaUrl||((f=t?.video)===null||f===void 0?void 0:f.url),$=U?.mediaUrl?U?.cover:(p=t?.video)===null||p===void 0?void 0:p.cover,be=$||v?.placeholder_image;Ci(A,()=>({setLoopPlay(K){X.current=K}})),ce(()=>{X.current=s},[s]);const ue=we(()=>a?.mode==="2",[a]),J=we(()=>{var K;return a?.mode==="2"?`translateY(-${50+((K=a?.offsetTop)!==null&&K!==void 0?K:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),Pe=we(()=>$||R,[R,t]),De=we(()=>ue?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[ue]),Xe=we(()=>a?.bgWay==="1",[a]),me=we(()=>Xe&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,Xe]);ce(()=>{y?.current&&(y.current.muted=l)},[l,y?.current]);const ve=de(()=>{var K;y?.current&&((K=y?.current)===null||K===void 0||K.play())},[y?.current]),et=Lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),_e=de(()=>{y?.current&&(E(!1),j(!0))},[]),Ze=de(()=>mt(void 0,void 0,void 0,function*(){var K,te,_,ae,Ie,Ee,ee,W,We,lt,it,ct,nt;if(!y?.current)return;m(!1);const Ue=n[e];if(Ue&&(!((K=y?.current)===null||K===void 0)&&K.duration)){P.current=((te=y?.current)===null||te===void 0?void 0:te.currentTime)||0;const at=((ae=(_=y?.current)===null||_===void 0?void 0:_.duration)!==null&&ae!==void 0?ae:0).toFixed(2),ht=((Ee=(Ie=y?.current)===null||Ie===void 0?void 0:Ie.currentTime)!==null&&Ee!==void 0?Ee:0).toFixed(2),St=M?.current?"0":"1";S?.({eventInfo:Object.assign({eventSubject:"playVideo",eventDescription:"User played the video",contentId:(W=(ee=Ue?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&W!==void 0?W:"",contentName:(lt=(We=Ue?.video)===null||We===void 0?void 0:We.title)!==null&<!==void 0?lt:"",playType:St,startTime:ht,videoDuration:at,contentTags:JSON.stringify((ct=(it=Ue?.video)===null||it===void 0?void 0:it.tags)!==null&&ct!==void 0?ct:[]),position:e+"",contentFormat:"video",traceInfo:(nt=Ue?.video)===null||nt===void 0?void 0:nt.traceInfo},M?.current&&{loadTime:k?.current-O?.current+""})}),M.current=!1}}),[S,n,e,M,y?.current]),$e=de(()=>{C&&(y.current.currentTime=U?.startTime)},[]),dt=de(()=>{if(!y?.current||R||!ue||(y.current.style.objectFit="contain",$||!T||!T.current||Xe))return;const K=()=>{const te=T?.current,_=te.getContext("2d"),ae=window?.innerWidth,Ie=r||window?.innerHeight;te.height=Ie,te.width=ae,_?.drawImage(y.current,0,0,te.width,te.height),I(te.toDataURL())};K(),setTimeout(()=>{K()},500)},[y.current,Xe,t,R,ue,r]),tt=de(()=>{y.current&&($e(),k.current=new Date,Ze(),dt())},[y.current,dt,Ze]),Le=de(K=>()=>{var te,_,ae,Ie,Ee,ee;if(!y.current||!V)return;const W=(te=y?.current)===null||te===void 0?void 0:te.paused;switch(K){case"start":if(!W)return;(_=y?.current)===null||_===void 0||_.play(),m(!1);break;case"pause":if(W)return;(ae=y?.current)===null||ae===void 0||ae.pause(),m(!0);break;default:W?(C&&Math.round((Ie=y?.current)===null||Ie===void 0?void 0:Ie.currentTime)>=U?.endTime&&(y.current.currentTime=U?.startTime),(Ee=y?.current)===null||Ee===void 0||Ee.play()):(ee=y?.current)===null||ee===void 0||ee.pause(),m(!W);break}},[V,y?.current]),ot=de(()=>{var K,te,_,ae,Ie,Ee,ee,W,We,lt,it,ct,nt;if(!y?.current||o!==e)return;m(!0);const Ue=n[e],at=((te=(K=y?.current)===null||K===void 0?void 0:K.duration)!==null&&te!==void 0?te:0).toFixed(2),ht=((ae=(_=y?.current)===null||_===void 0?void 0:_.currentTime)!==null&&ae!==void 0?ae:0).toFixed(2);if(!((Ie=y?.current)===null||Ie===void 0)&&Ie.duration){const St=(((Ee=y?.current)===null||Ee===void 0?void 0:Ee.currentTime)-P.current).toFixed(2);S?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(W=(ee=Ue?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&W!==void 0?W:"",contentName:(lt=(We=Ue?.video)===null||We===void 0?void 0:We.title)!==null&<!==void 0?lt:"",endTime:ht,videoDuration:at,playDuration:St,contentTags:JSON.stringify((ct=(it=Ue?.video)===null||it===void 0?void 0:it.tags)!==null&&ct!==void 0?ct:[]),position:e+"",contentFormat:"video",traceInfo:(nt=Ue?.video)===null||nt===void 0?void 0:nt.traceInfo}})}},[n,e,S,y?.current,o]),Pt=de(()=>{E(!0)},[]),He=()=>{!y.current||!C||setTimeout(()=>{var K,te,_,ae,Ie,Ee,ee,W,We;if(Math.round((K=y?.current)===null||K===void 0?void 0:K.currentTime)>=((te=U?.endTime)!==null&&te!==void 0?te:0)){if((_=y.current)===null||_===void 0||_.pause(),!X.current)return;if(e===n?.length-1)(Ie=(ae=c?.current)===null||ae===void 0?void 0:ae.swiper)===null||Ie===void 0||Ie.slideTo(0);else{const lt=(ee=(Ee=c?.current)===null||Ee===void 0?void 0:Ee.swiper)===null||ee===void 0?void 0:ee.activeIndex;(We=(W=c?.current)===null||W===void 0?void 0:W.swiper)===null||We===void 0||We.slideTo(lt+1)}}})};ce(()=>{var K,te,_,ae,Ie,Ee,ee,W,We,lt,it;if(!x)return;const ct=q;if(!ct)return;const nt=document.querySelector(`#${F}`);if(!nt||(y.current=Ti?.(nt),!y?.current))return;O.current=new Date;const Ue=window?.Hls;let at=B?.current;return ct.includes(".m3u8")&&Ue&&Ue.isSupported()?(at=new Ue,at?.loadSource(ct),at?.attachMedia(y?.current),at?.on(Ue.Events.MANIFEST_PARSED,function(){var ht;$e(),(ht=y?.current)===null||ht===void 0||ht.play()})):y.current.src=ct,(K=y?.current)===null||K===void 0||K.setAttribute("x5-playsinline","true"),(te=y?.current)===null||te===void 0||te.setAttribute("webkit-playsinline","true"),(_=y?.current)===null||_===void 0||_.addEventListener("loadedmetadata",tt),(ae=y?.current)===null||ae===void 0||ae.addEventListener("loadeddata",dt),(Ie=y?.current)===null||Ie===void 0||Ie.addEventListener("play",Ze),(Ee=y?.current)===null||Ee===void 0||Ee.addEventListener("playing",_e),(ee=y?.current)===null||ee===void 0||ee.addEventListener("pause",ot),(W=y?.current)===null||W===void 0||W.addEventListener("ended",ve),(We=y?.current)===null||We===void 0||We.addEventListener("canplay",ve),(lt=y?.current)===null||lt===void 0||lt.addEventListener("waiting",Pt),(it=y.current)===null||it===void 0||it.addEventListener("timeupdate",He),()=>{var ht,St,Yt,Rt,Et,It,Kt,Tt,Ke,Oe,ge;((ht=y?.current)===null||ht===void 0?void 0:ht.paused)||ot(),B?.current&&((St=B?.current)===null||St===void 0||St.destroy()),j(!1),(Yt=y?.current)===null||Yt===void 0||Yt.removeEventListener("loadedmetadata",tt),(Rt=y?.current)===null||Rt===void 0||Rt.removeEventListener("loadeddata",dt),(Et=y?.current)===null||Et===void 0||Et.removeEventListener("play",Ze),(It=y?.current)===null||It===void 0||It.removeEventListener("playing",_e),(Kt=y?.current)===null||Kt===void 0||Kt.removeEventListener("pause",ot),(Tt=y?.current)===null||Tt===void 0||Tt.removeEventListener("ended",ve),(Ke=y?.current)===null||Ke===void 0||Ke.removeEventListener("canplay",ve),(Oe=y?.current)===null||Oe===void 0||Oe.removeEventListener("waiting",Pt),(ge=y.current)===null||ge===void 0||ge.removeEventListener("timeupdate",He)}},[x]),ce(()=>{var K,te,_,ae,Ie,Ee;!y?.current||!V||(x?(w?.({eventName:"ViewContent",product:(te=(K=n?.[e])===null||K===void 0?void 0:K.video)===null||te===void 0?void 0:te.bindProduct}),w?.({eventName:"PageView",product:(ae=(_=n?.[e])===null||_===void 0?void 0:_.video)===null||ae===void 0?void 0:ae.bindProduct}),(Ie=y?.current)===null||Ie===void 0||Ie.play()):(Ee=y?.current)===null||Ee===void 0||Ee.pause())},[x,V,y?.current]),ce(()=>{var K,te,_;if(!x||!y?.current)return;!((K=y?.current)===null||K===void 0?void 0:K.paused)&&h?(te=y?.current)===null||te===void 0||te.pause():h||(_=y?.current)===null||_===void 0||_.play()},[h,x,y?.current]),ce(()=>{if(!x)return;const K=()=>{Le("start")()},te=Le("pause");return Ct.on(xt.PAGE_DID_SHOW,K),Ct.on(xt.PAGE_DID_HIDE,te),()=>{Ct.off(xt.PAGE_DID_SHOW,K),Ct.off(xt.PAGE_DID_HIDE,te)}},[Le,x]);const qe=we(()=>!be||V?null:u.createElement(Mt,{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:be,alt:"placeholder image"}),[V]),Ye=we(()=>{if(!(!N||!V))return u.createElement("img",{style:{position:"absolute",top:"50%",left:0,right:0,transform:"translateY(-100%)",margin:"auto",width:"50px",height:"50px",objectFit:"contain"},src:jd,alt:"placeholder image"})},[N,V]);return ce(()=>{if(!y?.current)return;const K=()=>{o===e&&q&&y?.current&&!b&&Le("pause")()};return window.addEventListener("beforeunload",K),()=>{window.removeEventListener("beforeunload",K)}},[o,e,t,y?.current,Le,b]),t?.video?u.createElement(u.Fragment,null,ue?u.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:Le(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},me)},!Xe&&V&&Pe&&u.createElement(Mt,{src:Pe,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},De)}),u.createElement("canvas",{ref:T,style:{display:"none"}}),u.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:J,left:0,right:0}},u.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},u.createElement("div",{className:"n-full-screen",ref:D,id:F,style:{width:"100%",height:"100%"}}),b&&u.createElement(Mt,{className:"clc-pb-video-pause",src:d??et,alt:"pause"}))),qe,Ye):u.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:Le()},u.createElement("div",{className:"n-full-screen",ref:D,id:F,style:{width:"100%",height:"100%"}}),qe,Ye,b&&u.createElement(Mt,{className:"clc-pb-video-pause",src:d??et,alt:"pause"}))):null});var Md=je(Nd);const Dd=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[o,a]=Z(t),d=s=>{s.stopPropagation();const c=!o;a(c),n?.(c)};return ce(()=>{a(t)},[t]),u.createElement("button",{style:l,"aria-label":"toggle button",className:"pb-toggle-button",onClick:d},u.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:o?e:i}))};var nn=je(Dd);const Vd=({imageUrl:t,style:e,duration:i=2e3})=>{const[n,l]=Z(!0);ai(),ce(()=>{setTimeout(()=>{l(!1)},i)},[]);const o=Lt("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),a=we(()=>n?"pb-fadeIn":"pb-fadeOut",[n]);return u.createElement("div",{hidden:!n,className:`pb-finger-wrap ${a}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},u.createElement("img",{src:t||o,alt:"finger swiper"}))},Fn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:l}=t,o=we(()=>n?.mode==="2",[n]),a=we(()=>{var r;return n?.mode==="2"?`translateY(-${50+((r=n?.offsetTop)!==null&&r!==void 0?r:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),d=we(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=we(()=>n?.bgWay==="1",[n]),c=we(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return u.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!o||!s)&&u.createElement(Mt,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},d),onLoad:l}),o&&u.createElement(Mt,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:a,left:0,right:0},onLoad:l}))},Rd=({imgUrls:t,width:e,height:i,rec:n,index:l,onViewImageEndEvent:o,onViewImageStartEvent:a,imgUrlsPostConfig:d})=>{var s,c;const{isActive:r}=Li(),{sxpParameter:A,openHashtag:f}=Ge(),[p,b]=Z(!1),[m,S]=Z(),[v,g]=Z(0),h=fe(),w=fe(!0),C=new Date;ce(()=>{p&&r?(h?.current&&h.current.swiper.autoplay.start(),f?o(n):(a(l,w.current?m:void 0,!0),w.current=!1)):h?.current&&h.current.swiper.autoplay.stop()},[n,r,o,f,l,a,p,m]);const P=de(R=>mt(void 0,void 0,void 0,function*(){p||(S({loadTime:new Date-C+""}),b(!0))}),[p]);ce(()=>{if(!r)return;const R=()=>a(l,m),I=()=>o(n);return Ct.on(xt.PAGE_DID_SHOW,R),Ct.on(xt.PAGE_DID_HIDE,I),()=>{Ct.off(xt.PAGE_DID_SHOW,R),Ct.off(xt.PAGE_DID_HIDE,I)}},[r,m]);const V=de(()=>{h.current&&h.current.swiper&&T&&h.current.swiper.autoplay.stop()},[]),j=de(()=>{h.current&&h.current.swiper&&T&&h.current.swiper.autoplay.start()},[]),x=de(R=>{g(R.activeIndex)},[]),T=we(()=>un(),[]);return u.createElement("div",{onMouseEnter:V,onMouseLeave:j},u.createElement(ei,Object.assign({defaultValue:0,direction:"horizontal",modules:[ji,Ni,...T?[Nn,Mn,en,Ln]:[]],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",bulletElement:"button"}},T?{mousewheel:!0,keyboard:!0,navigation:!0,a11y:{enabled:!0}}:{},{loop:!0,ref:h,onSlideChange:x,className:ze(Object.assign(Object.assign({".swiper-pagination":{bottom:(s=d?.marginBottom)!==null&&s!==void 0?s:0,fontSize:"14px"}},d?.dotsBgColor&&{".swiper-pagination-bullet":{backgroundColor:d?.dotsBgColor,opacity:1}}),d?.dotsActiveColor&&{".swipe-item-active-bullet":{backgroundColor:`${d?.dotsActiveColor}!important`,opacity:1}})),height:i,autoplay:{delay:((c=d?.delay)!==null&&c!==void 0?c:3)*1e3}}),t?.map((R,I)=>u.createElement(zt,{key:I,"aria-hidden":I!==v},u.createElement(Fn,{src:!p&&I>0?"":R,height:i,imgUrlsPostConfig:d,onShowFirstImage:P})))))};var Bd=je(Rd);const Fd=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:o,hashTagRightMargin:a})=>{var d;const[s,c]=Z(!1),{setWaterFallData:r,setOpenHashtag:A,setCacheActiveIndex:f,waterFallData:p,setIsFromHashtag:b}=Ge(),m=S=>{p?b?.(!0):f?.(n),r?.(i?{hashTag:S,itemId:e,itemType:i,rec:l}:{hashTag:S,rec:l}),A?.(!0)};return we(()=>t.length<=6?null:u.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>c(!s)},s?"show less":"show more"),[s,t]),u.createElement("div",{className:"clc-sxp-bottom-hashtag",style:{marginTop:`${(d=o?.marginTop)!==null&&d!==void 0?d:16}px`,width:a}},u.createElement(Mi,null,t?.map((S,v)=>u.createElement(zt,{key:v,hidden:s?!1:v>=6,className:"clc-sxp-bottom-hashtag-item",style:o,onClick:()=>m(S),tag:"li",role:"listitem"},u.createElement("button",{className:"clc-sxp-bottom-hashtag-item-button","aria-label":S,"aria-describedby":S,dangerouslySetInnerHTML:{__html:Ve(`#${S}`,o)}})))))};var Ho=je(Fd),Uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Fi(t){return je(function(e){const{$store:i}=rl(),n=o=>{let a=o;const d=o.match(/{{.*?}}/g);return d?.length&&d.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(c,r)=>{if(r){const A=Xn(i,r);return a=a.replace(s,A),A}})}),a},l=we(()=>{var o,a,d;const{bindDatas:s}=e,c=rt(e,["bindDatas"]);if((o=s?.forEach)===null||o===void 0||o.call(s,r=>{if(r?.propKey&&r?.dataPath){const{propKey:A,dataPath:f}=r;f.replace(/{{\s*([\w.]+)\s*}}/g,(p,b)=>{var m,S;if(b){const v=(S=(m=Xn(i,b))!==null&&m!==void 0?m:e[A])!==null&&S!==void 0?S:"";return c[A]=v,v}})}}),c){c.eventMap={};const r=bi(c.event)||{};for(const A in r)if(Object.prototype.hasOwnProperty.call(r,A))try{r[A].value=n(r[A].value),c.eventMap[A]=new Function(r[A].value)}catch{}}return!((d=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||d===void 0)&&d.linkType&&(c.style.cursor="pointer"),c},[i,e]);return u.createElement(t,Object.assign({},l,l.eventMap))})}const Wd=({rec:t,index:e,tempMap:i,resolver:n,includesCtaType:l=[],isActive:o,isNineProduct:a})=>{var d,s,c,r,A;const{schema:f}=ai();if(!t?.video)return null;let p=null;!((s=(d=t?.video)===null||d===void 0?void 0:d.bindProducts)===null||s===void 0)&&s.length?p="\u591A\u5546\u54C1CTA":!((c=t?.video)===null||c===void 0)&&c.bindProduct?p="\u5546\u54C1CTA":p=(A=(r=t?.video)===null||r===void 0?void 0:r.bindCta)===null||A===void 0?void 0:A.itemId;const b=i?.[p],m=we(()=>{var S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U,q,$,be,ue;if(!(l?.length>0&&!l?.includes((S=b?.item)===null||S===void 0?void 0:S.type))&&!((!l||l?.length===0)&&((v=b?.item)===null||v===void 0?void 0:v.category)==="cta")){if(((g=b?.item)===null||g===void 0?void 0:g.type)==="CommodityDiro"&&!(!((h=t?.video)===null||h===void 0)&&h.bindProduct)||((w=b?.item)===null||w===void 0?void 0:w.type)==="Commodity"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((P=b?.item)===null||P===void 0?void 0:P.type)==="CommodityDiroNew"&&!(!((V=t?.video)===null||V===void 0)&&V.bindProduct)||((j=b?.item)===null||j===void 0?void 0:j.type)==="MultiCommodity"&&!(!((T=(x=t?.video)===null||x===void 0?void 0:x.bindProducts)===null||T===void 0)&&T.length)||((R=b?.item)===null||R===void 0?void 0:R.type)==="MultiCommodityDiro"&&!(!((N=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||N===void 0)&&N.length)||((E=b?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiroNew"&&!(!((F=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||F===void 0)&&F.length))return null;if(b&&n){const J=n[a?"NineCommodity":(D=b?.item)===null||D===void 0?void 0:D.type],Pe=Fi(J),De=(B=J?.extend)===null||B===void 0?void 0:B.defaulSetting,Xe=((M=(k=(O=b?.item)===null||O===void 0?void 0:O.event)===null||k===void 0?void 0:k.onClick)===null||M===void 0?void 0:M.linkType)==="externalLink",me=bi((X=b?.item)===null||X===void 0?void 0:X.style);if(me.hasOwnProperty("backdropFilter")){const ve=me.backdropFilter;me.backdropFilter=`blur(${ve??0}px)`}return u.createElement(Pe,Object.assign({style:Object.assign(Object.assign(Object.assign({},De?.style),me),{zIndex:50,marginInlineStart:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},De?.textStyle),(U=b?.item)===null||U===void 0?void 0:U.textStyle),bindDatas:($=(q=b?.item)===null||q===void 0?void 0:q.bindDatas)!==null&&$!==void 0?$:[]},De?.props,(be=b?.item)===null||be===void 0?void 0:be.props,{event:((ue=b?.item)===null||ue===void 0?void 0:ue.event)||{},schema:f,id:b?.id,key:b?.id,recData:t,isExternalLink:Xe,index:e,isActive:o}))}else return null}},[t,n,i,f,b?.id,o]);return u.createElement(u.Fragment,null,m)};var Qt=je(Wd);const Xo=({nudge:t})=>{var e,i,n,l,o,a;return u.createElement(u.Fragment,null,t?.isOpen&&u.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(o=(l=t?.size)===null||l===void 0?void 0:l.height)!==null&&o!==void 0?o:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?u.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,u.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0,marginTop:0}),dangerouslySetInnerHTML:{__html:Ve(t?.content,t?.textStyle)}})))},zd=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:n,setRtcList:l,setCacheRtcList:o,setCacheActiveIndex:a,setLoading:d,swiperRef:s,waterFallData:c,bffEventReport:r,selectTag:A,setSelectTag:f}=Ge(),{backMainFeed:p}=Vt(),b=we(()=>[Yi,...t],[t]),m=S=>()=>{if(S===A)return;S!=="FOR U"?r?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${S}']`}}):p("theme",S,A);let v;S!==Yi&&(v=S),d?.(!0),n?.({themeTag:v}).then(g=>{var h,w,C,P;Ct.emit(xt.CHANGE_THEME_TAG,v),l?.((h=g?.recList)!==null&&h!==void 0?h:[]),o?.((w=g?.recList)!==null&&w!==void 0?w:[]),e?.(0),a?.(0),(P=(C=s?.current)===null||C===void 0?void 0:C.swiper)===null||P===void 0||P.slideTo(0)}).finally(()=>{d?.(!1)}),f?.(S)};return c||t.length<=0?null:u.createElement("div",{className:"clc-sxp-tagbar",style:i},u.createElement("div",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},b.map(S=>u.createElement("button",{className:`clc-sxp-tagbar-list-item ${S===A?"clc-sxp-tagbar-list-item-active":""}`,key:S,"aria-label":S,onClick:m(S)},S))))};var qo=je(zd);const Hd=({resolver:t,globalConfig:e})=>{var i,n,l;const{consentPopupCate:o}=Bi(),a=(n=(i=e?.consentPopup)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.item;if(!a||!o&&!(!((l=a?.props)===null||l===void 0)&&l.open))return null;const d=t?.[a?.type],s=Fi(d);return u.createElement(s,Object.assign({},a?.props,{style:a?.style,event:a?.event||{},consentPopupCate:o}))};var Ud=je(Hd);const Xd=({data:t,minusHeight:e,tagHeight:i,onClick:n})=>{var l,o,a,d,s;return u.createElement("button",{style:{position:"absolute",[(l=t?.xPosit)!==null&&l!==void 0?l:"left"]:(a=(o=t?.backButton)===null||o===void 0?void 0:o.x)!==null&&a!==void 0?a:0,[(d=t?.yPosit)!==null&&d!==void 0?d:"top"]:(t?.yPosit=="top"?e+i:0)+((s=t?.y)!==null&&s!==void 0?s:0),zIndex:8,border:"none",padding:0,background:"transparent"},role:"button","aria-label":"back button",onClick:n},u.createElement("img",{src:t?.icon||Uo,alt:"back button",width:100,style:{objectFit:"cover"}}))};var Yo=je(Xd);const qd=({globalConfig:t,descStyle:e,containerHeight:i,containerWidth:n=window.innerWidth,tempMap:l,resolver:o,data:a=[],ctaType:d,tipText:s,nudge:c,_schema:r,hashTagStyle:A,hashTagRightMargin:f,tagList:p=[],defaultData:b})=>{var m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E,y,F,D,B,O,k,M,X,U;const q=Lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),$=Lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png"),{schema:be}=ai(),{openMultiPosts:ue}=Bi(),[J,Pe]=Z(0),De=fe(0),[Xe,me]=Z(!0),ve=fe(),[et,_e]=Z(!1),[Ze,$e]=Z(!1),[dt,tt]=Z(new Date().getTime()),Le=fe(!1),[ot,Pt]=Z(2);Z(!1);const He=fe(null),qe=fe(""),{loadVideos:Ye,bffEventReport:K,loading:te,setPopupDetailData:_,ctaEvent:ae,swiperRef:Ie,waterFallData:Ee,setOpenHashtag:ee,appDomain:W,openHashtag:We,loadingImage:lt,isFromHashtag:it,popupDetailData:ct,bffFbReport:nt,curTime:Ue,h5EnterLink:at,isShowConsent:ht,selectTag:St,isPreview:Yt,isEditor:Rt,cacheRtcList:Et,setRtcList:It,cacheActiveIndex:Kt,rtcList:Tt,isNoMoreData:Ke,channel:Oe,refreshFeSession:ge,isDiyH5:xe,pixelPvStatusRef:bt}=Ge(),{backMainFeed:Gt,productView:Ut,jumpToWeb:ln}=Vt(),{visibleHeight:fi,bottomHeight:wt}=jo(),di=we(()=>a.length>0&&!te&&(vl()||t?.enableSwiperTip),[a,te,t?.enableSwiperTip]);ce(()=>{ge?.(!0)},[]),ce(()=>{if(a?.length>0){const L=new Date;ve.current=L}},[a?.length]);const zi=de(()=>{var L,Y,G;const Q=(Y=(L=b?.data)===null||L===void 0?void 0:L.sxpPageConf)===null||Y===void 0?void 0:Y.globalConfig;if(!((G=Q?.session)===null||G===void 0)&&G.enable||mn(),at?.(),a.length>0){const re=new Date;ve.current=re}},[a.length,at,b]);ce(()=>{var L;if(!d||d?.length<1)return;const Y=a?.findIndex(G=>{var Q,re,ne,le,oe,se,Ae,Fe,Te;const Ne=d?.[0];return Ne==="\u591A\u5546\u54C1CTA"?((Q=G?.video)===null||Q===void 0?void 0:Q.bindProducts)&&((ne=(re=G?.video)===null||re===void 0?void 0:re.bindProducts)===null||ne===void 0?void 0:ne.length)>0:Ne==="\u5546\u54C1CTA"?(le=G?.video)===null||le===void 0?void 0:le.bindProduct:((se=(oe=G?.video)===null||oe===void 0?void 0:oe.bindCta)===null||se===void 0?void 0:se.itemId)===Ne&&(((Ae=G?.video)===null||Ae===void 0?void 0:Ae.url)||((Te=(Fe=G?.video)===null||Fe===void 0?void 0:Fe.imgUrls)===null||Te===void 0?void 0:Te.length))})||0;Y!==-1&&((L=Ie?.current)===null||L===void 0||L.swiper.slideTo(Y))},[a,d,Ie]);const oi=de(L=>{var Y,G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt;const Re=a?.[J];let Me="";ct&&(!((G=(Y=Re?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||G===void 0)&&G.length||!((Q=Re?.video)===null||Q===void 0)&&Q.bindProduct)?Me="pdpPage":ct&&((oe=l?.[(le=(ne=(re=Re?.video)===null||re===void 0?void 0:re.bindCta)===null||ne===void 0?void 0:ne.itemId)!==null&&le!==void 0?le:""].item)===null||oe===void 0?void 0:oe.type)==="Appoint"?Me="formPage":it?Me="hashTagPage":!((se=Re?.video)===null||se===void 0)&&se.url?Me="videoPage":!((Ae=Re?.video)===null||Ae===void 0)&&Ae.imgUrls&&(!((Te=(Fe=Re?.video)===null||Fe===void 0?void 0:Fe.imgUrls)===null||Te===void 0)&&Te.length)?Me="imagePage":Re?.product&&(Me="productPage"),K?.({eventInfo:{sessionDuration:Math.floor((new Date-Ue.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ne=Re?.video)===null||Ne===void 0?void 0:Ne.itemId,productId:(ft=Re?.product)===null||ft===void 0?void 0:ft.itemId,position:J+"",fromKName:L||Me,fromKPage:location?.href,ctatId:(pt=(vt=(ut=Re?.video)===null||ut===void 0?void 0:ut.bindCta)===null||vt===void 0?void 0:vt.itemId)!==null&&pt!==void 0?pt:"",traceInfo:(kt=(gt=(st=Re?.video)===null||st===void 0?void 0:st.traceInfo)!==null&>!==void 0?gt:(Je=Re?.product)===null||Je===void 0?void 0:Je.traceInfo)!==null&&kt!==void 0?kt:""}})},[a,K,J,ct,l,it,Ue]);ce(()=>{const L=a?.[J],Y=()=>{const G=!We&&!ht;document.visibilityState==="hidden"?(G&&(Ct.emit(xt.PAGE_DID_HIDE,L),Se(L)),(t?.playbook!=="organic menu"||J!==0||Oe)&&(ge?.(!1,oi)||oi())):document.visibilityState==="visible"&&(Le.current===!0&&(tt(new Date().getTime()),Le.current=!1),ge?.(!1),zi(),G&&(setTimeout(()=>{Ct.emit(xt.PAGE_DID_SHOW,L)},100),Gt("external",St)))};return document.addEventListener("visibilitychange",Y),()=>{document.removeEventListener("visibilitychange",Y)}},[J,K,a,zi,ct,it,l,Ue,Gt,We,ht,St,Oe,oi,ge]);const hi=de(Ei(()=>{var L;(L=He.current)===null||L===void 0||L.setLoopPlay(!1),ge?.(!1,oi)},1e3),[oi,ge]);ce(()=>{const L=["touchstart","touchcancel"];return L.forEach(Y=>{window.addEventListener(Y,hi)}),()=>{L.forEach(Y=>{window.removeEventListener(Y,hi)})}},[hi]);const li=we(()=>{let L=0;return p.length>0&&(L+=45,Ee&&(L-=45)),L},[p,Ee]),Xt=we(()=>{let L=0;return t?.logoUrl&&t?.isShowLogo&&(L+=56),L},[t]),_t=we(()=>(i||fi)-Xt-li,[i,fi,Xt,li]),Ot=we(()=>{var L;const Y=J===0&&!Ee&&!Rt&&!xe?[(L=a?.[0])!==null&&L!==void 0?L:null]:a?.map((G,Q)=>J===Q||Q-1===J||Q+1===J?G:null);return Y?.length?!Ee&&!Ke&&!xe?Y.concat([{loading:!0}]):Y:[]},[a,J,Ee,Rt,Ke,xe]),an=we(()=>{var L,Y,G,Q;if(t?.logoUrl&&t?.isShowLogo){const re=(Y=(L=t?.logoBar)===null||L===void 0?void 0:L.onClick)===null||Y===void 0?void 0:Y.value,ne=((Q=(G=t?.logoBar)===null||G===void 0?void 0:G.onClick)===null||Q===void 0?void 0:Q.linkType)==="externalLink",le=Ot[J];return u.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},re&&{onClick:oe=>{var se,Ae,Fe,Te;ne&&ln(oe,le,(se=le?.video)===null||se===void 0?void 0:se.bindProduct,(Ae=le?.video)===null||Ae===void 0?void 0:Ae.bindCta,J,((Fe=le?.product)===null||Fe===void 0?void 0:Fe.traceInfo)||((Te=le?.video)===null||Te===void 0?void 0:Te.traceInfo)),new Function(re)()}}),u.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t,J,Ot]),Hi=de((L,Y)=>{var G,Q,re,ne,le,oe,se,Ae,Fe,Te;return L==="organic menu"?u.createElement(Rn,Object.assign({recData:a?.[1]},(re=(Q=(G=t?.multiPosts)===null||G===void 0?void 0:G[0])===null||Q===void 0?void 0:Q.item)===null||re===void 0?void 0:re.props,(oe=(le=(ne=t?.multiPosts)===null||ne===void 0?void 0:ne[0])===null||le===void 0?void 0:le.item)===null||oe===void 0?void 0:oe.event)):!((se=L?.video)===null||se===void 0)&&se.url?u.createElement(Md,Object.assign({key:dt},J===Y&&{ref:He},{rec:L,index:Y,muted:Xe,data:a,height:_t,activeIndex:J,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon,loopPlay:!0,swiperRef:Ie,visibleHeight:fi})):!((Ae=L?.video)===null||Ae===void 0)&&Ae.imgUrls?u.createElement(Bd,{key:L?.video.itemId,imgUrls:L?.video.imgUrls,width:n,height:_t,rec:L,index:Y,onViewImageEndEvent:ye,onViewImageStartEvent:ke,imgUrlsPostConfig:t?.imgUrlsPost}):L.product&&Array.isArray(t?.productPost)&&((Fe=t?.productPost)===null||Fe===void 0?void 0:Fe.length)>0?(Te=t?.productPost)===null||Te===void 0?void 0:Te.map((Ne,ft)=>{var ut,vt,pt,st,gt,Je,kt,Re;const Me=o[(ut=Ne?.item)===null||ut===void 0?void 0:ut.type],Bt=Fi(Me),Dt=(vt=Me?.extend)===null||vt===void 0?void 0:vt.defaulSetting;return u.createElement(Bt,Object.assign({key:`${Y}${ft}`,textStyle:Object.assign(Object.assign({},Dt?.textStyle),(pt=Ne?.item)===null||pt===void 0?void 0:pt.textStyle),bindDatas:(gt=(st=Ne?.item)===null||st===void 0?void 0:st.bindDatas)!==null&>!==void 0?gt:[]},Dt?.props,(Je=Ne?.item)===null||Je===void 0?void 0:Je.props,{event:((kt=Ne?.item)===null||kt===void 0?void 0:kt.event)||{},schema:be,id:Ne?.id,viewTime:ve.current,rec:L,isPost:!0,tipText:s,style:Object.assign(Object.assign(Object.assign({},Dt?.style),(Re=Ne?.item)===null||Re===void 0?void 0:Re.style),{height:"100%",overflow:"auto"}),index:Y,isActive:J===Y}))}):null},[n,a,_t,Xe,J,t?.productPost,t?.videoPlayIcon,ve,s,o,be,dt,fi]),Ui=de(L=>{$e(L)},[]),z=we(()=>Ze?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[Ze]),H=de((L,Y)=>{var G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt;if(L?.video){let st=null;!((Q=(G=L?.video)===null||G===void 0?void 0:G.bindProducts)===null||Q===void 0)&&Q.length?st="\u591A\u5546\u54C1CTA":!((re=L?.video)===null||re===void 0)&&re.bindProduct?st="\u5546\u54C1CTA":st=(le=(ne=L?.video)===null||ne===void 0?void 0:ne.bindCta)===null||le===void 0?void 0:le.itemId;const gt=l?.[st],Je=t?.nineProductEnable&&Y===(Tt?.[0]==="organic menu"?1:0)&&((oe=["MultiCommodity","MultiCommodityDiro","MultiCommodityDiroNew"])===null||oe===void 0?void 0:oe.includes((se=gt?.item)===null||se===void 0?void 0:se.type));return u.createElement(u.Fragment,null,Je&&u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,isActive:Y===J,isNineProduct:Je}),((Ae=L?.video)===null||Ae===void 0?void 0:Ae.title)&&!Ze&&u.createElement("div",{className:"clc-sxp-bottom-shadow"}),u.createElement("div",{className:"clc-sxp-bottom",style:{marginBottom:`${(Fe=t?.bottomInfoDist)!==null&&Fe!==void 0?Fe:40}px`}},u.createElement(Xo,{nudge:c}),(t?.isShowCTA===void 0||t?.isShowCTA)&&!Je?u.createElement("div",{className:"clc-sxp-bottom-card"},u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,isActive:Y===J,includesCtaType:[]})):null,u.createElement("div",{style:{display:"flex",flexDirection:"column"}},u.createElement(Di,{className:"clc-sxp-bottom-text",isPost:!0,foldText:s?.foldText,unfoldText:s?.unfoldText,text:(Ne=(Te=L?.video)===null||Te===void 0?void 0:Te.title)!==null&&Ne!==void 0?Ne:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Ui}),u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,includesCtaType:["AniLink"],isActive:Y===J}),u.createElement(Ho,{index:J,tags:(ut=(ft=L?.video)===null||ft===void 0?void 0:ft.hashTags)!==null&&ut!==void 0?ut:[],itemId:(vt=L?.video)===null||vt===void 0?void 0:vt.itemId,itemType:!((pt=L?.video)===null||pt===void 0)&&pt.itemId?"VIDEO":null,rec:L,hashTagStyle:A,hashTagRightMargin:n-(f??0)}))),u.createElement(Qt,{rec:L,index:Y,tempMap:l,resolver:o,includesCtaType:["AniLinkPopup"],isActive:Y===J}))}return null},[e,J,l,o,s,c,A,t,Ui,Ze,z,Tt]),ie=de((L,Y,G)=>{var Q,re,ne,le;if(!t?.isShowLike||!G)return;let oe=(Q=t?.likeIconY)!==null&&Q!==void 0?Q:400;return Ee&&oe<40&&t?.likeIconYPosit==="top"&&(oe+=40),t?.likeIconYPosit==="top"&&(oe+=Xt),t?.likeIconFixed&&t?.likeIconYPosit!=="top"&&(oe+=wt),L?.video?u.createElement(Bn,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{position:t?.likeIconFixed?"fixed":"absolute",[(re=t.likeIconXPosit)!==null&&re!==void 0?re:"right"]:(ne=t.likeIconX)!==null&&ne!==void 0?ne:0,[(le=t.likeIconYPosit)!==null&&le!==void 0?le:"bottom"]:oe},position:Y}):null},[t,Ee,wt]),ye=L=>{var Y,G,Q,re,ne,le;if(!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&(!((G=L?.video)===null||G===void 0)&&G.imgUrls)){const oe=Date.now(),se=De.current===0?0:(oe-De.current)/1e3;K?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(re=(Q=L?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&re!==void 0?re:"",contentName:(ne=L?.video.title)!==null&&ne!==void 0?ne:"",imageEndTime:`${oe}`,playDuration:`${se}`,contentTags:JSON.stringify((le=L?.video.tags)!==null&&le!==void 0?le:[]),position:J+"",contentFormat:"image",traceInfo:L?.video.traceInfo}})}},pe=(L,Y)=>{var G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt,Re,Me,Bt;if(Yt||Ee)return;const Dt=new Date-Ue.current;if(t?.openSlideSkip&&Dt>=((G=t?.slideSkipStartTime)!==null&&G!==void 0?G:0)&&pl()&&L){const Ai=((ne=(re=(Q=L?.video)===null||Q===void 0?void 0:Q.bindProducts)===null||re===void 0?void 0:re[0])===null||ne===void 0?void 0:ne.link)||((oe=(le=L?.video)===null||le===void 0?void 0:le.bindProduct)===null||oe===void 0?void 0:oe.link)||((se=L?.product)===null||se===void 0?void 0:se.link),At=L?.product||((Ae=L?.video)===null||Ae===void 0?void 0:Ae.bindProduct)||((Te=(Fe=L?.video)===null||Fe===void 0?void 0:Fe.bindProducts)===null||Te===void 0?void 0:Te[0]);if(Ai){let ci=null;!((Ne=L?.video)===null||Ne===void 0)&&Ne.url?ci="video":!((ut=(ft=L?.video)===null||ft===void 0?void 0:ft.imgUrls)===null||ut===void 0)&&ut.length&&(ci="image"),K?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(vt=At?.itemId)!==null&&vt!==void 0?vt:"",productName:(pt=At?.title)!==null&&pt!==void 0?pt:"",price:At?.price?At?.price+"":"0",productCollection:(st=At?.collection)!==null&&st!==void 0?st:"",contentTags:At?.tags?JSON.stringify(At?.tags):"",position:Y+"",contentId:(Je=(gt=L?.video)===null||gt===void 0?void 0:gt.itemId)!==null&&Je!==void 0?Je:"",traceInfo:(Bt=(Re=(kt=L?.video)===null||kt===void 0?void 0:kt.traceInfo)!==null&&Re!==void 0?Re:(Me=L?.product)===null||Me===void 0?void 0:Me.traceInfo)!==null&&Bt!==void 0?Bt:"",contentFormat:ci}}),Le.current=!0,window.location.href=window.getJointUtmLink(Ai)}}},he=L=>{var Y,G,Q,re,ne,le,oe,se,Ae,Fe,Te,Ne,ft,ut,vt,pt,st,gt,Je,kt,Re;const Me=a[L.previousIndex];if(!Me)return;let Bt=null;!((Y=Me?.video)===null||Y===void 0)&&Y.url?Bt="video":!((Q=(G=Me?.video)===null||G===void 0?void 0:G.imgUrls)===null||Q===void 0)&&Q.length&&(Bt="image"),L.previousIndex-L.activeIndex<0?(K?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(ne=(re=Me?.video)===null||re===void 0?void 0:re.itemId)!==null&&ne!==void 0?ne:"",productId:(oe=(le=Me?.product)===null||le===void 0?void 0:le.itemId)!==null&&oe!==void 0?oe:"",requestId:null,traceInfo:(Te=(Ae=(se=Me?.video)===null||se===void 0?void 0:se.traceInfo)!==null&&Ae!==void 0?Ae:(Fe=Me?.product)===null||Fe===void 0?void 0:Fe.traceInfo)!==null&&Te!==void 0?Te:"",contentFormat:Bt,position:((Ne=L.previousIndex)!==null&&Ne!==void 0?Ne:0)+""}}),ye(Me),pe(Me,L.previousIndex)):(K?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ut=(ft=Me?.video)===null||ft===void 0?void 0:ft.itemId)!==null&&ut!==void 0?ut:"",productId:(pt=(vt=Me.product)===null||vt===void 0?void 0:vt.itemId)!==null&&pt!==void 0?pt:"",requestId:null,traceInfo:(kt=(gt=(st=Me?.video)===null||st===void 0?void 0:st.traceInfo)!==null&>!==void 0?gt:(Je=Me?.product)===null||Je===void 0?void 0:Je.traceInfo)!==null&&kt!==void 0?kt:"",contentFormat:Bt,position:((Re=L.previousIndex)!==null&&Re!==void 0?Re:0)+""}}),ye(Me)),Se(Me),ve.current=new Date},Se=L=>{var Y,G,Q;!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&!(!((G=L?.video)===null||G===void 0)&&G.imgUrls)&&L?.product&&Ut(L,L.product,(Q=L?.product)===null||Q===void 0?void 0:Q.bindCta,ve.current,J)};ce(()=>{const L=a[J];We?Se(L):ve.current=new Date},[We,a,J]),ce(()=>{if(!t?.enableCookieSetting)return;function L(G){if(!G||G.indexOf(".")===-1)return"";const Q=G.split(".");return Q.length>=2?"."+Q.slice(-2).join("."):""}window.OptanonWrapper=function(){const G=window?.OnetrustActiveGroups;G&&G?.length>2};const Y=G=>{var Q,re;const ne=window?.OnetrustActiveGroups;(!((Q=G.target)===null||Q===void 0)&&Q.closest(".ot-pc-refuse-all-handler")||!((re=G.target)===null||re===void 0)&&re.closest(".save-preference-btn-handler"))&&(window.OptanonWrapper=function(){var le,oe;const se=window?.OnetrustActiveGroups;if(se)if(se?.includes("4"))window?.loadMetaPixel(!1,SXP_CONFIG==null?void 0:SXP_CONFIG.meta_conversion_api_pid),window?.fbq("consent","grant"),bt.current=!0,qe.current&&ne?.includes("4");else{window?.fbq("consent","revoke"),qe.current=cn("_fbp"),ol("_fbp","/",L(window.location.hostname));const Ae=a[J],Fe=((le=Ae?.video)===null||le===void 0?void 0:le.traceInfo)||((oe=Ae?.product)===null||oe===void 0?void 0:oe.traceInfo)||"";ne?.includes("4")&&K?.({eventInfo:{eventSubject:"refuseCookie",eventDescription:"refuseCookie",traceInfo:Fe},isActiveTargetingCookie:!1})}})};return document.addEventListener("click",Y),()=>{document.removeEventListener("click",Y)}},[t,K,a,J]);const ke=(L,Y,G)=>{var Q,re,ne,le,oe,se,Ae,Fe;const Te=a[L];if(!(!((Q=Te?.video)===null||Q===void 0)&&Q.url)&&(!((re=Te?.video)===null||re===void 0)&&re.imgUrls)){const Ne=Date.now();De.current=Ne,K?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(le=(ne=Te?.video)===null||ne===void 0?void 0:ne.itemId)!==null&&le!==void 0?le:"",contentName:(oe=Te?.video.title)!==null&&oe!==void 0?oe:"",imageStartTime:`${Ne}`,contentTags:JSON.stringify((se=Te?.video.tags)!==null&&se!==void 0?se:[]),position:L+"",contentFormat:"image",traceInfo:Te?.video.traceInfo,loadTime:Y?.loadTime}}),G&&(nt?.({eventName:"ViewContent",product:(Ae=Te?.video)===null||Ae===void 0?void 0:Ae.bindProduct}),nt?.({eventName:"PageView",product:(Fe=Te?.video)===null||Fe===void 0?void 0:Fe.bindProduct}))}},Ce=de(L=>{var Y,G,Q,re,ne,le;if(!L)return;let oe=(Y=t?.muteIconY)!==null&&Y!==void 0?Y:23;return Ee&&oe<40&&t?.muteIconYPosit==="top"&&(oe+=40),t?.muteIconYPosit==="top"&&(oe+=Xt),t?.muteIconFixed&&t?.muteIconYPosit!=="top"&&(oe+=wt),(t?.isShowMute===void 0||t?.isShowMute===!0)&&u.createElement(nn,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((Q=(G=Ot?.[J])===null||G===void 0?void 0:G.video)===null||Q===void 0)&&Q.url?"visible":"hidden",zIndex:999,transform:"translate3d(0px,0px,0px)",[(re=t?.muteIconXPosit)!==null&&re!==void 0?re:"right"]:(ne=t?.muteIconX)!==null&&ne!==void 0?ne:0,[(le=t?.muteIconYPosit)!==null&&le!==void 0?le:"bottom"]:oe},defaultValue:Xe,activeIcon:t?.unMuteIcon?t?.unMuteIcon:q,unactiveIcon:t?.muteIcon?t?.muteIcon:$,onChange:me})},[t,Ot,J,Xe,Ee,wt]),Be=we(()=>te?u.createElement("div",{style:{height:_t,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},u.createElement("img",{width:64,height:64,src:lt,alt:"loading...",style:{objectFit:"contain"}})):Ot?.map((L,Y)=>u.createElement(zt,{key:Y,virtualIndex:Y,style:{overflow:"hidden"}},L&&u.createElement(u.Fragment,null,L?.loading?u.createElement("div",{style:{height:_t,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},u.createElement("img",{width:64,height:64,src:lt,alt:"loading...",style:{objectFit:"contain"}})):u.createElement(u.Fragment,null,H(L,Y),ie(L,Y,!t?.likeIconFixed),Ce(!t?.muteIconFixed),Hi(L,Y))))),[n,a,_t,te,H,Hi,Ot,lt,dt,Ce]);return u.createElement("div",{id:"sxp-render",className:"clc-sxp-container",style:{height:_t}},a?.length<1&&te?u.createElement("div",{style:{height:_t,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},u.createElement("img",{width:64,height:64,src:lt,alt:"loading...",style:{objectFit:"contain"}})):u.createElement("div",{style:Object.assign({},t?.textUnderlineOffset&&{textUnderlineOffset:`${t?.textUnderlineOffset}px`})},Ee&&u.createElement(Vo,{icon:Uo,styles:{background:"rgba(0,0,0,.3)",color:"#fff",top:`${Xt}px`},textStyle:Object.assign(Object.assign({},(h=(g=(v=(S=(m=t?.hashTag)===null||m===void 0?void 0:m[0])===null||S===void 0?void 0:S.item)===null||v===void 0?void 0:v.props)===null||g===void 0?void 0:g.textStyles)===null||h===void 0?void 0:h.hashTagTitle),{color:"#fff"}),onClose:()=>{!Hn(Tt,Et)&&Et&&Et?.length&&It?.(Et),ee?.(!0)}}),an,u.createElement(qo,{tagList:p,setActiveIndex:Pe,style:{top:Xt}}),((w=t?.backButton)===null||w===void 0?void 0:w.enable)&&!Oe&&!ue&&!Ee&&u.createElement(Yo,{data:t?.backButton,minusHeight:Xt,tagHeight:li,onClick:()=>history?.back()}),(((x=(j=(V=(P=(C=t?.multiPosts)===null||C===void 0?void 0:C[0])===null||P===void 0?void 0:P.item)===null||V===void 0?void 0:V.props)===null||j===void 0?void 0:j.backButton)===null||x===void 0?void 0:x.enable)&&Oe||ue)&&!Ee&&u.createElement(Yo,{data:(N=(I=(R=(T=t?.multiPosts)===null||T===void 0?void 0:T[0])===null||R===void 0?void 0:R.item)===null||I===void 0?void 0:I.props)===null||N===void 0?void 0:N.backButton,minusHeight:Xt,tagHeight:li,onClick:()=>{var L,Y;const G=Ot?.[J];K?.({eventInfo:{eventSubject:"backMultiPostClick",eventDescription:"backMultiPostClick",traceInfo:((L=G?.video)===null||L===void 0?void 0:L.traceInfo)||((Y=G?.product)===null||Y===void 0?void 0:Y.traceInfo)||""}}),location?.reload()}}),di?u.createElement(Vd,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((E=t?.swipeTipOffset)!==null&&E!==void 0?E:0)}%`},duration:t?.swiperTipAniDur}):null,u.createElement(ei,{style:{marginTop:li},ref:Ie,onSlideChange:()=>{Ie.current.swiper.allowTouchMove=!1,setTimeout(()=>{Ie.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:L=>{Pe(L.activeIndex),!We&&(he(L),!(Ee||Rt||xe)&&L?.activeIndex+1>=a?.length&&(et||(_e(!0),Ye?.(ot).then(Y=>{var G;_e(!1),Y&&((G=Y?.recList)===null||G===void 0?void 0:G.length)>0&&Pt(ot+1)}))))},direction:"vertical",height:_t},Be,ie(Ot[J],J,!!t?.likeIconFixed),Ce(!!t?.muteIconFixed)),u.createElement(Bo,Object.assign({},(D=(F=(y=t?.hashTag)===null||y===void 0?void 0:y[0])===null||F===void 0?void 0:F.item)===null||D===void 0?void 0:D.props)),u.createElement(Ud,{resolver:o,globalConfig:t}),ue&&u.createElement(Rn,Object.assign({},(k=(O=(B=t?.multiPosts)===null||B===void 0?void 0:B[0])===null||O===void 0?void 0:O.item)===null||k===void 0?void 0:k.props,(U=(X=(M=t?.multiPosts)===null||M===void 0?void 0:M[0])===null||X===void 0?void 0:X.item)===null||U===void 0?void 0:U.event,{style:{position:"fixed",top:0,left:0,right:0,bottom:wt+"px"}}))),t?.enableCookieSetting&&u.createElement("div",{style:{position:"fixed",bottom:wt+"px",left:0,right:0,width:"100%",zIndex:10,backgroundColor:"#000",fontSize:0}},u.createElement("button",{id:"ot-sdk-btn",className:"ot-sdk-show-settings",style:{textDecoration:"underline",width:"fit-content",border:"none",lineHeight:"24px",fontSize:"10px",color:"#fff",padding:"0 20px",fontFamily:"Helvetica-light"}},"Cookie settings")))};var Go=je(qd);const Yd=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o})=>u.createElement(ei,{defaultValue:0,direction:"horizontal",modules:[ji,Ni],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",bulletElement:"button"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>u.createElement(zt,{key:a},u.createElement(Fn,{src:a,height:i,imgUrlsPostConfig:n}))));var Gd=je(Yd);const _d=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:d})=>{const[s,c]=Z(!1),r=fe(null),{bffEventReport:A,sxpParameter:f,waterFallData:p,openHashtag:b}=Ge(),m=fe(0),[S,v]=Z(!1),[g,h]=Z(!0),w=fe(null),[C,P]=Z("");ce(()=>{r.current&&(r.current.muted=l)},[l]);const V=de(()=>{var O;(O=r.current)===null||O===void 0||O.play()},[]),j=Lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=de(()=>{var O,k,M,X,U,q,$,be,ue,J,Pe,De,Xe;c(!1);const me=n[e];if(me&&(!((O=r?.current)===null||O===void 0)&&O.duration)){m.current=((k=r?.current)===null||k===void 0?void 0:k.currentTime)||0;const ve=((X=(M=r.current)===null||M===void 0?void 0:M.duration)!==null&&X!==void 0?X:0).toFixed(2),et=((q=(U=r.current)===null||U===void 0?void 0:U.currentTime)!==null&&q!==void 0?q:0).toFixed(2),_e=g?"0":"1";A?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(be=($=me?.video)===null||$===void 0?void 0:$.itemId)!==null&&be!==void 0?be:"",contentName:(J=(ue=me?.video)===null||ue===void 0?void 0:ue.title)!==null&&J!==void 0?J:"",playType:_e,startTime:et,videoDuration:ve,contentTags:JSON.stringify((De=(Pe=me?.video)===null||Pe===void 0?void 0:Pe.tags)!==null&&De!==void 0?De:[]),position:e+"",contentFormat:"video",traceInfo:(Xe=me?.video)===null||Xe===void 0?void 0:Xe.traceInfo}}),h(!1)}},[A,n,e,g]),T=de(()=>{v(!0)},[]),R=de(O=>()=>{var k,M,X,U,q;if(!S)return;const $=(k=r.current)===null||k===void 0?void 0:k.paused;switch(O){case"start":if(!$)return;(M=r.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if($)return;(X=r.current)===null||X===void 0||X.pause(),c(!0);break;default:$?(U=r.current)===null||U===void 0||U.play():(q=r.current)===null||q===void 0||q.pause(),c(!$);break}},[S]),I=de(()=>{var O,k,M,X,U,q,$,be,ue,J,Pe,De,Xe;const me=n[e],ve=((k=(O=r.current)===null||O===void 0?void 0:O.duration)!==null&&k!==void 0?k:0).toFixed(2),et=((X=(M=r.current)===null||M===void 0?void 0:M.currentTime)!==null&&X!==void 0?X:0).toFixed(2);if(!((U=r?.current)===null||U===void 0)&&U.duration){const _e=(((q=r?.current)===null||q===void 0?void 0:q.currentTime)-m.current).toFixed(2);A?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(be=($=me?.video)===null||$===void 0?void 0:$.itemId)!==null&&be!==void 0?be:"",contentName:(J=(ue=me?.video)===null||ue===void 0?void 0:ue.title)!==null&&J!==void 0?J:"",endTime:et,videoDuration:ve,playDuration:_e,contentTags:JSON.stringify((De=(Pe=me?.video)===null||Pe===void 0?void 0:Pe.tags)!==null&&De!==void 0?De:[]),position:e+"",contentFormat:"video",traceInfo:(Xe=me?.video)===null||Xe===void 0?void 0:Xe.traceInfo}})}},[n,e,A]),N=we(()=>a?.mode==="2",[a]),E=we(()=>{var O;return a?.mode==="2"?`translateY(-${50+((O=a?.offsetTop)!==null&&O!==void 0?O:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),y=we(()=>{var O;return((O=t?.video)===null||O===void 0?void 0:O.cover)||C},[C,t]),F=de(()=>{if(!w||!r||!r.current||!w.current)return;const O=r?.current,k=w?.current,M=k.getContext("2d"),X=window?.innerWidth,U=window?.innerHeight;k.height=U,k.width=X,M?.drawImage(O,0,0,k.width,k.height),P(k.toDataURL())},[]);ce(()=>{var O,k,M,X;if(r.current){if(c(!1),!r.current.src){const U=t?.video.url;if(U.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const q=new window.Hls;q.loadSource(U),q.attachMedia(r.current)}else r.current.canPlayType("application/vnd.apple.mpegurl"),r.current.src=U;else r.current.src=U;r.current.setAttribute("x5-playsinline","true"),r.current.setAttribute("webkit-playsinline","true")}return(O=r.current)===null||O===void 0||O.addEventListener("loadedmetadata",T),(k=r.current)===null||k===void 0||k.addEventListener("canplay",T),(M=r.current)===null||M===void 0||M.addEventListener("playing",x),(X=r.current)===null||X===void 0||X.addEventListener("loadeddata",F),()=>{var U,q,$,be;(U=r.current)===null||U===void 0||U.removeEventListener("loadedmetadata",T),(q=r.current)===null||q===void 0||q.removeEventListener("canplay",T),($=r.current)===null||$===void 0||$.removeEventListener("playing",x),(be=r.current)===null||be===void 0||be.removeEventListener("loadeddata",F)}}},[T,x,t?.video,F]);const D=we(()=>!f?.placeholder_image||S?null:u.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image,alt:"video poster"}),[S,f?.placeholder_image]);ce(()=>{const O=()=>{var k,M;o===e&&(!((k=t?.video)===null||k===void 0)&&k.url)&&(!((M=r?.current)===null||M===void 0)&&M.src)&&!s&&R("pause")()};return window.addEventListener("beforeunload",O),()=>{window.removeEventListener("beforeunload",O)}},[o,e,t,r,R,s]);const B=we(()=>N?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[N]);return t?.video?u.createElement(u.Fragment,null,N?u.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:R(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},u.createElement(Mt,{src:y,style:Object.assign({height:i,width:d,objectFit:"cover"},B)}),u.createElement("canvas",{ref:w,style:{display:"none"}}),u.createElement("div",{style:{position:"absolute",width:d,height:i,top:"50%",transform:E,left:0,right:0}},u.createElement("div",{style:{position:"relative",width:d,height:"100%"}},u.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:r,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:I,onEnded:V,style:{width:"100%",height:i,objectFit:"contain"}}),u.createElement("img",{hidden:!s,className:"clc-pb-video-pause",src:j,alt:"video pause image"}))),D):u.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:R(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},u.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:r,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:I,onEnded:V}),D,u.createElement("img",{hidden:!s,className:"clc-pb-video-pause",src:j,alt:"video pause image"}))):null};var Zd=je(_d);const Wi={};Object.values(tn).forEach(t=>{Wi[t.extend.type]=t});const Kd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Jd="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Qd=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:d=664,containerWidth:s=375,appDomain:c,tagList:r=[]})=>{const A=we(()=>{let P=0;return e?.logoUrl&&e?.isShowLogo&&(P+=45),r.length>0&&(P+=45),d-P},[e,d,r]),f=(P,V)=>{var j,x,T,R;if(!((j=P?.video)===null||j===void 0)&&j.url)return u.createElement(Zd,{rec:P,index:V,muted:!0,width:s,data:t??[],height:A,activeIndex:V,videoPostConfig:e?.videoPost});if(!((x=P?.video)===null||x===void 0)&&x.imgUrls)return u.createElement(Gd,{key:P?.video.itemId,imgUrls:P?.video.imgUrls,width:s,height:A,rec:P,index:V,imgUrlsPostConfig:e?.imgUrlsPost});if(P.product&&P.product&&Array.isArray(e?.productPost)&&((T=e?.productPost)===null||T===void 0?void 0:T.length)>0)return(R=e?.productPost)===null||R===void 0?void 0:R.map((I,N)=>{var E,y,F,D,B,O,k,M;const X=Wi[(E=I?.item)===null||E===void 0?void 0:E.type],U=Fi(X),q=(y=X?.extend)===null||y===void 0?void 0:y.defaulSetting;return u.createElement(U,Object.assign({key:`${V}${N}`,textStyle:Object.assign(Object.assign({},q?.textStyle),(F=I?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(B=(D=I?.item)===null||D===void 0?void 0:D.bindDatas)!==null&&B!==void 0?B:[]},q?.props,(O=I?.item)===null||O===void 0?void 0:O.props,{event:((k=I?.item)===null||k===void 0?void 0:k.event)||{},id:I?.id,rec:P,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},q?.style),(M=I?.item)===null||M===void 0?void 0:M.style),{width:s,height:A,overflow:"auto"}),index:V}))})},p=we(()=>e?.logoUrl&&e?.isShowLogo?u.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},u.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(P,V)=>e?.isShowCTA===void 0||e?.isShowCTA?u.createElement("div",{className:"clc-sxp-bottom-card"},u.createElement(Qt,{rec:P,index:V,tempMap:l,resolver:Wi,isActive:!0})):null,m=(P,V)=>{var j,x,T,R,I,N,E;return P?.video?u.createElement(u.Fragment,null,((j=P?.video)===null||j===void 0?void 0:j.title)&&u.createElement("div",{className:"clc-sxp-bottom-shadow"}),u.createElement("div",{className:"clc-sxp-bottom"},u.createElement(Xo,{nudge:n}),b(P,V),u.createElement("div",null,u.createElement(Di,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(T=(x=P?.video)===null||x===void 0?void 0:x.title)!==null&&T!==void 0?T:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})}),u.createElement(Qt,{rec:P,index:V,tempMap:l,resolver:Wi,includesCtaType:["AniLink"],isActive:!0})),u.createElement(Ho,{index:V,tags:(I=(R=P?.video)===null||R===void 0?void 0:R.hashTags)!==null&&I!==void 0?I:[],itemId:(N=P?.video)===null||N===void 0?void 0:N.itemId,itemType:!((E=P?.video)===null||E===void 0)&&E.itemId?"VIDEO":null,rec:P,hashTagStyle:a})),u.createElement(Qt,{rec:P,index:V,tempMap:l,resolver:Wi,includesCtaType:["AniLinkPopup"],isActive:!0})):null},S=Lt(Jd,c),v=Lt(Kd,c),g=(P,V)=>{var j,x,T,R;if(!e?.isShowLike)return;let I=(j=e?.likeIconY)!==null&&j!==void 0?j:400;return I<40&&(I+=40),P?.video?u.createElement(Bn,{key:P.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:S,unActicveIcon:(T=e?.unlikeIcon)!==null&&T!==void 0?T:v,position:V,active:P.isCollected,recData:P,className:"clc-sxp-like-button",style:{top:I,right:(R=e?.likeIconX)!==null&&R!==void 0?R:0}}):null},h=Lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),w=Lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),C=(P,V)=>{var j,x,T,R;return u.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},p,u.createElement(qo,{tagList:r}),u.createElement(nn,{style:{position:"absolute",right:(j=e?.muteIconX)!==null&&j!==void 0?j:0,visibility:!((T=(x=t?.[V])===null||x===void 0?void 0:x.video)===null||T===void 0)&&T.url?"visible":"hidden",bottom:(R=e?.muteIconY)!==null&&R!==void 0?R:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:w}),f(P,V),m(P,V),g(P,V))};return u.createElement("div",{className:ze({width:"100%",height:d,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((P,V)=>C(P,V)))};var $d=je(Qd);const ec=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o,swiperRef:a,data:d=[],loopPlay:s})=>{const{isActive:c}=Li(),[r,A]=Z(!1);ce(()=>{c&&r&&s&&setTimeout(()=>{var p,b,m,S;if(o===d?.length-1)(p=a?.current)===null||p===void 0||p.swiper.slideTo(0);else{const v=(m=(b=a?.current)===null||b===void 0?void 0:b.swiper)===null||m===void 0?void 0:m.activeIndex;(S=a?.current)===null||S===void 0||S.swiper.slideTo(v+1)}},3e3)},[c,r,d,o,a,s]);const f=()=>{A(!0)};return u.createElement(ei,{defaultValue:0,direction:"horizontal",modules:[ji,Ni],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",bulletElement:"button"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(p=>u.createElement(zt,{key:p},u.createElement(Fn,{src:p,height:i,imgUrlsPostConfig:n,onShowFirstImage:f}))))};var tc=je(ec);const ic=vi(({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:d,swiperRef:s,videoPlayIcon:c,onUpdateTimeLine:r,loopPlay:A,onPlay:f,onPause:p},b)=>{const{isActive:m}=Li(),[S,v]=Z(!1),g=fe(null),{bffEventReport:h,sxpParameter:w,waterFallData:C,openHashtag:P}=Ge();fe(0);const[V,j]=Z(!1);Z(!0),fe(null),Z("");const x=`pb-cache-video-${e}`,T=fe(null),R=fe(A),I=t.video.scene;ce(()=>{R.current=A},[A]),Ci(b,()=>({play(){var M;g.current&&(D(),(M=g.current)===null||M===void 0||M.play(),v(!1))},pause(){var M;g.current&&((M=g.current)===null||M===void 0||M.pause(),v(!0))},setLoopPlay(M){R.current=M},isPlaying(){var M;return!(!((M=g?.current)===null||M===void 0)&&M.paused)}})),ce(()=>{g.current&&(g.current.muted=l)},[l]);const N=Lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),E=de(()=>{var M;g.current.currentTime=I?.startTime,(M=g?.current)===null||M===void 0||M.play(),j(!0)},[]),y=de(M=>()=>{var X,U,q,$,be,ue;if(!m||!g?.current||!V)return;const J=(X=g.current)===null||X===void 0?void 0:X.paused;switch(M){case"start":if(!J)return;(U=g.current)===null||U===void 0||U.play(),v(!1);break;case"pause":if(J)return;(q=g.current)===null||q===void 0||q.pause(),v(!0);break;default:J?((($=g?.current)===null||$===void 0?void 0:$.currentTime)>=I?.endTime&&(g.current.currentTime=I?.startTime),(be=g.current)===null||be===void 0||be.play()):(ue=g.current)===null||ue===void 0||ue.pause(),v(!J);break}},[V]),F=we(()=>a?.mode==="2",[a]),D=()=>{g.current&&setTimeout(()=>{var M,X,U,q,$,be,ue,J,Pe;if(((M=g?.current)===null||M===void 0?void 0:M.currentTime)>=((X=I?.endTime)!==null&&X!==void 0?X:0)){if((U=g.current)===null||U===void 0||U.pause(),!R.current)return;if(e===n?.length-1)($=(q=s?.current)===null||q===void 0?void 0:q.swiper)===null||$===void 0||$.slideTo(0);else{const De=(ue=(be=s?.current)===null||be===void 0?void 0:be.swiper)===null||ue===void 0?void 0:ue.activeIndex;(Pe=(J=s?.current)===null||J===void 0?void 0:J.swiper)===null||Pe===void 0||Pe.slideTo(De+1)}}})},B=()=>{v(!0),p?.()},O=()=>{var M;const X=((M=g?.current)===null||M===void 0?void 0:M.currentTime)-I?.startTime;f?.(e,X)};ce(()=>{var M,X,U,q;if(!m)return;const $=I?.mediaUrl;if(!$)return;v(!1);const be=document.querySelector(`#${x}`);if(!be||(g.current=Ti?.(be),!g?.current))return;const ue=window?.Hls;let J=T?.current;return $.includes(".m3u8")&&ue&&ue.isSupported()?(J=new ue,J?.loadSource($),J?.attachMedia(g?.current),J?.on(ue.Events.MANIFEST_PARSED,function(){var Pe;g.current.currentTime=I?.startTime,(Pe=g?.current)===null||Pe===void 0||Pe.play()})):g.current.src=$,(M=g.current)===null||M===void 0||M.addEventListener("loadedmetadata",E),(X=g?.current)===null||X===void 0||X.addEventListener("pause",B),(U=g?.current)===null||U===void 0||U.addEventListener("play",O),(q=g.current)===null||q===void 0||q.addEventListener("timeupdate",D),()=>{var Pe,De,Xe,me,ve;T?.current&&((Pe=T?.current)===null||Pe===void 0||Pe.destroy()),j(!1),(De=g.current)===null||De===void 0||De.removeEventListener("loadedmetadata",E),(Xe=g.current)===null||Xe===void 0||Xe.removeEventListener("pause",B),(me=g.current)===null||me===void 0||me.removeEventListener("play",O),(ve=g.current)===null||ve===void 0||ve.removeEventListener("timeupdate",D)}},[m]);const k=we(()=>{var M;return!w?.placeholder_image||V?null:u.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:((M=t?.video)===null||M===void 0?void 0:M.cover)||w?.placeholder_image,alt:"video poster"})},[V,w?.placeholder_image]);return we(()=>F?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[F]),I?.mediaUrl?u.createElement("div",{className:"video-container",key:I.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:y()},u.createElement("div",{className:"n-full-screen",id:x,style:{width:"100%",height:"100%"}}),k,S&&u.createElement(Mt,{className:"clc-pb-video-pause",src:c??N,alt:"pause"})):null});var nc=je(ic);const on={};Object.values(tn).forEach(t=>{on[t.extend.type]=t});const oc="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",lc="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ac=vi(({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:d=664,containerWidth:s=375,appDomain:c,tagList:r=[],onActiveChange:A,activeIndex:f,loopPlay:p=!1,pointerEvents:b="none",onUpdateTimeLine:m,disabledListener:S,onPlay:v,onPause:g},h)=>{const w=fe(null),C=fe(null),[P,V]=Z(0);we(()=>{let O=0;return e?.logoUrl&&e?.isShowLogo&&(O+=45),r.length>0&&(O+=45),d-O},[e,d,r]),Ci(h,()=>({play(){var O;(O=w?.current)===null||O===void 0||O.play()},pause(){var O;(O=w?.current)===null||O===void 0||O.pause()},slideTo(O){var k,M;C?.current&&((M=(k=C?.current)===null||k===void 0?void 0:k.swiper)===null||M===void 0||M.slideTo(O))},isPlaying(){var O,k;return(k=(O=w?.current)===null||O===void 0?void 0:O.isPlaying())!==null&&k!==void 0?k:!1}}));const j=O=>{if(O&&O!==""&&typeof O=="string"){const k=[".mp4",".m3u8"],M=O?.toLowerCase();return k.some(X=>M?.endsWith(X))}else return!1},x=(O,k)=>{var M,X;const U=(M=O?.video)===null||M===void 0?void 0:M.scene;return j(U?.mediaUrl)?u.createElement(nc,Object.assign({key:k},P===k&&{ref:w},{rec:O,index:k,muted:!0,width:s,data:t,height:d,activeIndex:k,videoPostConfig:e?.videoPost,videoPlayIcon:e?.videoPlayIcon,swiperRef:C,loopPlay:p,onUpdateTimeLine:m,onPlay:v,onPause:g})):u.createElement(tc,{key:k,imgUrls:[(X=U?.mediaUrl)!==null&&X!==void 0?X:""],width:s,height:d,rec:O,index:k,imgUrlsPostConfig:e?.imgUrlsPost,data:t,swiperRef:C})};we(()=>e?.logoUrl&&e?.isShowLogo?u.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},u.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]);const T=(O,k)=>{var M,X,U,q;return O?.video?u.createElement(u.Fragment,null,((M=O?.video)===null||M===void 0?void 0:M.title)&&u.createElement("div",{style:{background:"repeating-linear-gradient(0deg, rgba(26, 26, 25, 0.7), hsla(0, 0%, 100%, 0))",height:"130px",position:"absolute",bottom:0,width:"100%",willChange:"transform",zIndex:2,pointerEvents:b}}),u.createElement("div",{style:{marginBottom:`${(X=e?.bottomInfoDist)!==null&&X!==void 0?X:40}px`,zIndex:999,position:"absolute",bottom:0,left:0,right:0,paddingTop:"20px"}},e?.isShowCTA===void 0||e?.isShowCTA?u.createElement("div",{style:{}},u.createElement(Qt,{rec:O,index:k,tempMap:l,resolver:on,isActive:k===f})):null,u.createElement("div",null,u.createElement(Di,{isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(q=(U=O?.video)===null||U===void 0?void 0:U.title)!==null&&q!==void 0?q:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none",padding:"0 20px",fontSize:"12px"})}),u.createElement(Qt,{rec:O,index:k,tempMap:l,resolver:on,includesCtaType:["AniLink"],isActive:k===f}))),u.createElement(Qt,{rec:O,index:k,tempMap:l,resolver:on,includesCtaType:["AniLinkPopup"],isActive:k===f})):null},R=Lt(lc,c),I=Lt(oc,c),N=(O,k)=>{var M,X,U,q;if(!e?.isShowLike)return null;let $=(M=e?.likeIconY)!==null&&M!==void 0?M:400;return $<40&&($+=40),O?.video?u.createElement(Bn,{key:O.position,activeIcon:(X=e?.likeIcon)!==null&&X!==void 0?X:R,unActicveIcon:(U=e?.unlikeIcon)!==null&&U!==void 0?U:I,position:k,active:O.isCollected,recData:O,style:{top:$,right:(q=e?.likeIconX)!==null&&q!==void 0?q:0,position:"absolute",zIndex:999,backgroundColor:"transparent",width:"50px",height:"50px",outline:"none",border:"none",boxSizing:"content-box",padding:0,transform:"translate3d(0px, 0px, 0px)"}}):null},E=Lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),y=Lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),F=O=>{var k,M,X,U;if(!O)return null;let q=(k=e?.muteIconY)!==null&&k!==void 0?k:23;return e?.muteIconYPosit==="top"&&(q+=45),e?.isShowMute===void 0||e?.isShowMute===!0?u.createElement(nn,{style:{position:"absolute",visibility:"visible",zIndex:999,transform:"translate3d(0px,0px,0px)",[(M=e?.muteIconXPosit)!==null&&M!==void 0?M:"right"]:(X=e?.muteIconX)!==null&&X!==void 0?X:0,[(U=e?.muteIconYPosit)!==null&&U!==void 0?U:"bottom"]:q,backgroundColor:"transparent",width:"50px",height:"50px",outline:"none",border:"none",boxSizing:"content-box",padding:0},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:E,unactiveIcon:e?.muteIcon?e?.muteIcon:y}):null},D=(O,k)=>{var M,X,U,q;return u.createElement("div",{style:{position:"relative"}},u.createElement(zt,{key:k,virtualIndex:k,style:{overflow:"hidden",position:"relative"}},T(O,k),N(O,k),F(!e?.muteIconFixed),u.createElement(nn,{style:{position:"absolute",right:(M=e?.muteIconX)!==null&&M!==void 0?M:0,visibility:!((U=(X=t?.[k])===null||X===void 0?void 0:X.video)===null||U===void 0)&&U.url?"visible":"hidden",bottom:(q=e?.muteIconY)!==null&&q!==void 0?q:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:E,unactiveIcon:e?.muteIcon?e?.muteIcon:y}),x(O,k)))};ce(()=>{var O,k;C?.current&&((k=(O=C?.current)===null||O===void 0?void 0:O.swiper)===null||k===void 0||k.slideTo(f))},[f]);const B=de(Ei(()=>{var O;(O=w.current)===null||O===void 0||O.setLoopPlay(!1)},1e3),[]);return ce(()=>{if(S)return;const O=["touchstart","touchcancel"];return O.forEach(k=>{window.addEventListener(k,B)}),()=>{O.forEach(k=>{window.removeEventListener(k,B)})}},[B,S]),u.createElement("div",{id:"sxp-render",style:{height:d,position:"relative",pointerEvents:b}},u.createElement(ei,{ref:C,allowTouchMove:b!=="none",onSlideChange:()=>{C.current.swiper.allowTouchMove=!1,setTimeout(()=>{C.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:O=>{V(O?.activeIndex),A?.(O.activeIndex)},direction:"vertical",style:{overflow:"hidden",height:d},height:d},t?.map((O,k)=>D(O,k))))});var sc=je(ac);const rc=()=>{const{schema:t,resolver:e,popup:i}=ai(),{setPopupDetailData:n,popupDetailData:l,popupCurTimeRef:o,checkCommodityIndexRef:a}=Ge(),{productView:d}=Vt(),[s,c]=Z();ce(()=>{const p=()=>{o.current=new Date};return p(),window.addEventListener("pageshow",p),()=>{window.removeEventListener("pageshow",p)}},[]),ce(()=>{i&&i?.id&&i?.id!==""&&(o.current=new Date,c(i))},[i]);const r=we(()=>{var p,b,m,S;const v=(m=(b=(p=t?.sxpPageConf)===null||p===void 0?void 0:p.globalConfig)===null||b===void 0?void 0:b.popupList)===null||m===void 0?void 0:m.find((g,h)=>{if(g?.id===i?.id)return g});return v!==-1&&((S=v?.item)===null||S===void 0?void 0:S.type)==="Iframe"},[i,t]),A=()=>{var p,b,m,S,v,g,h,w,C,P,V,j,x,T,R,I,N,E;if(!i||i?.id===""||!s||new Date-o.current<((p=i?.duration)!==null&&p!==void 0?p:0))return;c(Object.assign(Object.assign({},i),{id:""}));const y=(S=(m=(b=t?.sxpPageConf)===null||b===void 0?void 0:b.globalConfig)===null||m===void 0?void 0:m.popupList)===null||S===void 0?void 0:S.find(F=>F?.id===i?.id);if(((v=y?.item)===null||v===void 0?void 0:v.type)==="CommodityDetail"||((g=y?.item)===null||g===void 0?void 0:g.type)==="CommodityDetailDiroNew"){const F=l;let D=(w=(h=F?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&w!==void 0?w:(P=(C=F?.video)===null||C===void 0?void 0:C.bindProducts)===null||P===void 0?void 0:P[0],B=(x=(j=(V=F?.video)===null||V===void 0?void 0:V.bindProduct)===null||j===void 0?void 0:j.bindCta)!==null&&x!==void 0?x:(I=(R=(T=F?.video)===null||T===void 0?void 0:T.bindProducts)===null||R===void 0?void 0:R[0])===null||I===void 0?void 0:I.bindCta;if(a?.current>=0){const O=(E=(N=F?.video)===null||N===void 0?void 0:N.bindProducts)===null||E===void 0?void 0:E[a?.current];O&&(D=O,B=O?.bindCta)}D&&B&&d(F,D,B,o.current,l?.index)}setTimeout(()=>{window?.sxpPopup(""),n?.(null),a.current=-1},i?.duration)},f=we(()=>{var p,b,m;return(m=(b=(p=t?.sxpPageConf)===null||p===void 0?void 0:p.globalConfig)===null||b===void 0?void 0:b.popupList)===null||m===void 0?void 0:m.map((S,v)=>{var g,h,w,C,P,V,j,x,T,R,I,N,E,y;if(S?.id===i?.id){const F=e[(g=S?.item)===null||g===void 0?void 0:g.type],D=Fi(F),B=((C=(w=(h=S?.item)===null||h===void 0?void 0:h.event)===null||w===void 0?void 0:w.onClick)===null||C===void 0?void 0:C.linkType)==="externalLink",O=((j=(V=(P=S?.item)===null||P===void 0?void 0:P.event)===null||V===void 0?void 0:V.onClick)===null||j===void 0?void 0:j.linkType)==="popup",k=(x=F?.extend)===null||x===void 0?void 0:x.defaulSetting;return u.createElement(D,Object.assign({key:v,style:Object.assign(Object.assign(Object.assign({},k?.style),(T=S?.item)===null||T===void 0?void 0:T.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},k?.textStyle),(R=S?.item)===null||R===void 0?void 0:R.textStyle),bindDatas:(N=(I=S?.item)===null||I===void 0?void 0:I.bindDatas)!==null&&N!==void 0?N:[]},k?.props,(E=S?.item)===null||E===void 0?void 0:E.props,{event:((y=S?.item)===null||y===void 0?void 0:y.event)||{},schema:t,id:S?.id,isExternalLink:B,isPopup:O,onClose:A}))}else return u.createElement(u.Fragment,null)})},[t,i,e,A]);return u.createElement(Si,{popup:s,onClose:A,padding:0,modalStyle:{position:"fixed"},isFullScreen:r},f)},Wn={};Object.values(tn).forEach(t=>{Wn[t.extend.type]=t});const dc=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:o,enabledMetaConversionApi:a,dataList:d})=>{var s,c,r,A,f,p,b;const m=((s=t?.page_type)===null||s===void 0?void 0:s.path_type)===5,S=we(()=>{var C;return location?.search?(C=location?.search)===null||C===void 0?void 0:C.replace("?",""):""},[]),[v,g]=Z(t?.data),[h,w]=Z();return u.createElement(uo,{resolver:Wn,enableDataSource:!1,schema:v,utmVal:h||S},u.createElement(ao,{utmVal:S,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(r=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.personalized_recommend)!==null&&r!==void 0?r:e,defaultSize:(f=(A=t?.sxp_parameter)===null||A===void 0?void 0:A.default_recommend)!==null&&f!==void 0?f:i,hashTagSize:(b=(p=t?.sxp_parameter)===null||p===void 0?void 0:p.hash_tag_size)!==null&&b!==void 0?b:n,loadingImage:l,appDomain:o,enabledMetaConversionApi:a,utmParameter:t?.utm_parameter,data:t,dataList:d,isDiyH5:m,onUpdateSchema:C=>g(C),onUpdateChannel:C=>w(C),render:({rtcList:C,tagList:P,pageData:V})=>{var j;return u.createElement(u.Fragment,null,u.createElement(Go,Object.assign({defaultData:t},(j=V?.data)===null||j===void 0?void 0:j.sxpPageConf,{tagList:P,data:C,resolver:Wn})),u.createElement(rc,null))}}))};var cc=je(dc);export{$d as DiyPortalPreview,sc as DiyStoryPreview,hd as EditorDataProvider,Si as Modal,ao as SxpDataSourceProvider,cc as SxpPageCore,Go as SxpPageRender,wl as core,sl as default,tn as materials,Bi as useEditorDataProvider};
|
|
18
18
|
//# sourceMappingURL=index.min.js.map
|