pb-sxp-ui 1.0.69 → 1.0.71
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 +301 -174
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -2
- package/dist/index.js +301 -174
- 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 +304 -177
- 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/DiyPortalPreview/VideoWidget.js +3 -2
- package/es/core/components/SxpPageCore/index.js +2 -2
- package/es/core/components/SxpPageRender/FingerSwipeTip/index.d.ts +2 -1
- package/es/core/components/SxpPageRender/FingerSwipeTip/index.js +2 -2
- package/es/core/components/SxpPageRender/FormatImage.js +1 -2
- package/es/core/components/SxpPageRender/Nudge/index.js +2 -2
- package/es/core/components/SxpPageRender/VideoWidget/index.js +1 -1
- package/es/core/components/SxpPageRender/WaterFall/List.js +5 -9
- package/es/core/components/SxpPageRender/index.d.ts +5 -0
- package/es/core/components/SxpPageRender/index.js +21 -24
- package/es/core/components/SxpPageRender/typing.d.ts +1 -0
- package/es/core/context/SxpDataSourceProvider.d.ts +0 -1
- package/es/core/context/SxpDataSourceProvider.js +12 -4
- package/es/materials/sxp/HashTag/settingRender.d.ts +2 -7
- package/es/materials/sxp/HashTag/settingRender.js +0 -5
- package/es/materials/sxp/defaultSetting.d.ts +1 -4
- package/es/materials/sxp/defaultSetting.js +4 -5
- package/es/materials/sxp/popup/AppointForm/index.d.ts +2 -1
- package/es/materials/sxp/popup/AppointForm/index.js +3 -8
- package/es/materials/sxp/popup/AppointForm/settingRender.d.ts +29 -8
- package/es/materials/sxp/popup/AppointForm/settingRender.js +33 -2
- package/es/materials/sxp/popup/CommodityDetail/index.d.ts +1 -0
- package/es/materials/sxp/popup/CommodityDetail/index.js +7 -1
- package/es/materials/sxp/popup/CommodityDetail/material.js +5 -2
- package/es/materials/sxp/popup/CommodityDetail/settingRender.d.ts +28 -0
- package/es/materials/sxp/popup/CommodityDetail/settingRender.js +30 -0
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +1 -0
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +7 -1
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +16 -0
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +13 -0
- package/es/materials/sxp/popup/Prompt/index.d.ts +2 -1
- package/es/materials/sxp/popup/Prompt/index.js +2 -2
- package/es/materials/sxp/popup/Prompt/settingRender.d.ts +46 -11
- package/es/materials/sxp/popup/Prompt/settingRender.js +57 -14
- package/es/materials/sxp/template/Commodity/index.d.ts +1 -0
- package/es/materials/sxp/template/Commodity/index.js +12 -6
- package/es/materials/sxp/template/CommodityDiro/index.d.ts +1 -0
- package/es/materials/sxp/template/CommodityDiro/index.js +12 -6
- package/es/materials/sxp/template/CommodityDiroNew/index.d.ts +1 -0
- package/es/materials/sxp/template/CommodityDiroNew/index.js +12 -6
- package/es/materials/sxp/template/MultiCommodity/index.d.ts +1 -0
- package/es/materials/sxp/template/MultiCommodity/index.js +7 -5
- package/es/materials/sxp/template/MultiCommodityDiro/index.d.ts +1 -0
- package/es/materials/sxp/template/MultiCommodityDiro/index.js +7 -5
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.d.ts +1 -0
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +7 -5
- package/es/materials/sxp/template/components/Img.d.ts +2 -1
- package/es/materials/sxp/template/components/Img.js +2 -2
- package/es/materials/sxp/template/components/settingRender.d.ts +50 -0
- package/es/materials/sxp/template/components/settingRender.js +8 -0
- package/lib/core/components/DiyPortalPreview/VideoWidget.js +3 -2
- package/lib/core/components/SxpPageCore/index.js +2 -2
- package/lib/core/components/SxpPageRender/FingerSwipeTip/index.d.ts +2 -1
- package/lib/core/components/SxpPageRender/FingerSwipeTip/index.js +2 -2
- package/lib/core/components/SxpPageRender/FormatImage.js +0 -1
- package/lib/core/components/SxpPageRender/Nudge/index.js +2 -2
- package/lib/core/components/SxpPageRender/VideoWidget/index.js +1 -1
- package/lib/core/components/SxpPageRender/WaterFall/List.js +5 -9
- package/lib/core/components/SxpPageRender/index.d.ts +5 -0
- package/lib/core/components/SxpPageRender/index.js +21 -24
- package/lib/core/components/SxpPageRender/typing.d.ts +1 -0
- package/lib/core/context/SxpDataSourceProvider.d.ts +0 -1
- package/lib/core/context/SxpDataSourceProvider.js +12 -4
- package/lib/materials/sxp/HashTag/settingRender.d.ts +2 -7
- package/lib/materials/sxp/HashTag/settingRender.js +0 -5
- package/lib/materials/sxp/defaultSetting.d.ts +1 -4
- package/lib/materials/sxp/defaultSetting.js +4 -5
- package/lib/materials/sxp/popup/AppointForm/index.d.ts +2 -1
- package/lib/materials/sxp/popup/AppointForm/index.js +3 -8
- package/lib/materials/sxp/popup/AppointForm/settingRender.d.ts +29 -8
- package/lib/materials/sxp/popup/AppointForm/settingRender.js +34 -2
- package/lib/materials/sxp/popup/CommodityDetail/index.d.ts +1 -0
- package/lib/materials/sxp/popup/CommodityDetail/index.js +7 -1
- package/lib/materials/sxp/popup/CommodityDetail/material.js +5 -2
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.d.ts +28 -0
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +30 -0
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +1 -0
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +7 -1
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +16 -0
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +13 -0
- package/lib/materials/sxp/popup/Prompt/index.d.ts +2 -1
- package/lib/materials/sxp/popup/Prompt/index.js +2 -2
- package/lib/materials/sxp/popup/Prompt/settingRender.d.ts +46 -11
- package/lib/materials/sxp/popup/Prompt/settingRender.js +58 -14
- package/lib/materials/sxp/template/Commodity/index.d.ts +1 -0
- package/lib/materials/sxp/template/Commodity/index.js +12 -6
- package/lib/materials/sxp/template/CommodityDiro/index.d.ts +1 -0
- package/lib/materials/sxp/template/CommodityDiro/index.js +12 -6
- package/lib/materials/sxp/template/CommodityDiroNew/index.d.ts +1 -0
- package/lib/materials/sxp/template/CommodityDiroNew/index.js +12 -6
- package/lib/materials/sxp/template/MultiCommodity/index.d.ts +1 -0
- package/lib/materials/sxp/template/MultiCommodity/index.js +7 -5
- package/lib/materials/sxp/template/MultiCommodityDiro/index.d.ts +1 -0
- package/lib/materials/sxp/template/MultiCommodityDiro/index.js +7 -5
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.d.ts +1 -0
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +7 -5
- package/lib/materials/sxp/template/components/Img.d.ts +2 -1
- package/lib/materials/sxp/template/components/Img.js +2 -2
- package/lib/materials/sxp/template/components/settingRender.d.ts +50 -0
- package/lib/materials/sxp/template/components/settingRender.js +8 -0
- package/package.json +2 -3
package/dist/index.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import{isEmpty as xt,isEqual as bi,cloneDeep as gt,debounce as Rt,throttle as Et,get as yi}from"lodash";import{v4 as bn}from"uuid";import yn from"pako";import v,{useContext as bt,useMemo as ie,createContext as yt,memo as ce,useState as $,useRef as Q,useEffect as X,useCallback as ue,forwardRef as It,useImperativeHandle as wi,useLayoutEffect as wn}from"react";import Ti from"qs";import Tn from"eventemitter3";import{css as J}from"@emotion/css";import{BetaSchemaForm as Sn}from"@ant-design/pro-components";import*as Si from"react-dom";function xe(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 o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function Ce(t,e,i,n){function o(l){return l instanceof i?l:new i(function(a){a(l)})}return new(i||(i=Promise))(function(l,a){function s(d){try{c(n.next(d))}catch(p){a(p)}}function r(d){try{c(n.throw(d))}catch(p){a(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,r)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const xn=/:\w+/g;var xi=(t,e)=>Ce(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:a,url:s,urlParams:r,name:c,queryString:d,headers:p,body:m}=e[o];let f=s;r&&Object.entries(r).forEach(([g,h])=>{f=f.replace(xn,C=>C===g?h:C)}),d&&(f+=d),n[l]=c;try{const g=yield fetch(f,{method:a,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(h=>h.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const Ei="SXP_TOKEN_INFO",En=(t,e)=>Ce(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),a=window.localStorage.getItem(Ei);let s=JSON.parse(a||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Ei,JSON.stringify(s))}}return s});function Ct(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const In=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Cn=()=>{const t=bn();return t?.replaceAll?t.replaceAll("-",""):In(32)};function Ii(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=yn.inflate(n,{to:"string"});return JSON.parse(o)}let Ft=null;const _n={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Dn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Ft)return Ft;Ft=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?_n[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ee=null;const kn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ee||(Ee=new Dn),n&&Ee.setApiUrl(n),Ee.setAppId(t),Ee.setTenantId(e),Ee.setEnv(i)},getDetail:t=>{if(!Ee)return;const e=Ee.getTenantId(),i=Ee.getAppId(),n=Ee.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ce(void 0,void 0,void 0,function*(){var l,a;const s=yield o.json(),r=Ii((l=s?.data)===null||l===void 0?void 0:l.data);if(r){const{$store:c}=yield xi(n,(a=r?.dataSource)!==null&&a!==void 0?a:[]);s.data.data=r,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>Ce(void 0,void 0,void 0,function*(){if(!Ee)return;const e=Ee.getTenantId(),i=Ee.getAppId(),n=Ee.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ce(void 0,void 0,void 0,function*(){var l;const a=yield o.json();if(!a.success)return;const s=Ii((l=a?.data)===null||l===void 0?void 0:l.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>Ce(void 0,void 0,void 0,function*(){if(!Ee)return;const e=yield En(Ee,t),i=Ct(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");xt(n)&&(n=Ct(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=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(l=>l.json());return o?.data||null})};function qe(){return bt(Li)}function An(){return bt(Mi)}const Ht="feRealSessionIdKey",Ci=()=>{const t=Cn();return`${Date.now()}${t}`},Pn=()=>{let t=Mn();return t||(t=Ci(),window.sessionStorage.setItem(Ht,t)),t},On=()=>{const t=Ci();window.sessionStorage.setItem(Ht,t)},Mn=()=>window.sessionStorage.getItem(Ht),_i="SXP_FAKE_USER_ID",Di="FAKE_USER_STATE",Ln=()=>{let t=window.localStorage.getItem(_i);return xt(t)&&(t=Ct(36,62),window.localStorage.setItem(_i,t)),t},Nn=()=>{const t=window.localStorage.getItem(Di);return xt(t)&&window.localStorage.setItem(Di,"true"),xt(t)};function Pe(t,e){const{appDomain:i}=fe();return ie(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Ye=new Tn;var ze;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(ze||(ze={}));const ki=yt({rtcList:[],tagList:[]});var Ut;(function(t){t[t.BFF=5]="BFF"})(Ut||(Ut={}));const Ai=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],jn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:a=!1,sxpParameter:s,appDomain:r,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:m=!1,isShowTag:f=!0})=>{const[g,h]=$([]),[C,u]=$([]),[y,b]=$(!1),[I,w]=$({rtc:"",requestId:""}),T=Q(null),O=Q(!1),[_,x]=$(),[S,k]=$(),[E,D]=$(p),[A,N]=$([]),[V,H]=$(0),[F,L]=$(!1),[B,M]=$(null),P=Q();X(()=>{const R=G=>{P.current=G};return Ye.on(ze.CHANGE_THEME_TAG,R),()=>{Ye.off(ze.CHANGE_THEME_TAG,R)}},[]),X(()=>{D(p)},[p]);const Y=ie(()=>e?.find(R=>R.type===Ut.BFF),[e]),z=ue((R,G)=>{if(!Y)return;const oe=Y.url,we=Ln();if(G?.query){const ye=Ti.stringify(G.query);R=`${R}?${ye}`}return G.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${oe}/api/v1${R}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Y.headers),{"x-user-id":we}),G.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${oe}/api/v1${R}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":we},Y.headers),method:G.method,body:JSON.stringify(G.body)}).then(ye=>ye.json()).catch(ye=>Promise.reject(ye))},[Y]),U=ue(R=>Ce(void 0,void 0,void 0,function*(){var G,oe,we,ye,Se;if(R={maxSize:(G=R?.maxSize)!==null&&G!==void 0?G:o,defaultSize:(oe=R?.defaultSize)!==null&&oe!==void 0?oe:l,"itemFilter.itemId":R?.["itemFilter.itemId"],"itemFilter.itemType":R?.["itemFilter.itemType"],hashTag:R?.hashTag,traceInfo:R?.traceInfo,themeTag:R?.themeTag},i){const De=(Se=(ye=(we=i?.split("&"))===null||we===void 0?void 0:we.filter(Fe=>{const Je=Fe.split("=")[0];return Ai.includes(Je)}))===null||ye===void 0?void 0:ye.join("&"))!==null&&Se!==void 0?Se:"";R=Object.assign(Object.assign({},R),{channel:decodeURIComponent(De)})}const he=yield z?.("/recommend/list",{method:"GET",query:R});if(he?.success)return R?.hashTag||w({rtc:he.data.rtc,requestId:he.data.requestId}),he?.data}),[z,i,o,l]),ne=ue(()=>Ce(void 0,void 0,void 0,function*(){var R,G;if(g.length<=0)return;const oe=yield U({hashTag:S?.hashTag,"itemFilter.itemId":S?.itemId,"itemFilter.itemType":S?.itemType,themeTag:P.current});h(g.concat((R=oe?.recList)!==null&&R!==void 0?R:[])),N(A.concat((G=oe?.recList)!==null&&G!==void 0?G:[]))}),[U,g,S,A]),le=ue(({userInfo:R,eventInfo:G})=>{if(!n)return;R||(R={});const oe=Pn(),we=Object.assign({sessionID:oe,rtc:I.rtc,requestId:I.requestId},G),ye=Object.entries(R).map(([he,De])=>({name:he,value:De})),Se=Object.entries(we).map(([he,De])=>De&&{name:he,value:De}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",R),console.log("eventInfo:",we),console.log("========= \u7ED3\u675F ========="),z?.("/event/report",{method:"POST",body:{userInfo:ye,eventInfo:Se},type:"beacon"})},[z,I,n]),pe=ue(R=>{var G,{eventName:oe,actionSource:we="website",eventSourceUrl:ye=(G=window?.location)===null||G===void 0?void 0:G.href,externalId:Se}=R;if(!(!n||!m))return z?.("/fb/events",{method:"POST",body:{eventName:oe,actionSource:we,eventSourceUrl:ye,"userData.externalId":Se},type:"beacon"})},[z,n,m]),q=ue(R=>Ce(void 0,void 0,void 0,function*(){const G=yield z?.("/recommend/like",{method:"POST",body:R});return G?.success}),[z]),re=ue(R=>Ce(void 0,void 0,void 0,function*(){const G=yield z?.("/recommend/unlike",{method:"POST",body:R});return G?.success}),[z]),ae=ue(R=>Ce(void 0,void 0,void 0,function*(){const G=yield z?.("/customform",{method:"POST",body:R});return G?.success}),[z]),Z=ue(()=>Ce(void 0,void 0,void 0,function*(){var R,G,oe,we,ye;if(!(!i||!f))try{const Se=(oe=(G=(R=i?.split("&"))===null||R===void 0?void 0:R.filter(De=>{const Fe=De.split("=")[0];return Ai.includes(Fe)}))===null||G===void 0?void 0:G.join("&"))!==null&&oe!==void 0?oe:"",he=yield z?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Se)}});u((ye=(we=he?.data)===null||we===void 0?void 0:we.tags)!==null&&ye!==void 0?ye:[])}catch(Se){console.log("e",Se)}}),[z,i,f]),me=ue((R,G,oe,we)=>{var ye,Se,he,De,Fe,Je,ft,rt,mt,Ke,ht,tt;const Ie=oe?.bindCta,dt=((ye=G?.video)===null||ye===void 0?void 0:ye.bindProduct)||((Se=G?.video)===null||Se===void 0?void 0:Se.bindProducts)&&((De=(he=G?.video)===null||he===void 0?void 0:he.bindProducts)===null||De===void 0?void 0:De.length)>0;let ct="";F?ct="hashTagPage":!((Fe=G?.video)===null||Fe===void 0)&&Fe.url?ct="videoPage":!((ft=(Je=G?.video)===null||Je===void 0?void 0:Je.imgUrls)===null||ft===void 0)&&ft.length&&(ct="imagePage"),le?.({eventInfo:Object.assign(Object.assign({},R),{ctaId:(rt=Ie?.itemId)!==null&&rt!==void 0?rt:"",ctaName:(mt=Ie?.title)!==null&&mt!==void 0?mt:"",contentTags:JSON.stringify(Ie?.tags),position:we+"",contentId:(ht=(Ke=G?.video)===null||Ke===void 0?void 0:Ke.itemId)!==null&&ht!==void 0?ht:"",productId:dt?oe?.itemId:"",traceInfo:(tt=Ie?.traceInfo)!==null&&tt!==void 0?tt:"",fromKName:ct})})},[le,F]);X(()=>{b(!0),Z(),U().then(R=>{var G,oe;h((G=R?.recList)!==null&&G!==void 0?G:[]),N((oe=R?.recList)!==null&&oe!==void 0?oe:[])}).finally(()=>{b(!1),O.current=!0})},[]),X(()=>{O.current&&(b(!0),Z(),U().then(R=>{var G,oe;h((G=R?.recList)!==null&&G!==void 0?G:[]),N((oe=R?.recList)!==null&&oe!==void 0?oe:[])}).finally(()=>{b(!1)}))},[U,Z]);const Ne=Pe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return v.createElement(ki.Provider,{value:{rtcList:g,setRtcList:h,mutateLike:q,mutateUnlike:re,submitForm:ae,popupDetailData:_,loadVideos:ne,setPopupDetailData:x,getRecommendVideos:U,bffEventReport:le,utmVal:i,isPreview:a,loading:y,sxpParameter:s,waterFallData:S,setWaterFallData:k,ctaEvent:me,swiperRef:T,openHashtag:E,setOpenHashtag:D,cacheRtcList:A,setCacheRtcList:N,cacheActiveIndex:V,setCacheActiveIndex:H,isFromHashtag:F,setIsFromHashtag:L,appDomain:r,hashTagSize:c,loadingImage:d??Ne,isOpenHashTag:p,tagList:C,setLoading:b,videoRef:B,setVideoRef:M,bffFbReport:pe}},t({rtcList:g,mutateLike:q,mutateUnlike:re,submitForm:ae,tagList:C}))};var Pi=ce(jn);function fe(){return bt(ki)}var Oi;(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"})(Oi||(Oi={}));const Mi=yt({$store:{},options:[],configs:[]}),Bn=({children:t,isSsr:e,enable:i})=>{const[n,o]=$([]),{schema:l}=qe(),[a,s]=$(l.__STORE__||{}),[r,c]=$([]);X(()=>{var m;e||bi(r,l?.dataSource)||c((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const d=ue(()=>Ce(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield xi("",r);s(m),p(m,f)}),[r]),p=(m,f)=>{const g=[];Object.entries(m).forEach(([h,C])=>{Object.keys(C).forEach(u=>{const y={label:`${f[h]} - ${u}`,value:`{{ ${h}.${u} }}`};g.push(y)})}),o(g)};return X(()=>{e||d()},[d,e,l]),i?v.createElement(Mi.Provider,{value:{$store:l.__STORE__||a,options:n,configs:r}},t):t};var zn=ce(Bn);const _t={id:Ct(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},Gt={id:"",duration:0,name:"none"},Li=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[_t],redoStack:[],popup:Gt,setPopup:()=>{}}),Ni=It(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},a)=>{const[s,r]=$(null),[c,d]=$(n||{pointData:[_t],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=$([_t]),[f,g]=$([[_t]]),[h,C]=$([]),[u,y]=$(Gt);typeof window<"u"&&(window.sxpPopup=(O,_)=>{y(Object.assign(Object.assign(Object.assign({},Gt),{id:O}),_))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(l?"&"+l:""):O+(l?"?"+l:"")),X(()=>{g([c.pointData]),C([])},[c.type]);const b=ue(O=>{const _=gt(c);_&&(_.dataSource=O,d?.(_))},[c]),[I,w]=$();wi(a,()=>({loadSchema(O){O&&(g([O.pointData]),d(O))},exportSchema(){return gt(c)},getPageInfoData(){return I},initPageInfoData(O){O&&w(O)}}));const T=ie(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(Li.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:r,setSchema:d,saveDataSource:b,prePiontData:p,setPrePiontData:m,pageInfoData:I,setPageInfoData:O=>w(Object.assign(Object.assign({},I),O)),undoStack:f,redoStack:h,setRedoStack:C,setUndoStack:g,getCurPageConf:T,popup:u,setPopup:y}},v.createElement(zn,{isSsr:i,enable:o},t))});var Vn=Object.freeze({__proto__:null,EditorCore:Ni}),Rn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const se=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var Fn={fontOptions:se},$t,Hn=[{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:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:se,initialValue:($t=se?.[0])===null||$t===void 0?void 0:$t.value},{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:"\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"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Ve(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=fe(),o=ue((a,s,r,c)=>{var d,p,m,f,g,h,C,u,y,b,I,w,T,O;let _="";e&&(!((p=(d=a?.video)===null||d===void 0?void 0:d.bindProducts)===null||p===void 0)&&p.length||!((m=a?.video)===null||m===void 0)&&m.bindProduct)?_="pdpPage":n?_="hashTagPage":!((f=a?.video)===null||f===void 0)&&f.url?_="videoPage":!((g=a?.video)===null||g===void 0)&&g.imgUrls&&(!((C=(h=a?.video)===null||h===void 0?void 0:h.imgUrls)===null||C===void 0)&&C.length)?_="imagePage":a?.product&&(_="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=s?.itemId)!==null&&u!==void 0?u:"",productName:(y=s?.title)!==null&&y!==void 0?y:"",price:s?.price?s?.price+"":"0",productCollection:(b=s?.collection)!==null&&b!==void 0?b:"",fromKName:_,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:c+"",contentId:(w=(I=a?.video)===null||I===void 0?void 0:I.itemId)!==null&&w!==void 0?w:"",ctatId:(T=r?.itemId)!==null&&T!==void 0?T:"",traceInfo:(O=s?.traceInfo)!==null&&O!==void 0?O:""}})},[t,e,n]),l=ue((a,s,r,c,d)=>{var p,m,f,g;let h="";e&&(!((m=(p=a?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((f=a?.video)===null||f===void 0)&&f.bindProduct)?h="pdpPage":a?.product&&(h="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:h,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:d+"",contentId:(g=a?.video)===null||g===void 0?void 0:g.itemId,ctatId:r?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Un=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:a,submitText:s,layoutType:r,isExternalLink:c,isPopup:d,onClick:p,onClose:m}=t,f=xe(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose"]);const{submitForm:g,popupDetailData:h}=fe(),{jumpToWeb:C}=Ve(),u=Q(),[y,b]=$(!1),I=ie(()=>[{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"}],[]),w=ie(()=>{if(r===void 0){const O=gt(e)||I;return O?.map(_=>Object.assign(Object.assign({},_),{title:void 0,fieldProps:{placeholder:_?.title}}))}else return gt(e)||I},[r,e,I]),T=Rt(()=>Ce(void 0,void 0,void 0,function*(){var O,_,x,S,k,E;const D=yield(O=u?.current)===null||O===void 0?void 0:O.getFieldsValue();if(!D)return;const A=(x=(_=Object.keys(D))===null||_===void 0?void 0:_.map(V=>{var H;return{name:V,value:(H=D[V])!==null&&H!==void 0?H:""}}))===null||x===void 0?void 0:x.filter(V=>V?.value);if(!A||!A?.length)return;b(!0);const N=yield g?.({attributes:A});if(b(!1),N){if(c){const V=h,H=(S=V?.video)===null||S===void 0?void 0:S.bindProduct,F=(E=(k=V?.video)===null||k===void 0?void 0:k.bindProduct)===null||E===void 0?void 0:E.bindCta,L=h?.index;C(V,H,F,L)}d||m?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${J(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:J(Object.assign({},i))},f),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement(Sn,{columns:w,submitter:!1,layout:r,autoFocusFirstInput:!1,size:"large",formRef:u,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:T,className:"pb-appoint-form-btn",style:{color:a,background:l}},y?v.createElement(v.Fragment,null,"loading..."):s)))};var Gn=ce(Un);function ke(t,e){return t.extend=e,t}const $n=ke(Gn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Hn,bindableProps:[],interactionRender:Rn},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 Wt,qt,Wn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{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"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:se,name:["fontFamily"],initialValue:(Wt=se?.[0])===null||Wt===void 0?void 0:Wt.value},{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"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{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:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:se,initialValue:(qt=se?.[0])===null||qt===void 0?void 0:qt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function ji(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Yt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ji(e[i])&&ji(t[i])&&Object.keys(e[i]).length>0&&Yt(t[i],e[i])})}const Bi={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 Re(){const t=typeof document<"u"?document:{};return Yt(t,Bi),t}const qn={document:Bi,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 _e(){const t=typeof window<"u"?window:{};return Yt(t,qn),t}function Ze(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Yn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function ut(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Oe(){return Date.now()}function Xn(t){const e=_e();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Jn(t,e){e===void 0&&(e="x");const i=_e();let n,o,l;const a=Xn(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function Dt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Kn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ae(){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&&!Kn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,a=o.length;l<a;l+=1){const s=o[l],r=Object.getOwnPropertyDescriptor(n,s);r!==void 0&&r.enumerable&&(Dt(t[s])&&Dt(n[s])?n[s].__swiper__?t[s]=n[s]:Ae(t[s],n[s]):!Dt(t[s])&&Dt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Ae(t[s],n[s])):t[s]=n[s])}}}return t}function kt(t,e,i){t.style.setProperty(e,i)}function zi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=_e(),l=-e.translate;let a=null,s;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(m,f)=>c==="next"&&m>=f||c==="prev"&&m<=f,p=()=>{s=new Date().getTime(),a===null&&(a=s);const m=Math.max(Math.min((s-a)/r,1),0),f=.5-Math.cos(m*Math.PI)/2;let g=l+f*(i-l);if(d(g,i)&&(g=i),e.wrapperEl.scrollTo({[n]:g}),d(g,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:g})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function He(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function At(t){try{console.warn(t);return}catch{}}function wt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Ze(e)),i}function Qn(t){const e=_e(),i=Re(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,a=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+r-a}}function Zn(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 eo(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 et(t,e){return _e().getComputedStyle(t,null).getPropertyValue(e)}function Pt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Vi(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 Xt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Jt(t,e,i){const n=_e();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 Ue(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function to(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=_e();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,s=Oe(),r;const c=[];function d(b){let O=0,_=0,x=0,S=0;return"detail"in b&&(_=b.detail),"wheelDelta"in b&&(_=-b.wheelDelta/120),"wheelDeltaY"in b&&(_=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(O=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(O=_,_=0),x=O*10,S=_*10,"deltaY"in b&&(S=b.deltaY),"deltaX"in b&&(x=b.deltaX),b.shiftKey&&!x&&(x=S,S=0),(x||S)&&b.deltaMode&&(b.deltaMode===1?(x*=40,S*=40):(x*=800,S*=800)),x&&!O&&(O=x<1?-1:1),S&&!_&&(_=S<1?-1:1),{spinX:O,spinY:_,pixelX:x,pixelY:S}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Oe()-s<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&Oe()-s<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",b.raw)),s=new l.Date().getTime(),!1)}function g(b){const I=e.params.mousewheel;if(b.direction<0){if(e.isEnd&&!e.params.loop&&I.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&I.releaseOnEdges)return!0;return!1}function h(b){let I=b,w=!0;if(!e.enabled||b.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const T=e.params.mousewheel;e.params.cssMode&&I.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const _=O&&O.contains(I.target);if(!e.mouseEntered&&!_&&!T.releaseOnEdges)return!0;I.originalEvent&&(I=I.originalEvent);let x=0;const S=e.rtlTranslate?-1:1,k=d(I);if(T.forceToAxis)if(e.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))x=-k.pixelX*S;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))x=-k.pixelY;else return!0;else x=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*S:-k.pixelY;if(x===0)return!0;T.invert&&(x=-x);let E=e.getTranslate()+x*T.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),w=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),w&&e.params.nested&&I.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:Oe(),delta:Math.abs(x),direction:Math.sign(x),raw:b};c.length>=2&&c.shift();const A=c.length?c[c.length-1]:void 0;if(c.push(D),A?(D.direction!==A.direction||D.delta>A.delta||D.time>A.time+150)&&f(D):f(D),g(D))return!0}else{const D={time:Oe(),delta:Math.abs(x),direction:Math.sign(x)},A=r&&D.time<r.time+500&&D.delta<=r.delta&&D.direction===r.direction;if(!A){r=void 0;let N=e.getTranslate()+x*T.sensitivity;const V=e.isBeginning,H=e.isEnd;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!V&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const F=c.length?c[c.length-1]:void 0,L=c[0];if(c.push(D),F&&(D.delta>F.delta||D.direction!==F.direction))c.splice(0);else if(c.length>=15&&D.time-L.time<500&&L.delta-D.delta>=1&&D.delta<=6){const B=x>0?.8:.2;r=D,c.splice(0),a=ut(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}a||(a=ut(()=>{r=D,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(A||o("scroll",I),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),T.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return I.preventDefault?I.preventDefault():I.returnValue=!1,!1}function C(b){let I=e.el;e.params.mousewheel.eventsTarget!=="container"&&(I=document.querySelector(e.params.mousewheel.eventsTarget)),I[b]("mouseenter",p),I[b]("mouseleave",m),I[b]("wheel",h)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function y(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&y(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&y()}),Object.assign(e.mousewheel,{enable:u,disable:y})}function Ri(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=He(t.el,`.${n[o]}`)[0];l||(l=wt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function pt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ot(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="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:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let a,s=0;function r(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,y){const{bulletActiveClass:b}=e.params.pagination;u&&(u=u[`${y==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${b}-${y}`),u=u[`${y==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${b}-${y}-${y}`)))}function d(u){const y=u.target.closest(pt(e.params.pagination.bulletClass));if(!y)return;u.preventDefault();const b=Pt(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function p(){const u=e.rtl,y=e.params.pagination;if(r())return;let b=e.pagination.el;b=Ue(b);let I,w;const T=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(T/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,I=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(I=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,I=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let x,S,k;if(y.dynamicBullets&&(a=Jt(_[0],e.isHorizontal()?"width":"height",!0),b.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${a*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&w!==void 0&&(s+=I-(w||0),s>y.dynamicMainBullets-1?s=y.dynamicMainBullets-1:s<0&&(s=0)),x=Math.max(I-s,0),S=x+(Math.min(_.length,y.dynamicMainBullets)-1),k=(S+x)/2),_.forEach(E=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(A=>`${y.bulletActiveClass}${A}`)].map(A=>typeof A=="string"&&A.includes(" ")?A.split(" "):A).flat();E.classList.remove(...D)}),b.length>1)_.forEach(E=>{const D=Pt(E);D===I?E.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),y.dynamicBullets&&(D>=x&&D<=S&&E.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),D===x&&c(E,"prev"),D===S&&c(E,"next"))});else{const E=_[I];if(E&&E.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&_.forEach((D,A)=>{D.setAttribute("part",A===I?"bullet-active":"bullet")}),y.dynamicBullets){const D=_[x],A=_[S];for(let N=x;N<=S;N+=1)_[N]&&_[N].classList.add(...`${y.bulletActiveClass}-main`.split(" "));c(D,"prev"),c(A,"next")}}if(y.dynamicBullets){const E=Math.min(_.length,y.dynamicMainBullets+4),D=(a*E-a)/2-k*a,A=u?"right":"left";_.forEach(N=>{N.style[e.isHorizontal()?A:"top"]=`${D}px`})}}b.forEach((_,x)=>{if(y.type==="fraction"&&(_.querySelectorAll(pt(y.currentClass)).forEach(S=>{S.textContent=y.formatFractionCurrent(I+1)}),_.querySelectorAll(pt(y.totalClass)).forEach(S=>{S.textContent=y.formatFractionTotal(O)})),y.type==="progressbar"){let S;y.progressbarOpposite?S=e.isHorizontal()?"vertical":"horizontal":S=e.isHorizontal()?"horizontal":"vertical";const k=(I+1)/O;let E=1,D=1;S==="horizontal"?E=k:D=k,_.querySelectorAll(pt(y.progressbarFillClass)).forEach(A=>{A.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${D})`,A.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(_.innerHTML=y.renderCustom(e,I+1,O),x===0&&o("paginationRender",_)):(x===0&&o("paginationRender",_),o("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](y.lockClass)})}function m(){const u=e.params.pagination;if(r())return;const y=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 b=e.pagination.el;b=Ue(b);let I="";if(u.type==="bullets"){let w=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>y&&(w=y);for(let T=0;T<w;T+=1)u.renderBullet?I+=u.renderBullet.call(e,T,u.bulletClass):I+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?I=u.renderFraction.call(e,u.currentClass,u.totalClass):I=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?I=u.renderProgressbar.call(e,u.progressbarFillClass):I=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],b.forEach(w=>{u.type!=="custom"&&(w.innerHTML=I||""),u.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(pt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",b[0])}function f(){e.params.pagination=Ri(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let y;typeof u.el=="string"&&e.isElement&&(y=e.el.querySelector(u.el)),!y&&typeof u.el=="string"&&(y=[...document.querySelectorAll(u.el)]),y||(y=u.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(u.el)],y.length>1&&(y=y.filter(b=>Vi(b,".swiper")[0]===e.el)[0])),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=Ue(y),y.forEach(b=>{u.type==="bullets"&&u.clickable&&b.classList.add(...(u.clickableClass||"").split(" ")),b.classList.add(u.modifierClass+u.type),b.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(b.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&b.classList.add(u.progressbarOppositeClass),u.clickable&&b.addEventListener("click",d),e.enabled||b.classList.add(u.lockClass)}))}function g(){const u=e.params.pagination;if(r())return;let y=e.pagination.el;y&&(y=Ue(y),y.forEach(b=>{b.classList.remove(u.hiddenClass),b.classList.remove(u.modifierClass+u.type),b.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(b.classList.remove(...(u.clickableClass||"").split(" ")),b.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:y}=e.pagination;y=Ue(y),y.forEach(b=>{b.classList.remove(u.horizontalClass,u.verticalClass),b.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(f(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Ue(u),u.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,y)=>{const b=y.target,I=Ue(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&I&&I.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const w=I[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),I.forEach(T=>T.classList.toggle(e.params.pagination.hiddenClass))}});const h=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ue(u),u.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),p()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ue(u),u.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:h,disable:C,render:m,update:p,init:f,destroy:g})}function io(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Re();let a=!1,s=null,r=null,c,d,p,m;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 f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E,rtlTranslate:D}=e,{dragEl:A,el:N}=E,V=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=d,L=(p-d)*H;D?(L=-L,L>0?(F=d-L,L=0):-L+d>p&&(F=p+L)):L<0?(F=d+L,L=0):L+d>p&&(F=p-L),e.isHorizontal()?(A.style.transform=`translate3d(${L}px, 0, 0)`,A.style.width=`${F}px`):(A.style.transform=`translate3d(0px, ${L}px, 0)`,A.style.height=`${F}px`),V.hide&&(clearTimeout(s),N.style.opacity=1,s=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function g(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E}=e,{dragEl:D,el:A}=E;D.style.width="",D.style.height="",p=e.isHorizontal()?A.offsetWidth:A.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*m:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${d}px`:D.style.height=`${d}px`,m>=1?A.style.display="none":A.style.display="",e.params.scrollbar.hide&&(A.style.opacity=0),e.params.watchOverflow&&e.enabled&&E.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(E){return e.isHorizontal()?E.clientX:E.clientY}function u(E){const{scrollbar:D,rtlTranslate:A}=e,{el:N}=D;let V;V=(C(E)-Qn(N)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),V=Math.max(Math.min(V,1),0),A&&(V=1-V);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*V;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function y(E){const D=e.params.scrollbar,{scrollbar:A,wrapperEl:N}=e,{el:V,dragEl:H}=A;a=!0,c=E.target===H?C(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),N.style.transitionDuration="100ms",H.style.transitionDuration="100ms",u(E),clearTimeout(r),V.style.transitionDuration="0ms",D.hide&&(V.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function b(E){const{scrollbar:D,wrapperEl:A}=e,{el:N,dragEl:V}=D;a&&(E.preventDefault?E.preventDefault():E.returnValue=!1,u(E),A.style.transitionDuration="0ms",N.style.transitionDuration="0ms",V.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function I(E){const D=e.params.scrollbar,{scrollbar:A,wrapperEl:N}=e,{el:V}=A;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),D.hide&&(clearTimeout(r),r=ut(()=>{V.style.opacity=0,V.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),D.snapOnRelease&&e.slideToClosest())}function w(E){const{scrollbar:D,params:A}=e,N=D.el;if(!N)return;const V=N,H=A.passiveListeners?{passive:!1,capture:!1}:!1,F=A.passiveListeners?{passive:!0,capture:!1}:!1;if(!V)return;const L=E==="on"?"addEventListener":"removeEventListener";V[L]("pointerdown",y,H),l[L]("pointermove",b,H),l[L]("pointerup",I,F)}function T(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function _(){const{scrollbar:E,el:D}=e;e.params.scrollbar=Ri(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const A=e.params.scrollbar;if(!A.el)return;let N;if(typeof A.el=="string"&&e.isElement&&(N=e.el.querySelector(A.el)),!N&&typeof A.el=="string"){if(N=l.querySelectorAll(A.el),!N.length)return}else N||(N=A.el);e.params.uniqueNavElements&&typeof A.el=="string"&&N.length>1&&D.querySelectorAll(A.el).length===1&&(N=D.querySelector(A.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?A.horizontalClass:A.verticalClass);let V;N&&(V=N.querySelector(pt(e.params.scrollbar.dragClass)),V||(V=wt("div",e.params.scrollbar.dragClass),N.append(V))),Object.assign(E,{el:N,dragEl:V}),A.draggable&&T(),N&&N.classList[e.enabled?"remove":"add"](...Ze(e.params.scrollbar.lockClass))}function x(){const E=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Ze(e.isHorizontal()?E.horizontalClass:E.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:D}=e.scrollbar;D=Ue(D),D.forEach(A=>{A.classList.remove(E.horizontalClass,E.verticalClass),A.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?k():(_(),h(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{h()}),n("setTranslate",()=>{f()}),n("setTransition",(E,D)=>{g(D)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...Ze(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const S=()=>{e.el.classList.remove(...Ze(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Ze(e.params.scrollbar.scrollbarDisabledClass)),_(),h(),f()},k=()=>{e.el.classList.add(...Ze(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Ze(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:S,disable:k,updateSize:h,setTranslate:f,init:_,destroy:x})}function Mt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=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,s,r=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),m,f,g,h,C,u,y;function b(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!y&&S())}const I=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(c=d,m=!1);const F=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/r),s=requestAnimationFrame(()=>{I()})},w=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},T=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),I();let L=typeof F>"u"?e.params.autoplay.delay:F;r=e.params.autoplay.delay,c=e.params.autoplay.delay;const B=w();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(L=B,r=B,c=B),d=L;const M=e.params.speed,P=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(M,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,M,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(M,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,M,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{T()})))};return L>0?(clearTimeout(a),a=setTimeout(()=>{P()},L)):requestAnimationFrame(()=>{P()}),L},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,T(),o("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),o("autoplayStop")},x=(F,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),F||(u=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):S()};if(e.autoplay.paused=!0,L){C&&(d=e.params.autoplay.delay),C=!1,B();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),B())},S=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,T(d)):T(),e.autoplay.paused=!1,o("autoplayResume"))},k=()=>{if(e.destroyed||!e.autoplay.running)return;const F=Re();F.visibilityState==="hidden"&&(u=!0,x(!0)),F.visibilityState==="visible"&&S()},E=F=>{F.pointerType==="mouse"&&(u=!0,y=!0,!(e.animating||e.autoplay.paused)&&x(!0))},D=F=>{F.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&S())},A=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",D))},N=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",D)},V=()=>{Re().addEventListener("visibilitychange",k)},H=()=>{Re().removeEventListener("visibilitychange",k)};n("init",()=>{e.params.autoplay.enabled&&(A(),V(),O())}),n("destroy",()=>{N(),H(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(g||u)&&S()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():x(!0,!0)}),n("beforeTransitionStart",(F,L,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?x(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}f=!0,g=!1,u=!1,h=setTimeout(()=>{u=!0,g=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(h),clearTimeout(a),e.params.autoplay.disableOnInteraction){g=!1,f=!1;return}g&&e.params.cssMode&&S(),g=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:O,stop:_,pause:x,resume:S})}function no(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const r=e.getTranslate();e.setTranslate(r),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:r,touches:c}=e;r.velocities.length===0&&r.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Oe()})}function s(r){let{currentPos:c}=r;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:m,snapGrid:f,touchEventsData:g}=e,C=Oe()-g.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(g.velocities.length>1){const _=g.velocities.pop(),x=g.velocities.pop(),S=_.position-x.position,k=_.time-x.time;e.velocity=S/k,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(k>150||Oe()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,g.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const y=e.velocity*u;let b=e.translate+y;m&&(b=-b);let I=!1,w;const T=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(b<e.maxTranslate())d.freeMode.momentumBounce?(b+e.maxTranslate()<-T&&(b=e.maxTranslate()-T),w=e.maxTranslate(),I=!0,g.allowMomentumBounce=!0):b=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(b>e.minTranslate())d.freeMode.momentumBounce?(b-e.minTranslate()>T&&(b=e.minTranslate()+T),w=e.minTranslate(),I=!0,g.allowMomentumBounce=!0):b=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let _;for(let x=0;x<f.length;x+=1)if(f[x]>-b){_=x;break}Math.abs(f[_]-b)<Math.abs(f[_-1]-b)||e.swipeDirection==="next"?b=f[_]:b=f[_-1],b=-b}if(O&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-b-e.translate)/e.velocity):u=Math.abs((b-e.translate)/e.velocity),d.freeMode.sticky){const _=Math.abs((m?-b:b)-e.translate),x=e.slidesSizesGrid[e.activeIndex];_<x?u=d.speed:_<2*x?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&I?(e.updateProgress(w),e.setTransition(u),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Xt(p,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(w),Xt(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(u),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Xt(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||C>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:a,onTouchEnd:s}})}let Kt;function oo(){const t=_e(),e=Re();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Fi(){return Kt||(Kt=oo()),Kt}let Qt;function lo(t){let{userAgent:e}=t===void 0?{}:t;const i=Fi(),n=_e(),o=n.navigator.platform,l=e||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,r=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let g=o==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&g&&i.touch&&h.indexOf(`${s}x${r}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),g=!1),c&&!f&&(a.os="android",a.android=!0),(d||m||p)&&(a.os="ios",a.ios=!0),a}function Hi(t){return t===void 0&&(t={}),Qt||(Qt=lo(t)),Qt}let Zt;function so(){const t=_e(),e=Hi();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[r,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=r<16||r===16&&c<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),a=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:a,isWebView:o}}function ao(){return Zt||(Zt=so()),Zt}function ro(t){let{swiper:e,on:i,emit:n}=t;const o=_e();let l=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{a=o.requestAnimationFrame(()=>{const{width:m,height:f}=e;let g=m,h=f;p.forEach(C=>{let{contentBoxSize:u,contentRect:y,target:b}=C;b&&b!==e.el||(g=y?y.width:(u[0]||u).inlineSize,h=y?y.height:(u[0]||u).blockSize)}),(g!==m||h!==f)&&s()})}),l.observe(e.el))},c=()=>{a&&o.cancelAnimationFrame(a),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){r();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function co(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],a=_e(),s=function(d,p){p===void 0&&(p={});const m=a.MutationObserver||a.WebkitMutationObserver,f=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const h=function(){o("observerUpdate",g[0])};a.requestAnimationFrame?a.requestAnimationFrame(h):a.setTimeout(h,0)});f.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(f)},r=()=>{if(e.params.observer){if(e.params.observeParents){const d=Vi(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",c)}var uo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];e.apply(n,a)}return o.__emitterProxy=e,n.on(t,o,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((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].forEach(c=>{c.apply(n,i)})}),t}};function po(){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(et(n,"padding-left")||0,10)-parseInt(et(n,"padding-right")||0,10),i=i-parseInt(et(n,"padding-top")||0,10)-parseInt(et(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 vo(){const t=this;function e(S,k){return parseFloat(S.getPropertyValue(t.getDirectionLabel(k))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:a,wrongRTL:s}=t,r=t.virtual&&i.virtual.enabled,c=r?t.virtual.slides.length:t.slides.length,d=He(o,`.${t.params.slideClass}, swiper-slide`),p=r?t.virtual.slides.length:d.length;let m=[];const f=[],g=[];let h=i.slidesOffsetBefore;typeof h=="function"&&(h=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,y=t.slidesGrid.length;let b=i.spaceBetween,I=-h,w=0,T=0;if(typeof l>"u")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*l:typeof b=="string"&&(b=parseFloat(b)),t.virtualSize=-b,d.forEach(S=>{a?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(kt(n,"--swiper-centered-offset-before",""),kt(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let _;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(S=>typeof i.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S<p;S+=1){_=0;let k;if(d[S]&&(k=d[S]),O&&t.grid.updateSlide(S,k,d),!(d[S]&&et(k,"display")==="none")){if(i.slidesPerView==="auto"){x&&(d[S].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(k),D=k.style.transform,A=k.style.webkitTransform;if(D&&(k.style.transform="none"),A&&(k.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?Jt(k,"width",!0):Jt(k,"height",!0);else{const N=e(E,"width"),V=e(E,"padding-left"),H=e(E,"padding-right"),F=e(E,"margin-left"),L=e(E,"margin-right"),B=E.getPropertyValue("box-sizing");if(B&&B==="border-box")_=N+F+L;else{const{clientWidth:M,offsetWidth:P}=k;_=N+V+H+F+L+(P-M)}}D&&(k.style.transform=D),A&&(k.style.webkitTransform=A),i.roundLengths&&(_=Math.floor(_))}else _=(l-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),d[S]&&(d[S].style[t.getDirectionLabel("width")]=`${_}px`);d[S]&&(d[S].swiperSlideSize=_),g.push(_),i.centeredSlides?(I=I+_/2+w/2+b,w===0&&S!==0&&(I=I-l/2-b),S===0&&(I=I-l/2-b),Math.abs(I)<1/1e3&&(I=0),i.roundLengths&&(I=Math.floor(I)),T%i.slidesPerGroup===0&&m.push(I),f.push(I)):(i.roundLengths&&(I=Math.floor(I)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup===0&&m.push(I),f.push(I),I=I+_+b),t.virtualSize+=_+b,w=_,T+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,a&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+b}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),O&&t.grid.updateWrapperSize(_,m),!i.centeredSlides){const S=[];for(let k=0;k<m.length;k+=1){let E=m[k];i.roundLengths&&(E=Math.floor(E)),m[k]<=t.virtualSize-l&&S.push(E)}m=S,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(r&&i.loop){const S=g[0]+b;if(i.slidesPerGroup>1){const k=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=S*i.slidesPerGroup;for(let D=0;D<k;D+=1)m.push(m[m.length-1]+E)}for(let k=0;k<t.virtual.slidesBefore+t.virtual.slidesAfter;k+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+S),f.push(f[f.length-1]+S),t.virtualSize+=S}if(m.length===0&&(m=[0]),b!==0){const S=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");d.filter((k,E)=>!i.cssMode||i.loop?!0:E!==d.length-1).forEach(k=>{k.style[S]=`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let S=0;g.forEach(E=>{S+=E+(b||0)}),S-=b;const k=S-l;m=m.map(E=>E<=0?-h:E>k?k+C:E)}if(i.centerInsufficientSlides){let S=0;if(g.forEach(k=>{S+=k+(b||0)}),S-=b,S<l){const k=(l-S)/2;m.forEach((E,D)=>{m[D]=E-k}),f.forEach((E,D)=>{f[D]=E+k})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){kt(n,"--swiper-centered-offset-before",`${-m[0]}px`),kt(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const S=-t.snapGrid[0],k=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+S),t.slidesGrid=t.slidesGrid.map(E=>E+k)}if(p!==c&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==y&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!r&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const S=`${i.containerModifierClass}backface-hidden`,k=t.el.classList.contains(S);p<=i.maxBackfaceHiddenSlides?k||t.el.classList.add(S):k&&t.el.classList.remove(S)}}function fo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function mo(){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()}function ho(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;o&&(a=t),n.forEach(r=>{r.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let r=0;r<n.length;r+=1){const c=n[r];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(a+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),m=(a-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),f=-(a-d),g=f+e.slidesSizesGrid[r],h=f>=0&&f<=e.size-e.slidesSizesGrid[r];(f>=0&&f<e.size-1||g>1&&g<=e.size||f<=0&&g>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(r),n[r].classList.add(i.slideVisibleClass)),h&&n[r].classList.add(i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-m:m}}function go(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:a,progressLoop:s}=e;const r=l,c=a;if(n===0)o=0,l=!0,a=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,a=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],f=e.slidesGrid[p],g=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(t);h>=m?s=(h-m)/g:s=(h+g-f)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!r&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(r&&!l||c&&!a)&&e.emit("fromEdge"),e.emit("progress",o)}function bo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,s=p=>He(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let r,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),r=s(`[data-swiper-slide-index="${p}"]`)}else r=s(`[data-swiper-slide-index="${o}"]`);else a?(r=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):r=e[o];r&&(r.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=eo(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=Zn(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]),c&&c.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Lt=(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 o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},ei=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},ti=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),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=o,s=[a-e];s.push(...Array.from({length:e}).map((r,c)=>a+n+c)),t.slides.forEach((r,c)=>{s.includes(r.column)&&ei(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let a=o-e;a<=l+e;a+=1){const s=(a%i+i)%i;(s<o||s>l)&&ei(t,s)}else for(let a=Math.max(o-e,0);a<=Math.min(l+e,i-1);a+=1)a!==o&&(a>l||a<o)&&ei(t,a)};function yo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function wo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:a,snapIndex:s}=e;let r=t,c;const d=f=>{let g=f-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof r>"u"&&(r=yo(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,r);c=f+Math.floor((r-f)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),r===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(r===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(r);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(r);else if(p){const f=e.slides.filter(h=>h.column===r)[0];let g=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(f),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[r]){const f=e.slides[r].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=r}else m=r;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:m,previousIndex:l,activeIndex:r}),e.initialized&&ti(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function To(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,a;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,a=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.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 So={updateSize:po,updateSlides:vo,updateAutoHeight:fo,updateSlidesOffset:mo,updateSlidesProgress:ho,updateProgress:go,updateSlidesClasses:bo,updateActiveIndex:wo,updateClickedSlide:To};function xo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let a=Jn(l,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Eo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:a}=i;let s=0,r=0;const c=0;i.isHorizontal()?s=n?-t:t:r=t,o.roundLengths&&(s=Math.floor(s),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:r,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-r:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${r}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Io(){return-this.snapGrid[0]}function Co(){return-this.snapGrid[this.snapGrid.length-1]}function _o(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:a,wrapperEl:s}=l;if(l.animating&&a.preventInteractionOnTransition)return!1;const r=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>r?d=r:n&&t<c?d=c:d=t,l.updateProgress(d),a.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return zi({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Do={getTranslate:xo,setTranslate:Eo,minTranslate:Io,maxTranslate:Co,translateTo:_o};function ko(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 Ui(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:a}=e;let s=n;if(s||(l>a?s="next":l<a?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==a){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Ao(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ui({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Po(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ui({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Oo={setTransition:ko,transitionStart:Ao,transitionEnd:Po};function Mo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:r,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:m,wrapperEl:f,enabled:g}=l;if(l.animating&&s.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const h=Math.min(l.params.slidesPerGroupSkip,a);let C=h+Math.floor((a-h)/l.params.slidesPerGroup);C>=r.length&&(C=r.length-1);const u=-r[C];if(s.normalizeSlideIndex)for(let b=0;b<c.length;b+=1){const I=-Math.floor(u*100),w=Math.floor(c[b]*100),T=Math.floor(c[b+1]*100);typeof c[b+1]<"u"?I>=w&&I<T-(T-w)/2?a=b:I>=w&&I<T&&(a=b+1):I>=w&&(a=b)}if(l.initialized&&a!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==a))return!1;a!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let y;if(a>p?y="next":a<p?y="prev":y="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(a),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),y!=="reset"&&(l.transitionStart(i,y),l.transitionEnd(i,y)),!1;if(s.cssMode){const b=l.isHorizontal(),I=m?u:-u;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[b?"scrollLeft":"scrollTop"]=I})):f[b?"scrollLeft":"scrollTop"]=I,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return zi({swiper:l,targetPosition:I,side:b?"left":"top"}),!0;f.scrollTo({[b?"left":"top"]:I,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(a),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,y),e===0?l.transitionEnd(i,y):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(I){!l||l.destroyed||I.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,y))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Lo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let s;if(l){const m=a*o.params.grid.rows;s=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(a);const r=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=r-s<d;if(c&&(p=p||s<Math.ceil(d/2)),p){const m=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-r+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=a*o.params.grid.rows;a=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,e,i,n)}),o}function No(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:a}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(a&&!c&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+r,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function jo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:a,rtlTranslate:s,enabled:r,animating:c}=n;if(!r||n.destroyed)return n;const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const f=m(p),g=l.map(u=>m(u));let h=l[g.indexOf(f)-1];if(typeof h>"u"&&o.cssMode){let u;l.forEach((y,b)=>{f>=y&&(u=b)}),typeof u<"u"&&(h=l[u>0?u-1:u])}let C=0;if(typeof h<"u"&&(C=a.indexOf(h),C<0&&(C=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(C=C-n.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(C,t,e,i)}),!0;return n.slideTo(C,t,e,i)}function Bo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function zo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,l),s=a+Math.floor((l-a)/o.params.slidesPerGroup),r=o.rtlTranslate?o.translate:-o.translate;if(r>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];r-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];r-c<=(d-c)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Vo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(He(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),ut(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(He(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),ut(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Ro={slideTo:Mo,slideToLoop:Lo,slideNext:No,slidePrev:jo,slideReset:Bo,slideToClosest:zo,slideToClickedSlide:Vo};function Fo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{He(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%a!==0,r=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const m=e.isElement?wt("swiper-slide",[i.slideBlankClass]):wt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const d=a-e.slides.length%a;c(d),e.recalcSlides(),e.updateSlides()}else At("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)");o()}else if(r){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else At("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)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Ho(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:a,byMousewheel:s}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:m,params:f}=r,{centeredSlides:g}=f;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):f.centeredSlides&&r.snapIndex<f.slidesPerView?r.slideTo(r.virtual.slides.length+r.snapIndex,0,!1,!0):r.snapIndex===r.snapGrid.length-1&&r.slideTo(r.virtual.slidesBefore,0,!1,!0)),r.allowSlidePrev=d,r.allowSlideNext=p,r.emit("loopFix");return}let h=f.slidesPerView;h==="auto"?h=r.slidesPerViewDynamic():(h=Math.ceil(parseFloat(f.slidesPerView,10)),g&&h%2===0&&(h=h+1));const C=f.slidesPerGroupAuto?h:f.slidesPerGroup;let u=C;u%C!==0&&(u+=C-u%C),u+=f.loopAdditionalSlides,r.loopedSlides=u;const y=r.grid&&f.grid&&f.grid.rows>1;c.length<h+u?At("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"):y&&f.grid.fill==="row"&&At("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],I=[];let w=r.activeIndex;typeof l>"u"?l=r.getSlideIndex(c.filter(D=>D.classList.contains(f.slideActiveClass))[0]):w=l;const T=n==="next"||!n,O=n==="prev"||!n;let _=0,x=0;const S=y?Math.ceil(c.length/f.grid.rows):c.length,E=(y?c[l].column:l)+(g&&typeof o>"u"?-h/2+.5:0);if(E<u){_=Math.max(u-E,C);for(let D=0;D<u-E;D+=1){const A=D-Math.floor(D/S)*S;if(y){const N=S-A-1;for(let V=c.length-1;V>=0;V-=1)c[V].column===N&&b.push(V)}else b.push(S-A-1)}}else if(E+h>S-u){x=Math.max(E-(S-u*2),C);for(let D=0;D<x;D+=1){const A=D-Math.floor(D/S)*S;y?c.forEach((N,V)=>{N.column===A&&I.push(V)}):I.push(A)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),O&&b.forEach(D=>{c[D].swiperLoopMoveDOM=!0,m.prepend(c[D]),c[D].swiperLoopMoveDOM=!1}),T&&I.forEach(D=>{c[D].swiperLoopMoveDOM=!0,m.append(c[D]),c[D].swiperLoopMoveDOM=!1}),r.recalcSlides(),f.slidesPerView==="auto"?r.updateSlides():y&&(b.length>0&&O||I.length>0&&T)&&r.slides.forEach((D,A)=>{r.grid.updateSlide(A,D,r.slides)}),f.watchSlidesProgress&&r.updateSlidesOffset(),i){if(b.length>0&&O){if(typeof e>"u"){const D=r.slidesGrid[w],N=r.slidesGrid[w+_]-D;s?r.setTranslate(r.translate-N):(r.slideTo(w+Math.ceil(_),0,!1,!0),o&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-N,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-N))}else if(o){const D=y?b.length/f.grid.rows:b.length;r.slideTo(r.activeIndex+D,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(I.length>0&&T)if(typeof e>"u"){const D=r.slidesGrid[w],N=r.slidesGrid[w-x]-D;s?r.setTranslate(r.translate-N):(r.slideTo(w-x,0,!1,!0),o&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-N,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-N))}else{const D=y?I.length/f.grid.rows:I.length;r.slideTo(r.activeIndex-D,0,!1,!0)}}if(r.allowSlidePrev=d,r.allowSlideNext=p,r.controller&&r.controller.control&&!a){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(A=>{!A.destroyed&&A.params.loop&&A.loopFix({...D,slideTo:A.params.slidesPerView===f.slidesPerView?i:!1})}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix({...D,slideTo:r.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}r.emit("loopFix")}function Uo(){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(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Go={loopCreate:Fo,loopFix:Ho,loopDestroy:Uo};function $o(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 Wo(){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 qo={setGrabCursor:$o,unsetGrabCursor:Wo};function Yo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Re()||n===_e())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function Gi(t,e,i){const n=_e(),{params:o}=t,l=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return l&&(i<=a||i>=n.innerWidth-a)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Xo(t){const e=this,i=Re();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Gi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:a,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let r=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(r=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?Yo(p,r):r.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!r.closest(l.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const f=a.currentX,g=a.currentY;if(!Gi(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=g,o.touchStartTime=Oe(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let h=!0;r.matches(o.focusableElements)&&(h=!1,r.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const C=h&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!r.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function Jo(t){const e=Re(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:a,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let r=t;if(r.originalEvent&&(r=r.originalEvent),r.type==="pointermove"&&(n.touchId!==null||r.pointerId!==n.pointerId))return;let c;if(r.type==="touchmove"){if(c=[...r.changedTouches].filter(T=>T.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=r;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",r);return}const d=c.pageX,p=c.pageY;if(r.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Oe());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&r.target===e.activeElement&&r.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",r),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let T;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(T=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?T>o.touchAngle:90-T>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&r.cancelable&&r.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&r.stopPropagation();let g=i.isHorizontal()?m:f,h=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(a?1:-1),h=Math.abs(h)*(a?1:-1)),l.diff=g,g*=o.touchRatio,a&&(g=-g,h=-h);const C=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=h>0?"prev":"next";const u=i.params.loop&&!o.cssMode,y=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&y&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const T=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(T)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let b;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&u&&y&&Math.abs(g)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;let I=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),g>0?(u&&y&&!b&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**w))):g<0&&(u&&y&&!b&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**w))),I&&(r.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),o.threshold>0)if(Math.abs(g)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Ko(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(w=>w.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=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:s,rtlTranslate:r,slidesGrid:c,enabled:d}=e;if(!d||!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 p=Oe(),m=p-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Oe(),ut(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.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 f;if(a.followFinger?f=r?e.translate:-e.translate:f=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const g=f>=-e.maxTranslate()&&!e.params.loop;let h=0,C=e.slidesSizesGrid[0];for(let w=0;w<c.length;w+=w<a.slidesPerGroupSkip?1:a.slidesPerGroup){const T=w<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[w+T]<"u"?(g||f>=c[w]&&f<c[w+T])&&(h=w,C=c[w+T]-c[w]):(g||f>=c[w])&&(h=w,C=c[c.length-1]-c[c.length-2])}let u=null,y=null;a.rewind&&(e.isBeginning?y=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const b=(f-c[h])/C,I=h<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(m>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:h+I):e.slideTo(h)),e.swipeDirection==="prev"&&(b>1-a.longSwipesRatio?e.slideTo(h+I):y!==null&&b<0&&Math.abs(b)>a.longSwipesRatio?e.slideTo(y):e.slideTo(h))}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(h+I):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:h+I),e.swipeDirection==="prev"&&e.slideTo(y!==null?y:h))}}function $i(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?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=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Qo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Zo(){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 o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function el(t){const e=this;Lt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function tl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Wi=(t,e)=>{const i=Re(),{params:n,el:o,wrapperEl:l,device:a}=t,s=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",c=e;i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[r]("touchstart",t.onTouchStart,{passive:!1}),o[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[r]("touchend",t.onTouchEnd,{passive:!0}),i[r]("pointerup",t.onTouchEnd,{passive:!0}),i[r]("pointercancel",t.onTouchEnd,{passive:!0}),i[r]("touchcancel",t.onTouchEnd,{passive:!0}),i[r]("pointerout",t.onTouchEnd,{passive:!0}),i[r]("pointerleave",t.onTouchEnd,{passive:!0}),i[r]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[r]("click",t.onClick,!0),n.cssMode&&l[r]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",$i,!0):t[c]("observerUpdate",$i,!0),o[r]("load",t.onLoad,{capture:!0})};function il(){const t=this,{params:e}=t;t.onTouchStart=Xo.bind(t),t.onTouchMove=Jo.bind(t),t.onTouchEnd=Ko.bind(t),t.onDocumentTouchStart=tl.bind(t),e.cssMode&&(t.onScroll=Zo.bind(t)),t.onClick=Qo.bind(t),t.onLoad=el.bind(t),Wi(t,"on")}function nl(){Wi(this,"off")}var ol={attachEvents:il,detachEvents:nl};const qi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ll(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const a=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const r=(a in l?l[a]:void 0)||t.originalParams,c=qi(t,n),d=qi(t,r),p=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(r.grid.fill&&r.grid.fill==="column"||!r.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof r[u]>"u")return;const y=n[u]&&n[u].enabled,b=r[u]&&r[u].enabled;y&&!b&&t[u].disable(),!y&&b&&t[u].enable()});const m=r.direction&&r.direction!==n.direction,f=n.loop&&(r.slidesPerView!==n.slidesPerView||m),g=n.loop;m&&i&&t.changeDirection(),Ae(t.params,r);const h=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!h?t.disable():!p&&h&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",r),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&C?(t.loopCreate(e),t.updateSlides()):g&&!C&&t.loopDestroy()),t.emit("breakpoint",r)}function sl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=_e(),l=e==="window"?o.innerHeight:i.clientHeight,a=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const r=parseFloat(s.substr(1));return{value:l*r,point:s}}return{value:s,point:s}});a.sort((s,r)=>parseInt(s.value,10)-parseInt(r.value,10));for(let s=0;s<a.length;s+=1){const{point:r,value:c}=a[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=r):c<=i.clientWidth&&(n=r)}return n||"max"}var al={setBreakpoint:ll,getBreakpoint:sl};function rl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function dl(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,a=rl(["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:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),o.classList.add(...e),t.emitContainerClasses()}function cl(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var ul={addClasses:dl,removeClasses:cl};function pl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}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 vl={checkOverflow:pl},ii={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 fl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Ae(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Ae(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Ae(e,n)}}const ni={eventsEmitter:uo,update:So,translate:Do,transition:Oo,slide:Ro,loop:Go,grabCursor:qo,events:ol,breakpoints:al,checkOverflow:vl,classes:ul},oi={};let li=class Xe{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Ae({},i),e&&!i.el&&(i.el=e);const a=Re();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(p=>{const m=Ae({},i,{el:p});d.push(new Xe(m))}),d}const s=this;s.__swiper__=!0,s.support=Fi(),s.device=Hi({userAgent:i.userAgent}),s.browser=ao(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const r={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:fl(i,r),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=Ae({},ii,r);return s.params=Ae({},c,oi,i),s.originalParams=Ae({},s.params),s.passedParams=Ae({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.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:s.params.allowSlideNext,allowSlidePrev:s.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:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}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,o=He(i,`.${n.slideClass}, swiper-slide`),l=Pt(o[0]);return Pt(e)-l}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=He(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 o=n.minTranslate(),a=(n.maxTranslate()-o)*e+o;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 o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:a,slidesSizesGrid:s,size:r,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,m;for(let f=c+1;f<l.length;f+=1)l[f]&&!m&&(p+=Math.ceil(l[f].swiperSlideSize),d+=1,p>r&&(m=!0));for(let f=c-1;f>=0;f-=1)l[f]&&!m&&(p+=l[f].swiperSlideSize,d+=1,p>r&&(m=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?a[p]+s[p]-a[c]<r:a[p]-a[c]<r)&&(d+=1);else for(let p=c-1;p>=0;p-=1)a[c]-a[p]<r&&(d+=1);return d}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&&Lt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),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;l=e.slideTo(a.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.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 o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):He(n,o())[0];return!a&&i.params.createElements&&(a=wt("div",i.params.wrapperClass),n.append(a),He(n,`.${i.params.slideClass}`).forEach(s=>{a.append(s)})),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"||et(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||et(n,"direction")==="rtl"),wrongRTL:et(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 o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Lt(i,l):l.addEventListener("load",a=>{Lt(i,a.target)})}),ti(i),i.initialized=!0,ti(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:o,el:l,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(r=>{r.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),r.removeAttribute("style"),r.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(r=>{n.off(r)}),e!==!1&&(n.el.swiper=null,Yn(n)),n.destroyed=!0),null}static extendDefaults(e){Ae(oi,e)}static get extendedDefaults(){return oi}static get defaults(){return ii}static installModule(e){Xe.prototype.__modules__||(Xe.prototype.__modules__=[]);const i=Xe.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Xe.installModule(i)),Xe):(Xe.installModule(e),Xe)}};Object.keys(ni).forEach(t=>{Object.keys(ni[t]).forEach(e=>{li.prototype[e]=ni[t][e]})}),li.use([ro,co]);const Yi=["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 st(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function vt(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]:st(e[n])&&st(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:vt(t[n],e[n]):t[n]=e[n]})}function Xi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ji(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Ki(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Qi(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 ml(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function hl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:a,scrollbarEl:s,paginationEl:r}=t;const c=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:d,pagination:p,navigation:m,scrollbar:f,virtual:g,thumbs:h}=e;let C,u,y,b,I,w,T,O;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(y=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&f&&!f.el&&(b=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(I=!0);const _=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),d[x].prevEl=void 0,d[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),d[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?w=!0:!d.loop&&n.loop?T=!0:O=!0),c.forEach(x=>{if(st(d[x])&&st(n[x]))Object.assign(d[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&_(x);else{const S=n[x];(S===!0||S===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?S===!1&&_(x):d[x]=n[x]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&g&&d.virtual.enabled?(g.slides=i,g.update(!0)):o.includes("virtual")&&g&&d.virtual.enabled&&(i&&(g.slides=i),g.update(!0)),o.includes("children")&&i&&d.loop&&(O=!0),C&&h.init()&&h.update(!0),u&&(e.controller.control=d.controller.control),y&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),r.part.add("pagination"),e.el.appendChild(r)),r&&(d.pagination.el=r),p.init(),p.render(),p.update()),b&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),f.init(),f.updateSize(),f.setTranslate()),I&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!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))),l&&(d.navigation.nextEl=l),a&&(d.navigation.prevEl=a),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||O)&&e.loopDestroy(),(T||O)&&e.loopCreate(),e.update()}function gl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};vt(i,ii),i._emitClasses=!0,i.init=!1;const l={},a=Yi.map(r=>r.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(r=>{typeof t[r]>"u"||(a.indexOf(r)>=0?st(t[r])?(i[r]={},o[r]={},vt(i[r],t[r]),vt(o[r],t[r])):(i[r]=t[r],o[r]=t[r]):r.search(/on[A-Z]/)===0&&typeof t[r]=="function"?e?n[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:i.on[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:l[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:o,rest:l,events:n}}function bl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:a,swiper:s}=t;Xi(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Ji(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Ki(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function yl(t,e,i,n,o){const l=[];if(!e)return l;const a=r=>{l.indexOf(r)<0&&l.push(r)};if(i&&n){const r=n.map(o),c=i.map(o);r.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return Yi.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(st(t[r])&&st(e[r])){const c=Object.keys(t[r]),d=Object.keys(e[r]);c.length!==d.length?a(r):(c.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}),d.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}))}else t[r]!==e[r]&&a(r)}),l}const wl=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 Nt(){return Nt=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},Nt.apply(this,arguments)}function Zi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function en(t){const e=[];return v.Children.toArray(t).forEach(i=>{Zi(i)?e.push(i):i.props&&i.props.children&&en(i.props.children).forEach(n=>e.push(n))}),e}function Tl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(Zi(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 o=en(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Sl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:a}=i,s=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<r;d+=1)d>=l&&d<=a&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function Tt(t,e){return typeof window>"u"?X(t,e):wn(t,e)}const si=yt(null),tn=()=>bt(si),xl=yt(null),at=It(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:a,...s}=t===void 0?{}:t,r=!1;const[c,d]=$("swiper"),[p,m]=$(null),[f,g]=$(!1),h=Q(!1),C=Q(null),u=Q(null),y=Q(null),b=Q(null),I=Q(null),w=Q(null),T=Q(null),O=Q(null),{params:_,passedParams:x,rest:S,events:k}=gl(s),{slides:E,slots:D}=Tl(l),A=()=>{g(!f)};Object.assign(_.on,{_containerClasses(L,B){d(B)}});const N=()=>{Object.assign(_.on,k),r=!0;const L={..._};if(delete L.wrapperClass,u.current=new li(L),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=E;const B={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};vt(u.current.params.virtual,B),vt(u.current.originalParams.virtual,B)}};C.current||N(),u.current&&u.current.on("_beforeBreakpoint",A);const V=()=>{r||!k||!u.current||Object.keys(k).forEach(L=>{u.current.on(L,k[L])})},H=()=>{!k||!u.current||Object.keys(k).forEach(L=>{u.current.off(L,k[L])})};X(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",A)}),X(()=>{!h.current&&u.current&&(u.current.emitSlidesClasses(),h.current=!0)}),Tt(()=>{if(e&&(e.current=C.current),!!C.current)return u.current.destroyed&&N(),bl({el:C.current,nextEl:I.current,prevEl:w.current,paginationEl:T.current,scrollbarEl:O.current,swiper:u.current},_),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),Tt(()=>{V();const L=yl(x,y.current,E,b.current,B=>B.key);return y.current=x,b.current=E,L.length&&u.current&&!u.current.destroyed&&hl({swiper:u.current,slides:E,passedParams:x,changedParams:L,nextEl:I.current,prevEl:w.current,scrollbarEl:O.current,paginationEl:T.current}),()=>{H()}}),Tt(()=>{wl(u.current)},[p]);function F(){return _.virtual?Sl(u.current,E,p):E.map((L,B)=>v.cloneElement(L,{swiper:u.current,swiperSlideIndex:B}))}return v.createElement(n,Nt({ref:C,className:Qi(`${c}${i?` ${i}`:""}`)},S),v.createElement(xl.Provider,{value:u.current},D["container-start"],v.createElement(o,{className:ml(_.wrapperClass)},D["wrapper-start"],F(),D["wrapper-end"]),Xi(_)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:w,className:"swiper-button-prev"}),v.createElement("div",{ref:I,className:"swiper-button-next"})),Ki(_)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),Ji(_)&&v.createElement("div",{ref:T,className:"swiper-pagination"}),D["container-end"]))});at.displayName="Swiper";const Ge=It(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:a,lazy:s,virtualIndex:r,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Q(null),[m,f]=$("swiper-slide"),[g,h]=$(!1);function C(I,w,T){w===p.current&&f(T)}Tt(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),Tt(()=>{l&&p.current&&!l.destroyed&&f(l.getSlideClasses(p.current))},[l]);const u={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(u):n,b=()=>{h(!0)};return v.createElement(i,Nt({ref:p,className:Qi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":r,onLoad:b},d),a&&v.createElement(si.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},y(),s&&!g&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&v.createElement(si.Provider,{value:u},y(),s&&!g&&v.createElement("div",{className:"swiper-lazy-preloader"})))});Ge.displayName="SwiperSlide";const El="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Il=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var a;const[s,r]=$(!1),c=Q(null);X(()=>{const m=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?c.current=f:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),m?.appendChild(c.current))},[]);const d=ie(()=>l?.id&&l?.id!==""||t,[t,l]);if(X(()=>{d?r(!0):setTimeout(()=>{r(!1)},l?.duration)},[d,l]),!c.current)return null;const p=Rt(()=>{e?.()},300);return Si.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((a=l?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:El,alt:"close",className:"modal-icon"})),i))),c.current)};var jt=ce(Il);const Cl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let a=0;a<n.length&&(o.push(n[a]),!(o.join(" ").length>=e));a++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},_l=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:a,isPost:s,onChange:r})=>{const[c,d]=$(!1),[p,m]=$(!1),f=Number(i?.lineClamp||2),g=Q(null),h=Q(null),C=ue(()=>{d(!c)},[c,r]);return ie(()=>!c&&t.length>e?Cl(t,e)+"...":t,[t,e,c]),X(()=>{var u,y;((u=h?.current)===null||u===void 0?void 0:u.offsetHeight)>((y=g?.current)===null||y===void 0?void 0:y.offsetHeight)&&s?m(!0):m(!1),h.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:g,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:h,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},c?a||"show less":l||"show more"))};var Bt=ce(_l);const Dl=It((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:a}=t,[s,r]=$();return wi(e,()=>({setSrc:c=>{r(c)}})),X(()=>{r(i)},[i]),Q(null),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:c=>{n?.(c.target)}})):v.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:c=>{n?.(c.target)}}))});var Me=ce(Dl);const kl=t=>{var e,i,n,o,l,a,s,r,c,{content:d,style:p,bgImg:m,onClick:f,schema:g,isDefault:h,bottom_image:C,tipText:u,isPost:y,viewTime:b,rec:I,swiper:w,commodityStyles:T,buttonStyle:O,index:_}=t,x=xe(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=fe(),{popupDetailData:k,bffEventReport:E,isPreview:D,bffFbReport:A}=fe(),{jumpToWeb:N,productView:V}=Ve(),H=Q(null),[F,L]=$(!1),B=y?I:k,M=y?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,P=y?(i=B?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=B?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,Y=y?_:k?.index,z=()=>{M?.link&&(N(B,M,P,Y),y||V(B,M,P,b||H.current,Y),window.location.href=window.getJointUtmLink(M.link))};X(()=>{y||A?.({eventName:"ProductView"})},[y,A]),X(()=>{const q=()=>{H.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const U=ie(()=>{var q,re,ae,Z,me;return M?.currency&&M?.price?`${(ae=(re=(q=M?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||re===void 0?void 0:re.toUpperCase())!==null&&ae!==void 0?ae:""}${(me=(Z=M?.price)===null||Z===void 0?void 0:Z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&me!==void 0?me:""}`:"$7,000"},[M?.price,M?.currency]),ne=D?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,le=({isPost:q})=>{var re,ae,Z;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:T?.collection,hidden:!!M&&(!M?.collection||M?.collection==="")},(re=M?.collection)!==null&&re!==void 0?re:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:T?.title,hidden:!!M&&!M?.title},(ae=M?.title)!==null&&ae!==void 0?ae:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:T?.price,hidden:!!M&&!M?.price},U),v.createElement("div",{hidden:!!M&&(!M?.info||M?.info==="")},v.createElement(Bt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>L(!0),isPost:q,text:(Z=M?.info)!==null&&Z!==void 0?Z:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
import{isEmpty as Et,isEqual as Ci,cloneDeep as gt,debounce as Ht,throttle as It,get as _i}from"lodash";import{v4 as kn}from"uuid";import An from"pako";import v,{useContext as bt,useMemo as ee,createContext as yt,memo as ce,useState as $,useRef as Z,useEffect as J,useCallback as ue,forwardRef as Ct,useImperativeHandle as Di,useLayoutEffect as Pn}from"react";import ki from"qs";import On from"eventemitter3";import{css as K}from"@emotion/css";import*as Ai from"react-dom";import Pi from"hls.js";function Ie(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 ke(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 s(d){try{c(n.next(d))}catch(p){a(p)}}function r(d){try{c(n.throw(d))}catch(p){a(p)}}function c(d){d.done?o(d.value):l(d.value).then(s,r)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Mn=/:\w+/g;var Oi=(t,e)=>ke(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:o,method:a,url:s,urlParams:r,name:c,queryString:d,headers:p,body:b}=e[l];let h=s;r&&Object.entries(r).forEach(([y,m])=>{h=h.replace(Mn,I=>I===y?m:I)}),d&&(h+=d),n[o]=c;try{const y=yield fetch(h,{method:a,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(b)}).then(m=>m.json());i[o]=y}catch(y){console.error("DataSource request error: ",y),i[o]={}}}return{$store:i,idMapName:n}});const Mi="SXP_TOKEN_INFO",Ln=(t,e)=>ke(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),o=t.getApiUrl(),a=window.localStorage.getItem(Mi);let s=JSON.parse(a||"{}");if(Date.now()>((i=s?.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(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Mi,JSON.stringify(s))}}return s});function _t(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 Nn=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},jn=()=>{const t=kn();return t?.replaceAll?t.replaceAll("-",""):Nn(32)};function Li(t){const i=atob(t).split("").map(function(o){return o.charCodeAt(0)}),n=new Uint8Array(i),l=An.inflate(n,{to:"string"});return JSON.parse(l)}let Ut=null;const Bn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class zn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Ut)return Ut;Ut=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Bn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ce=null;const Vn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ce||(Ce=new zn),n&&Ce.setApiUrl(n),Ce.setAppId(t),Ce.setTenantId(e),Ce.setEnv(i)},getDetail:t=>{if(!Ce)return;const e=Ce.getTenantId(),i=Ce.getAppId(),n=Ce.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>ke(void 0,void 0,void 0,function*(){var o,a;const s=yield l.json(),r=Li((o=s?.data)===null||o===void 0?void 0:o.data);if(r){const{$store:c}=yield Oi(n,(a=r?.dataSource)!==null&&a!==void 0?a:[]);s.data.data=r,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>ke(void 0,void 0,void 0,function*(){if(!Ce)return;const e=Ce.getTenantId(),i=Ce.getAppId(),n=Ce.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>ke(void 0,void 0,void 0,function*(){var o;const a=yield l.json();if(!a.success)return;const s=Li((o=a?.data)===null||o===void 0?void 0:o.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>ke(void 0,void 0,void 0,function*(){if(!Ce)return;const e=yield Ln(Ce,t),i=_t(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Et(n)&&(n=_t(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 Xe(){return bt(Gi)}function Rn(){return bt(Ui)}const Gt="feRealSessionIdKey",Ni=()=>{const t=jn();return`${Date.now()}${t}`},Fn=()=>{let t=Un();return t||(t=Ni(),window.sessionStorage.setItem(Gt,t)),t},Hn=()=>{const t=Ni();window.sessionStorage.setItem(Gt,t)},Un=()=>window.sessionStorage.getItem(Gt),ji="SXP_FAKE_USER_ID",Bi="FAKE_USER_STATE",zi=()=>{let t=window.localStorage.getItem(ji);return Et(t)&&(t=_t(36,62),window.localStorage.setItem(ji,t)),t},Gn=()=>{const t=window.localStorage.getItem(Bi);return Et(t)&&window.localStorage.setItem(Bi,"true"),Et(t)};function Ne(t,e){const{appDomain:i}=me();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Je=new On;var Re;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Re||(Re={}));const Vi=yt({rtcList:[],tagList:[]});var $t;(function(t){t[t.BFF=5]="BFF"})($t||($t={}));const Ri=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],$n=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:o,isPreview:a=!1,sxpParameter:s,appDomain:r,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:b=!1})=>{const[h,y]=$([]),[m,I]=$([]),[u,w]=$(!1),[g,T]=$({rtc:"",requestId:""}),D=Z(null),f=Z(!1),[O,_]=$(),[S,E]=$(),[A,x]=$(p),[C,P]=$([]),[j,B]=$(0),[G,H]=$(!1),[L,V]=$(null),M=Z();J(()=>{const R=F=>{M.current=F};return Je.on(Re.CHANGE_THEME_TAG,R),()=>{Je.off(Re.CHANGE_THEME_TAG,R)}},[]),J(()=>{x(p)},[p]);const k=ee(()=>e?.find(R=>R.type===$t.BFF),[e]),z=ue((R,F)=>{if(!k)return;const Q=k.url,Se=zi();if(F?.query){const ye=ki.stringify(F.query);R=`${R}?${ye}`}return F.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${Q}/api/v1${R}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},k.headers),{"x-user-id":Se}),F.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${Q}/api/v1${R}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Se},k.headers),method:F.method,body:JSON.stringify(F.body)}).then(ye=>ye.json()).catch(ye=>Promise.reject(ye))},[k]),U=ue(R=>ke(void 0,void 0,void 0,function*(){var F,Q,Se,ye,Ee;if(R={maxSize:(F=R?.maxSize)!==null&&F!==void 0?F:l,defaultSize:(Q=R?.defaultSize)!==null&&Q!==void 0?Q:o,"itemFilter.itemId":R?.["itemFilter.itemId"],"itemFilter.itemType":R?.["itemFilter.itemType"],hashTag:R?.hashTag,traceInfo:R?.traceInfo,themeTag:R?.themeTag},i){const Te=(Ee=(ye=(Se=i?.split("&"))===null||Se===void 0?void 0:Se.filter(We=>{const Qe=We.split("=")[0];return Ri.includes(Qe)}))===null||ye===void 0?void 0:ye.join("&"))!==null&&Ee!==void 0?Ee:"";R=Object.assign(Object.assign({},R),{channel:decodeURIComponent(Te)})}const ge=yield z?.("/recommend/list",{method:"GET",query:R});if(ge?.success)return R?.hashTag||T({rtc:ge.data.rtc,requestId:ge.data.requestId}),ge?.data}),[z,i,l,o]),W=ue(()=>ke(void 0,void 0,void 0,function*(){var R,F;if(h.length<=0)return;const Q=yield U({hashTag:S?.hashTag,"itemFilter.itemId":S?.itemId,"itemFilter.itemType":S?.itemType,themeTag:M.current});y(h.concat((R=Q?.recList)!==null&&R!==void 0?R:[])),P(C.concat((F=Q?.recList)!==null&&F!==void 0?F:[]))}),[U,h,S,C]),ie=ue(({userInfo:R,eventInfo:F})=>{if(!n)return;R||(R={});const Q=Fn(),Se=Object.assign({sessionID:Q,rtc:g.rtc,requestId:g.requestId},F),ye=Object.entries(R).map(([ge,Te])=>({name:ge,value:Te})),Ee=Object.entries(Se).map(([ge,Te])=>Te&&{name:ge,value:Te}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",R),console.log("eventInfo:",Se),console.log("========= \u7ED3\u675F ========="),z?.("/event/report",{method:"POST",body:{userInfo:ye,eventInfo:Ee},type:"beacon"})},[z,g,n]),ne=ue(R=>{var F,{eventName:Q,actionSource:Se="website",eventSourceUrl:ye=(F=window?.location)===null||F===void 0?void 0:F.href,externalId:Ee}=R;if(!n||!b)return;const ge=zi();return z?.("/fb/events",{method:"POST",body:{eventName:Q,actionSource:Se,eventSourceUrl:ye,userData:{externalId:ge}},type:"beacon"})},[z,n,b]),oe=ue(R=>ke(void 0,void 0,void 0,function*(){const F=yield z?.("/recommend/like",{method:"POST",body:R});return F?.success}),[z]),q=ue(R=>ke(void 0,void 0,void 0,function*(){const F=yield z?.("/recommend/unlike",{method:"POST",body:R});return F?.success}),[z]),pe=ue(R=>ke(void 0,void 0,void 0,function*(){const F=yield z?.("/customform",{method:"POST",body:R});return F?.success}),[z]),se=ue(()=>ke(void 0,void 0,void 0,function*(){var R,F,Q,Se,ye;if(i)try{const Ee=(Q=(F=(R=i?.split("&"))===null||R===void 0?void 0:R.filter(Te=>{const We=Te.split("=")[0];return Ri.includes(We)}))===null||F===void 0?void 0:F.join("&"))!==null&&Q!==void 0?Q:"",ge=yield z?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Ee)}});I((ye=(Se=ge?.data)===null||Se===void 0?void 0:Se.tags)!==null&&ye!==void 0?ye:[])}catch(Ee){console.log("e",Ee)}}),[z,i]),re=ue((R,F,Q,Se)=>{var ye,Ee,ge,Te,We,Qe,Ve,mt,at,rt,ht,dt;const Pe=Q?.bindCta,ct=((ye=F?.video)===null||ye===void 0?void 0:ye.bindProduct)||((Ee=F?.video)===null||Ee===void 0?void 0:Ee.bindProducts)&&((Te=(ge=F?.video)===null||ge===void 0?void 0:ge.bindProducts)===null||Te===void 0?void 0:Te.length)>0;let ut="";G?ut="hashTagPage":!((We=F?.video)===null||We===void 0)&&We.url?ut="videoPage":!((Ve=(Qe=F?.video)===null||Qe===void 0?void 0:Qe.imgUrls)===null||Ve===void 0)&&Ve.length&&(ut="imagePage"),ie?.({eventInfo:Object.assign(Object.assign({},R),{ctaId:(mt=Pe?.itemId)!==null&&mt!==void 0?mt:"",ctaName:(at=Pe?.title)!==null&&at!==void 0?at:"",contentTags:JSON.stringify(Pe?.tags),position:Se+"",contentId:(ht=(rt=F?.video)===null||rt===void 0?void 0:rt.itemId)!==null&&ht!==void 0?ht:"",productId:ct?Q?.itemId:"",traceInfo:(dt=Pe?.traceInfo)!==null&&dt!==void 0?dt:"",fromKName:ut})})},[ie,G]);J(()=>{w(!0),se(),U().then(R=>{var F,Q;y((F=R?.recList)!==null&&F!==void 0?F:[]),P((Q=R?.recList)!==null&&Q!==void 0?Q:[])}).finally(()=>{w(!1),f.current=!0})},[]),J(()=>{f.current&&(w(!0),se(),U().then(R=>{var F,Q;y((F=R?.recList)!==null&&F!==void 0?F:[]),P((Q=R?.recList)!==null&&Q!==void 0?Q:[])}).finally(()=>{w(!1)}))},[U,se]);const he=Ne("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return v.createElement(Vi.Provider,{value:{rtcList:h,setRtcList:y,mutateLike:oe,mutateUnlike:q,submitForm:pe,popupDetailData:O,loadVideos:W,setPopupDetailData:_,getRecommendVideos:U,bffEventReport:ie,utmVal:i,isPreview:a,loading:u,sxpParameter:s,waterFallData:S,setWaterFallData:E,ctaEvent:re,swiperRef:D,openHashtag:A,setOpenHashtag:x,cacheRtcList:C,setCacheRtcList:P,cacheActiveIndex:j,setCacheActiveIndex:B,isFromHashtag:G,setIsFromHashtag:H,appDomain:r,hashTagSize:c,loadingImage:d??he,isOpenHashTag:p,tagList:m,setLoading:w,videoRef:L,setVideoRef:V,bffFbReport:ne}},t({rtcList:h,mutateLike:oe,mutateUnlike:q,submitForm:pe,tagList:m}))};var Fi=ce($n);function me(){return bt(Vi)}var Hi;(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"})(Hi||(Hi={}));const Ui=yt({$store:{},options:[],configs:[]}),Wn=({children:t,isSsr:e,enable:i})=>{const[n,l]=$([]),{schema:o}=Xe(),[a,s]=$(o.__STORE__||{}),[r,c]=$([]);J(()=>{var b;e||Ci(r,o?.dataSource)||c((b=o?.dataSource)!==null&&b!==void 0?b:[])},[o?.dataSource,e]);const d=ue(()=>ke(void 0,void 0,void 0,function*(){const{$store:b,idMapName:h}=yield Oi("",r);s(b),p(b,h)}),[r]),p=(b,h)=>{const y=[];Object.entries(b).forEach(([m,I])=>{Object.keys(I).forEach(u=>{const w={label:`${h[m]} - ${u}`,value:`{{ ${m}.${u} }}`};y.push(w)})}),l(y)};return J(()=>{e||d()},[d,e,o]),i?v.createElement(Ui.Provider,{value:{$store:o.__STORE__||a,options:n,configs:r}},t):t};var Yn=ce(Wn);const Dt={id:_t(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},Wt={id:"",duration:0,name:"none"},Gi=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Dt],redoStack:[],popup:Wt,setPopup:()=>{}}),$i=Ct(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:o},a)=>{const[s,r]=$(null),[c,d]=$(n||{pointData:[Dt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,b]=$([Dt]),[h,y]=$([[Dt]]),[m,I]=$([]),[u,w]=$(Wt);typeof window<"u"&&(window.sxpPopup=(O,_)=>{w(Object.assign(Object.assign(Object.assign({},Wt),{id:O}),_))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(o?"&"+o:""):O+(o?"?"+o:"")),J(()=>{y([c.pointData]),I([])},[c.type]);const g=ue(O=>{const _=gt(c);_&&(_.dataSource=O,d?.(_))},[c]),[T,D]=$();Di(a,()=>({loadSchema(O){O&&(y([O.pointData]),d(O))},exportSchema(){return gt(c)},getPageInfoData(){return T},initPageInfoData(O){O&&D(O)}}));const f=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(Gi.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:r,setSchema:d,saveDataSource:g,prePiontData:p,setPrePiontData:b,pageInfoData:T,setPageInfoData:O=>D(Object.assign(Object.assign({},T),O)),undoStack:h,redoStack:m,setRedoStack:I,setUndoStack:y,getCurPageConf:f,popup:u,setPopup:w}},v.createElement(Yn,{isSsr:i,enable:l},t))});var qn=Object.freeze({__proto__:null,EditorCore:$i}),Xn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ae=[{label:"defalut",value:"appFont"}],Yt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Jn=Yt&&Yt!==""?JSON.parse(Yt):[];var Oe={fontOptions:[...ae,...Jn]},qt,Xt,Jt,Kn=[{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:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ae,initialValue:(qt=ae?.[0])===null||qt===void 0?void 0:qt.value},{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:"\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:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Oe?.fontOptions,initialValue:(Jt=(Xt=Oe?.fontOptions)===null||Xt===void 0?void 0:Xt[0])===null||Jt===void 0?void 0:Jt.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Fe(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=me(),l=ue((a,s,r,c)=>{var d,p,b,h,y,m,I,u,w,g,T,D,f,O;let _="";e&&(!((p=(d=a?.video)===null||d===void 0?void 0:d.bindProducts)===null||p===void 0)&&p.length||!((b=a?.video)===null||b===void 0)&&b.bindProduct)?_="pdpPage":n?_="hashTagPage":!((h=a?.video)===null||h===void 0)&&h.url?_="videoPage":!((y=a?.video)===null||y===void 0)&&y.imgUrls&&(!((I=(m=a?.video)===null||m===void 0?void 0:m.imgUrls)===null||I===void 0)&&I.length)?_="imagePage":a?.product&&(_="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=s?.itemId)!==null&&u!==void 0?u:"",productName:(w=s?.title)!==null&&w!==void 0?w:"",price:s?.price?s?.price+"":"0",productCollection:(g=s?.collection)!==null&&g!==void 0?g:"",fromKName:_,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:c+"",contentId:(D=(T=a?.video)===null||T===void 0?void 0:T.itemId)!==null&&D!==void 0?D:"",ctatId:(f=r?.itemId)!==null&&f!==void 0?f:"",traceInfo:(O=s?.traceInfo)!==null&&O!==void 0?O:""}})},[t,e,n]),o=ue((a,s,r,c,d)=>{var p,b,h,y;let m="";e&&(!((b=(p=a?.video)===null||p===void 0?void 0:p.bindProducts)===null||b===void 0)&&b.length||!((h=a?.video)===null||h===void 0)&&h.bindProduct)?m="pdpPage":a?.product&&(m="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:m,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:d+"",contentId:(y=a?.video)===null||y===void 0?void 0:y.itemId,ctatId:r?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:l,productView:o}}const Qn=t=>{var{columns:e,style:i,title:n,textStyle:l,submitBgColor:o,submitColor:a,submitText:s,layoutType:r,isExternalLink:c,isPopup:d,onClick:p,onClose:b,submitButtonStyle:h}=t,y=Ie(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:m,popupDetailData:I}=me(),{jumpToWeb:u}=Fe(),w=Z(),[g,T]=$(!1),D=ee(()=>[{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"}],[]);ee(()=>{if(r===void 0){const O=gt(e)||D;return O?.map(_=>Object.assign(Object.assign({},_),{title:void 0,fieldProps:{placeholder:_?.title}}))}else return gt(e)||D},[r,e,D]);const f=Ht(()=>ke(void 0,void 0,void 0,function*(){var O,_,S,E,A,x;const C=yield(O=w?.current)===null||O===void 0?void 0:O.getFieldsValue();if(!C)return;const P=(S=(_=Object.keys(C))===null||_===void 0?void 0:_.map(B=>{var G;return{name:B,value:(G=C[B])!==null&&G!==void 0?G:""}}))===null||S===void 0?void 0:S.filter(B=>B?.value);if(!P||!P?.length)return;T(!0);const j=yield m?.({attributes:P});if(T(!1),j){if(c){const B=I,G=(E=B?.video)===null||E===void 0?void 0:E.bindProduct,H=(x=(A=B?.video)===null||A===void 0?void 0:A.bindProduct)===null||x===void 0?void 0:x.bindCta,L=I?.index;u(B,G,H,L)}d||b?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${K(Object.assign({},l))}`},n),v.createElement("div",Object.assign({className:K(Object.assign({},i))},y),v.createElement("div",{className:"pb-appoint-form-container"})),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:f,className:"pb-appoint-form-btn",style:Object.assign({color:a,background:o},h)},g?v.createElement(v.Fragment,null,"loading..."):s)))};var Zn=ce(Qn);function Me(t,e){return t.extend=e,t}const eo=Me(Zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Kn,bindableProps:[],interactionRender:Xn},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 Kt,Qt,to=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],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:-100,addonAfter:"%",initialValue:0}]}]},{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"}],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:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(Kt=ae?.[0])===null||Kt===void 0?void 0:Kt.value},{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"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{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:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ae,initialValue:(Qt=ae?.[0])===null||Qt===void 0?void 0:Qt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Wi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Zt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Wi(e[i])&&Wi(t[i])&&Object.keys(e[i]).length>0&&Zt(t[i],e[i])})}const Yi={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 He(){const t=typeof document<"u"?document:{};return Zt(t,Yi),t}const io={document:Yi,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 Ae(){const t=typeof window<"u"?window:{};return Zt(t,io),t}function et(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function no(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function pt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function je(){return Date.now()}function oo(t){const e=Ae();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function lo(t,e){e===void 0&&(e="x");const i=Ae();let n,l,o;const a=oo(t);return i.WebKitCSSMatrix?(l=a.transform||a.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(s=>s.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 kt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function so(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Le(){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&&!so(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 s=l[o],r=Object.getOwnPropertyDescriptor(n,s);r!==void 0&&r.enumerable&&(kt(t[s])&&kt(n[s])?n[s].__swiper__?t[s]=n[s]:Le(t[s],n[s]):!kt(t[s])&&kt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Le(t[s],n[s])):t[s]=n[s])}}}return t}function At(t,e,i){t.style.setProperty(e,i)}function qi(t){let{swiper:e,targetPosition:i,side:n}=t;const l=Ae(),o=-e.translate;let a=null,s;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const c=i>o?"next":"prev",d=(b,h)=>c==="next"&&b>=h||c==="prev"&&b<=h,p=()=>{s=new Date().getTime(),a===null&&(a=s);const b=Math.max(Math.min((s-a)/r,1),0),h=.5-Math.cos(b*Math.PI)/2;let y=o+h*(i-o);if(d(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),d(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(p)};p()}function Ue(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Pt(t){try{console.warn(t);return}catch{}}function wt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:et(e)),i}function ao(t){const e=Ae(),i=He(),n=t.getBoundingClientRect(),l=i.body,o=t.clientTop||l.clientTop||0,a=t.clientLeft||l.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-o,left:n.left+r-a}}function ro(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 co(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 tt(t,e){return Ae().getComputedStyle(t,null).getPropertyValue(e)}function Ot(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Xi(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 ei(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ti(t,e,i){const n=Ae();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 Ge(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function uo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ae();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,s=je(),r;const c=[];function d(g){let O=0,_=0,S=0,E=0;return"detail"in g&&(_=g.detail),"wheelDelta"in g&&(_=-g.wheelDelta/120),"wheelDeltaY"in g&&(_=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(O=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(O=_,_=0),S=O*10,E=_*10,"deltaY"in g&&(E=g.deltaY),"deltaX"in g&&(S=g.deltaX),g.shiftKey&&!S&&(S=E,E=0),(S||E)&&g.deltaMode&&(g.deltaMode===1?(S*=40,E*=40):(S*=800,E*=800)),S&&!O&&(O=S<1?-1:1),E&&!_&&(_=E<1?-1:1),{spinX:O,spinY:_,pixelX:S,pixelY:E}}function p(){e.enabled&&(e.mouseEntered=!0)}function b(){e.enabled&&(e.mouseEntered=!1)}function h(g){return e.params.mousewheel.thresholdDelta&&g.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&je()-s<e.params.mousewheel.thresholdTime?!1:g.delta>=6&&je()-s<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",g.raw)),s=new o.Date().getTime(),!1)}function y(g){const T=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&T.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&T.releaseOnEdges)return!0;return!1}function m(g){let T=g,D=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const f=e.params.mousewheel;e.params.cssMode&&T.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const _=O&&O.contains(T.target);if(!e.mouseEntered&&!_&&!f.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let S=0;const E=e.rtlTranslate?-1:1,A=d(T);if(f.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(S===0)return!0;f.invert&&(S=-S);let x=e.getTranslate()+S*f.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),D=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),D&&e.params.nested&&T.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:je(),delta:Math.abs(S),direction:Math.sign(S),raw:g};c.length>=2&&c.shift();const P=c.length?c[c.length-1]:void 0;if(c.push(C),P?(C.direction!==P.direction||C.delta>P.delta||C.time>P.time+150)&&h(C):h(C),y(C))return!0}else{const C={time:je(),delta:Math.abs(S),direction:Math.sign(S)},P=r&&C.time<r.time+500&&C.delta<=r.delta&&C.direction===r.direction;if(!P){r=void 0;let j=e.getTranslate()+S*f.sensitivity;const B=e.isBeginning,G=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!B&&e.isBeginning||!G&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:C.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const H=c.length?c[c.length-1]:void 0,L=c[0];if(c.push(C),H&&(C.delta>H.delta||C.direction!==H.direction))c.splice(0);else if(c.length>=15&&C.time-L.time<500&&L.delta-C.delta>=1&&C.delta<=6){const V=S>0?.8:.2;r=C,c.splice(0),a=pt(()=>{e.slideToClosest(e.params.speed,!0,void 0,V)},0)}a||(a=pt(()=>{r=C,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||l("scroll",T),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),f.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function I(g){let T=e.el;e.params.mousewheel.eventsTarget!=="container"&&(T=document.querySelector(e.params.mousewheel.eventsTarget)),T[g]("mouseenter",p),T[g]("mouseleave",b),T[g]("wheel",m)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:u,disable:w})}function Ji(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let o=Ue(t.el,`.${n[l]}`)[0];o||(o=wt("div",n[l]),o.className=n[l],t.el.append(o)),i[l]=o,e[l]=o}}),i}function vt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Mt(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:u=>u,formatFractionTotal:u=>u,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,s=0;function r(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,w){const{bulletActiveClass:g}=e.params.pagination;u&&(u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${g}-${w}`),u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${g}-${w}-${w}`)))}function d(u){const w=u.target.closest(vt(e.params.pagination.bulletClass));if(!w)return;u.preventDefault();const g=Ot(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===g)return;e.slideToLoop(g)}else e.slideTo(g)}function p(){const u=e.rtl,w=e.params.pagination;if(r())return;let g=e.pagination.el;g=Ge(g);let T,D;const f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,T=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let S,E,A;if(w.dynamicBullets&&(a=ti(_[0],e.isHorizontal()?"width":"height",!0),g.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&D!==void 0&&(s+=T-(D||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(T-s,0),E=S+(Math.min(_.length,w.dynamicMainBullets)-1),A=(E+S)/2),_.forEach(x=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${w.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();x.classList.remove(...C)}),g.length>1)_.forEach(x=>{const C=Ot(x);C===T?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(C>=S&&C<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),C===S&&c(x,"prev"),C===E&&c(x,"next"))});else{const x=_[T];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&_.forEach((C,P)=>{C.setAttribute("part",P===T?"bullet-active":"bullet")}),w.dynamicBullets){const C=_[S],P=_[E];for(let j=S;j<=E;j+=1)_[j]&&_[j].classList.add(...`${w.bulletActiveClass}-main`.split(" "));c(C,"prev"),c(P,"next")}}if(w.dynamicBullets){const x=Math.min(_.length,w.dynamicMainBullets+4),C=(a*x-a)/2-A*a,P=u?"right":"left";_.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${C}px`})}}g.forEach((_,S)=>{if(w.type==="fraction"&&(_.querySelectorAll(vt(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(T+1)}),_.querySelectorAll(vt(w.totalClass)).forEach(E=>{E.textContent=w.formatFractionTotal(O)})),w.type==="progressbar"){let E;w.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(T+1)/O;let x=1,C=1;E==="horizontal"?x=A:C=A,_.querySelectorAll(vt(w.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${C})`,P.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(_.innerHTML=w.renderCustom(e,T+1,O),S===0&&l("paginationRender",_)):(S===0&&l("paginationRender",_),l("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](w.lockClass)})}function b(){const u=e.params.pagination;if(r())return;const w=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 g=e.pagination.el;g=Ge(g);let T="";if(u.type==="bullets"){let D=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>w&&(D=w);for(let f=0;f<D;f+=1)u.renderBullet?T+=u.renderBullet.call(e,f,u.bulletClass):T+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?T=u.renderFraction.call(e,u.currentClass,u.totalClass):T=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?T=u.renderProgressbar.call(e,u.progressbarFillClass):T=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],g.forEach(D=>{u.type!=="custom"&&(D.innerHTML=T||""),u.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(vt(u.bulletClass)))}),u.type!=="custom"&&l("paginationRender",g[0])}function h(){e.params.pagination=Ji(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let w;typeof u.el=="string"&&e.isElement&&(w=e.el.querySelector(u.el)),!w&&typeof u.el=="string"&&(w=[...document.querySelectorAll(u.el)]),w||(w=u.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(u.el)],w.length>1&&(w=w.filter(g=>Xi(g,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Ge(w),w.forEach(g=>{u.type==="bullets"&&u.clickable&&g.classList.add(...(u.clickableClass||"").split(" ")),g.classList.add(u.modifierClass+u.type),g.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(g.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&g.classList.add(u.progressbarOppositeClass),u.clickable&&g.addEventListener("click",d),e.enabled||g.classList.add(u.lockClass)}))}function y(){const u=e.params.pagination;if(r())return;let w=e.pagination.el;w&&(w=Ge(w),w.forEach(g=>{g.classList.remove(u.hiddenClass),g.classList.remove(u.modifierClass+u.type),g.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(g.classList.remove(...(u.clickableClass||"").split(" ")),g.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(g=>g.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:w}=e.pagination;w=Ge(w),w.forEach(g=>{g.classList.remove(u.horizontalClass,u.verticalClass),g.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(h(),b(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{b(),p()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Ge(u),u.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,w)=>{const g=w.target,T=Ge(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!g.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&g===e.navigation.nextEl||e.navigation.prevEl&&g===e.navigation.prevEl))return;const D=T[0].classList.contains(e.params.pagination.hiddenClass);l(D===!0?"paginationShow":"paginationHide"),T.forEach(f=>f.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ge(u),u.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),h(),b(),p()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ge(u),u.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:m,disable:I,render:b,update:p,init:h,destroy:y})}function po(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=He();let a=!1,s=null,r=null,c,d,p,b;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 h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:C}=e,{dragEl:P,el:j}=x,B=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress;let H=d,L=(p-d)*G;C?(L=-L,L>0?(H=d-L,L=0):-L+d>p&&(H=p+L)):L<0?(H=d+L,L=0):L+d>p&&(H=p-L),e.isHorizontal()?(P.style.transform=`translate3d(${L}px, 0, 0)`,P.style.width=`${H}px`):(P.style.transform=`translate3d(0px, ${L}px, 0)`,P.style.height=`${H}px`),B.hide&&(clearTimeout(s),j.style.opacity=1,s=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function y(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:C,el:P}=x;C.style.width="",C.style.height="",p=e.isHorizontal()?P.offsetWidth:P.offsetHeight,b=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*b:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${d}px`:C.style.height=`${d}px`,b>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(x){return e.isHorizontal()?x.clientX:x.clientY}function u(x){const{scrollbar:C,rtlTranslate:P}=e,{el:j}=C;let B;B=(I(x)-ao(j)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),B=Math.max(Math.min(B,1),0),P&&(B=1-B);const G=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*B;e.updateProgress(G),e.setTranslate(G),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B,dragEl:G}=P;a=!0,c=x.target===G?I(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),j.style.transitionDuration="100ms",G.style.transitionDuration="100ms",u(x),clearTimeout(r),B.style.transitionDuration="0ms",C.hide&&(B.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",x)}function g(x){const{scrollbar:C,wrapperEl:P}=e,{el:j,dragEl:B}=C;a&&(x.preventDefault?x.preventDefault():x.returnValue=!1,u(x),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",B.style.transitionDuration="0ms",l("scrollbarDragMove",x))}function T(x){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B}=P;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),C.hide&&(clearTimeout(r),r=pt(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",x),C.snapOnRelease&&e.slideToClosest())}function D(x){const{scrollbar:C,params:P}=e,j=C.el;if(!j)return;const B=j,G=P.passiveListeners?{passive:!1,capture:!1}:!1,H=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!B)return;const L=x==="on"?"addEventListener":"removeEventListener";B[L]("pointerdown",w,G),o[L]("pointermove",g,G),o[L]("pointerup",T,H)}function f(){!e.params.scrollbar.el||!e.scrollbar.el||D("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||D("off")}function _(){const{scrollbar:x,el:C}=e;e.params.scrollbar=Ji(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let j;if(typeof P.el=="string"&&e.isElement&&(j=e.el.querySelector(P.el)),!j&&typeof P.el=="string"){if(j=o.querySelectorAll(P.el),!j.length)return}else j||(j=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&j.length>1&&C.querySelectorAll(P.el).length===1&&(j=C.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let B;j&&(B=j.querySelector(vt(e.params.scrollbar.dragClass)),B||(B=wt("div",e.params.scrollbar.dragClass),j.append(B))),Object.assign(x,{el:j,dragEl:B}),P.draggable&&f(),j&&j.classList[e.enabled?"remove":"add"](...et(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...et(e.isHorizontal()?x.horizontalClass:x.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:C}=e.scrollbar;C=Ge(C),C.forEach(P=>{P.classList.remove(x.horizontalClass,x.verticalClass),P.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(_(),m(),h())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{h()}),n("setTransition",(x,C)=>{y(C)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...et(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const E=()=>{e.el.classList.remove(...et(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...et(e.params.scrollbar.scrollbarDisabledClass)),_(),m(),h()},A=()=>{e.el.classList.add(...et(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...et(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:m,setTranslate:h,init:_,destroy:S})}function Lt(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,s,r=o&&o.autoplay?o.autoplay.delay:3e3,c=o&&o.autoplay?o.autoplay.delay:3e3,d,p=new Date().getTime(),b,h,y,m,I,u,w;function g(H){!e||e.destroyed||!e.wrapperEl||H.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!w&&E())}const T=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?b=!0:b&&(c=d,b=!1);const H=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=H,l("autoplayTimeLeft",H,H/r),s=requestAnimationFrame(()=>{T()})},D=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(V=>V.classList.contains("swiper-slide-active"))[0]:H=e.slides[e.activeIndex],H?parseInt(H.getAttribute("data-swiper-autoplay"),10):void 0},f=H=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),T();let L=typeof H>"u"?e.params.autoplay.delay:H;r=e.params.autoplay.delay,c=e.params.autoplay.delay;const V=D();!Number.isNaN(V)&&V>0&&typeof H>"u"&&(L=V,r=V,c=V),d=L;const M=e.params.speed,k=()=>{!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&&(p=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return L>0?(clearTimeout(a),a=setTimeout(()=>{k()},L)):requestAnimationFrame(()=>{k()}),L},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,f(),l("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),l("autoplayStop")},S=(H,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),H||(u=!0);const V=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):E()};if(e.autoplay.paused=!0,L){I&&(d=e.params.autoplay.delay),I=!1,V();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),V())},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,f(d)):f(),e.autoplay.paused=!1,l("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const H=He();H.visibilityState==="hidden"&&(u=!0,S(!0)),H.visibilityState==="visible"&&E()},x=H=>{H.pointerType==="mouse"&&(u=!0,w=!0,!(e.animating||e.autoplay.paused)&&S(!0))},C=H=>{H.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",C))},j=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",C)},B=()=>{He().addEventListener("visibilitychange",A)},G=()=>{He().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),B(),O())}),n("destroy",()=>{j(),G(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(y||u)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():S(!0,!0)}),n("beforeTransitionStart",(H,L,V)=>{e.destroyed||!e.autoplay.running||(V||!e.params.autoplay.disableOnInteraction?S(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}h=!0,y=!1,u=!1,m=setTimeout(()=>{u=!0,y=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){y=!1,h=!1;return}y&&e.params.cssMode&&E(),y=!1,h=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:O,stop:_,pause:S,resume:E})}function vo(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 r=e.getTranslate();e.setTranslate(r),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:r,touches:c}=e;r.velocities.length===0&&r.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:je()})}function s(r){let{currentPos:c}=r;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:b,snapGrid:h,touchEventsData:y}=e,I=je()-y.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<h.length?e.slideTo(h.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(y.velocities.length>1){const _=y.velocities.pop(),S=y.velocities.pop(),E=_.position-S.position,A=_.time-S.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(A>150||je()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,y.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const w=e.velocity*u;let g=e.translate+w;b&&(g=-g);let T=!1,D;const f=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(g<e.maxTranslate())d.freeMode.momentumBounce?(g+e.maxTranslate()<-f&&(g=e.maxTranslate()-f),D=e.maxTranslate(),T=!0,y.allowMomentumBounce=!0):g=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(g>e.minTranslate())d.freeMode.momentumBounce?(g-e.minTranslate()>f&&(g=e.minTranslate()+f),D=e.minTranslate(),T=!0,y.allowMomentumBounce=!0):g=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let _;for(let S=0;S<h.length;S+=1)if(h[S]>-g){_=S;break}Math.abs(h[_]-g)<Math.abs(h[_-1]-g)||e.swipeDirection==="next"?g=h[_]:g=h[_-1],g=-g}if(O&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(b?u=Math.abs((-g-e.translate)/e.velocity):u=Math.abs((g-e.translate)/e.velocity),d.freeMode.sticky){const _=Math.abs((b?-g:g)-e.translate),S=e.slidesSizesGrid[e.activeIndex];_<S?u=d.speed:_<2*S?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&T?(e.updateProgress(D),e.setTransition(u),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ei(p,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(D),ei(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(u),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ei(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||I>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:a,onTouchEnd:s}})}let ii;function fo(){const t=Ae(),e=He();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ki(){return ii||(ii=fo()),ii}let ni;function mo(t){let{userAgent:e}=t===void 0?{}:t;const i=Ki(),n=Ae(),l=n.navigator.platform,o=e||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,r=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),b=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=l==="Win32";let y=l==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&y&&i.touch&&m.indexOf(`${s}x${r}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),y=!1),c&&!h&&(a.os="android",a.android=!0),(d||b||p)&&(a.os="ios",a.ios=!0),a}function Qi(t){return t===void 0&&(t={}),ni||(ni=mo(t)),ni}let oi;function ho(){const t=Ae(),e=Qi();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[r,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=r<16||r===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 go(){return oi||(oi=ho()),oi}function bo(t){let{swiper:e,on:i,emit:n}=t;const l=Ae();let o=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(p=>{a=l.requestAnimationFrame(()=>{const{width:b,height:h}=e;let y=b,m=h;p.forEach(I=>{let{contentBoxSize:u,contentRect:w,target:g}=I;g&&g!==e.el||(y=w?w.width:(u[0]||u).inlineSize,m=w?w.height:(u[0]||u).blockSize)}),(y!==b||m!==h)&&s()})}),o.observe(e.el))},c=()=>{a&&l.cancelAnimationFrame(a),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){r();return}l.addEventListener("resize",s),l.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),l.removeEventListener("resize",s),l.removeEventListener("orientationchange",d)})}function yo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=[],a=Ae(),s=function(d,p){p===void 0&&(p={});const b=a.MutationObserver||a.WebkitMutationObserver,h=new b(y=>{if(e.__preventObserver__)return;if(y.length===1){l("observerUpdate",y[0]);return}const m=function(){l("observerUpdate",y[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});h.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),o.push(h)},r=()=>{if(e.params.observer){if(e.params.observeParents){const d=Xi(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{o.forEach(d=>{d.disconnect()}),o.splice(0,o.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",c)}var wo={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),s=0;s<o;s++)a[s]=arguments[s];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(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].forEach(c=>{c.apply(n,i)})}),t}};function So(){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(tt(n,"padding-left")||0,10)-parseInt(tt(n,"padding-right")||0,10),i=i-parseInt(tt(n,"padding-top")||0,10)-parseInt(tt(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 To(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:o,rtlTranslate:a,wrongRTL:s}=t,r=t.virtual&&i.virtual.enabled,c=r?t.virtual.slides.length:t.slides.length,d=Ue(l,`.${t.params.slideClass}, swiper-slide`),p=r?t.virtual.slides.length:d.length;let b=[];const h=[],y=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,w=t.slidesGrid.length;let g=i.spaceBetween,T=-m,D=0,f=0;if(typeof o>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*o:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,d.forEach(E=>{a?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(At(n,"--swiper-centered-offset-before",""),At(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let _;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<p;E+=1){_=0;let A;if(d[E]&&(A=d[E]),O&&t.grid.updateSlide(E,A,d),!(d[E]&&tt(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(d[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(A),C=A.style.transform,P=A.style.webkitTransform;if(C&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?ti(A,"width",!0):ti(A,"height",!0);else{const j=e(x,"width"),B=e(x,"padding-left"),G=e(x,"padding-right"),H=e(x,"margin-left"),L=e(x,"margin-right"),V=x.getPropertyValue("box-sizing");if(V&&V==="border-box")_=j+H+L;else{const{clientWidth:M,offsetWidth:k}=A;_=j+B+G+H+L+(k-M)}}C&&(A.style.transform=C),P&&(A.style.webkitTransform=P),i.roundLengths&&(_=Math.floor(_))}else _=(o-(i.slidesPerView-1)*g)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),d[E]&&(d[E].style[t.getDirectionLabel("width")]=`${_}px`);d[E]&&(d[E].swiperSlideSize=_),y.push(_),i.centeredSlides?(T=T+_/2+D/2+g,D===0&&E!==0&&(T=T-o/2-g),E===0&&(T=T-o/2-g),Math.abs(T)<1/1e3&&(T=0),i.roundLengths&&(T=Math.floor(T)),f%i.slidesPerGroup===0&&b.push(T),h.push(T)):(i.roundLengths&&(T=Math.floor(T)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&b.push(T),h.push(T),T=T+_+g),t.virtualSize+=_+g,D=_,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+I,a&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+g}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+g}px`),O&&t.grid.updateWrapperSize(_,b),!i.centeredSlides){const E=[];for(let A=0;A<b.length;A+=1){let x=b[A];i.roundLengths&&(x=Math.floor(x)),b[A]<=t.virtualSize-o&&E.push(x)}b=E,Math.floor(t.virtualSize-o)-Math.floor(b[b.length-1])>1&&b.push(t.virtualSize-o)}if(r&&i.loop){const E=y[0]+g;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let C=0;C<A;C+=1)b.push(b[b.length-1]+x)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&b.push(b[b.length-1]+E),h.push(h[h.length-1]+E),t.virtualSize+=E}if(b.length===0&&(b=[0]),g!==0){const E=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");d.filter((A,x)=>!i.cssMode||i.loop?!0:x!==d.length-1).forEach(A=>{A.style[E]=`${g}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(x=>{E+=x+(g||0)}),E-=g;const A=E-o;b=b.map(x=>x<=0?-m:x>A?A+I:x)}if(i.centerInsufficientSlides){let E=0;if(y.forEach(A=>{E+=A+(g||0)}),E-=g,E<o){const A=(o-E)/2;b.forEach((x,C)=>{b[C]=x-A}),h.forEach((x,C)=>{h[C]=x+A})}}if(Object.assign(t,{slides:d,snapGrid:b,slidesGrid:h,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){At(n,"--swiper-centered-offset-before",`${-b[0]}px`),At(n,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const E=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+E),t.slidesGrid=t.slidesGrid.map(x=>x+A)}if(p!==c&&t.emit("slidesLengthChange"),b.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!r&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function xo(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=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const s=e.activeIndex+o;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(o=0;o<i.length;o+=1)if(typeof i[o]<"u"){const s=i[o].offsetHeight;l=s>l?s:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}px`)}function Eo(){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()}function Io(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),n.forEach(r=>{r.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let r=0;r<n.length;r+=1){const c=n[r];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(a+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),b=(a-o[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),h=-(a-d),y=h+e.slidesSizesGrid[r],m=h>=0&&h<=e.size-e.slidesSizesGrid[r];(h>=0&&h<e.size-1||y>1&&y<=e.size||h<=0&&y>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(r),n[r].classList.add(i.slideVisibleClass)),m&&n[r].classList.add(i.slideFullyVisibleClass),c.progress=l?-p:p,c.originalProgress=l?-b:b}}function Co(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:o,isEnd:a,progressLoop:s}=e;const r=o,c=a;if(n===0)l=0,o=!0,a=!0;else{l=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;o=d||l<=0,a=p||l>=1,d&&(l=0),p&&(l=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),b=e.slidesGrid[d],h=e.slidesGrid[p],y=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=b?s=(m-b)/y:s=(m+y-h)/y,s>1&&(s-=1)}Object.assign(e,{progress:l,progressLoop:s,isBeginning:o,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),o&&!r&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(r&&!o||c&&!a)&&e.emit("fromEdge"),e.emit("progress",l)}function _o(){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,s=p=>Ue(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let r,c,d;if(o)if(i.loop){let p=l-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),r=s(`[data-swiper-slide-index="${p}"]`)}else r=s(`[data-swiper-slide-index="${l}"]`);else a?(r=e.filter(p=>p.column===l)[0],d=e.filter(p=>p.column===l+1)[0],c=e.filter(p=>p.column===l-1)[0]):r=e[l];r&&(r.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=co(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=ro(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]),c&&c.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Nt=(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()}},li=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},si=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,s=[a-e];s.push(...Array.from({length:e}).map((r,c)=>a+n+c)),t.slides.forEach((r,c)=>{s.includes(r.column)&&li(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 s=(a%i+i)%i;(s<l||s>o)&&li(t,s)}else for(let a=Math.max(l-e,0);a<=Math.min(o+e,i-1);a+=1)a!==l&&(a>o||a<l)&&li(t,a)};function Do(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 ko(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:o,realIndex:a,snapIndex:s}=e;let r=t,c;const d=h=>{let y=h-e.virtual.slidesBefore;return y<0&&(y=e.virtual.slides.length+y),y>=e.virtual.slides.length&&(y-=e.virtual.slides.length),y};if(typeof r>"u"&&(r=Do(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const h=Math.min(l.slidesPerGroupSkip,r);c=h+Math.floor((r-h)/l.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),r===o&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(r===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(r);return}const p=e.grid&&l.grid&&l.grid.rows>1;let b;if(e.virtual&&l.virtual.enabled&&l.loop)b=d(r);else if(p){const h=e.slides.filter(m=>m.column===r)[0];let y=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(h),0)),b=Math.floor(y/l.grid.rows)}else if(e.slides[r]){const h=e.slides[r].getAttribute("data-swiper-slide-index");h?b=parseInt(h,10):b=r}else b=r;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:b,previousIndex:o,activeIndex:r}),e.initialized&&si(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==b&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ao(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(s=>{!l&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(l=s)});let o=!1,a;if(l){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===l){o=!0,a=s;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 Po={updateSize:So,updateSlides:To,updateAutoHeight:xo,updateSlidesOffset:Eo,updateSlidesProgress:Io,updateProgress:Co,updateSlidesClasses:_o,updateActiveIndex:ko,updateClickedSlide:Ao};function Oo(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=lo(o,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Mo(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:o,progress:a}=i;let s=0,r=0;const c=0;i.isHorizontal()?s=n?-t:t:r=t,l.roundLengths&&(s=Math.floor(s),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:r,l.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-r:l.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${s}px, ${r}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Lo(){return-this.snapGrid[0]}function No(){return-this.snapGrid[this.snapGrid.length-1]}function jo(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:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const r=o.minTranslate(),c=o.maxTranslate();let d;if(n&&t>r?d=r:n&&t<c?d=c:d=t,o.updateProgress(d),a.cssMode){const p=o.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!o.support.smoothScroll)return qi({swiper:o,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(b){!o||o.destroyed||b.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var Bo={getTranslate:Oo,setTranslate:Mo,minTranslate:Lo,maxTranslate:No,translateTo:jo};function zo(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 Zi(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:o,previousIndex:a}=e;let s=n;if(s||(o>a?s="next":o<a?s="prev":s="reset"),e.emit(`transition${l}`),i&&o!==a){if(s==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),s==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function Vo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Zi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Ro(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Zi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Fo={setTransition:zo,transitionStart:Vo,transitionEnd:Ro};function Ho(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:r,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:b,wrapperEl:h,enabled:y}=o;if(o.animating&&s.preventInteractionOnTransition||!y&&!n&&!l||o.destroyed)return!1;const m=Math.min(o.params.slidesPerGroupSkip,a);let I=m+Math.floor((a-m)/o.params.slidesPerGroup);I>=r.length&&(I=r.length-1);const u=-r[I];if(s.normalizeSlideIndex)for(let g=0;g<c.length;g+=1){const T=-Math.floor(u*100),D=Math.floor(c[g]*100),f=Math.floor(c[g+1]*100);typeof c[g+1]<"u"?T>=D&&T<f-(f-D)/2?a=g:T>=D&&T<f&&(a=g+1):T>=D&&(a=g)}if(o.initialized&&a!==p&&(!o.allowSlideNext&&(b?u>o.translate&&u>o.minTranslate():u<o.translate&&u<o.minTranslate())||!o.allowSlidePrev&&u>o.translate&&u>o.maxTranslate()&&(p||0)!==a))return!1;a!==(d||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(u);let w;if(a>p?w="next":a<p?w="prev":w="reset",b&&-u===o.translate||!b&&u===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),s.effect!=="slide"&&o.setTranslate(u),w!=="reset"&&(o.transitionStart(i,w),o.transitionEnd(i,w)),!1;if(s.cssMode){const g=o.isHorizontal(),T=b?u:-u;if(e===0){const D=o.virtual&&o.params.virtual.enabled;D&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),D&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[g?"scrollLeft":"scrollTop"]=T})):h[g?"scrollLeft":"scrollTop"]=T,D&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return qi({swiper:o,targetPosition:T,side:g?"left":"top"}),!0;h.scrollTo({[g?"left":"top"]:T,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(u),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(i,w),e===0?o.transitionEnd(i,w):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(T){!o||o.destroyed||T.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,w))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function Uo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;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 s;if(o){const b=a*l.params.grid.rows;s=l.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===b)[0].column}else s=l.getSlideIndexByData(a);const r=o?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:c}=l.params;let d=l.params.slidesPerView;d==="auto"?d=l.slidesPerViewDynamic():(d=Math.ceil(parseFloat(l.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=r-s<d;if(c&&(p=p||s<Math.ceil(d/2)),p){const b=c?s<l.activeIndex?"prev":"next":s-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:b,slideTo:!0,activeSlideIndex:b==="next"?s+1:s-r+1,slideRealIndex:b==="next"?l.realIndex:void 0})}if(o){const b=a*l.params.grid.rows;a=l.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===b)[0].column}else a=l.getSlideIndexByData(a)}return requestAnimationFrame(()=>{l.slideTo(a,e,i,n)}),l}function Go(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:l,params:o,animating:a}=n;if(!l||n.destroyed)return n;let s=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<o.slidesPerGroupSkip?1:s,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+r,t,e,i)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function $o(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:l,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:r,animating:c}=n;if(!r||n.destroyed)return n;const d=n.virtual&&l.virtual.enabled;if(l.loop){if(c&&!d&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function b(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const h=b(p),y=o.map(u=>b(u));let m=o[y.indexOf(h)-1];if(typeof m>"u"&&l.cssMode){let u;o.forEach((w,g)=>{h>=w&&(u=g)}),typeof u<"u"&&(m=o[u>0?u-1:u])}let I=0;if(typeof m<"u"&&(I=a.indexOf(m),I<0&&(I=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,0))),l.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function Wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Yo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;let o=l.activeIndex;const a=Math.min(l.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/l.params.slidesPerGroup),r=l.rtlTranslate?l.translate:-l.translate;if(r>=l.snapGrid[s]){const c=l.snapGrid[s],d=l.snapGrid[s+1];r-c>(d-c)*n&&(o+=l.params.slidesPerGroup)}else{const c=l.snapGrid[s-1],d=l.snapGrid[s];r-c<=(d-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 qo(){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(Ue(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Ue(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var Xo={slideTo:Ho,slideToLoop:Uo,slideNext:Go,slidePrev:$o,slideReset:Wo,slideToClosest:Yo,slideToClickedSlide:qo};function Jo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{Ue(n,`.${i.slideClass}, swiper-slide`).forEach((p,b)=>{p.setAttribute("data-swiper-slide-index",b)})},o=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(o?i.grid.rows:1),s=e.slides.length%a!==0,r=o&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const b=e.isElement?wt("swiper-slide",[i.slideBlankClass]):wt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(b)}};if(s){if(i.loopAddBlankSlides){const d=a-e.slides.length%a;c(d),e.recalcSlides(),e.updateSlides()}else Pt("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(r){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Pt("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 Ko(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:o,byController:a,byMousewheel:s}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:b,params:h}=r,{centeredSlides:y}=h;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&h.virtual.enabled){i&&(!h.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):h.centeredSlides&&r.snapIndex<h.slidesPerView?r.slideTo(r.virtual.slides.length+r.snapIndex,0,!1,!0):r.snapIndex===r.snapGrid.length-1&&r.slideTo(r.virtual.slidesBefore,0,!1,!0)),r.allowSlidePrev=d,r.allowSlideNext=p,r.emit("loopFix");return}let m=h.slidesPerView;m==="auto"?m=r.slidesPerViewDynamic():(m=Math.ceil(parseFloat(h.slidesPerView,10)),y&&m%2===0&&(m=m+1));const I=h.slidesPerGroupAuto?m:h.slidesPerGroup;let u=I;u%I!==0&&(u+=I-u%I),u+=h.loopAdditionalSlides,r.loopedSlides=u;const w=r.grid&&h.grid&&h.grid.rows>1;c.length<m+u?Pt("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"):w&&h.grid.fill==="row"&&Pt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const g=[],T=[];let D=r.activeIndex;typeof o>"u"?o=r.getSlideIndex(c.filter(C=>C.classList.contains(h.slideActiveClass))[0]):D=o;const f=n==="next"||!n,O=n==="prev"||!n;let _=0,S=0;const E=w?Math.ceil(c.length/h.grid.rows):c.length,x=(w?c[o].column:o)+(y&&typeof l>"u"?-m/2+.5:0);if(x<u){_=Math.max(u-x,I);for(let C=0;C<u-x;C+=1){const P=C-Math.floor(C/E)*E;if(w){const j=E-P-1;for(let B=c.length-1;B>=0;B-=1)c[B].column===j&&g.push(B)}else g.push(E-P-1)}}else if(x+m>E-u){S=Math.max(x-(E-u*2),I);for(let C=0;C<S;C+=1){const P=C-Math.floor(C/E)*E;w?c.forEach((j,B)=>{j.column===P&&T.push(B)}):T.push(P)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),O&&g.forEach(C=>{c[C].swiperLoopMoveDOM=!0,b.prepend(c[C]),c[C].swiperLoopMoveDOM=!1}),f&&T.forEach(C=>{c[C].swiperLoopMoveDOM=!0,b.append(c[C]),c[C].swiperLoopMoveDOM=!1}),r.recalcSlides(),h.slidesPerView==="auto"?r.updateSlides():w&&(g.length>0&&O||T.length>0&&f)&&r.slides.forEach((C,P)=>{r.grid.updateSlide(P,C,r.slides)}),h.watchSlidesProgress&&r.updateSlidesOffset(),i){if(g.length>0&&O){if(typeof e>"u"){const C=r.slidesGrid[D],j=r.slidesGrid[D+_]-C;s?r.setTranslate(r.translate-j):(r.slideTo(D+Math.ceil(_),0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else if(l){const C=w?g.length/h.grid.rows:g.length;r.slideTo(r.activeIndex+C,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(T.length>0&&f)if(typeof e>"u"){const C=r.slidesGrid[D],j=r.slidesGrid[D-S]-C;s?r.setTranslate(r.translate-j):(r.slideTo(D-S,0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else{const C=w?T.length/h.grid.rows:T.length;r.slideTo(r.activeIndex-C,0,!1,!0)}}if(r.allowSlidePrev=d,r.allowSlideNext=p,r.controller&&r.controller.control&&!a){const C={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:o,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...C,slideTo:P.params.slidesPerView===h.slidesPerView?i:!1})}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix({...C,slideTo:r.controller.control.params.slidesPerView===h.slidesPerView?i:!1})}r.emit("loopFix")}function Qo(){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 Zo={loopCreate:Jo,loopFix:Ko,loopDestroy:Qo};function el(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 tl(){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 il={setGrabCursor:el,unsetGrabCursor:tl};function nl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===He()||n===Ae())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 en(t,e,i){const n=Ae(),{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 ol(t){const e=this,i=He();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"){en(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:a,enabled:s}=e;if(!s||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let r=n.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const c=!!o.noSwipingClass&&o.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(r=d[0]);const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,b=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(b?nl(p,r):r.closest(p))){e.allowClick=!0;return}if(o.swipeHandler&&!r.closest(o.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const h=a.currentX,y=a.currentY;if(!en(e,n,h))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=y,l.touchStartTime=je(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1);let m=!0;r.matches(l.focusableElements)&&(m=!1,r.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const I=m&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||I)&&!r.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ll(t){const e=He(),i=this,n=i.touchEventsData,{params:l,touches:o,rtlTranslate:a,enabled:s}=i;if(!s||!l.simulateTouch&&t.pointerType==="mouse")return;let r=t;if(r.originalEvent&&(r=r.originalEvent),r.type==="pointermove"&&(n.touchId!==null||r.pointerId!==n.pointerId))return;let c;if(r.type==="touchmove"){if(c=[...r.changedTouches].filter(f=>f.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=r;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",r);return}const d=c.pageX,p=c.pageY;if(r.preventedByNestedSwiper){o.startX=d,o.startY=p;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=je());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(p<o.startY&&i.translate<=i.maxTranslate()||p>o.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<o.startX&&i.translate<=i.maxTranslate()||d>o.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&r.target===e.activeElement&&r.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",r),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=d,o.currentY=p;const b=o.currentX-o.startX,h=o.currentY-o.startY;if(i.params.threshold&&Math.sqrt(b**2+h**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let f;i.isHorizontal()&&o.currentY===o.startY||i.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:b*b+h*h>=25&&(f=Math.atan2(Math.abs(h),Math.abs(b))*180/Math.PI,n.isScrolling=i.isHorizontal()?f>l.touchAngle:90-f>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&r.cancelable&&r.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&r.stopPropagation();let y=i.isHorizontal()?b:h,m=i.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;l.oneWayMovement&&(y=Math.abs(y)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=y,y*=l.touchRatio,a&&(y=-y,m=-m);const I=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const u=i.params.loop&&!l.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&w&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(f)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let g;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&u&&w&&Math.abs(y)>=1){Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let T=!0,D=l.resistanceRatio;if(l.touchReleaseOnEdges&&(D=0),y>0?(u&&w&&!g&&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()&&(T=!1,l.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**D))):y<0&&(u&&w&&!g&&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()&&(T=!1,l.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**D))),T&&(r.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(y)>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 sl(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(D=>D.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:s,rtlTranslate:r,slidesGrid:c,enabled:d}=e;if(!d||!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 p=je(),b=p-i.touchStartTime;if(e.allowClick){const D=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(D&&D[0]||n.target,D),e.emit("tap click",n),b<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=je(),pt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.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 h;if(a.followFinger?h=r?e.translate:-e.translate:h=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:h});return}const y=h>=-e.maxTranslate()&&!e.params.loop;let m=0,I=e.slidesSizesGrid[0];for(let D=0;D<c.length;D+=D<a.slidesPerGroupSkip?1:a.slidesPerGroup){const f=D<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[D+f]<"u"?(y||h>=c[D]&&h<c[D+f])&&(m=D,I=c[D+f]-c[D]):(y||h>=c[D])&&(m=D,I=c[c.length-1]-c[c.length-2])}let u=null,w=null;a.rewind&&(e.isBeginning?w=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const g=(h-c[m])/I,T=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(b>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:m+T):e.slideTo(m)),e.swipeDirection==="prev"&&(g>1-a.longSwipesRatio?e.slideTo(m+T):w!==null&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(w):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+T):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:m+T),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function tn(){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 s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?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 al(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function rl(){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 dl(t){const e=this;Nt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function cl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const nn=(t,e)=>{const i=He(),{params:n,el:l,wrapperEl:o,device:a}=t,s=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",c=e;i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),l[r]("touchstart",t.onTouchStart,{passive:!1}),l[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[r]("touchend",t.onTouchEnd,{passive:!0}),i[r]("pointerup",t.onTouchEnd,{passive:!0}),i[r]("pointercancel",t.onTouchEnd,{passive:!0}),i[r]("touchcancel",t.onTouchEnd,{passive:!0}),i[r]("pointerout",t.onTouchEnd,{passive:!0}),i[r]("pointerleave",t.onTouchEnd,{passive:!0}),i[r]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&l[r]("click",t.onClick,!0),n.cssMode&&o[r]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",tn,!0):t[c]("observerUpdate",tn,!0),l[r]("load",t.onLoad,{capture:!0})};function ul(){const t=this,{params:e}=t;t.onTouchStart=ol.bind(t),t.onTouchMove=ll.bind(t),t.onTouchEnd=sl.bind(t),t.onDocumentTouchStart=cl.bind(t),e.cssMode&&(t.onScroll=rl.bind(t)),t.onClick=al.bind(t),t.onLoad=dl.bind(t),nn(t,"on")}function pl(){nn(this,"off")}var vl={attachEvents:ul,detachEvents:pl};const on=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function fl(){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 r=(a in o?o[a]:void 0)||t.originalParams,c=on(t,n),d=on(t,r),p=n.enabled;c&&!d?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(l.classList.add(`${n.containerModifierClass}grid`),(r.grid.fill&&r.grid.fill==="column"||!r.grid.fill&&n.grid.fill==="column")&&l.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof r[u]>"u")return;const w=n[u]&&n[u].enabled,g=r[u]&&r[u].enabled;w&&!g&&t[u].disable(),!w&&g&&t[u].enable()});const b=r.direction&&r.direction!==n.direction,h=n.loop&&(r.slidesPerView!==n.slidesPerView||b),y=n.loop;b&&i&&t.changeDirection(),Le(t.params,r);const m=t.params.enabled,I=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!m?t.disable():!p&&m&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",r),i&&(h?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&I?(t.loopCreate(e),t.updateSlides()):y&&!I&&t.loopDestroy()),t.emit("breakpoint",r)}function ml(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=Ae(),o=e==="window"?l.innerHeight:i.clientHeight,a=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const r=parseFloat(s.substr(1));return{value:o*r,point:s}}return{value:s,point:s}});a.sort((s,r)=>parseInt(s.value,10)-parseInt(r.value,10));for(let s=0;s<a.length;s+=1){const{point:r,value:c}=a[s];e==="window"?l.matchMedia(`(min-width: ${c}px)`).matches&&(n=r):c<=i.clientWidth&&(n=r)}return n||"max"}var hl={setBreakpoint:fl,getBreakpoint:ml};function gl(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 bl(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:o}=t,a=gl(["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 yl(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var wl={addClasses:bl,removeClasses:yl};function Sl(){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 Tl={checkOverflow:Sl},ai={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 xl(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],o=n[l];if(typeof o!="object"||o===null){Le(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)){Le(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Le(e,n)}}const ri={eventsEmitter:wo,update:Po,translate:Bo,transition:Fo,slide:Xo,loop:Zo,grabCursor:il,events:vl,breakpoints:hl,checkOverflow:Tl,classes:wl},di={};let ci=class Ke{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=Le({},i),e&&!i.el&&(i.el=e);const a=He();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(p=>{const b=Le({},i,{el:p});d.push(new Ke(b))}),d}const s=this;s.__swiper__=!0,s.support=Ki(),s.device=Qi({userAgent:i.userAgent}),s.browser=go(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const r={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:xl(i,r),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=Le({},ai,r);return s.params=Le({},c,di,i),s.originalParams=Le({},s.params),s.passedParams=Le({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.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:s.params.allowSlideNext,allowSlidePrev:s.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:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}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=Ue(i,`.${n.slideClass}, swiper-slide`),o=Ot(l[0]);return Ot(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=Ue(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:s,size:r,activeIndex:c}=n;let d=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let p=o[c]?Math.ceil(o[c].swiperSlideSize):0,b;for(let h=c+1;h<o.length;h+=1)o[h]&&!b&&(p+=Math.ceil(o[h].swiperSlideSize),d+=1,p>r&&(b=!0));for(let h=c-1;h>=0;h-=1)o[h]&&!b&&(p+=o[h].swiperSlideSize,d+=1,p>r&&(b=!0))}else if(e==="current")for(let p=c+1;p<o.length;p+=1)(i?a[p]+s[p]-a[c]<r:a[p]-a[c]<r)&&(d+=1);else for(let p=c-1;p>=0;p-=1)a[c]-a[p]<r&&(d+=1);return d}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&&Nt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),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()):Ue(n,l())[0];return!a&&i.params.createElements&&(a=wt("div",i.params.wrapperClass),n.append(a),Ue(n,`.${i.params.slideClass}`).forEach(s=>{a.append(s)})),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"||tt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||tt(n,"direction")==="rtl"),wrongRTL:tt(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?Nt(i,o):o.addEventListener("load",a=>{Nt(i,a.target)})}),si(i),i.initialized=!0,si(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:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),o.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(r=>{r.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),r.removeAttribute("style"),r.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(r=>{n.off(r)}),e!==!1&&(n.el.swiper=null,no(n)),n.destroyed=!0),null}static extendDefaults(e){Le(di,e)}static get extendedDefaults(){return di}static get defaults(){return ai}static installModule(e){Ke.prototype.__modules__||(Ke.prototype.__modules__=[]);const i=Ke.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ke.installModule(i)),Ke):(Ke.installModule(e),Ke)}};Object.keys(ri).forEach(t=>{Object.keys(ri[t]).forEach(e=>{ci.prototype[e]=ri[t][e]})}),ci.use([bo,yo]);const ln=["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 lt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function ft(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]:lt(e[n])&<(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:ft(t[n],e[n]):t[n]=e[n]})}function sn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function an(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function rn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function dn(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 El(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Il(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:r}=t;const c=l.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:p,navigation:b,scrollbar:h,virtual:y,thumbs:m}=e;let I,u,w,g,T,D,f,O;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(I=!0),l.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(w=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&h&&!h.el&&(g=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(d.navigation||d.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(T=!0);const _=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),d[S].el=void 0,e[S].el=void 0))};l.includes("loop")&&e.isElement&&(d.loop&&!n.loop?D=!0:!d.loop&&n.loop?f=!0:O=!0),c.forEach(S=>{if(lt(d[S])&<(n[S]))Object.assign(d[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&_(S);else{const E=n[S];(E===!0||E===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?E===!1&&_(S):d[S]=n[S]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),l.includes("children")&&i&&y&&d.virtual.enabled?(y.slides=i,y.update(!0)):l.includes("virtual")&&y&&d.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),l.includes("children")&&i&&d.loop&&(O=!0),I&&m.init()&&m.update(!0),u&&(e.controller.control=d.controller.control),w&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),r.part.add("pagination"),e.el.appendChild(r)),r&&(d.pagination.el=r),p.init(),p.render(),p.update()),g&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),h.init(),h.updateSize(),h.setTranslate()),T&&(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&&(d.navigation.nextEl=o),a&&(d.navigation.prevEl=a),b.init(),b.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(D||O)&&e.loopDestroy(),(f||O)&&e.loopCreate(),e.update()}function Cl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};ft(i,ai),i._emitClasses=!0,i.init=!1;const o={},a=ln.map(r=>r.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(r=>{typeof t[r]>"u"||(a.indexOf(r)>=0?lt(t[r])?(i[r]={},l[r]={},ft(i[r],t[r]),ft(l[r],t[r])):(i[r]=t[r],l[r]=t[r]):r.search(/on[A-Z]/)===0&&typeof t[r]=="function"?e?n[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:i.on[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:o[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:l,rest:o,events:n}}function _l(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:o,scrollbarEl:a,swiper:s}=t;sn(e)&&n&&l&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=l,s.originalParams.navigation.prevEl=l),an(e)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),rn(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function Dl(t,e,i,n,l){const o=[];if(!e)return o;const a=r=>{o.indexOf(r)<0&&o.push(r)};if(i&&n){const r=n.map(l),c=i.map(l);r.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return ln.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(lt(t[r])&<(e[r])){const c=Object.keys(t[r]),d=Object.keys(e[r]);c.length!==d.length?a(r):(c.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}),d.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}))}else t[r]!==e[r]&&a(r)}),o}const kl=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 jt(){return jt=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},jt.apply(this,arguments)}function cn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function un(t){const e=[];return v.Children.toArray(t).forEach(i=>{cn(i)?e.push(i):i.props&&i.props.children&&un(i.props.children).forEach(n=>e.push(n))}),e}function Al(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(cn(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=un(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 Pl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:o,to:a}=i,s=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<r;d+=1)d>=o&&d<=a&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:l,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function St(t,e){return typeof window>"u"?J(t,e):Pn(t,e)}const ui=yt(null),pn=()=>bt(ui),Ol=yt(null),st=Ct(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:o,onSwiper:a,...s}=t===void 0?{}:t,r=!1;const[c,d]=$("swiper"),[p,b]=$(null),[h,y]=$(!1),m=Z(!1),I=Z(null),u=Z(null),w=Z(null),g=Z(null),T=Z(null),D=Z(null),f=Z(null),O=Z(null),{params:_,passedParams:S,rest:E,events:A}=Cl(s),{slides:x,slots:C}=Al(o),P=()=>{y(!h)};Object.assign(_.on,{_containerClasses(L,V){d(V)}});const j=()=>{Object.assign(_.on,A),r=!0;const L={..._};if(delete L.wrapperClass,u.current=new ci(L),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const V={cache:!1,slides:x,renderExternal:b,renderExternalUpdate:!1};ft(u.current.params.virtual,V),ft(u.current.originalParams.virtual,V)}};I.current||j(),u.current&&u.current.on("_beforeBreakpoint",P);const B=()=>{r||!A||!u.current||Object.keys(A).forEach(L=>{u.current.on(L,A[L])})},G=()=>{!A||!u.current||Object.keys(A).forEach(L=>{u.current.off(L,A[L])})};J(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),J(()=>{!m.current&&u.current&&(u.current.emitSlidesClasses(),m.current=!0)}),St(()=>{if(e&&(e.current=I.current),!!I.current)return u.current.destroyed&&j(),_l({el:I.current,nextEl:T.current,prevEl:D.current,paginationEl:f.current,scrollbarEl:O.current,swiper:u.current},_),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),St(()=>{B();const L=Dl(S,w.current,x,g.current,V=>V.key);return w.current=S,g.current=x,L.length&&u.current&&!u.current.destroyed&&Il({swiper:u.current,slides:x,passedParams:S,changedParams:L,nextEl:T.current,prevEl:D.current,scrollbarEl:O.current,paginationEl:f.current}),()=>{G()}}),St(()=>{kl(u.current)},[p]);function H(){return _.virtual?Pl(u.current,x,p):x.map((L,V)=>v.cloneElement(L,{swiper:u.current,swiperSlideIndex:V}))}return v.createElement(n,jt({ref:I,className:dn(`${c}${i?` ${i}`:""}`)},E),v.createElement(Ol.Provider,{value:u.current},C["container-start"],v.createElement(l,{className:El(_.wrapperClass)},C["wrapper-start"],H(),C["wrapper-end"]),sn(_)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:D,className:"swiper-button-prev"}),v.createElement("div",{ref:T,className:"swiper-button-next"})),rn(_)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),an(_)&&v.createElement("div",{ref:f,className:"swiper-pagination"}),C["container-end"]))});st.displayName="Swiper";const $e=Ct(function(t,e){let{tag:i="div",children:n,className:l="",swiper:o,zoom:a,lazy:s,virtualIndex:r,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Z(null),[b,h]=$("swiper-slide"),[y,m]=$(!1);function I(T,D,f){D===p.current&&h(f)}St(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!o)){if(o.destroyed){b!=="swiper-slide"&&h("swiper-slide");return}return o.on("_slideClass",I),()=>{o&&o.off("_slideClass",I)}}}),St(()=>{o&&p.current&&!o.destroyed&&h(o.getSlideClasses(p.current))},[o]);const u={isActive:b.indexOf("swiper-slide-active")>=0,isVisible:b.indexOf("swiper-slide-visible")>=0,isPrev:b.indexOf("swiper-slide-prev")>=0,isNext:b.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(u):n,g=()=>{m(!0)};return v.createElement(i,jt({ref:p,className:dn(`${b}${l?` ${l}`:""}`),"data-swiper-slide-index":r,onLoad:g},d),a&&v.createElement(ui.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},w(),s&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&v.createElement(ui.Provider,{value:u},w(),s&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"})))});$e.displayName="SwiperSlide";const Ml="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Ll=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:o})=>{var a;const[s,r]=$(!1),c=Z(null);J(()=>{const b=document.getElementById("sxp-render"),h=document.getElementById("pb-modal");h?c.current=h:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),b?.appendChild(c.current))},[]);const d=ee(()=>o?.id&&o?.id!==""||t,[t,o]);if(J(()=>{d?r(!0):setTimeout(()=>{r(!1)},o?.duration)},[d,o]),!c.current)return null;const p=Ht(()=>{e?.()},300);return Ai.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:l,animationDuration:((a=o?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:b=>{b.stopPropagation(),b.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Ml,alt:"close",className:"modal-icon"})),i))),c.current)};var Bt=ce(Ll);const Nl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),l=[];for(let a=0;a<n.length&&(l.push(n[a]),!(l.join(" ").length>=e));a++);return(l.length>1&&l.length<n.length?l.slice(0,l.length-1):l).join(" ")+" "},jl=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:o,unfoldText:a,isPost:s,onChange:r})=>{const[c,d]=$(!1),[p,b]=$(!1),h=Number(i?.lineClamp||2),y=Z(null),m=Z(null),I=ue(()=>{d(!c)},[c,r]);return ee(()=>!c&&t.length>e?Nl(t,e)+"...":t,[t,e,c]),J(()=>{var u,w;((u=m?.current)===null||u===void 0?void 0:u.offsetHeight)>((w=y?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?b(!0):b(!1),m.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:l??I},c?a||"show less":o||"show more"))};var zt=ce(jl);const Bl=Ct((t,e)=>{const{src:i,onLoad:n,style:l,className:o,loading:a}=t,[s,r]=$();return Di(e,()=>({setSrc:c=>{r(c)}})),J(()=>{r(i)},[i]),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:o,src:s,style:l,loading:a,onLoad:c=>{n?.(c.target)}})):v.createElement("img",{className:o,src:s,style:l,loading:a,onLoad:c=>{n?.(c.target)}}))});var Be=ce(Bl);const zl=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,onClick:h,schema:y,isDefault:m,bottom_image:I,tipText:u,isPost:w,viewTime:g,rec:T,swiper:D,commodityStyles:f,buttonStyle:O,index:_}=t,S=Ie(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=me(),{popupDetailData:A,bffEventReport:x,isPreview:C,bffFbReport:P}=me(),{jumpToWeb:j,productView:B}=Fe(),G=Z(null),[H,L]=$(!1),V=w?T:A,M=w?V?.product:(e=V?.video)===null||e===void 0?void 0:e.bindProduct,k=w?(i=V?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=V?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,z=w?_:A?.index,U=()=>{M?.link&&(j(V,M,k,z),w||B(V,M,k,g||G.current,z),window.location.href=window.getJointUtmLink(M.link))};J(()=>{w||P?.({eventName:"ProductView"})},[w,P]),J(()=>{const q=()=>{G.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const W=ee(()=>{var q,pe,se,re,he;return M?.currency&&M?.price?`${(se=(pe=(q=M?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||pe===void 0?void 0:pe.toUpperCase())!==null&&se!==void 0?se:""}${(he=(re=M?.price)===null||re===void 0?void 0:re.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"$7,000"},[M?.price,M?.currency]),ie=C?375:(o=p?.width)!==null&&o!==void 0?o:window.innerWidth,ne=({isPost:q})=>{var pe,se,re;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:f?.collection,hidden:!!M&&(!M?.collection||M?.collection==="")},(pe=M?.collection)!==null&&pe!==void 0?pe:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:f?.title,hidden:!!M&&!M?.title},(se=M?.title)!==null&&se!==void 0?se:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:f?.price,hidden:!!M&&!M?.price},W),v.createElement("div",{hidden:!!M&&(!M?.info||M?.info==="")},v.createElement(zt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>L(!0),isPost:q,text:(re=M?.info)!==null&&re!==void 0?re:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
2
2
|
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
3
3
|
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
4
4
|
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
5
|
-
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:T?.info})))},pe=()=>{var q;return v.createElement(v.Fragment,null,(h||M?.link)&&v.createElement("button",{onClick:z,className:"pb-commondity-btn",style:O},(q=P?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))};return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:J(Object.assign({},p))},x),M&&((a=M?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(at,{height:ne,modules:[Ot,Mt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:w?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:w?.delay*1e3}},(s=M?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement(Ge,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},v.createElement(Me,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:q}))))),!(!((r=M?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:J({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:J({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=S?.bottom_image)!==null&&c!==void 0?c:C,alt:""})),v.createElement("div",{className:"pb-commondity-content"},le({isPost:y}))),pe(),v.createElement(jt,{visible:F,onClose:()=>L(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},le({isPost:!1})),pe()))};var Al=ce(kl);const Pl=ke(Al,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Wn},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Ol=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ml=[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]}],nn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const Ll=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Nl=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:a,onClose:s,onClick:r}=t,c=xe(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick"]);const{popupDetailData:d}=fe(),{jumpToWeb:p}=Ve(),m=typeof o=="string"?o:Ll(o),f=()=>{var g,h,C;if(a){const u=d,y=(g=u?.video)===null||g===void 0?void 0:g.bindProduct,b=(C=(h=u?.video)===null||h===void 0?void 0:h.bindProduct)===null||C===void 0?void 0:C.bindCta,I=d?.index;p(u,y,b,I)}l||s?.(),r?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${J(Object.assign({},n))}`},c),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:m??nn})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",onClick:f},i))};var jl=ce(Nl);const Bl=ke(jl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Ml,bindableProps:[],interactionRender:Ol},defaulSetting:{props:{icon:nn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ai,ri,zl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{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:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:se,name:["fontFamily"],initialValue:(ai=se?.[0])===null||ai===void 0?void 0:ai.value},{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"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{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:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:se,initialValue:(ri=se?.[0])===null||ri===void 0?void 0:ri.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Vl=t=>{var e,i,n,o,l,a,s,r,c,d,p,m,{style:f,isDefault:g,rec:h,viewTime:C,isPost:u,bottom_image:y,tipText:b,swiper:I,commodityStyles:w,buttonStyle:T,index:O}=t,_=xe(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:x}=fe(),{popupDetailData:S,bffEventReport:k,isPreview:E,swiperRef:D,bffFbReport:A}=fe(),{jumpToWeb:N,productView:V}=Ve(),H=Q(null);Q(null),Q(null),$(!1),$(!1),$(!0);const[F,L]=$(!1),B=Q(null),M=u?h:S,P=u?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,Y=u?(i=M?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=M?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,z=u?O:S?.index,U=()=>{P?.link&&(N(M,P,Y,z),u||V(M,P,Y,C||B.current,z),window.location.href=window.getJointUtmLink(P.link))};X(()=>{u||A?.({eventName:"ProductView"})},[u,A]),X(()=>{const q=()=>{B.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const ne=ie(()=>{var q,re,ae,Z,me;return P?.currency&&P?.price?`${(ae=(re=(q=P?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||re===void 0?void 0:re.toUpperCase())!==null&&ae!==void 0?ae:""}${(me=(Z=P?.price)===null||Z===void 0?void 0:Z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&me!==void 0?me:""}`:"\xA3102,300.00"},[P?.price,P?.currency]),le=E?375:(l=f?.width)!==null&&l!==void 0?l:window.innerWidth,pe=({isPost:q})=>v.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},v.createElement(Bt,{isPost:q,onClick:()=>L(!0),className:"pb-commondityDiroNew-info",style:w?.info,foldText:b?.foldText,unfoldText:b?.unfoldText,text:P?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
6
|
-
Made in Italy`}));return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:H,className:J(Object.assign({},f))},_),P&&((a=P?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(at,{height:le,modules:[Ot,Mt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:I?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:I?.delay*1e3}},(s=P?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement(Ge,{key:q},v.createElement("div",{style:{overflow:"hidden",width:le,height:le}},v.createElement(Me,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:q}))))),!(!((r=P?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:J({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:J({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=x?.bottom_image)!==null&&c!==void 0?c:y,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:w?.title},(d=P?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!P&&(!P?.collection||P?.collection===""),style:w?.collection},P?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!P&&!P?.price,style:w?.price},ne),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!P&&!P?.taxInfo,style:w?.taxInfo},(p=P?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!P||P?.link)&&v.createElement("button",{onClick:U,className:"pb-commondityDiroNew-btn",style:T},(m=Y?.enTitle)!==null&&m!==void 0?m:"Shop now"),pe({isPost:u}))),v.createElement(jt,{visible:F,onClose:()=>L(!1)},pe({isPost:!1})))};var Rl=ce(Vl);const Fl=ke(Rl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:zl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var di,ci,Le=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:se,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(di=se?.[0])===null||di===void 0?void 0:di.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:se,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(ci=se?.[0])===null||ci===void 0?void 0:ci.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Hl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function on(t){const e=Q(null),[i,n]=$(!1);return X(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),X(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Ul=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:a=!1,index:s}=t;xe(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=Q(null),c=on(r),{popup:d}=qe(),{setPopupDetailData:p,ctaEvent:m}=fe(),{jumpToWeb:f}=Ve();X(()=>{var h,C;if(c&&r?.current){const u=(C=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&C!==void 0?C:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,r,e,m,s]);const g=Et(()=>{var h,C,u,y,b,I,w,T;const O=(C=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&C!==void 0?C:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),a){if(!((y=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||y===void 0)&&y.link){const _=(b=e?.video)===null||b===void 0?void 0:b.bindCta,x=(I=e?.video)===null||I===void 0?void 0:I.bindProduct;f(e,x,_,s),window.location.href=window.getJointUtmLink((T=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||T===void 0?void 0:T.link)}}else o?.()},d?.duration);return v.createElement("div",{ref:r,className:n,style:l,onClick:g},i)};var St=ce(Ul),Gl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const $l=t=>{var e,i,n,o,l,a,s,{content:r,style:c,bgImg:d,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=fe(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(St,Object.assign({isExternalLink:g,rec:p,className:J(Object.assign({},c)),style:{display:"flex"}},h),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(Me,{className:J({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),v.createElement("div",{className:J({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Gl["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:J(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(a=u?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Wl=ce($l);const ql=ke(Wl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Hl,bindableProps:[],settingRender:Le},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Yl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Xl=t=>{var e,i,n,o,{content:l,style:a,bgImg:s,recData:r,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,m=xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:f}=fe(),g=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(St,Object.assign({isExternalLink:p,rec:r,className:J(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},m),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:J({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),v.createElement("div",{className:J(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var Jl=ce(Xl);const Kl=ke(Jl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Yl,settingRender:Le?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Zl=t=>{var e,i,n,o,l,{content:a,style:s,bgImg:r,recData:c,bottom_image:d,ctaTempStyles:p,index:m}=t,f=xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:h}=fe(),{jumpToWeb:C}=Ve(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,y=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,b=()=>{u?.link&&(C(c,y,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(St,Object.assign({index:m,rec:c,className:J(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},f,{onClick:b}),v.createElement("div",{className:J(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Me,{className:J({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:g?.bottom_image)!==null&&o!==void 0?o:d})),v.createElement("div",{className:J({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Ql["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var es=ce(Zl);const ts=ke(es,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Le?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const os=t=>{var e,i,n,o,l,a,s,{content:r,style:c,bgImg:d,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=fe(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(St,Object.assign({isExternalLink:g,rec:p,className:J(Object.assign({},c)),style:{display:"flex"}},h),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(Me,{className:J({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),v.createElement("div",{className:J({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ns["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:J(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(a=u?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var ls=ce(os);const ss=ke(ls,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:is,settingRender:Le,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var as=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],rs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const ds=t=>{var e,i,n,o,l,a,s,{content:r,style:c,bgImg:d,recData:p,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=fe(),u=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=u?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return v.createElement(St,Object.assign({isExternalLink:g,rec:p,className:J(Object.assign({},c)),style:{display:"flex"}},h),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},v.createElement(Me,{className:J({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),v.createElement("div",{className:J({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:rs["tow-line-ellipsis"],style:f?.title},(l=u?.title)!==null&&l!==void 0?l:"Product Name"),v.createElement("div",{className:J(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(a=u?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop now")))};var cs=ce(ds);const us=ke(cs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:as,bindableProps:[],settingRender:Le},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var ps=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const vs=({children:t,isPadding:e=!0})=>v.createElement(at,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[no,io,to],style:{padding:e?"0 12px 0 20px":0}},t);var zt=ce(vs);const fs=({src:t,rec:e,item:i,index:n})=>{const o=Q(null),l=on(o),{ctaEvent:a}=fe();return X(()=>{l&&t&&o?.current&&a?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,a,i,n]),v.createElement("div",{ref:o,hidden:!t,className:J({width:"100%",height:"100%"})},v.createElement(Me,{className:J({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var ui=ce(fs),ms={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const hs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p}=t,m=xe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:g,sxpParameter:h}=fe(),{popup:C}=qe(),{jumpToWeb:u}=Ve(),[y,b]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),I=Et(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,w,p),g?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:w}),index:p})),d?w?.link&&(u(a,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):s?.()},C?.duration);return v.createElement(zt,{isPadding:!!a},y?.map(w=>{var T,O,_,x,S,k;return v.createElement(Ge,Object.assign({hidden:a&&!w?.bindCta,key:w?.itemId,className:J(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>I(w)}),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(ui,{src:(_=(O=(T=w?.homePage)===null||T===void 0?void 0:T[0])!==null&&O!==void 0?O:h?.bottom_image)!==null&&_!==void 0?_:r,rec:a,item:w,index:p})),v.createElement("div",{className:J({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ms["two-line-ellipsis"],style:c?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:J(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(k=(S=w?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var gs=ce(hs);const bs=ke(gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:ps,bindableProps:[],settingRender:Le},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var ys=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ws={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Ts=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p}=t,m=xe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:f}=fe(),{ctaEvent:g,setPopupDetailData:h}=fe(),{popup:C}=qe(),[u,y]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:b}=Ve(),I=Et(w=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,w,p),h?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:w}),index:p})),d?w?.link&&(b(a,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):s?.()},C?.duration);return v.createElement(zt,{isPadding:!!a},u?.map(w=>{var T,O,_,x,S,k;return v.createElement(Ge,Object.assign({hidden:a&&!w?.bindCta,key:w.itemId,className:J(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>I(w)}),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(ui,{src:(_=(O=(T=w?.homePage)===null||T===void 0?void 0:T[0])!==null&&O!==void 0?O:f?.bottom_image)!==null&&_!==void 0?_:r,rec:a,item:w,index:p})),v.createElement("div",{className:J({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ws["two-line-ellipsis"],style:c?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:J(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(k=(S=w?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var Ss=ce(Ts);const xs=ke(Ss,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:ys,settingRender:Le,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var Es=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Is={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Cs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p}=t,m=xe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:g,sxpParameter:h}=fe(),{popup:C}=qe(),{jumpToWeb:u}=Ve(),[y,b]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),I=Et(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,w,p),g?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:w}),index:p})),d?w?.link&&(u(a,w,w.bindCta,p),window.location.href=window.getJointUtmLink(w.link)):s?.()},C?.duration);return v.createElement(zt,{isPadding:!!a},y?.map(w=>{var T,O,_,x,S,k;return v.createElement(Ge,Object.assign({hidden:a&&!w?.bindCta,key:w?.itemId,className:J(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>I(w)}),v.createElement("div",{className:J(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(ui,{src:(_=(O=(T=w?.homePage)===null||T===void 0?void 0:T[0])!==null&&O!==void 0?O:h?.bottom_image)!==null&&_!==void 0?_:r,rec:a,item:w,index:p})),v.createElement("div",{className:J({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Is["tow-line-ellipsis"],style:c?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:J(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(k=(S=w?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&k!==void 0?k:"Shop now")))}))};var _s=ce(Cs);const Ds=ke(_s,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Es,bindableProps:[],settingRender:Le},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var pi,vi,ks=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:se,name:["fontFamily"],initialValue:(pi=se?.[0])===null||pi===void 0?void 0:pi.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{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:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:se,initialValue:(vi=se?.[0])===null||vi===void 0?void 0:vi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const As=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:a}=fe();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var ln=ce(As),Ps=null,Os="3d989325-e7d6-4a74-8a97-98febdf5b567",Ms=null,Ls=null,Ns={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},js=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Bs="Handbags",zs={productUserId:Ps,requestId:Os,channel:Ms,rtc:Ls,tag:Ns,recList:js,hashTag:Bs};const Vs=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:a}=t,{swiperRef:s,setRtcList:r,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=fe(),[m,f]=$(!1),g=Q(null),h=Q(null),C=Q(null),u=Q(null),[y,b]=$(""),I=ie(()=>{var x,S,k,E,D,A,N,V,H,F,L,B;return!((x=e?.video)===null||x===void 0)&&x.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((k=e?.video)===null||k===void 0)&&k.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((A=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||A===void 0)&&A.length?(V=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||V===void 0?void 0:V[0]:!((F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0)&&F.length?(B=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||B===void 0?void 0:B[0]:p?.bottom_image||""},[e,p?.bottom_image]),w=ie(()=>{var x,S;return((x=e?.product)===null||x===void 0?void 0:x.title)||((S=e?.video)===null||S===void 0?void 0:S.title)||null},[e]),T=ie(()=>{var x,S,k,E,D,A,N,V,H;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(A=(D=(E=(k=e?.product)===null||k===void 0?void 0:k.currency)===null||E===void 0?void 0:E.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&A!==void 0?A:""}${(H=(V=(N=e?.product)===null||N===void 0?void 0:N.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);X(()=>{const x=new IntersectionObserver(S=>{S.forEach(k=>{if(k.isIntersecting){if(h.current===null||I==="")return;m&&y?g.current.setSrc(y):g.current.setSrc(I),x.unobserve(h.current)}})});return x.observe(h.current),()=>{x.disconnect()}},[I,m,y]);const O=(x,S,k)=>{const E=x/S;return k/E};X(()=>{const x=C?.current;x===null||I===""||!m||(x.src=I,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const S=u?.current;if(!S)return;const k=S.getContext("2d"),E=window?.innerWidth/2,D=O(x.videoWidth,x.videoHeight,E);S.height=D,S.width=E,k?.drawImage(x,0,0,S.width,S.height),b(S.toDataURL()),x.remove(),S.remove()})},[I,m]);const _=()=>{o(),r?.(n),setTimeout(()=>{var x;(x=s?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:h,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:a}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Me,{loading:"lazy",className:"list-content-listItem-picture-img",ref:g})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${T?"list-content-listItem-info-nowrap":""}`,style:l?.title},w&&w),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!T},T)))};function Rs(t){var e,i,n,o,l,a,s,r,c,d,p,m,{reportTagsView:f}=t,g=xe(t,["reportTagsView"]);const{waterFallData:h,getRecommendVideos:C,hashTagSize:u,loadingImage:y,isOpenHashTag:b}=fe(),[I,w]=$(),[T,O]=$(),[_,x]=$(!1),S=Q(null),[k,E]=$(!1);ue(()=>{k||(E(!0),h&&C?.({hashTag:h?.hashTag,"itemFilter.itemId":h?.itemId,"itemFilter.itemType":h?.itemType}).then(A=>{var N;w(I?.concat((N=A?.recList)!==null&&N!==void 0?N:[])),E(!1)}))},[h,C,I,k]),X(()=>{var A,N;if(x(!0),h&&C?.({hashTag:h?.hashTag,"itemFilter.itemId":h?.itemId,"itemFilter.itemType":h?.itemType,defaultSize:u,maxSize:u}).then(V=>{var H,F;O(V),w((F=(H=V?.recList)===null||H===void 0?void 0:H.filter(L=>L?.video!==null||L?.product!==null))!==null&&F!==void 0?F:[]),x(!1)}),b){const V=zs;O(V),w((N=(A=V?.recList)===null||A===void 0?void 0:A.filter(H=>H?.video!==null||H?.product!==null))!==null&&N!==void 0?N:[]),x(!1)}},[h,C,u,b]);const D=()=>{var A,N;!((A=T?.tag)===null||A===void 0)&&A.link&&(f(),window.location.href=(N=T?.tag)===null||N===void 0?void 0:N.link)};return v.createElement(v.Fragment,null,_?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:y,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:S},v.createElement("div",{className:"list-info",style:(e=g?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=T?.tag)===null||i===void 0?void 0:i.info),v.createElement("div",{hidden:!(!((n=T?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:D,style:Object.assign(Object.assign({},(o=g?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:g?.space})},((l=T?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},I?.map((A,N)=>v.createElement(Vs,Object.assign({key:N,index:N,rec:A,list:I,reportTagsView:f},g)))),v.createElement("div",{hidden:!k,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=T?.tag)===null||a===void 0)&&a.link),style:{height:!((s=T?.tag)===null||s===void 0)&&s.link?((r=g?.buttonBgStyle)===null||r===void 0?void 0:r.height)||((c=g?.buttonStyle)===null||c===void 0?void 0:c.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((d=T?.tag)===null||d===void 0)&&d.link),style:g?.buttonBgStyle}),v.createElement("div",{hidden:!(!((p=T?.tag)===null||p===void 0)&&p.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{className:"list-btn",style:g?.buttonStyle,onClick:D},((m=T?.tag)===null||m===void 0?void 0:m.linkTitle)||"Shop the collection"))))}var Fs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Hs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:a,cacheRtcList:s,setRtcList:r,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:g}=fe();Q(null);const h=Q(null),[C,u]=$();X(()=>{const T=document.getElementById("sxp-render"),O=document.getElementById("water-fall");O?h.current=O:(h.current=document.createElement("div"),h.current.setAttribute("id","water-fall"),T?.appendChild(h.current))},[]);const y=()=>{const T=bi(d,s);!T&&s&&s?.length&&r?.(s),w(),a?.(void 0),m?.(!1),setTimeout(()=>{var O,_;T||(_=(O=l?.current)===null||O===void 0?void 0:O.swiper)===null||_===void 0||_.slideTo(c,0,!1),n?.(!1)},0)},[b,I]=$();X(()=>{i&&I(i)},[i]);const w=ue(()=>{var T,O,_,x,S,k;const E=b?.rec;if(!E)return;let D="";f?D="hashTagPage":!((T=E?.video)===null||T===void 0)&&T.url?D="videoPage":!((_=(O=E?.video)===null||O===void 0?void 0:O.imgUrls)===null||_===void 0)&&_.length&&(D="imagePage"),g?.({eventInfo:{contentId:(x=E?.video)===null||x===void 0?void 0:x.itemId,position:c+"",contentTags:JSON.stringify((S=E?.video)===null||S===void 0?void 0:S.tags),traceInfo:(k=E?.video)===null||k===void 0?void 0:k.traceInfo,hashTags:JSON.stringify([b?.hashTag]),fromKName:D,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[b,g,C,f,c]);return X(()=>{o&&u(new Date)},[o]),X(()=>{const T=()=>{u(new Date)};return window.addEventListener("pageshow",T),()=>{window.removeEventListener("pageshow",T)}},[]),h.current?Si.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(ln,{icon:Fs,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:y}),v.createElement(Rs,Object.assign({reportTagsView:w},t))),h.current):null};var sn=ce(Hs);const Us=t=>v.createElement(sn,Object.assign({},t));var Gs=ce(Us);const $s=ke(Gs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ks,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var fi=Object.freeze({__proto__:null,Appoint:Kl,AppointForm:$n,Commodity:ql,CommodityDetail:Pl,CommodityDetailDiroNew:Fl,CommodityDiro:ss,CommodityDiroNew:us,HashTag:$s,Link:ts,MultiCommodity:xs,MultiCommodityDiro:bs,MultiCommodityDiroNew:Ds,Prompt:Bl});const Ws="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",qs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ys=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,a=xe(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:r,bffEventReport:c}=fe(),[d,p]=$(e),m=Pe(qs),f=Pe(Ws),g=Rt(()=>Ce(void 0,void 0,void 0,function*(){var h,C,u,y,b,I,w,T,O,_,x,S,k,E,D,A,N,V,H,F;if(d){p(!1);const L=(u=yield r?.({videoItemId:(C=(h=o.video)===null||h===void 0?void 0:h.itemId)!==null&&C!==void 0?C:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(b=(y=o.video)===null||y===void 0?void 0:y.itemId)!==null&&b!==void 0?b:"",contentName:(w=(I=o.video)===null||I===void 0?void 0:I.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((O=(T=o.video)===null||T===void 0?void 0:T.tags)!==null&&O!==void 0?O:[]),position:l+"",contentFormat:!((_=o.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(x=o.video)===null||x===void 0?void 0:x.traceInfo}}),L||p(!0)}else{p(!0);const L=(S=yield s?.({content:JSON.stringify(o)}))!==null&&S!==void 0?S:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(E=(k=o.video)===null||k===void 0?void 0:k.itemId)!==null&&E!==void 0?E:"",contentName:(A=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&A!==void 0?A:"",contentTags:JSON.stringify((V=(N=o.video)===null||N===void 0?void 0:N.tags)!==null&&V!==void 0?V:[]),position:l+"",contentFormat:!((H=o.video)===null||H===void 0)&&H.url?"video":"image",traceInfo:(F=o.video)===null||F===void 0?void 0:F.traceInfo}}),L||p(!1)}}),200);return v.createElement("button",Object.assign({},a,{onClick:g}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||m:n||f,alt:"icon"}))};var an=ce(Ys);const Xs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,videoRef:s})=>{const[r,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:m,openHashtag:f,bffFbReport:g}=fe(),h=Q(0),[C,u]=$(!1),[y,b]=$(!0),{isActive:I}=tn(),w=Q(null),[T,O]=$(""),_=`pb-cache-video-${e}`,x=Q(null),S=ie(()=>a?.mode==="2",[a]),k=ie(()=>{var z;return a?.mode==="2"?`translateY(-${50+((z=a?.offsetTop)!==null&&z!==void 0?z:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),E=ie(()=>{var z;return((z=t?.video)===null||z===void 0?void 0:z.cover)||T},[T,t]),D=ie(()=>S?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[S]),A=ie(()=>a?.bgWay==="1",[a]),N=ie(()=>A&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,A]);X(()=>{s&&s?.muted(o)},[o,s]);const V=ue(()=>{s&&s?.play()},[s]),H=Pe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=ue(()=>{var z,U,ne,le,pe,q,re,ae,Z;if(!s)return;u(!0),c(!1);const me=n[e];if(me&&s?.duration()){h.current=s?.currentTime()||0;const Ne=((z=s?.duration())!==null&&z!==void 0?z:0).toFixed(2),R=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2),G=y?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(le=(ne=me.video)===null||ne===void 0?void 0:ne.itemId)!==null&&le!==void 0?le:"",contentName:(q=(pe=me.video)===null||pe===void 0?void 0:pe.title)!==null&&q!==void 0?q:"",playType:G,startTime:R,videoDuration:Ne,contentTags:JSON.stringify((ae=(re=me.video)===null||re===void 0?void 0:re.tags)!==null&&ae!==void 0?ae:[]),position:e+"",contentFormat:"video",traceInfo:(Z=me.video)===null||Z===void 0?void 0:Z.traceInfo}}),b(!1)}},[d,n,e,y,s]),L=ue(()=>{var z;if(!s||T||!S)return;const U=document.getElementById("player-container-id_html5_api");if(!U||(U.style.objectFit="contain",!((z=t?.video)===null||z===void 0)&&z.cover||!w||!w.current||A))return;const ne=()=>{const le=U,pe=w?.current,q=pe.getContext("2d"),re=window?.innerWidth,ae=window?.innerHeight;pe.height=ae,pe.width=re,q?.drawImage(le,0,0,pe.width,pe.height),O(pe.toDataURL())};ne(),setTimeout(()=>{ne()},500)},[s,A,t,T,S]),B=ue(()=>{s&&L()},[s,L]);ue(()=>{u(!0)},[]);const M=ue(z=>()=>{if(!s||!C)return;const U=s?.paused();switch(z){case"start":if(!U)return;s?.play(),c(!1);break;case"pause":if(U)return;s?.pause(),c(!0);break;default:U?s?.play():s?.pause(),c(!U);break}},[C,s]),P=ue(()=>{var z,U,ne,le,pe,q,re,ae,Z;if(!s||l!==e)return;const me=n[e],Ne=((z=s?.duration())!==null&&z!==void 0?z:0).toFixed(2),R=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2);if(s?.duration()){const G=(s?.currentTime()-h.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(le=(ne=me.video)===null||ne===void 0?void 0:ne.itemId)!==null&&le!==void 0?le:"",contentName:(q=(pe=me.video)===null||pe===void 0?void 0:pe.title)!==null&&q!==void 0?q:"",endTime:R,videoDuration:Ne,playDuration:G,contentTags:JSON.stringify((ae=(re=me.video)===null||re===void 0?void 0:re.tags)!==null&&ae!==void 0?ae:[]),position:e+"",contentFormat:"video",traceInfo:(Z=me.video)===null||Z===void 0?void 0:Z.traceInfo}})}},[n,e,d,s,l]);X(()=>{if(!I||!s)return;const z=t.video.url;if(!z)return;s?.src(z),c(!1);const U=document.querySelector(`#${_}`),ne=document.querySelector("#player-container-id"),le=document.querySelector("#player-container-id-copy");if(!(!ne&&!le))return U?.appendChild(ne||le),s?.on("loadedmetadata",B),s?.on("loadeddata",L),s?.on("playing",F),s?.on("pause",P),s?.on("ended",V),()=>{le?.appendChild(ne),s?.off("loadedmetadata",B),s?.off("loadeddata",L),s?.off("playing",F),s?.off("pause",P),s?.off("ended",V)}},[I,_,t,s]),X(()=>{!s||!C||(I?(g?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[I,C,s]),X(()=>{if(!I||!s)return;!s?.paused()&&f?s?.pause():f||s?.play()},[f,I,s]),X(()=>{if(!I)return;const z=()=>{M("start")(),g?.({eventName:"ViewContent"})},U=M("pause");return Ye.on(ze.PAGE_DID_SHOW,z),Ye.on(ze.PAGE_DID_HIDE,U),()=>{Ye.off(ze.PAGE_DID_SHOW,z),Ye.off(ze.PAGE_DID_HIDE,U)}},[M,I]);const Y=ie(()=>!p?.placeholder_image||C?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[C,p?.placeholder_image]);return X(()=>{if(!s)return;const z=()=>{var U;l===e&&(!((U=t?.video)===null||U===void 0)&&U.url)&&s&&!r&&M("pause")()};return window.addEventListener("beforeunload",z),()=>{window.removeEventListener("beforeunload",z)}},[l,e,t,s,M,r]),t.video?v.createElement(v.Fragment,null,S?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:M(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},N)},!A&&v.createElement(Me,{src:E,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},D)}),v.createElement("canvas",{ref:w,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:k,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:x,id:_,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:H}))),Y):v.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:M()},v.createElement("div",{className:"n-full-screen",ref:x,id:_,style:{width:"100%",height:"100%"}}),Y,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:H}))):null};var Js=ce(Xs);const Ks=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,a]=$(t),s=r=>{r.stopPropagation();const c=!l;a(c),n?.(c)};return v.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var rn=ce(Ks);const Qs=({imageUrl:t})=>{const[e,i]=$(!0);qe(),X(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Pe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=ie(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return v.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},v.createElement("img",{src:t||n}))},dn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=ie(()=>n?.mode==="2",[n]),l=ie(()=>{var c;return n?.mode==="2"?`translateY(-${50+((c=n?.offsetTop)!==null&&c!==void 0?c:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),a=ie(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=ie(()=>n?.bgWay==="1",[n]),r=ie(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},r)},(!o||!s)&&v.createElement(Me,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),o&&v.createElement(Me,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Zs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var r;const c=Q(),{isActive:d}=tn(),{sxpParameter:p,openHashtag:m}=fe(),[f,g]=$(!1);return X(()=>{f&&d?(c?.current&&c.current.swiper.autoplay.start(),m?l(n):a(o)):(g(!0),c?.current&&c.current.swiper.autoplay.stop())},[n,d,l,m,o,a,f]),v.createElement(at,{ref:c,defaultValue:0,direction:"horizontal",modules:[Ot,Mt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((r=s?.delay)!==null&&r!==void 0?r:3)*1e3}},t?.map(h=>v.createElement(Ge,{key:h},v.createElement(dn,{src:h,height:i,imgUrlsPostConfig:s}))))};var ea=ce(Zs);const ta=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[a,s]=$(!1),{setWaterFallData:r,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:m}=fe(),f=g=>{p?m?.(!0):d?.(n),r?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),c?.(!0)};return ie(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(zt,null,t?.map((g,h)=>v.createElement(Ge,{key:h,hidden:a?!1:h>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(g)},`#${g}`))))};var cn=ce(ta),ia="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 Vt(t){return ce(function(e){const{$store:i}=An(),n=l=>{let a=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=yi(i,d);return a=a.replace(r,p),p}})}),a},o=ie(()=>{var l,a,s;const{bindDatas:r}=e,c=xe(e,["bindDatas"]);if((l=r?.forEach)===null||l===void 0||l.call(r,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:m}=d;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,g)=>{var h,C;if(g){const u=(C=(h=yi(i,g))!==null&&h!==void 0?h:e[p])!==null&&C!==void 0?C:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=gt(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const na=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=qe(),l=ie(()=>{var a,s,r,c,d,p,m,f,g,h,C,u,y,b,I,w,T,O,_,x,S,k,E,D,A,N,V,H,F,L,B;if(!t?.video)return null;let M=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?M="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?M="\u5546\u54C1CTA":M=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const P=i?.[M];if(((p=P?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=P?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((h=P?.item)===null||h===void 0?void 0:h.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((u=P?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((b=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||b===void 0)&&b.length)||((I=P?.item)===null||I===void 0?void 0:I.type)==="MultiCommodityDiro"&&!(!((T=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||T===void 0)&&T.length)||((O=P?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((x=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||x===void 0)&&x.length))return null;if(P&&n){const Y=n[(S=P?.item)===null||S===void 0?void 0:S.type],z=Vt(Y),U=(k=Y?.extend)===null||k===void 0?void 0:k.defaulSetting,ne=((A=(D=(E=P?.item)===null||E===void 0?void 0:E.event)===null||D===void 0?void 0:D.onClick)===null||A===void 0?void 0:A.linkType)==="externalLink";return v.createElement(z,Object.assign({style:Object.assign(Object.assign(Object.assign({},U?.style),(N=P?.item)===null||N===void 0?void 0:N.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},U?.textStyle),(V=P?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(F=(H=P?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},U?.props,(L=P?.item)===null||L===void 0?void 0:L.props,{event:((B=P?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:P?.id,key:P?.id,recData:t,isExternalLink:ne,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var un=ce(na);const pn=({nudge:t})=>{var e,i,n,o,l,a,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.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:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})},(s=t?.content)!==null&&s!==void 0?s:"")))},mi="FOR U",oa=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=$(mi),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:r,swiperRef:c,waterFallData:d}=fe(),p=ie(()=>[mi,...t],[t]),m=f=>()=>{if(f===i)return;let g;f!==mi&&(g=f),r?.(!0),o?.({themeTag:g}).then(h=>{var C,u,y,b;Ye.emit(ze.CHANGE_THEME_TAG,g),l?.((C=h?.recList)!==null&&C!==void 0?C:[]),a?.((u=h?.recList)!==null&&u!==void 0?u:[]),e?.(0),s?.(0),(b=(y=c?.current)===null||y===void 0?void 0:y.swiper)===null||b===void 0||b.slideTo(0)}).finally(()=>{r?.(!1)}),n(f)};return d||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},p.map(f=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${f===i?"clc-sxp-tagbar-list-item-active":""}`,key:f,onClick:m(f)},f))))};var vn=ce(oa);const fn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:a=[],ctaType:s,tipText:r,nudge:c,_schema:d,hashTagStyle:p,tagList:m=[],licenseUrl:f})=>{var g,h,C,u,y,b,I;const{schema:w}=qe(),[T,O]=$(0),_=Q(0),[x,S]=$(!1),[k,E]=$(!0),D=Q(),A=Q(),[N,V]=$(!1),[H,F]=$(!1),{loadVideos:L,bffEventReport:B,loading:M,setPopupDetailData:P,ctaEvent:Y,swiperRef:z,waterFallData:U,setOpenHashtag:ne,appDomain:le,openHashtag:pe,loadingImage:q,isFromHashtag:re,popupDetailData:ae,bffFbReport:Z}=fe(),[me,Ne]=$(null),R=Q(),{productView:G}=Ve(),oe=ie(()=>a.length>0&&!M&&Nn(),[a,M]),we=ue(()=>{if(a.length<=0)return;ye();const j=location.search.slice(1),K=Ti.parse(j.replace(/\+/g,"%2B"));for(const ee in K)K[ee]=K[ee].replace(/%2B/g,"+");const W=ee=>{var de;return(de=K[ee])!==null&&de!==void 0?de:""};B?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:W("utm_source"),utmMedium:W("utm_medium"),utmCampaign:W("utm_campaign"),utmId:W("utm_id"),utmContent:W("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),Z?.({eventName:"PageView"}),S(!0)},[B,a.length,Z]),ye=()=>{D.current=new Date,A.current=new Date,On()},Se=Q();X(()=>{var j,K,W;if(!Se.current&&!me&&R?.current&&a?.length>0){Se.current=!0;const ee=TCPlayer("player-container-id",{licenseUrl:f,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:[{src:(W=(K=(j=a?.[0])===null||j===void 0?void 0:j.video)===null||K===void 0?void 0:K.url)!==null&&W!==void 0?W:""}]});ee?.ready(()=>{Ne(ee)})}},[me,f,a]),X(()=>{x||we()},[we,x]),X(()=>{var j;const K=a?.findIndex(W=>{var ee,de,ge,te,ve,be,Te,je,Be;return s==="\u591A\u5546\u54C1CTA"?((ee=W?.video)===null||ee===void 0?void 0:ee.bindProducts)&&((ge=(de=W?.video)===null||de===void 0?void 0:de.bindProducts)===null||ge===void 0?void 0:ge.length)>0:s==="\u5546\u54C1CTA"?(te=W?.video)===null||te===void 0?void 0:te.bindProduct:((be=(ve=W?.video)===null||ve===void 0?void 0:ve.bindCta)===null||be===void 0?void 0:be.itemId)===s&&(((Te=W?.video)===null||Te===void 0?void 0:Te.url)||((Be=(je=W?.video)===null||je===void 0?void 0:je.imgUrls)===null||Be===void 0?void 0:Be.length))})||0;(j=z?.current)===null||j===void 0||j.swiper.slideTo(K)},[s,z]),X(()=>{const j=a?.[T],K=()=>{var W,ee,de,ge,te,ve,be,Te,je,Be,it,nt,ot,lt,Qe;if(document.visibilityState==="hidden"){Ye.emit(ze.PAGE_DID_HIDE,j),Ke(j),tt(j);let $e="";ae&&(!((ee=(W=j?.video)===null||W===void 0?void 0:W.bindProducts)===null||ee===void 0)&&ee.length||!((de=j?.video)===null||de===void 0)&&de.bindProduct)?$e="pdpPage":ae&&o?.[(ve=(te=(ge=j.video)===null||ge===void 0?void 0:ge.bindCta)===null||te===void 0?void 0:te.itemId)!==null&&ve!==void 0?ve:""].item.type==="Appoint"?$e="formPage":re?$e="hashTagPage":!((be=j?.video)===null||be===void 0)&&be.url?$e="videoPage":!((Te=j?.video)===null||Te===void 0)&&Te.imgUrls&&(!((Be=(je=j?.video)===null||je===void 0?void 0:je.imgUrls)===null||Be===void 0)&&Be.length)?$e="imagePage":j?.product&&($e="productPage"),B?.({eventInfo:{sessionDuration:Math.floor((new Date-D.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(it=j?.video)===null||it===void 0?void 0:it.itemId,productId:(nt=j?.product)===null||nt===void 0?void 0:nt.itemId,position:T+"",fromKName:$e,fromKPage:location?.href,ctatId:(Qe=(lt=(ot=j.video)===null||ot===void 0?void 0:ot.bindCta)===null||lt===void 0?void 0:lt.itemId)!==null&&Qe!==void 0?Qe:""}})}else document.visibilityState==="visible"&&(we(),Ie(T),Ye.emit(ze.PAGE_DID_SHOW,j))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[T,B,D,a,we,ae,re,o]);const he=ie(()=>{let j=0;return t?.logoUrl&&t?.isShowLogo&&(j+=45),m.length>0&&(j+=45,U&&(j-=45)),i-j},[t,i,m,U]),De=ie(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Fe=ue((j,K)=>{var W,ee,de,ge;return!((W=j.video)===null||W===void 0)&&W.url?v.createElement(Js,{rec:j,index:K,muted:k,data:a,height:he,activeIndex:T,videoPostConfig:t?.videoPost,videoRef:me}):!((ee=j.video)===null||ee===void 0)&&ee.imgUrls?v.createElement(ea,{key:j.video.itemId,imgUrls:j.video.imgUrls,width:n,height:he,rec:j,index:K,onReportViewImageEnd:Ke,onViewImageStartEvent:Ie,imgUrlsPostConfig:t?.imgUrlsPost}):j.product&&Array.isArray(t?.productPost)&&((de=t?.productPost)===null||de===void 0?void 0:de.length)>0?(ge=t?.productPost)===null||ge===void 0?void 0:ge.map((te,ve)=>{var be,Te,je,Be,it,nt,ot,lt;const Qe=l[(be=te?.item)===null||be===void 0?void 0:be.type],$e=Vt(Qe),We=(Te=Qe?.extend)===null||Te===void 0?void 0:Te.defaulSetting;return v.createElement($e,Object.assign({key:`${K}${ve}`,textStyle:Object.assign(Object.assign({},We?.textStyle),(je=te?.item)===null||je===void 0?void 0:je.textStyle),bindDatas:(it=(Be=te?.item)===null||Be===void 0?void 0:Be.bindDatas)!==null&&it!==void 0?it:[]},We?.props,(nt=te?.item)===null||nt===void 0?void 0:nt.props,{event:((ot=te?.item)===null||ot===void 0?void 0:ot.event)||{},schema:w,id:te?.id,viewTime:A.current,rec:j,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},We?.style),(lt=te?.item)===null||lt===void 0?void 0:lt.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,a,he,k,T,t?.productPost,A,r,l,w,me]),Je=ue(j=>{F(j)},[]),ft=ie(()=>H?{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"},[H]),rt=ue((j,K)=>{var W,ee,de,ge,te,ve,be;return j.video?v.createElement(v.Fragment,null,((W=j.video)===null||W===void 0?void 0:W.title)&&!H&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(pn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(un,{rec:j,index:K,tempMap:o,resolver:l})):null,v.createElement("div",null,v.createElement(Bt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(de=(ee=j.video)===null||ee===void 0?void 0:ee.title)!==null&&de!==void 0?de:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Je}),v.createElement(cn,{index:T,tags:(te=(ge=j?.video)===null||ge===void 0?void 0:ge.hashTags)!==null&&te!==void 0?te:[],itemId:(ve=j?.video)===null||ve===void 0?void 0:ve.itemId,itemType:!((be=j.video)===null||be===void 0)&&be.itemId?"VIDEO":null,rec:j,hashTagStyle:p})))):null},[e,T,o,l,r,c,p,t,Je,H,ft]),mt=ue((j,K)=>{var W,ee;if(!t?.isShowLike)return;let de=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return U&&de<40&&(de+=40),j.video?v.createElement(an,{key:j.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:j.isCollected,recData:j,className:"clc-sxp-like-button",style:{top:de,right:(ee=t?.likeIconX)!==null&&ee!==void 0?ee:0},position:K}):null},[t,U]),Ke=j=>{var K,W,ee,de,ge,te;if(!(!((K=j.video)===null||K===void 0)&&K.url)&&(!((W=j.video)===null||W===void 0)&&W.imgUrls)){const ve=Date.now(),be=(ve-_.current)/1e3;B?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(de=(ee=j.video)===null||ee===void 0?void 0:ee.itemId)!==null&&de!==void 0?de:"",contentName:(ge=j.video.title)!==null&&ge!==void 0?ge:"",imageEndTime:`${ve}`,playDuration:`${be}`,contentTags:JSON.stringify((te=j.video.tags)!==null&&te!==void 0?te:[]),position:T+"",contentFormat:"image",traceInfo:j.video.traceInfo}})}},ht=j=>{var K,W,ee,de,ge,te,ve,be;A.current=new Date;const Te=a[j.previousIndex];Te&&(j.previousIndex-j.activeIndex<0?(B?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(K=Te.video)===null||K===void 0?void 0:K.itemId)!==null&&W!==void 0?W:"",productId:(de=(ee=Te.product)===null||ee===void 0?void 0:ee.itemId)!==null&&de!==void 0?de:"",requestId:null}}),Ke(Te)):(B?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(te=(ge=Te.video)===null||ge===void 0?void 0:ge.itemId)!==null&&te!==void 0?te:"",productId:(be=(ve=Te.product)===null||ve===void 0?void 0:ve.itemId)!==null&&be!==void 0?be:"",requestId:null}}),Ke(Te)),tt(Te))},tt=j=>{var K,W,ee;!(!((K=j?.video)===null||K===void 0)&&K.url)&&!(!((W=j?.video)===null||W===void 0)&&W.imgUrls)&&j?.product&&(G(j,j.product,(ee=j?.product)===null||ee===void 0?void 0:ee.bindCta,A.current,T),Z?.({eventName:"ProductView"}))};X(()=>{const j=a[T];pe&&tt(j)},[pe,a,T]);const Ie=j=>{var K,W,ee,de,ge,te;const ve=a[j];if(!(!((K=ve?.video)===null||K===void 0)&&K.url)&&(!((W=ve?.video)===null||W===void 0)&&W.imgUrls)){const be=Date.now();_.current=be,B?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(de=(ee=ve.video)===null||ee===void 0?void 0:ee.itemId)!==null&&de!==void 0?de:"",contentName:(ge=ve.video.title)!==null&&ge!==void 0?ge:"",imageStartTime:`${be}`,contentTags:JSON.stringify((te=ve.video.tags)!==null&&te!==void 0?te:[]),position:j+"",contentFormat:"image",traceInfo:ve.video.traceInfo}}),Z?.({eventName:"ViewContent"})}},dt=ie(()=>{const j=a?.map((K,W)=>T===W||W-1===T||W+1===T?K:null);return U?j:j.concat([{loading:!0}])},[a,T,U]),ct=ie(()=>M?v.createElement("div",{style:{height:he,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):dt?.map((j,K)=>v.createElement(Ge,{key:K,virtualIndex:K},j&&v.createElement(v.Fragment,null,j?.loading?v.createElement("div",{style:{height:he,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,Fe(j,K),rt(j,K),mt(j,K))))),[n,a,he,M,rt,Fe,dt,q]),hn=Pe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),gn=Pe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&v.createElement(ln,{icon:ia,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{ne?.(!0)}}),De,v.createElement(vn,{tagList:m,setActiveIndex:O}),oe?v.createElement(Qs,{imageUrl:t?.swipeTipIcon}):null,v.createElement(at,{ref:z,onSlideChange:()=>{z.current.swiper.allowTouchMove=!1,setTimeout(()=>{z.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:j=>{O(j.activeIndex),!pe&&(ht(j),!U&&j?.activeIndex+2>=a?.length&&(N||(V(!0),L?.(Math.ceil(T/10)+1).then(()=>{V(!1)}))))},direction:"vertical",height:he},v.createElement(rn,{style:{position:"fixed",right:(g=t?.muteIconX)!==null&&g!==void 0?g:0,visibility:!((C=(h=a?.[T])===null||h===void 0?void 0:h.video)===null||C===void 0)&&C.url?"visible":"hidden",bottom:(u=t?.muteIconY)!==null&&u!==void 0?u:23,zIndex:999},defaultValue:k,activeIcon:t?.unMuteIcon?t?.unMuteIcon:hn,unactiveIcon:t?.muteIcon?t?.muteIcon:gn,onChange:E}),ct),v.createElement(sn,Object.assign({},(I=(b=(y=t?.hashTag)===null||y===void 0?void 0:y[0])===null||b===void 0?void 0:b.item)===null||I===void 0?void 0:I.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:R,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},la=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>v.createElement(at,{defaultValue:0,direction:"horizontal",modules:[Ot,Mt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>v.createElement(Ge,{key:a},v.createElement(dn,{src:a,height:i,imgUrlsPostConfig:n}))));var sa=ce(la);const aa=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,width:s})=>{const[r,c]=$(!1),d=Q(null),{bffEventReport:p,sxpParameter:m,waterFallData:f,openHashtag:g}=fe(),h=Q(0),[C,u]=$(!1),[y,b]=$(!0),I=Q(null),[w,T]=$("");X(()=>{d.current&&(d.current.muted=o)},[o]);const O=ue(()=>{var L;(L=d.current)===null||L===void 0||L.play()},[]),_=Pe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=ue(()=>{var L,B,M,P,Y,z,U,ne,le,pe,q,re,ae;c(!1);const Z=n[e];if(Z&&(!((L=d?.current)===null||L===void 0)&&L.duration)){h.current=((B=d?.current)===null||B===void 0?void 0:B.currentTime)||0;const me=((P=(M=d.current)===null||M===void 0?void 0:M.duration)!==null&&P!==void 0?P:0).toFixed(2),Ne=((z=(Y=d.current)===null||Y===void 0?void 0:Y.currentTime)!==null&&z!==void 0?z:0).toFixed(2),R=y?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ne=(U=Z.video)===null||U===void 0?void 0:U.itemId)!==null&&ne!==void 0?ne:"",contentName:(pe=(le=Z.video)===null||le===void 0?void 0:le.title)!==null&&pe!==void 0?pe:"",playType:R,startTime:Ne,videoDuration:me,contentTags:JSON.stringify((re=(q=Z.video)===null||q===void 0?void 0:q.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(ae=Z.video)===null||ae===void 0?void 0:ae.traceInfo}}),b(!1)}},[p,n,e,y]),S=ue(()=>{u(!0)},[]),k=ue(L=>()=>{var B,M,P,Y,z;if(!C)return;const U=(B=d.current)===null||B===void 0?void 0:B.paused;switch(L){case"start":if(!U)return;(M=d.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if(U)return;(P=d.current)===null||P===void 0||P.pause(),c(!0);break;default:U?(Y=d.current)===null||Y===void 0||Y.play():(z=d.current)===null||z===void 0||z.pause(),c(!U);break}},[C]),E=ue(()=>{var L,B,M,P,Y,z,U,ne,le,pe,q,re,ae;const Z=n[e],me=((B=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&B!==void 0?B:0).toFixed(2),Ne=((P=(M=d.current)===null||M===void 0?void 0:M.currentTime)!==null&&P!==void 0?P:0).toFixed(2);if(!((Y=d?.current)===null||Y===void 0)&&Y.duration){const R=(((z=d?.current)===null||z===void 0?void 0:z.currentTime)-h.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ne=(U=Z.video)===null||U===void 0?void 0:U.itemId)!==null&&ne!==void 0?ne:"",contentName:(pe=(le=Z.video)===null||le===void 0?void 0:le.title)!==null&&pe!==void 0?pe:"",endTime:Ne,videoDuration:me,playDuration:R,contentTags:JSON.stringify((re=(q=Z.video)===null||q===void 0?void 0:q.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(ae=Z.video)===null||ae===void 0?void 0:ae.traceInfo}})}},[n,e,p]),D=ie(()=>a?.mode==="2",[a]),A=ie(()=>{var L;return a?.mode==="2"?`translateY(-${50+((L=a?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),N=ie(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||w},[w,t]),V=ue(()=>{if(!I||!d||!d.current||!I.current)return;const L=d?.current,B=I?.current,M=B.getContext("2d"),P=window?.innerWidth,Y=window?.innerHeight;B.height=Y,B.width=P,M?.drawImage(L,0,0,B.width,B.height),T(B.toDataURL())},[]);X(()=>{var L,B,M,P;if(d.current){if(c(!1),!d.current.src){const Y=t.video.url;if(Y.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const z=new window.Hls;z.loadSource(Y),z.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=Y;else d.current.src=Y;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(L=d.current)===null||L===void 0||L.addEventListener("loadedmetadata",S),(B=d.current)===null||B===void 0||B.addEventListener("canplay",S),(M=d.current)===null||M===void 0||M.addEventListener("playing",x),(P=d.current)===null||P===void 0||P.addEventListener("loadeddata",V),()=>{var Y,z,U,ne;(Y=d.current)===null||Y===void 0||Y.removeEventListener("loadedmetadata",S),(z=d.current)===null||z===void 0||z.removeEventListener("canplay",S),(U=d.current)===null||U===void 0||U.removeEventListener("playing",x),(ne=d.current)===null||ne===void 0||ne.removeEventListener("loadeddata",V)}}},[S,x,t.video,V]);const H=ie(()=>!m?.placeholder_image||C?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[C,m?.placeholder_image]);X(()=>{const L=()=>{var B,M;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((M=d?.current)===null||M===void 0)&&M.src)&&!r&&k("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[l,e,t,d,k,r]);const F=ie(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t.video?v.createElement(v.Fragment,null,D?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:k(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Me,{src:N,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),v.createElement("canvas",{ref:I,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:A,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))),H):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:k(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:O}),H,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))):null};var ra=ce(aa);const hi={};Object.values(fi).forEach(t=>{hi[t.extend.type]=t});const da="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ca="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ua=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:a,containerHeight:s=664,containerWidth:r=375,appDomain:c,tagList:d=[]})=>{const p=ie(()=>{let T=0;return e?.logoUrl&&e?.isShowLogo&&(T+=45),d.length>0&&(T+=45),s-T},[e,s,d]),m=(T,O)=>{var _,x,S,k;if(!((_=T.video)===null||_===void 0)&&_.url)return v.createElement(ra,{rec:T,index:O,muted:!0,width:r,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((x=T.video)===null||x===void 0)&&x.imgUrls)return v.createElement(sa,{key:T.video.itemId,imgUrls:T.video.imgUrls,width:r,height:p,rec:T,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(T.product&&T.product&&Array.isArray(e?.productPost)&&((S=e?.productPost)===null||S===void 0?void 0:S.length)>0)return(k=e?.productPost)===null||k===void 0?void 0:k.map((E,D)=>{var A,N,V,H,F,L,B,M;const P=hi[(A=E?.item)===null||A===void 0?void 0:A.type],Y=Vt(P),z=(N=P?.extend)===null||N===void 0?void 0:N.defaulSetting;return v.createElement(Y,Object.assign({key:`${O}${D}`,textStyle:Object.assign(Object.assign({},z?.textStyle),(V=E?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(F=(H=E?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},z?.props,(L=E?.item)===null||L===void 0?void 0:L.props,{event:((B=E?.item)===null||B===void 0?void 0:B.event)||{},id:E?.id,rec:T,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},z?.style),(M=E?.item)===null||M===void 0?void 0:M.style),{width:r,height:p,overflow:"auto"}),index:O}))})},f=ie(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),g=(T,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(un,{rec:T,index:O,tempMap:o,resolver:hi})):null,h=(T,O)=>{var _,x,S,k,E,D,A;return T.video?v.createElement(v.Fragment,null,((_=T.video)===null||_===void 0?void 0:_.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(pn,{nudge:n}),g(T,O),v.createElement("div",null,v.createElement(Bt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(S=(x=T.video)===null||x===void 0?void 0:x.title)!==null&&S!==void 0?S:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(cn,{index:O,tags:(E=(k=T?.video)===null||k===void 0?void 0:k.hashTags)!==null&&E!==void 0?E:[],itemId:(D=T?.video)===null||D===void 0?void 0:D.itemId,itemType:!((A=T.video)===null||A===void 0)&&A.itemId?"VIDEO":null,rec:T,hashTagStyle:a}))):null},C=Pe(ca,c),u=Pe(da,c),y=(T,O)=>{var _,x,S,k;if(!e?.isShowLike)return;let E=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return E<40&&(E+=40),T.video?v.createElement(an,{key:T.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:C,unActicveIcon:(S=e?.unlikeIcon)!==null&&S!==void 0?S:u,position:O,active:T.isCollected,recData:T,className:"clc-sxp-like-button",style:{top:E,right:(k=e?.likeIconX)!==null&&k!==void 0?k:0}}):null},b=Pe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),I=Pe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),w=(T,O)=>{var _,x,S,k;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},f,v.createElement(vn,{tagList:d}),v.createElement(rn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((S=(x=t?.[O])===null||x===void 0?void 0:x.video)===null||S===void 0)&&S.url?"visible":"hidden",bottom:(k=e?.muteIconY)!==null&&k!==void 0?k:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:b,unactiveIcon:e?.muteIcon?e?.muteIcon:I}),m(T,O),h(T,O),y(T,O))};return v.createElement("div",{className:J({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((T,O)=>w(T,O)))};var pa=ce(ua);const va=()=>{const{schema:t,resolver:e,popup:i}=qe(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=fe(),{productView:a}=Ve(),[s,r]=$(),c=Q(null);X(()=>{const m=()=>{c.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),X(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,r(i))},[i]);const d=()=>{var m,f,g,h;if(!i||i?.id===""||!s||new Date-c.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;r(Object.assign(Object.assign({},i),{id:""}));const C=o,u=(f=C?.video)===null||f===void 0?void 0:f.bindProduct,y=(h=(g=C?.video)===null||g===void 0?void 0:g.bindProduct)===null||h===void 0?void 0:h.bindCta;u&&y&&a(C,u,y,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ie(()=>{var m,f,g;return(g=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||g===void 0?void 0:g.map((h,C)=>{var u,y,b,I,w,T,O,_,x,S,k,E,D,A;if(h?.id===i?.id){const N=e[(u=h?.item)===null||u===void 0?void 0:u.type],V=Vt(N),H=((I=(b=(y=h?.item)===null||y===void 0?void 0:y.event)===null||b===void 0?void 0:b.onClick)===null||I===void 0?void 0:I.linkType)==="externalLink",F=((O=(T=(w=h?.item)===null||w===void 0?void 0:w.event)===null||T===void 0?void 0:T.onClick)===null||O===void 0?void 0:O.linkType)==="popup",L=(_=N?.extend)===null||_===void 0?void 0:_.defaulSetting;return v.createElement(V,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},L?.style),(x=h?.item)===null||x===void 0?void 0:x.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},L?.textStyle),(S=h?.item)===null||S===void 0?void 0:S.textStyle),bindDatas:(E=(k=h?.item)===null||k===void 0?void 0:k.bindDatas)!==null&&E!==void 0?E:[]},L?.props,(D=h?.item)===null||D===void 0?void 0:D.props,{event:((A=h?.item)===null||A===void 0?void 0:A.event)||{},schema:t,id:h?.id,isExternalLink:H,isPopup:F,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(jt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},gi={};Object.values(fi).forEach(t=>{gi[t.extend.type]=t});const fa=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:a,enabledMetaConversionApi:s})=>{var r,c,d,p,m,f,g,h,C;const u=ie(()=>{var y;return location?.search?(y=location?.search)===null||y===void 0?void 0:y.replace("?",""):""},[]);return v.createElement(Ni,{resolver:gi,enableDataSource:!1,schema:t?.data,utmVal:u},v.createElement(Pi,{utmVal:u,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(f=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(C=(h=(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||C===void 0?void 0:C.isShowTag,render:({rtcList:y,tagList:b})=>{var I;return v.createElement(v.Fragment,null,v.createElement(fn,Object.assign({},(I=t?.data)===null||I===void 0?void 0:I.sxpPageConf,{tagList:b,data:y,resolver:gi,licenseUrl:a})),v.createElement(va,null))}}))};var ma=ce(fa);const mn=yt({}),ha=({children:t,data:e})=>{var i,n,o,l,a,s;const[r,c]=$(!1);return v.createElement(mn.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:r,setOpenHashtag:c}},t)};function ga(){return bt(mn)}export{pa as DiyPortalPreview,ha as EditorDataProvider,jt as Modal,Pi as SxpDataSourceProvider,ma as SxpPageCore,fn as SxpPageRender,Vn as core,kn as default,Fn as defaultSetting,fi as materials,ga as useEditorDataProvider};
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:f?.info})))},oe=()=>{var q;return v.createElement(v.Fragment,null,(m||M?.link)&&v.createElement("button",{onClick:U,className:"pb-commondity-btn",style:O},(q=k?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))};return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:K(Object.assign({},p))},S),M&&((a=M?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(st,{height:ie,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:D?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:D?.delay*1e3}},(s=M?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement($e,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ie,height:ie}},v.createElement(Be,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${D?.translateY})%`},src:q}))))),!(!((r=M?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=E?.bottom_image)!==null&&c!==void 0?c:I,alt:""})),v.createElement("div",{className:"pb-commondity-content"},ne({isPost:w}))),oe(),v.createElement(Bt,{visible:H,onClose:()=>L(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},ne({isPost:!1})),oe()))};var Vl=ce(zl);const Rl=Me(Vl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:to},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],pi,vi,Hl=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Oe?.fontOptions,initialValue:(vi=(pi=Oe?.fontOptions)===null||pi===void 0?void 0:pi[0])===null||vi===void 0?void 0:vi.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],vn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const Ul=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}},Gl=t=>{var{content:e,btnText:i,style:n,icon:l,isPopup:o,isExternalLink:a,onClose:s,onClick:r,submitButtonStyle:c}=t,d=Ie(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=me(),{jumpToWeb:b}=Fe(),h=typeof l=="string"?l:Ul(l),y=()=>{var m,I,u;if(a){const w=p,g=(m=w?.video)===null||m===void 0?void 0:m.bindProduct,T=(u=(I=w?.video)===null||I===void 0?void 0:I.bindProduct)===null||u===void 0?void 0:u.bindCta,D=p?.index;b(w,g,T,D)}o||s?.(),r?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${K(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:h??vn})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",style:c,onClick:y},i))};var $l=ce(Gl);const Wl=Me($l,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Hl,bindableProps:[],interactionRender:Fl},defaulSetting:{props:{icon:vn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var fi,mi,Yl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],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:-100,addonAfter:"%",initialValue:0}]}]},{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:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(fi=ae?.[0])===null||fi===void 0?void 0:fi.value},{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"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{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:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ae,initialValue:(mi=ae?.[0])===null||mi===void 0?void 0:mi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ql=t=>{var e,i,n,l,o,a,s,r,c,d,p,b,{style:h,isDefault:y,rec:m,viewTime:I,isPost:u,bottom_image:w,tipText:g,swiper:T,commodityStyles:D,buttonStyle:f,index:O}=t,_=Ie(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:S}=me(),{popupDetailData:E,bffEventReport:A,isPreview:x,swiperRef:C,bffFbReport:P}=me(),{jumpToWeb:j,productView:B}=Fe(),G=Z(null);Z(null),Z(null),$(!1),$(!1),$(!0);const[H,L]=$(!1),V=Z(null),M=u?m:E,k=u?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,z=u?(i=M?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=M?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,U=u?O:E?.index,W=()=>{k?.link&&(j(M,k,z,U),u||B(M,k,z,I||V.current,U),window.location.href=window.getJointUtmLink(k.link))};J(()=>{u||P?.({eventName:"ProductView"})},[u,P]),J(()=>{const q=()=>{V.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const ie=ee(()=>{var q,pe,se,re,he;return k?.currency&&k?.price?`${(se=(pe=(q=k?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||pe===void 0?void 0:pe.toUpperCase())!==null&&se!==void 0?se:""}${(he=(re=k?.price)===null||re===void 0?void 0:re.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"\xA3102,300.00"},[k?.price,k?.currency]),ne=x?375:(o=h?.width)!==null&&o!==void 0?o:window.innerWidth,oe=({isPost:q})=>v.createElement("div",{hidden:!!k&&(!k?.info||k?.info==="")},v.createElement(zt,{isPost:q,onClick:()=>L(!0),className:"pb-commondityDiroNew-info",style:D?.info,foldText:g?.foldText,unfoldText:g?.unfoldText,text:k?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
6
|
+
Made in Italy`}));return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:G,className:K(Object.assign({},h))},_),k&&((a=k?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(st,{height:ne,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:T?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:T?.delay*1e3}},(s=k?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement($e,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},v.createElement(Be,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${T?.translateY})%`},src:q}))))),!(!((r=k?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=S?.bottom_image)!==null&&c!==void 0?c:w,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:D?.title},(d=k?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!k&&(!k?.collection||k?.collection===""),style:D?.collection},k?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.price,style:D?.price},ie),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.taxInfo,style:D?.taxInfo},(p=k?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!k||k?.link)&&v.createElement("button",{onClick:W,className:"pb-commondityDiroNew-btn",style:f},(b=z?.enTitle)!==null&&b!==void 0?b:"Shop now"),oe({isPost:u}))),v.createElement(Bt,{visible:H,onClose:()=>L(!1)},oe({isPost:!1})))};var Xl=ce(ql);const Jl=Me(Xl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Yl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var hi,gi,ze=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-100,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ae,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(hi=ae?.[0])===null||hi===void 0?void 0:hi.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ae,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(gi=ae?.[0])===null||gi===void 0?void 0:gi.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function fn(t){const e=Z(null),[i,n]=$(!1);return J(()=>{e.current=new IntersectionObserver(([l])=>{n(l.isIntersecting)})},[]),J(()=>{var l;return t?.current&&((l=e?.current)===null||l===void 0||l.observe(t?.current)),()=>{var o;(o=e?.current)===null||o===void 0||o.disconnect()}},[t]),i}const Ql=t=>{var{rec:e,children:i,className:n,onClick:l,style:o,isExternalLink:a=!1,index:s}=t;Ie(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=Z(null),c=fn(r),{popup:d}=Xe(),{setPopupDetailData:p,ctaEvent:b}=me(),{jumpToWeb:h}=Fe();J(()=>{var m,I;if(c&&r?.current){const u=(I=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&I!==void 0?I:e?.video;b?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,r,e,b,s]);const y=It(()=>{var m,I,u,w,g,T,D,f;const O=(I=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&I!==void 0?I:e?.video;if(b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),a){if(!((w=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||w===void 0)&&w.link){const _=(g=e?.video)===null||g===void 0?void 0:g.bindCta,S=(T=e?.video)===null||T===void 0?void 0:T.bindProduct;h(e,S,_,s),window.location.href=window.getJointUtmLink((f=(D=e?.video)===null||D===void 0?void 0:D.bindProduct)===null||f===void 0?void 0:f.link)}}else l?.()},d?.duration);return v.createElement("div",{ref:r,className:n,style:o,onClick:y},i)};var Tt=ce(Ql),Zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const es=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:I,translateY:u=0}=t,w=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=me(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(o=(n=(i=h?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(l=T?.homePage)===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&a!==void 0?a:y;return v.createElement(Tt,Object.assign({isExternalLink:I,rec:h,className:K(Object.assign({},p)),style:{display:"flex"}},w),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Zl["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=T?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop Now")))};var ts=ce(es);const is=Me(ts,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Kl,bindableProps:[],settingRender:ze},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const os=t=>{var e,i,n,l,{content:o,style:a,bgImg:s,recData:r,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,b=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:h}=me(),y=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(Tt,Object.assign({isExternalLink:p,rec:r,className:K(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},b),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:h?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),v.createElement("div",{className:K(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(l=y?.enTitle)!==null&&l!==void 0?l:"Product Name"))};var ls=ce(os);const ss=Me(ls,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ns,settingRender:ze?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var as={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const rs=t=>{var e,i,n,l,o,{content:a,style:s,bgImg:r,recData:c,bottom_image:d,ctaTempStyles:p,index:b}=t,h=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:m}=me(),{jumpToWeb:I}=Fe(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,w=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,g=()=>{u?.link&&(I(c,w,u,b),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(Tt,Object.assign({index:b,rec:c,className:K(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},h,{onClick:g}),v.createElement("div",{className:K(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(l=(n=u?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&l!==void 0?l:d})),v.createElement("div",{className:K({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:as["tow-line-ellipsis"],style:p?.ctaTitle},(o=u?.enTitle)!==null&&o!==void 0?o:"Product Name")))};var ds=ce(rs);const cs=Me(ds,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:ze?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ps={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const vs=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:I,translateY:u=0}=t,w=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=me(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(o=(n=(i=h?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(l=T?.homePage)===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&a!==void 0?a:y;return v.createElement(Tt,Object.assign({isExternalLink:I,rec:h,className:K(Object.assign({},p)),style:{display:"flex"}},w),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ps["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=T?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop Now")))};var fs=ce(vs);const ms=Me(fs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:us,settingRender:ze,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const bs=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:I,translateY:u=0}=t,w=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=me(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(o=(n=(i=h?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(l=T?.homePage)===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&a!==void 0?a:y;return v.createElement(Tt,Object.assign({isExternalLink:I,rec:h,className:K(Object.assign({},p)),style:{display:"flex"}},w),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:gs["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=T?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop now")))};var ys=ce(bs);const ws=Me(ys,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:hs,bindableProps:[],settingRender:ze},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Ss=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ts=({children:t,isPadding:e=!0})=>v.createElement(st,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[vo,po,uo],style:{padding:e?"0 12px 0 20px":0}},t);var Vt=ce(Ts);const xs=({src:t,rec:e,item:i,index:n,style:l})=>{const o=Z(null),a=fn(o),{ctaEvent:s}=me();return J(()=>{a&&t&&o?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[a,t,o,e,s,i,n]),v.createElement("div",{ref:o,hidden:!t,className:K({width:"100%",height:"100%"})},v.createElement(Be,{className:K(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},l)),src:t}))};var bi=ce(xs),Es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Is=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,h=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:I}=me(),{popup:u}=Xe(),{jumpToWeb:w}=Fe(),[g,T]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),m?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(w(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},g?.map(f=>{var O,_,S,E,A,x,C;return v.createElement($e,Object.assign({hidden:a&&!f?.bindCta,key:f?.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:I?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:f,index:p,style:{transform:`translateY(${b}%)`}})),v.createElement("div",{className:K({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Es["two-line-ellipsis"],style:c?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var Cs=ce(Is);const _s=Me(Cs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ss,bindableProps:[],settingRender:ze},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var Ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ks={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const As=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,h=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=me(),{ctaEvent:m,setPopupDetailData:I}=me(),{popup:u}=Xe(),[w,g]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:T}=Fe(),D=It(f=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),I?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(T(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},w?.map(f=>{var O,_,S,E,A,x,C;return v.createElement($e,Object.assign({hidden:a&&!f?.bindCta,key:f.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:y?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:f,index:p,style:{transform:`translateY(${b}%)`}})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ks["two-line-ellipsis"],style:c?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var Ps=ce(As);const Os=Me(Ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Ds,settingRender:ze,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var Ms=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ls={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ns=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,h=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:I}=me(),{popup:u}=Xe(),{jumpToWeb:w}=Fe(),[g,T]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),m?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(w(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},g?.map(f=>{var O,_,S,E,A,x,C;return v.createElement($e,Object.assign({hidden:a&&!f?.bindCta,key:f?.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:I?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:f,index:p,style:{transform:`translateY(${b}%)`}})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Ls["tow-line-ellipsis"],style:c?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop now")))}))};var js=ce(Ns);const Bs=Me(js,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Ms,bindableProps:[],settingRender:ze},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var yi,wi,zs=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(yi=ae?.[0])===null||yi===void 0?void 0:yi.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{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:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ae,initialValue:(wi=ae?.[0])===null||wi===void 0?void 0:wi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Vs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var l;const{waterFallData:o,setOpenHashtag:a}=me();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(l=o?.hashTag)!==null&&l!==void 0?l:"\u6807\u9898"}`))};var mn=ce(Vs),Rs=null,Fs="3d989325-e7d6-4a74-8a97-98febdf5b567",Hs=null,Us=null,Gs={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},$s=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Ws="Handbags",Ys={productUserId:Rs,requestId:Fs,channel:Hs,rtc:Us,tag:Gs,recList:$s,hashTag:Ws};const qs=t=>{const{rec:e,index:i,list:n,reportTagsView:l,textStyles:o,space:a}=t,{swiperRef:s,setRtcList:r,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=me(),[b,h]=$(!1),y=Z(null),m=Z(null),I=Z(null),u=Z(null),[w,g]=$(""),T=ee(()=>{var S,E,A,x,C,P,j,B,G,H;return!((S=e?.video)===null||S===void 0)&&S.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((x=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||x===void 0)&&x.length?(P=(C=e?.video)===null||C===void 0?void 0:C.imgUrls)===null||P===void 0?void 0:P[0]:!((B=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||B===void 0)&&B.length?(H=(G=e?.product)===null||G===void 0?void 0:G.homePage)===null||H===void 0?void 0:H[0]:p?.bottom_image||""},[e,p?.bottom_image]),D=ee(()=>{var S,E;return((S=e?.product)===null||S===void 0?void 0:S.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),f=ee(()=>{var S,E,A,x,C,P,j,B,G;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(P=(C=(x=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||x===void 0?void 0:x.split("-")[1])===null||C===void 0?void 0:C.toUpperCase())!==null&&P!==void 0?P:""}${(G=(B=(j=e?.product)===null||j===void 0?void 0:j.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:null},[e]);J(()=>{const S=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(m.current===null||T==="")return;b&&w?y.current.setSrc(w):y.current.setSrc(T),S.unobserve(m.current)}})});return S.observe(m.current),()=>{S.disconnect()}},[T,b,w]);const O=(S,E,A)=>{const x=S/E;return A/x};J(()=>{const S=I?.current;S===null||T===""||!b||(S.src=T,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const E=u?.current;if(!E)return;const A=E.getContext("2d"),x=window?.innerWidth/2,C=O(S.videoWidth,S.videoHeight,x);E.height=C,E.width=x,A?.drawImage(S,0,0,E.width,E.height),g(E.toDataURL()),S.remove(),E.remove()})},[T,b]);const _=()=>{l(),r?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:m,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:a}},v.createElement("div",{className:"list-content-listItem-picture"},b&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Be,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:o?.title},D&&D),v.createElement("div",{className:"list-content-listItem-info-price",style:o?.price,hidden:!f},f)))};function Xs(t){var e,i,n,l,o,a,s,r,c,d,p,b,{reportTagsView:h}=t,y=Ie(t,["reportTagsView"]);const{waterFallData:m,getRecommendVideos:I,hashTagSize:u,loadingImage:w,isOpenHashTag:g}=me(),[T,D]=$(),[f,O]=$(),[_,S]=$(!1),E=Z(null),[A,x]=$(!1);ue(()=>{A||(x(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(P=>{var j;D(T?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),x(!1)}))},[m,I,T,A]),J(()=>{var P,j;if(S(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:u,maxSize:u}).then(B=>{var G,H;O(B),D((H=(G=B?.recList)===null||G===void 0?void 0:G.filter(L=>L?.video!==null||L?.product!==null))!==null&&H!==void 0?H:[]),S(!1)}),g){const B=Ys;O(B),D((j=(P=B?.recList)===null||P===void 0?void 0:P.filter(G=>G?.video!==null||G?.product!==null))!==null&&j!==void 0?j:[]),S(!1)}},[m,I,u,g]);const C=()=>{var P,j;!((P=f?.tag)===null||P===void 0)&&P.link&&(h(),window.location.href=(j=f?.tag)===null||j===void 0?void 0:j.link)};return v.createElement(v.Fragment,null,_?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:E},v.createElement("div",{className:"list-info",style:(e=y?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=f?.tag)===null||i===void 0?void 0:i.info),v.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:C,style:Object.assign(Object.assign({},(l=y?.textStyles)===null||l===void 0?void 0:l.hashTagLink),{marginBottom:y?.space})},((o=f?.tag)===null||o===void 0?void 0:o.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},T?.map((P,j)=>v.createElement(qs,Object.assign({key:j,index:j,rec:P,list:T,reportTagsView:h},y)))),v.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=f?.tag)===null||a===void 0)&&a.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((r=y?.buttonBgStyle)===null||r===void 0?void 0:r.height)||((c=y?.buttonStyle)===null||c===void 0?void 0:c.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((d=f?.tag)===null||d===void 0)&&d.link),style:y?.buttonBgStyle}),v.createElement("div",{hidden:!(!((p=f?.tag)===null||p===void 0)&&p.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},y?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{className:"list-btn",style:y?.buttonStyle,onClick:C},((b=f?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection"))))}var Js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ks=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:l,swiperRef:o,setWaterFallData:a,cacheRtcList:s,setRtcList:r,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:b,isFromHashtag:h,bffEventReport:y}=me();Z(null);const m=Z(null),[I,u]=$();J(()=>{const f=document.getElementById("sxp-render"),O=document.getElementById("water-fall");O?m.current=O:(m.current=document.createElement("div"),m.current.setAttribute("id","water-fall"),f?.appendChild(m.current))},[]);const w=()=>{const f=Ci(d,s);!f&&s&&s?.length&&r?.(s),D(),a?.(void 0),b?.(!1),setTimeout(()=>{var O,_;f||(_=(O=o?.current)===null||O===void 0?void 0:O.swiper)===null||_===void 0||_.slideTo(c,0,!1),n?.(!1)},0)},[g,T]=$();J(()=>{i&&T(i)},[i]);const D=ue(()=>{var f,O,_,S,E,A;const x=g?.rec;if(!x)return;let C="";h?C="hashTagPage":!((f=x?.video)===null||f===void 0)&&f.url?C="videoPage":!((_=(O=x?.video)===null||O===void 0?void 0:O.imgUrls)===null||_===void 0)&&_.length&&(C="imagePage"),y?.({eventInfo:{contentId:(S=x?.video)===null||S===void 0?void 0:S.itemId,position:c+"",contentTags:JSON.stringify((E=x?.video)===null||E===void 0?void 0:E.tags),traceInfo:(A=x?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([g?.hashTag]),fromKName:C,fromKPage:location?.href,timeOnSite:Math.floor((new Date-I)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,y,I,h,c]);return J(()=>{l&&u(new Date)},[l]),J(()=>{const f=()=>{u(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),m.current?Ai.createPortal(v.createElement("div",{className:"waterfall",style:{display:l?"block":"none"}},v.createElement(mn,{icon:Js,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),v.createElement(Xs,Object.assign({reportTagsView:D},t))),m.current):null};var hn=ce(Ks);const Qs=t=>v.createElement(hn,Object.assign({},t));var Zs=ce(Qs);const ea=Me(Zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:zs,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var Si=Object.freeze({__proto__:null,Appoint:ss,AppointForm:eo,Commodity:is,CommodityDetail:Rl,CommodityDetailDiroNew:Jl,CommodityDiro:ms,CommodityDiroNew:ws,HashTag:ea,Link:cs,MultiCommodity:Os,MultiCommodityDiro:_s,MultiCommodityDiroNew:Bs,Prompt:Wl});const ta="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ia="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",na=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:l,position:o}=t,a=Ie(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:r,bffEventReport:c}=me(),[d,p]=$(e),b=Ne(ia),h=Ne(ta),y=Ht(()=>ke(void 0,void 0,void 0,function*(){var m,I,u,w,g,T,D,f,O,_,S,E,A,x,C,P,j,B,G,H;if(d){p(!1);const L=(u=yield r?.({videoItemId:(I=(m=l.video)===null||m===void 0?void 0:m.itemId)!==null&&I!==void 0?I:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(g=(w=l.video)===null||w===void 0?void 0:w.itemId)!==null&&g!==void 0?g:"",contentName:(D=(T=l.video)===null||T===void 0?void 0:T.title)!==null&&D!==void 0?D:"",contentTags:JSON.stringify((O=(f=l.video)===null||f===void 0?void 0:f.tags)!==null&&O!==void 0?O:[]),position:o+"",contentFormat:!((_=l.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(S=l.video)===null||S===void 0?void 0:S.traceInfo}}),L||p(!0)}else{p(!0);const L=(E=yield s?.({content:JSON.stringify(l)}))!==null&&E!==void 0?E:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(A=l.video)===null||A===void 0?void 0:A.itemId)!==null&&x!==void 0?x:"",contentName:(P=(C=l.video)===null||C===void 0?void 0:C.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((B=(j=l.video)===null||j===void 0?void 0:j.tags)!==null&&B!==void 0?B:[]),position:o+"",contentFormat:!((G=l.video)===null||G===void 0)&&G.url?"video":"image",traceInfo:(H=l.video)===null||H===void 0?void 0:H.traceInfo}}),L||p(!1)}}),200);return v.createElement("button",Object.assign({},a,{onClick:y}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||b:n||h,alt:"icon"}))};var gn=ce(na);const oa=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,videoRef:s})=>{const[r,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:b,openHashtag:h,bffFbReport:y}=me(),m=Z(0),[I,u]=$(!1),[w,g]=$(!0),{isActive:T}=pn(),D=Z(null),[f,O]=$(""),_=`pb-cache-video-${e}`,S=Z(null),E=ee(()=>a?.mode==="2",[a]),A=ee(()=>{var U;return a?.mode==="2"?`translateY(-${50+((U=a?.offsetTop)!==null&&U!==void 0?U:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),x=ee(()=>{var U;return((U=t?.video)===null||U===void 0?void 0:U.cover)||f},[f,t]),C=ee(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),P=ee(()=>a?.bgWay==="1",[a]),j=ee(()=>P&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,P]);J(()=>{s&&s?.muted(l)},[l,s]);const B=ue(()=>{s&&s?.play()},[s]),G=Ne("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),H=ue(()=>{var U,W,ie,ne,oe,q,pe,se,re;if(!s)return;u(!0),c(!1);const he=n[e];if(he&&s?.duration()){m.current=s?.currentTime()||0;const R=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2),Q=w?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ne=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(oe=he.video)===null||oe===void 0?void 0:oe.title)!==null&&q!==void 0?q:"",playType:Q,startTime:F,videoDuration:R,contentTags:JSON.stringify((se=(pe=he.video)===null||pe===void 0?void 0:pe.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(re=he.video)===null||re===void 0?void 0:re.traceInfo}}),g(!1)}},[d,n,e,w,s]),L=ue(()=>{var U;if(!s||f||!E)return;const W=document.getElementById("player-container-id_html5_api");if(!W||(W.style.objectFit="contain",!((U=t?.video)===null||U===void 0)&&U.cover||!D||!D.current||P))return;const ie=()=>{const ne=W,oe=D?.current,q=oe.getContext("2d"),pe=window?.innerWidth,se=window?.innerHeight;oe.height=se,oe.width=pe,q?.drawImage(ne,0,0,oe.width,oe.height),O(oe.toDataURL())};ie(),setTimeout(()=>{ie()},500)},[s,P,t,f,E]),V=ue(()=>{s&&L()},[s,L]);ue(()=>{u(!0)},[]);const M=ue(U=>()=>{if(!s||!I)return;const W=s?.paused();switch(U){case"start":if(!W)return;s?.play(),c(!1);break;case"pause":if(W)return;s?.pause(),c(!0);break;default:W?s?.play():s?.pause(),c(!W);break}},[I,s]),k=ue(()=>{var U,W,ie,ne,oe,q,pe,se,re;if(!s||o!==e)return;const he=n[e],R=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2);if(s?.duration()){const Q=(s?.currentTime()-m.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ne=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(oe=he.video)===null||oe===void 0?void 0:oe.title)!==null&&q!==void 0?q:"",endTime:F,videoDuration:R,playDuration:Q,contentTags:JSON.stringify((se=(pe=he.video)===null||pe===void 0?void 0:pe.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(re=he.video)===null||re===void 0?void 0:re.traceInfo}})}},[n,e,d,s,o]);J(()=>{if(!T||!s)return;const U=t.video.url;if(!U)return;c(!1);const W=document.querySelector(`#${_}`),ie=document.querySelector("#player-container-id"),ne=document.querySelector("#player-container-id-copy");if(!(!ie&&!ne))return W?.appendChild(ie||ne),s?.src(U),s?.on("loadedmetadata",V),s?.on("loadeddata",L),s?.on("playing",H),s?.on("pause",k),s?.on("ended",B),()=>{ne?.appendChild(ie),s?.off("loadedmetadata",V),s?.off("loadeddata",L),s?.off("playing",H),s?.off("pause",k),s?.off("ended",B)}},[T,_,t,s]),J(()=>{!s||!I||(T?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[T,I,s]),J(()=>{if(!T||!s)return;!s?.paused()&&h?s?.pause():h||s?.play()},[h,T,s]),J(()=>{if(!T)return;const U=()=>{M("start")(),y?.({eventName:"ViewContent"})},W=M("pause");return Je.on(Re.PAGE_DID_SHOW,U),Je.on(Re.PAGE_DID_HIDE,W),()=>{Je.off(Re.PAGE_DID_SHOW,U),Je.off(Re.PAGE_DID_HIDE,W)}},[M,T]);const z=ee(()=>!p?.placeholder_image||I?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[I,p?.placeholder_image]);return J(()=>{if(!s)return;const U=()=>{var W;o===e&&(!((W=t?.video)===null||W===void 0)&&W.url)&&s&&!r&&M("pause")()};return window.addEventListener("beforeunload",U),()=>{window.removeEventListener("beforeunload",U)}},[o,e,t,s,M,r]),t.video?v.createElement(v.Fragment,null,E?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:M(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&v.createElement(Be,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},C)}),v.createElement("canvas",{ref:D,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:G}))),z):v.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:M()},v.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),z,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:G}))):null};var la=ce(oa);const sa=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[o,a]=$(t),s=r=>{r.stopPropagation();const c=!o;a(c),n?.(c)};return v.createElement("button",{style:l,className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",src:o?e:i}))};var bn=ce(sa);const aa=({imageUrl:t,style:e})=>{const[i,n]=$(!0);Xe(),J(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const l=Ne("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${o}`,style:e},v.createElement("img",{src:t||l}))},yn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,l=ee(()=>n?.mode==="2",[n]),o=ee(()=>{var c;return n?.mode==="2"?`translateY(-${50+((c=n?.offsetTop)!==null&&c!==void 0?c:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),a=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),s=ee(()=>n?.bgWay==="1",[n]),r=ee(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},r)},(!l||!s)&&v.createElement(Be,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),l&&v.createElement(Be,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:o,left:0,right:0}}))},ra=({imgUrls:t,width:e,height:i,rec:n,index:l,onReportViewImageEnd:o,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var r;const c=Z(),{isActive:d}=pn(),{sxpParameter:p,openHashtag:b}=me(),[h,y]=$(!1);return J(()=>{h&&d?(c?.current&&c.current.swiper.autoplay.start(),b?o(n):a(l)):(y(!0),c?.current&&c.current.swiper.autoplay.stop())},[n,d,o,b,l,a,h]),v.createElement(st,{ref:c,defaultValue:0,direction:"horizontal",modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((r=s?.delay)!==null&&r!==void 0?r:3)*1e3}},t?.map(m=>v.createElement($e,{key:m},v.createElement(yn,{src:m,height:i,imgUrlsPostConfig:s}))))};var da=ce(ra);const ca=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:o})=>{const[a,s]=$(!1),{setWaterFallData:r,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:b}=me(),h=y=>{p?b?.(!0):d?.(n),r?.(i?{hashTag:y,itemId:e,itemType:i,rec:l}:{hashTag:y,rec:l}),c?.(!0)};return ee(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Vt,null,t?.map((y,m)=>v.createElement($e,{key:m,hidden:a?!1:m>=6,className:"clc-sxp-bottom-hashtag-item",style:o,onClick:()=>h(y)},`#${y}`))))};var wn=ce(ca),ua="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 Rt(t){return ce(function(e){const{$store:i}=Rn(),n=o=>{let a=o;const s=o.match(/{{.*?}}/g);return s?.length&&s.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=_i(i,d);return a=a.replace(r,p),p}})}),a},l=ee(()=>{var o,a,s;const{bindDatas:r}=e,c=Ie(e,["bindDatas"]);if((o=r?.forEach)===null||o===void 0||o.call(r,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:b}=d;b.replace(/{{\s*([\w.]+)\s*}}/g,(h,y)=>{var m,I;if(y){const u=(I=(m=_i(i,y))!==null&&m!==void 0?m:e[p])!==null&&I!==void 0?I:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=gt(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},l,l.eventMap))})}const pa=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:l}=Xe(),o=ee(()=>{var a,s,r,c,d,p,b,h,y,m,I,u,w,g,T,D,f,O,_,S,E,A,x,C,P,j,B,G,H,L,V;if(!t?.video)return null;let M=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?M="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?M="\u5546\u54C1CTA":M=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const k=i?.[M];if(((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((h=k?.item)===null||h===void 0?void 0:h.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((m=k?.item)===null||m===void 0?void 0:m.type)==="CommodityDiroNew"&&!(!((I=t?.video)===null||I===void 0)&&I.bindProduct)||((u=k?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((g=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||g===void 0)&&g.length)||((T=k?.item)===null||T===void 0?void 0:T.type)==="MultiCommodityDiro"&&!(!((f=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||f===void 0)&&f.length)||((O=k?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((S=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||S===void 0)&&S.length))return null;if(k&&n){const z=n[(E=k?.item)===null||E===void 0?void 0:E.type],U=Rt(z),W=(A=z?.extend)===null||A===void 0?void 0:A.defaulSetting,ie=((P=(C=(x=k?.item)===null||x===void 0?void 0:x.event)===null||C===void 0?void 0:C.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return v.createElement(U,Object.assign({style:Object.assign(Object.assign(Object.assign({},W?.style),(j=k?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},W?.textStyle),(B=k?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=k?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},W?.props,(L=k?.item)===null||L===void 0?void 0:L.props,{event:((V=k?.item)===null||V===void 0?void 0:V.event)||{},schema:l,id:k?.id,key:k?.id,recData:t,isExternalLink:ie,index:e}))}else return null},[t,n,i,l]);return v.createElement(v.Fragment,null,o)};var Sn=ce(pa);const Tn=({nudge:t})=>{var e,i,n,l,o,a,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.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?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Ti="FOR U",va=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=$(Ti),{getRecommendVideos:l,setRtcList:o,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:r,swiperRef:c,waterFallData:d}=me(),p=ee(()=>[Ti,...t],[t]),b=h=>()=>{if(h===i)return;let y;h!==Ti&&(y=h),r?.(!0),l?.({themeTag:y}).then(m=>{var I,u,w,g;Je.emit(Re.CHANGE_THEME_TAG,y),o?.((I=m?.recList)!==null&&I!==void 0?I:[]),a?.((u=m?.recList)!==null&&u!==void 0?u:[]),e?.(0),s?.(0),(g=(w=c?.current)===null||w===void 0?void 0:w.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{r?.(!1)}),n(h)};return d||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},p.map(h=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${h===i?"clc-sxp-tagbar-list-item-active":""}`,key:h,onClick:b(h)},h))))};var xn=ce(va);const En=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:l,resolver:o,data:a=[],ctaType:s,tipText:r,nudge:c,_schema:d,hashTagStyle:p,tagList:b=[],licenseUrl:h})=>{var y,m,I,u,w,g,T,D,f,O;const{schema:_}=Xe(),[S,E]=$(0),A=Z(0),[x,C]=$(!1),[P,j]=$(!0),B=Z(),G=Z(),[H,L]=$(!1),[V,M]=$(!1),{loadVideos:k,bffEventReport:z,loading:U,setPopupDetailData:W,ctaEvent:ie,swiperRef:ne,waterFallData:oe,setOpenHashtag:q,appDomain:pe,openHashtag:se,loadingImage:re,isFromHashtag:he,popupDetailData:R,bffFbReport:F}=me(),[Q,Se]=$(null),ye=Z(),{productView:Ee}=Fe(),ge=ee(()=>a.length>0&&!U&&Gn(),[a,U]),Te=ue(()=>{if(a.length<=0)return;We();const N=location.search.slice(1),te=ki.parse(N.replace(/\+/g,"%2B"));for(const le in te)te[le]=te[le].replace(/%2B/g,"+");const Y=le=>{var de;return(de=te[le])!==null&&de!==void 0?de:""};z?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:Y("utm_source"),utmMedium:Y("utm_medium"),utmCampaign:Y("utm_campaign"),utmId:Y("utm_id"),utmContent:Y("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),F?.({eventName:"PageView"}),C(!0)},[z,a.length,F]),We=()=>{B.current=new Date,G.current=new Date,Hn()},Qe=Z();J(()=>{if(!Qe.current&&!Q){Qe.current=!0;const N=TCPlayer("player-container-id",{licenseUrl:h,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});N?.ready(()=>{Se(N)})}},[Q,h]),J(()=>{x||Te()},[Te,x]),J(()=>{var N;const te=a?.findIndex(Y=>{var le,de,ve,X,fe,be,_e,De,we;return s==="\u591A\u5546\u54C1CTA"?((le=Y?.video)===null||le===void 0?void 0:le.bindProducts)&&((ve=(de=Y?.video)===null||de===void 0?void 0:de.bindProducts)===null||ve===void 0?void 0:ve.length)>0:s==="\u5546\u54C1CTA"?(X=Y?.video)===null||X===void 0?void 0:X.bindProduct:((be=(fe=Y?.video)===null||fe===void 0?void 0:fe.bindCta)===null||be===void 0?void 0:be.itemId)===s&&(((_e=Y?.video)===null||_e===void 0?void 0:_e.url)||((we=(De=Y?.video)===null||De===void 0?void 0:De.imgUrls)===null||we===void 0?void 0:we.length))})||0;(N=ne?.current)===null||N===void 0||N.swiper.slideTo(te)},[s,ne]),J(()=>{const N=a?.[S],te=()=>{var Y,le,de,ve,X,fe,be,_e,De,we,xe,it,nt,ot,Ze;if(document.visibilityState==="hidden"){Je.emit(Re.PAGE_DID_HIDE,N),ct(N),Ft(N);let Ye="";R&&(!((le=(Y=N?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||le===void 0)&&le.length||!((de=N?.video)===null||de===void 0)&&de.bindProduct)?Ye="pdpPage":R&&l?.[(fe=(X=(ve=N.video)===null||ve===void 0?void 0:ve.bindCta)===null||X===void 0?void 0:X.itemId)!==null&&fe!==void 0?fe:""].item.type==="Appoint"?Ye="formPage":he?Ye="hashTagPage":!((be=N?.video)===null||be===void 0)&&be.url?Ye="videoPage":!((_e=N?.video)===null||_e===void 0)&&_e.imgUrls&&(!((we=(De=N?.video)===null||De===void 0?void 0:De.imgUrls)===null||we===void 0)&&we.length)?Ye="imagePage":N?.product&&(Ye="productPage"),z?.({eventInfo:{sessionDuration:Math.floor((new Date-B.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(xe=N?.video)===null||xe===void 0?void 0:xe.itemId,productId:(it=N?.product)===null||it===void 0?void 0:it.itemId,position:S+"",fromKName:Ye,fromKPage:location?.href,ctatId:(Ze=(ot=(nt=N.video)===null||nt===void 0?void 0:nt.bindCta)===null||ot===void 0?void 0:ot.itemId)!==null&&Ze!==void 0?Ze:""}})}else document.visibilityState==="visible"&&(Te(),Ii(S),Je.emit(Re.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",te),()=>{document.removeEventListener("visibilitychange",te)}},[S,z,B,a,Te,R,he,l]);const Ve=ee(()=>{let N=0;return t?.logoUrl&&t?.isShowLogo&&(N+=45),b.length>0&&(N+=45,oe&&(N-=45)),i-N},[t,i,b,oe]),mt=ee(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),at=ue((N,te)=>{var Y,le,de,ve;return!((Y=N.video)===null||Y===void 0)&&Y.url?v.createElement(la,{rec:N,index:te,muted:P,data:a,height:Ve,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:Q}):!((le=N.video)===null||le===void 0)&&le.imgUrls?v.createElement(da,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:Ve,rec:N,index:te,onReportViewImageEnd:ct,onViewImageStartEvent:Ii,imgUrlsPostConfig:t?.imgUrlsPost}):N.product&&Array.isArray(t?.productPost)&&((de=t?.productPost)===null||de===void 0?void 0:de.length)>0?(ve=t?.productPost)===null||ve===void 0?void 0:ve.map((X,fe)=>{var be,_e,De,we,xe,it,nt,ot;const Ze=o[(be=X?.item)===null||be===void 0?void 0:be.type],Ye=Rt(Ze),qe=(_e=Ze?.extend)===null||_e===void 0?void 0:_e.defaulSetting;return v.createElement(Ye,Object.assign({key:`${te}${fe}`,textStyle:Object.assign(Object.assign({},qe?.textStyle),(De=X?.item)===null||De===void 0?void 0:De.textStyle),bindDatas:(xe=(we=X?.item)===null||we===void 0?void 0:we.bindDatas)!==null&&xe!==void 0?xe:[]},qe?.props,(it=X?.item)===null||it===void 0?void 0:it.props,{event:((nt=X?.item)===null||nt===void 0?void 0:nt.event)||{},schema:_,id:X?.id,viewTime:G.current,rec:N,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},qe?.style),(ot=X?.item)===null||ot===void 0?void 0:ot.style),{height:"100%",overflow:"auto"}),index:te}))}):null},[n,a,Ve,P,S,t?.productPost,G,r,o,_,Q]),rt=ue(N=>{M(N)},[]),ht=ee(()=>V?{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"},[V]),dt=ue((N,te)=>{var Y,le,de,ve,X,fe,be;return N.video?v.createElement(v.Fragment,null,((Y=N.video)===null||Y===void 0?void 0:Y.title)&&!V&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Tn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Sn,{rec:N,index:te,tempMap:l,resolver:o})):null,v.createElement("div",null,v.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(de=(le=N.video)===null||le===void 0?void 0:le.title)!==null&&de!==void 0?de:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:rt}),v.createElement(wn,{index:S,tags:(X=(ve=N?.video)===null||ve===void 0?void 0:ve.hashTags)!==null&&X!==void 0?X:[],itemId:(fe=N?.video)===null||fe===void 0?void 0:fe.itemId,itemType:!((be=N.video)===null||be===void 0)&&be.itemId?"VIDEO":null,rec:N,hashTagStyle:p})))):null},[e,S,l,o,r,c,p,t,rt,V,ht]),Pe=ue((N,te)=>{var Y,le,de,ve;if(!t?.isShowLike)return;let X=(Y=t?.likeIconY)!==null&&Y!==void 0?Y:400;return oe&&X<40&&(X+=40),N.video?v.createElement(gn,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{[(le=t.likeIconXPosit)!==null&&le!==void 0?le:"right"]:(de=t.likeIconX)!==null&&de!==void 0?de:0,[(ve=t.likeIconYPosit)!==null&&ve!==void 0?ve:"bottom"]:X},position:te}):null},[t,oe]),ct=N=>{var te,Y,le,de,ve,X;if(!(!((te=N.video)===null||te===void 0)&&te.url)&&(!((Y=N.video)===null||Y===void 0)&&Y.imgUrls)){const fe=Date.now(),be=(fe-A.current)/1e3;z?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(de=(le=N.video)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",contentName:(ve=N.video.title)!==null&&ve!==void 0?ve:"",imageEndTime:`${fe}`,playDuration:`${be}`,contentTags:JSON.stringify((X=N.video.tags)!==null&&X!==void 0?X:[]),position:S+"",contentFormat:"image",traceInfo:N.video.traceInfo}})}},ut=N=>{var te,Y,le,de,ve,X,fe,be,_e,De;G.current=new Date;const we=a[N.previousIndex];if(!we)return;N.previousIndex-N.activeIndex<0?(z?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Y=(te=we.video)===null||te===void 0?void 0:te.itemId)!==null&&Y!==void 0?Y:"",productId:(de=(le=we.product)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",requestId:null}}),ct(we)):(z?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(X=(ve=we.video)===null||ve===void 0?void 0:ve.itemId)!==null&&X!==void 0?X:"",productId:(be=(fe=we.product)===null||fe===void 0?void 0:fe.itemId)!==null&&be!==void 0?be:"",requestId:null}}),ct(we)),Ft(we);const xe=a[N.activeIndex];!(!((_e=xe?.video)===null||_e===void 0)&&_e.url)&&!(!((De=xe?.video)===null||De===void 0)&&De.imgUrls)&&xe?.product&&F?.({eventName:"ProductView"})},Ft=N=>{var te,Y,le;!(!((te=N?.video)===null||te===void 0)&&te.url)&&!(!((Y=N?.video)===null||Y===void 0)&&Y.imgUrls)&&N?.product&&Ee(N,N.product,(le=N?.product)===null||le===void 0?void 0:le.bindCta,G.current,S)};J(()=>{const N=a[S];se&&Ft(N)},[se,a,S]);const Ii=N=>{var te,Y,le,de,ve,X;const fe=a[N];if(!(!((te=fe?.video)===null||te===void 0)&&te.url)&&(!((Y=fe?.video)===null||Y===void 0)&&Y.imgUrls)){const be=Date.now();A.current=be,z?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(de=(le=fe.video)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",contentName:(ve=fe.video.title)!==null&&ve!==void 0?ve:"",imageStartTime:`${be}`,contentTags:JSON.stringify((X=fe.video.tags)!==null&&X!==void 0?X:[]),position:N+"",contentFormat:"image",traceInfo:fe.video.traceInfo}}),F?.({eventName:"ViewContent"})}},xt=ee(()=>{const N=a?.map((te,Y)=>S===Y||Y-1===S||Y+1===S?te:null);return oe?N:N.concat([{loading:!0}])},[a,S,oe]),Cn=ee(()=>U?v.createElement("div",{style:{height:Ve,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):xt?.map((N,te)=>v.createElement($e,{key:te,virtualIndex:te},N&&v.createElement(v.Fragment,null,N?.loading?v.createElement("div",{style:{height:Ve,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,at(N,te),dt(N,te),Pe(N,te))))),[n,a,Ve,U,dt,at,xt,re]),_n=Ne("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Dn=Ne("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},oe&&v.createElement(mn,{icon:ua,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{q?.(!0)}}),mt,v.createElement(xn,{tagList:b,setActiveIndex:E}),ge?v.createElement(aa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,v.createElement(st,{ref:ne,onSlideChange:()=>{ne.current.swiper.allowTouchMove=!1,setTimeout(()=>{ne.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:N=>{E(N.activeIndex),!se&&(ut(N),!oe&&N?.activeIndex+2>=a?.length&&(H||(L(!0),k?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:Ve},v.createElement(bn,{style:{position:"fixed",visibility:!((I=(m=a?.[S])===null||m===void 0?void 0:m.video)===null||I===void 0)&&I.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(w=t?.muteIconX)!==null&&w!==void 0?w:0,[(g=t?.muteIconYPosit)!==null&&g!==void 0?g:"bottom"]:(T=t?.muteIconY)!==null&&T!==void 0?T:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:_n,unactiveIcon:t?.muteIcon?t?.muteIcon:Dn,onChange:j}),Cn),v.createElement(hn,Object.assign({},(O=(f=(D=t?.hashTag)===null||D===void 0?void 0:D[0])===null||f===void 0?void 0:f.item)===null||O===void 0?void 0:O.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:ye,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},fa=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o})=>v.createElement(st,{defaultValue:0,direction:"horizontal",modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>v.createElement($e,{key:a},v.createElement(yn,{src:a,height:i,imgUrlsPostConfig:n}))));var ma=ce(fa);const ha=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:s})=>{const[r,c]=$(!1),d=Z(null),{bffEventReport:p,sxpParameter:b,waterFallData:h,openHashtag:y}=me(),m=Z(0),[I,u]=$(!1),[w,g]=$(!0),T=Z(null),[D,f]=$("");J(()=>{d.current&&(d.current.muted=l)},[l]);const O=ue(()=>{var L;(L=d.current)===null||L===void 0||L.play()},[]),_=Ne("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=ue(()=>{var L,V,M,k,z,U,W,ie,ne,oe,q,pe,se;c(!1);const re=n[e];if(re&&(!((L=d?.current)===null||L===void 0)&&L.duration)){m.current=((V=d?.current)===null||V===void 0?void 0:V.currentTime)||0;const he=((k=(M=d.current)===null||M===void 0?void 0:M.duration)!==null&&k!==void 0?k:0).toFixed(2),R=((U=(z=d.current)===null||z===void 0?void 0:z.currentTime)!==null&&U!==void 0?U:0).toFixed(2),F=w?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ie=(W=re.video)===null||W===void 0?void 0:W.itemId)!==null&&ie!==void 0?ie:"",contentName:(oe=(ne=re.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",playType:F,startTime:R,videoDuration:he,contentTags:JSON.stringify((pe=(q=re.video)===null||q===void 0?void 0:q.tags)!==null&&pe!==void 0?pe:[]),position:e+"",contentFormat:"video",traceInfo:(se=re.video)===null||se===void 0?void 0:se.traceInfo}}),g(!1)}},[p,n,e,w]),E=ue(()=>{u(!0)},[]),A=ue(L=>()=>{var V,M,k,z,U;if(!I)return;const W=(V=d.current)===null||V===void 0?void 0:V.paused;switch(L){case"start":if(!W)return;(M=d.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if(W)return;(k=d.current)===null||k===void 0||k.pause(),c(!0);break;default:W?(z=d.current)===null||z===void 0||z.play():(U=d.current)===null||U===void 0||U.pause(),c(!W);break}},[I]),x=ue(()=>{var L,V,M,k,z,U,W,ie,ne,oe,q,pe,se;const re=n[e],he=((V=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&V!==void 0?V:0).toFixed(2),R=((k=(M=d.current)===null||M===void 0?void 0:M.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((z=d?.current)===null||z===void 0)&&z.duration){const F=(((U=d?.current)===null||U===void 0?void 0:U.currentTime)-m.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ie=(W=re.video)===null||W===void 0?void 0:W.itemId)!==null&&ie!==void 0?ie:"",contentName:(oe=(ne=re.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",endTime:R,videoDuration:he,playDuration:F,contentTags:JSON.stringify((pe=(q=re.video)===null||q===void 0?void 0:q.tags)!==null&&pe!==void 0?pe:[]),position:e+"",contentFormat:"video",traceInfo:(se=re.video)===null||se===void 0?void 0:se.traceInfo}})}},[n,e,p]),C=ee(()=>a?.mode==="2",[a]),P=ee(()=>{var L;return a?.mode==="2"?`translateY(-${50+((L=a?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),j=ee(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||D},[D,t]),B=ue(()=>{if(!T||!d||!d.current||!T.current)return;const L=d?.current,V=T?.current,M=V.getContext("2d"),k=window?.innerWidth,z=window?.innerHeight;V.height=z,V.width=k,M?.drawImage(L,0,0,V.width,V.height),f(V.toDataURL())},[]);J(()=>{var L,V,M,k;if(d.current){if(c(!1),!d.current.src){const z=t.video.url;if(z.includes(".m3u8"))if(Pi.isSupported()){const U=new Pi;U.loadSource(z),U.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=z;else d.current.src=z;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(L=d.current)===null||L===void 0||L.addEventListener("loadedmetadata",E),(V=d.current)===null||V===void 0||V.addEventListener("canplay",E),(M=d.current)===null||M===void 0||M.addEventListener("playing",S),(k=d.current)===null||k===void 0||k.addEventListener("loadeddata",B),()=>{var z,U,W,ie;(z=d.current)===null||z===void 0||z.removeEventListener("loadedmetadata",E),(U=d.current)===null||U===void 0||U.removeEventListener("canplay",E),(W=d.current)===null||W===void 0||W.removeEventListener("playing",S),(ie=d.current)===null||ie===void 0||ie.removeEventListener("loadeddata",B)}}},[E,S,t.video,B]);const G=ee(()=>!b?.placeholder_image||I?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:b?.placeholder_image}),[I,b?.placeholder_image]);J(()=>{const L=()=>{var V,M;o===e&&(!((V=t?.video)===null||V===void 0)&&V.url)&&(!((M=d?.current)===null||M===void 0)&&M.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[o,e,t,d,A,r]);const H=ee(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t.video?v.createElement(v.Fragment,null,C?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Be,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),v.createElement("canvas",{ref:T,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))),G):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O}),G,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))):null};var ga=ce(ha);const xi={};Object.values(Si).forEach(t=>{xi[t.extend.type]=t});const ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ya="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",wa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:s=664,containerWidth:r=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),d.length>0&&(f+=45),s-f},[e,s,d]),b=(f,O)=>{var _,S,E,A;if(!((_=f.video)===null||_===void 0)&&_.url)return v.createElement(ga,{rec:f,index:O,muted:!0,width:r,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((S=f.video)===null||S===void 0)&&S.imgUrls)return v.createElement(ma,{key:f.video.itemId,imgUrls:f.video.imgUrls,width:r,height:p,rec:f,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(f.product&&f.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((x,C)=>{var P,j,B,G,H,L,V,M;const k=xi[(P=x?.item)===null||P===void 0?void 0:P.type],z=Rt(k),U=(j=k?.extend)===null||j===void 0?void 0:j.defaulSetting;return v.createElement(z,Object.assign({key:`${O}${C}`,textStyle:Object.assign(Object.assign({},U?.textStyle),(B=x?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=x?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},U?.props,(L=x?.item)===null||L===void 0?void 0:L.props,{event:((V=x?.item)===null||V===void 0?void 0:V.event)||{},id:x?.id,rec:f,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},U?.style),(M=x?.item)===null||M===void 0?void 0:M.style),{width:r,height:p,overflow:"auto"}),index:O}))})},h=ee(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(f,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Sn,{rec:f,index:O,tempMap:l,resolver:xi})):null,m=(f,O)=>{var _,S,E,A,x,C,P;return f.video?v.createElement(v.Fragment,null,((_=f.video)===null||_===void 0?void 0:_.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Tn,{nudge:n}),y(f,O),v.createElement("div",null,v.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(S=f.video)===null||S===void 0?void 0:S.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(wn,{index:O,tags:(x=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&x!==void 0?x:[],itemId:(C=f?.video)===null||C===void 0?void 0:C.itemId,itemType:!((P=f.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:a}))):null},I=Ne(ya,c),u=Ne(ba,c),w=(f,O)=>{var _,S,E,A;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),f.video?v.createElement(gn,{key:f.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:I,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:u,position:O,active:f.isCollected,recData:f,className:"clc-sxp-like-button",style:{top:x,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},g=Ne("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),T=Ne("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),D=(f,O)=>{var _,S,E,A;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},h,v.createElement(xn,{tagList:d}),v.createElement(bn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((E=(S=t?.[O])===null||S===void 0?void 0:S.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:g,unactiveIcon:e?.muteIcon?e?.muteIcon:T}),b(f,O),m(f,O),w(f,O))};return v.createElement("div",{className:K({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((f,O)=>D(f,O)))};var Sa=ce(wa);const Ta=()=>{const{schema:t,resolver:e,popup:i}=Xe(),{setPopupDetailData:n,popupDetailData:l,bffEventReport:o}=me(),{productView:a}=Fe(),[s,r]=$(),c=Z(null);J(()=>{const b=()=>{c.current=new Date};return b(),window.addEventListener("pageshow",b),()=>{window.removeEventListener("pageshow",b)}},[]),J(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,r(i))},[i]);const d=()=>{var b,h,y,m;if(!i||i?.id===""||!s||new Date-c.current<((b=i?.duration)!==null&&b!==void 0?b:0))return;r(Object.assign(Object.assign({},i),{id:""}));const I=l,u=(h=I?.video)===null||h===void 0?void 0:h.bindProduct,w=(m=(y=I?.video)===null||y===void 0?void 0:y.bindProduct)===null||m===void 0?void 0:m.bindCta;u&&w&&a(I,u,w,c.current,l?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var b,h,y;return(y=(h=(b=t?.sxpPageConf)===null||b===void 0?void 0:b.globalConfig)===null||h===void 0?void 0:h.popupList)===null||y===void 0?void 0:y.map((m,I)=>{var u,w,g,T,D,f,O,_,S,E,A,x,C,P;if(m?.id===i?.id){const j=e[(u=m?.item)===null||u===void 0?void 0:u.type],B=Rt(j),G=((T=(g=(w=m?.item)===null||w===void 0?void 0:w.event)===null||g===void 0?void 0:g.onClick)===null||T===void 0?void 0:T.linkType)==="externalLink",H=((O=(f=(D=m?.item)===null||D===void 0?void 0:D.event)===null||f===void 0?void 0:f.onClick)===null||O===void 0?void 0:O.linkType)==="popup",L=(_=j?.extend)===null||_===void 0?void 0:_.defaulSetting;return v.createElement(B,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},L?.style),(S=m?.item)===null||S===void 0?void 0:S.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},L?.textStyle),(E=m?.item)===null||E===void 0?void 0:E.textStyle),bindDatas:(x=(A=m?.item)===null||A===void 0?void 0:A.bindDatas)!==null&&x!==void 0?x:[]},L?.props,(C=m?.item)===null||C===void 0?void 0:C.props,{event:((P=m?.item)===null||P===void 0?void 0:P.event)||{},schema:t,id:m?.id,isExternalLink:G,isPopup:H,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Bt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Ei={};Object.values(Si).forEach(t=>{Ei[t.extend.type]=t});const xa=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:o,licenseUrl:a,enabledMetaConversionApi:s})=>{var r,c,d,p,b,h;const y=ee(()=>{var m;return location?.search?(m=location?.search)===null||m===void 0?void 0:m.replace("?",""):""},[]);return v.createElement($i,{resolver:Ei,enableDataSource:!1,schema:t?.data,utmVal:y},v.createElement(Fi,{utmVal:y,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(h=(b=t?.sxp_parameter)===null||b===void 0?void 0:b.hash_tag_size)!==null&&h!==void 0?h:n,loadingImage:l,appDomain:o,enabledMetaConversionApi:s,render:({rtcList:m,tagList:I})=>{var u;return v.createElement(v.Fragment,null,v.createElement(En,Object.assign({},(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf,{tagList:I,data:m,resolver:Ei,licenseUrl:a})),v.createElement(Ta,null))}}))};var Ea=ce(xa);const In=yt({}),Ia=({children:t,data:e})=>{var i,n,l,o,a,s;const[r,c]=$(!1);return v.createElement(In.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.personalized_recommend,placeholderImage:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:r,setOpenHashtag:c}},t)};function Ca(){return bt(In)}export{Sa as DiyPortalPreview,Ia as EditorDataProvider,Bt as Modal,Fi as SxpDataSourceProvider,Ea as SxpPageCore,En as SxpPageRender,qn as core,Vn as default,Oe as defaultSetting,Si as materials,Ca as useEditorDataProvider};
|
7
7
|
//# sourceMappingURL=index.min.js.map
|