pb-sxp-ui 1.0.71 → 1.0.73
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 +138 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +138 -107
- 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 +141 -110
- 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 +15 -16
- package/es/core/components/DiyPortalPreview/index.js +8 -8
- package/es/core/components/SxpPageCore/index.js +2 -2
- package/es/core/components/SxpPageRender/FormatImage.js +9 -3
- package/es/core/components/SxpPageRender/LikeButton/index.js +11 -11
- package/es/core/components/SxpPageRender/Popup/index.js +2 -2
- package/es/core/components/SxpPageRender/VideoWidget/index.js +13 -13
- package/es/core/components/SxpPageRender/index.js +32 -26
- package/es/core/context/SxpDataSourceProvider.d.ts +1 -0
- package/es/core/context/SxpDataSourceProvider.js +3 -3
- package/es/materials/sxp/popup/AppointForm/index.js +3 -1
- package/es/materials/sxp/popup/AppointForm/settingRender.js +0 -5
- package/es/materials/sxp/popup/CommodityDetail/index.js +1 -1
- package/es/materials/sxp/popup/CommodityDetail/settingRender.js +1 -1
- package/es/materials/sxp/popup/CommodityDetailDiro/index.js +2 -3
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +1 -1
- package/es/materials/sxp/template/Commodity/index.js +1 -1
- package/es/materials/sxp/template/CommodityDiro/index.js +1 -1
- package/es/materials/sxp/template/CommodityDiroNew/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodity/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
- package/es/materials/sxp/template/components/settingRender.js +1 -1
- package/lib/core/components/DiyPortalPreview/VideoWidget.js +15 -16
- package/lib/core/components/DiyPortalPreview/index.js +8 -8
- package/lib/core/components/SxpPageCore/index.js +2 -2
- package/lib/core/components/SxpPageRender/FormatImage.js +8 -2
- package/lib/core/components/SxpPageRender/LikeButton/index.js +11 -11
- package/lib/core/components/SxpPageRender/Popup/index.js +2 -2
- package/lib/core/components/SxpPageRender/VideoWidget/index.js +13 -13
- package/lib/core/components/SxpPageRender/index.js +32 -26
- package/lib/core/context/SxpDataSourceProvider.d.ts +1 -0
- package/lib/core/context/SxpDataSourceProvider.js +3 -3
- package/lib/materials/sxp/popup/AppointForm/index.js +3 -1
- package/lib/materials/sxp/popup/AppointForm/settingRender.js +0 -5
- package/lib/materials/sxp/popup/CommodityDetail/index.js +1 -1
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +1 -1
- package/lib/materials/sxp/popup/CommodityDetailDiro/index.js +2 -3
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +1 -1
- package/lib/materials/sxp/template/Commodity/index.js +1 -1
- package/lib/materials/sxp/template/CommodityDiro/index.js +1 -1
- package/lib/materials/sxp/template/CommodityDiroNew/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodity/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
- package/lib/materials/sxp/template/components/settingRender.js +1 -1
- package/package.json +3 -2
package/dist/index.min.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var me=require("lodash"),fn=require("uuid"),mn=require("pako"),a=require("react"),fi=require("qs"),hn=require("eventemitter3"),X=require("@emotion/css"),gn=require("react-dom"),mi=require("hls.js");function bn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var hi=bn(gn);function we(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 Ee(t,e,i,n){function l(o){return o instanceof i?o:new i(function(r){r(o)})}return new(i||(i=Promise))(function(o,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?o(c.value):l(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const yn=/:\w+/g;var gi=(t,e)=>Ee(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:o,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:b}=e[l];let h=s;d&&Object.entries(d).forEach(([y,m])=>{h=h.replace(yn,C=>C===y?m:C)}),c&&(h+=c),n[o]=u;try{const y=yield fetch(h,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),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 bi="SXP_TOKEN_INFO",wn=(t,e)=>Ee(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),o=t.getApiUrl(),r=window.localStorage.getItem(bi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${o}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(bi,JSON.stringify(s))}}return s});function ht(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 Sn=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},Tn=()=>{const t=fn.v4();return t?.replaceAll?t.replaceAll("-",""):Sn(32)};function yi(t){const i=atob(t).split("").map(function(o){return o.charCodeAt(0)}),n=new Uint8Array(i),l=mn.inflate(n,{to:"string"});return JSON.parse(l)}let Pt=null;const xn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class En{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Pt)return Pt;Pt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?xn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Se=null;const Cn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Se||(Se=new En),n&&Se.setApiUrl(n),Se.setAppId(t),Se.setTenantId(e),Se.setEnv(i)},getDetail:t=>{if(!Se)return;const e=Se.getTenantId(),i=Se.getAppId(),n=Se.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Ee(void 0,void 0,void 0,function*(){var o,r;const s=yield l.json(),d=yi((o=s?.data)===null||o===void 0?void 0:o.data);if(d){const{$store:u}=yield gi(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>Ee(void 0,void 0,void 0,function*(){if(!Se)return;const e=Se.getTenantId(),i=Se.getAppId(),n=Se.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Ee(void 0,void 0,void 0,function*(){var o;const r=yield l.json();if(!r.success)return;const s=yi((o=r?.data)===null||o===void 0?void 0:o.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Ee(void 0,void 0,void 0,function*(){if(!Se)return;const e=yield wn(Se,t),i=ht(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");me.isEmpty(n)&&(n=ht(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 Ge(){return a.useContext(Di)}function In(){return a.useContext(_i)}const Ot="feRealSessionIdKey",wi=()=>{const t=Tn();return`${Date.now()}${t}`},kn=()=>{let t=Dn();return t||(t=wi(),window.sessionStorage.setItem(Ot,t)),t},_n=()=>{const t=wi();window.sessionStorage.setItem(Ot,t)},Dn=()=>window.sessionStorage.getItem(Ot),Si="SXP_FAKE_USER_ID",Ti="FAKE_USER_STATE",xi=()=>{let t=window.localStorage.getItem(Si);return me.isEmpty(t)&&(t=ht(36,62),window.localStorage.setItem(Si,t)),t},An=()=>{const t=window.localStorage.getItem(Ti);return me.isEmpty(t)&&window.localStorage.setItem(Ti,"true"),me.isEmpty(t)};function Ae(t,e){const{appDomain:i}=de();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const $e=new hn;var je;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(je||(je={}));const Ei=a.createContext({rtcList:[],tagList:[]});var Mt;(function(t){t[t.BFF=5]="BFF"})(Mt||(Mt={}));const Ci=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Pn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:o,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:b=!1})=>{const[h,y]=a.useState([]),[m,C]=a.useState([]),[p,w]=a.useState(!1),[g,T]=a.useState({rtc:"",requestId:""}),_=a.useRef(null),f=a.useRef(!1),[O,k]=a.useState(),[S,E]=a.useState(),[A,x]=a.useState(v),[I,P]=a.useState([]),[N,B]=a.useState(0),[G,H]=a.useState(!1),[L,z]=a.useState(null),M=a.useRef();a.useEffect(()=>{const V=F=>{M.current=F};return $e.on(je.CHANGE_THEME_TAG,V),()=>{$e.off(je.CHANGE_THEME_TAG,V)}},[]),a.useEffect(()=>{x(v)},[v]);const D=a.useMemo(()=>e?.find(V=>V.type===Mt.BFF),[e]),R=a.useCallback((V,F)=>{if(!D)return;const J=D.url,he=xi();if(F?.query){const ve=fi.stringify(F.query);V=`${V}?${ve}`}return F.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${J}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},D.headers),{"x-user-id":he}),F.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${J}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":he},D.headers),method:F.method,body:JSON.stringify(F.body)}).then(ve=>ve.json()).catch(ve=>Promise.reject(ve))},[D]),U=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){var F,J,he,ve,ye;if(V={maxSize:(F=V?.maxSize)!==null&&F!==void 0?F:l,defaultSize:(J=V?.defaultSize)!==null&&J!==void 0?J:o,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const ge=(ye=(ve=(he=i?.split("&"))===null||he===void 0?void 0:he.filter(Fe=>{const Ye=Fe.split("=")[0];return Ci.includes(Ye)}))===null||ve===void 0?void 0:ve.join("&"))!==null&&ye!==void 0?ye:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(ge)})}const ue=yield R?.("/recommend/list",{method:"GET",query:V});if(ue?.success)return V?.hashTag||T({rtc:ue.data.rtc,requestId:ue.data.requestId}),ue?.data}),[R,i,l,o]),$=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){var V,F;if(h.length<=0)return;const J=yield U({hashTag:S?.hashTag,"itemFilter.itemId":S?.itemId,"itemFilter.itemType":S?.itemType,themeTag:M.current});y(h.concat((V=J?.recList)!==null&&V!==void 0?V:[])),P(I.concat((F=J?.recList)!==null&&F!==void 0?F:[]))}),[U,h,S,I]),Q=a.useCallback(({userInfo:V,eventInfo:F})=>{if(!n)return;V||(V={});const J=kn(),he=Object.assign({sessionID:J,rtc:g.rtc,requestId:g.requestId},F),ve=Object.entries(V).map(([ue,ge])=>({name:ue,value:ge})),ye=Object.entries(he).map(([ue,ge])=>ge&&{name:ue,value:ge}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",he),console.log("========= \u7ED3\u675F ========="),R?.("/event/report",{method:"POST",body:{userInfo:ve,eventInfo:ye},type:"beacon"})},[R,g,n]),Z=a.useCallback(V=>{var F,{eventName:J,actionSource:he="website",eventSourceUrl:ve=(F=window?.location)===null||F===void 0?void 0:F.href,externalId:ye}=V;if(!n||!b)return;const ue=xi();return R?.("/fb/events",{method:"POST",body:{eventName:J,actionSource:he,eventSourceUrl:ve,userData:{externalId:ue}},type:"beacon"})},[R,n,b]),ee=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const F=yield R?.("/recommend/like",{method:"POST",body:V});return F?.success}),[R]),Y=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const F=yield R?.("/recommend/unlike",{method:"POST",body:V});return F?.success}),[R]),se=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const F=yield R?.("/customform",{method:"POST",body:V});return F?.success}),[R]),ie=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){var V,F,J,he,ve;if(i)try{const ye=(J=(F=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(ge=>{const Fe=ge.split("=")[0];return Ci.includes(Fe)}))===null||F===void 0?void 0:F.join("&"))!==null&&J!==void 0?J:"",ue=yield R?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ye)}});C((ve=(he=ue?.data)===null||he===void 0?void 0:he.tags)!==null&&ve!==void 0?ve:[])}catch(ye){console.log("e",ye)}}),[R,i]),oe=a.useCallback((V,F,J,he)=>{var ve,ye,ue,ge,Fe,Ye,Le,ct,it,nt,ut,ot;const Ie=J?.bindCta,lt=((ve=F?.video)===null||ve===void 0?void 0:ve.bindProduct)||((ye=F?.video)===null||ye===void 0?void 0:ye.bindProducts)&&((ge=(ue=F?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||ge===void 0?void 0:ge.length)>0;let st="";G?st="hashTagPage":!((Fe=F?.video)===null||Fe===void 0)&&Fe.url?st="videoPage":!((Le=(Ye=F?.video)===null||Ye===void 0?void 0:Ye.imgUrls)===null||Le===void 0)&&Le.length&&(st="imagePage"),Q?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(ct=Ie?.itemId)!==null&&ct!==void 0?ct:"",ctaName:(it=Ie?.title)!==null&&it!==void 0?it:"",contentTags:JSON.stringify(Ie?.tags),position:he+"",contentId:(ut=(nt=F?.video)===null||nt===void 0?void 0:nt.itemId)!==null&&ut!==void 0?ut:"",productId:lt?J?.itemId:"",traceInfo:(ot=Ie?.traceInfo)!==null&&ot!==void 0?ot:"",fromKName:st})})},[Q,G]);a.useEffect(()=>{w(!0),ie(),U().then(V=>{var F,J;y((F=V?.recList)!==null&&F!==void 0?F:[]),P((J=V?.recList)!==null&&J!==void 0?J:[])}).finally(()=>{w(!1),f.current=!0})},[]),a.useEffect(()=>{f.current&&(w(!0),ie(),U().then(V=>{var F,J;y((F=V?.recList)!==null&&F!==void 0?F:[]),P((J=V?.recList)!==null&&J!==void 0?J:[])}).finally(()=>{w(!1)}))},[U,ie]);const ce=Ae("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(Ei.Provider,{value:{rtcList:h,setRtcList:y,mutateLike:ee,mutateUnlike:Y,submitForm:se,popupDetailData:O,loadVideos:$,setPopupDetailData:k,getRecommendVideos:U,bffEventReport:Q,utmVal:i,isPreview:r,loading:p,sxpParameter:s,waterFallData:S,setWaterFallData:E,ctaEvent:oe,swiperRef:_,openHashtag:A,setOpenHashtag:x,cacheRtcList:I,setCacheRtcList:P,cacheActiveIndex:N,setCacheActiveIndex:B,isFromHashtag:G,setIsFromHashtag:H,appDomain:d,hashTagSize:u,loadingImage:c??ce,isOpenHashTag:v,tagList:m,setLoading:w,videoRef:L,setVideoRef:z,bffFbReport:Z}},t({rtcList:h,mutateLike:ee,mutateUnlike:Y,submitForm:se,tagList:m}))};var Ii=a.memo(Pn);function de(){return a.useContext(Ei)}var ki;(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"})(ki||(ki={}));const _i=a.createContext({$store:{},options:[],configs:[]}),On=({children:t,isSsr:e,enable:i})=>{const[n,l]=a.useState([]),{schema:o}=Ge(),[r,s]=a.useState(o.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var b;e||me.isEqual(d,o?.dataSource)||u((b=o?.dataSource)!==null&&b!==void 0?b:[])},[o?.dataSource,e]);const c=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){const{$store:b,idMapName:h}=yield gi("",d);s(b),v(b,h)}),[d]),v=(b,h)=>{const y=[];Object.entries(b).forEach(([m,C])=>{Object.keys(C).forEach(p=>{const w={label:`${h[m]} - ${p}`,value:`{{ ${m}.${p} }}`};y.push(w)})}),l(y)};return a.useEffect(()=>{e||c()},[c,e,o]),i?a.createElement(_i.Provider,{value:{$store:o.__STORE__||r,options:n,configs:d}},t):t};var Mn=a.memo(On);const gt={id:ht(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},Lt={id:"",duration:0,name:"none"},Di=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[gt],redoStack:[],popup:Lt,setPopup:()=>{}}),Ai=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:o},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[gt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,b]=a.useState([gt]),[h,y]=a.useState([[gt]]),[m,C]=a.useState([]),[p,w]=a.useState(Lt);typeof window<"u"&&(window.sxpPopup=(O,k)=>{w(Object.assign(Object.assign(Object.assign({},Lt),{id:O}),k))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(o?"&"+o:""):O+(o?"?"+o:"")),a.useEffect(()=>{y([u.pointData]),C([])},[u.type]);const g=a.useCallback(O=>{const k=me.cloneDeep(u);k&&(k.dataSource=O,c?.(k))},[u]),[T,_]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(O){O&&(y([O.pointData]),c(O))},exportSchema(){return me.cloneDeep(u)},getPageInfoData(){return T},initPageInfoData(O){O&&_(O)}}));const f=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(Di.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:g,prePiontData:v,setPrePiontData:b,pageInfoData:T,setPageInfoData:O=>_(Object.assign(Object.assign({},T),O)),undoStack:h,redoStack:m,setRedoStack:C,setUndoStack:y,getCurPageConf:f,popup:p,setPopup:w}},a.createElement(Mn,{isSsr:i,enable:l},t))});var Ln=Object.freeze({__proto__:null,EditorCore:Ai}),jn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ne=[{label:"defalut",value:"appFont"}],jt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Nn=jt&&jt!==""?JSON.parse(jt):[];var ke={fontOptions:[...ne,...Nn]},Nt,Bt,Rt,Bn=[{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:ne,initialValue:(Nt=ne?.[0])===null||Nt===void 0?void 0:Nt.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:ke?.fontOptions,initialValue:(Rt=(Bt=ke?.fontOptions)===null||Bt===void 0?void 0:Bt[0])===null||Rt===void 0?void 0:Rt.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 Ne(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=de(),l=a.useCallback((r,s,d,u)=>{var c,v,b,h,y,m,C,p,w,g,T,_,f,O;let k="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((b=r?.video)===null||b===void 0)&&b.bindProduct)?k="pdpPage":n?k="hashTagPage":!((h=r?.video)===null||h===void 0)&&h.url?k="videoPage":!((y=r?.video)===null||y===void 0)&&y.imgUrls&&(!((C=(m=r?.video)===null||m===void 0?void 0:m.imgUrls)===null||C===void 0)&&C.length)?k="imagePage":r?.product&&(k="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",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:k,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(_=(T=r?.video)===null||T===void 0?void 0:T.itemId)!==null&&_!==void 0?_:"",ctatId:(f=d?.itemId)!==null&&f!==void 0?f:"",traceInfo:(O=s?.traceInfo)!==null&&O!==void 0?O:""}})},[t,e,n]),o=a.useCallback((r,s,d,u,c)=>{var v,b,h,y;let m="";e&&(!((b=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||b===void 0)&&b.length||!((h=r?.video)===null||h===void 0)&&h.bindProduct)?m="pdpPage":r?.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:c+"",contentId:(y=r?.video)===null||y===void 0?void 0:y.itemId,ctatId:d?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:l,productView:o}}const Rn=t=>{var{columns:e,style:i,title:n,textStyle:l,submitBgColor:o,submitColor:r,submitText:s,layoutType:d,isExternalLink:u,isPopup:c,onClick:v,onClose:b,submitButtonStyle:h}=t,y=we(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:m,popupDetailData:C}=de(),{jumpToWeb:p}=Ne(),w=a.useRef(),[g,T]=a.useState(!1),_=a.useMemo(()=>[{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"}],[]);a.useMemo(()=>{if(d===void 0){const O=me.cloneDeep(e)||_;return O?.map(k=>Object.assign(Object.assign({},k),{title:void 0,fieldProps:{placeholder:k?.title}}))}else return me.cloneDeep(e)||_},[d,e,_]);const f=me.debounce(()=>Ee(void 0,void 0,void 0,function*(){var O,k,S,E,A,x;const I=yield(O=w?.current)===null||O===void 0?void 0:O.getFieldsValue();if(!I)return;const P=(S=(k=Object.keys(I))===null||k===void 0?void 0:k.map(B=>{var G;return{name:B,value:(G=I[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 N=yield m?.({attributes:P});if(T(!1),N){if(u){const B=C,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=C?.index;p(B,G,H,L)}c||b?.(),v?.()}}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${X.css(Object.assign({},l))}`},n),a.createElement("div",Object.assign({className:X.css(Object.assign({},i))},y),a.createElement("div",{className:"pb-appoint-form-container"})),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:f,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:o},h)},g?a.createElement(a.Fragment,null,"loading..."):s)))};var zn=a.memo(Rn);function _e(t,e){return t.extend=e,t}const Vn=_e(zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Bn,bindableProps:[],interactionRender:jn},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 zt,Vt,Fn=[{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:ne,name:["fontFamily"],initialValue:(zt=ne?.[0])===null||zt===void 0?void 0:zt.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:ne,initialValue:(Vt=ne?.[0])===null||Vt===void 0?void 0:Vt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Pi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ft(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Pi(e[i])&&Pi(t[i])&&Object.keys(e[i]).length>0&&Ft(t[i],e[i])})}const Oi={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 Be(){const t=typeof document<"u"?document:{};return Ft(t,Oi),t}const Hn={document:Oi,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 Ce(){const t=typeof window<"u"?window:{};return Ft(t,Hn),t}function Xe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Un(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function at(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Pe(){return Date.now()}function Gn(t){const e=Ce();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function $n(t,e){e===void 0&&(e="x");const i=Ce();let n,l,o;const r=Gn(t);return i.WebKitCSSMatrix?(l=r.transform||r.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(s=>s.replace(",",".")).join(", ")),o=new i.WebKitCSSMatrix(l==="none"?"":l)):(o=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.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 bt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Wn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function De(){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&&!Wn(n)){const l=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,r=l.length;o<r;o+=1){const s=l[o],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(bt(t[s])&&bt(n[s])?n[s].__swiper__?t[s]=n[s]:De(t[s],n[s]):!bt(t[s])&&bt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:De(t[s],n[s])):t[s]=n[s])}}}return t}function yt(t,e,i){t.style.setProperty(e,i)}function Mi(t){let{swiper:e,targetPosition:i,side:n}=t;const l=Ce(),o=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const u=i>o?"next":"prev",c=(b,h)=>u==="next"&&b>=h||u==="prev"&&b<=h,v=()=>{s=new Date().getTime(),r===null&&(r=s);const b=Math.max(Math.min((s-r)/d,1),0),h=.5-Math.cos(b*Math.PI)/2;let y=o+h*(i-o);if(c(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),c(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(v)};v()}function Re(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function wt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Xe(e)),i}function Yn(t){const e=Ce(),i=Be(),n=t.getBoundingClientRect(),l=i.body,o=t.clientTop||l.clientTop||0,r=t.clientLeft||l.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-o,left:n.left+d-r}}function qn(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 Xn(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 Je(t,e){return Ce().getComputedStyle(t,null).getPropertyValue(e)}function St(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Li(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 Ht(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Ut(t,e,i){const n=Ce();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 ze(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Jn(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ce();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 r,s=Pe(),d;const u=[];function c(g){let O=0,k=0,S=0,E=0;return"detail"in g&&(k=g.detail),"wheelDelta"in g&&(k=-g.wheelDelta/120),"wheelDeltaY"in g&&(k=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(O=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(O=k,k=0),S=O*10,E=k*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&&!k&&(k=E<1?-1:1),{spinX:O,spinY:k,pixelX:S,pixelY:E}}function v(){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&&Pe()-s<e.params.mousewheel.thresholdTime?!1:g.delta>=6&&Pe()-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,_=!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 k=O&&O.contains(T.target);if(!e.mouseEntered&&!k&&!f.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let S=0;const E=e.rtlTranslate?-1:1,A=c(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()),_=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),_&&e.params.nested&&T.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Pe(),delta:Math.abs(S),direction:Math.sign(S),raw:g};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&h(I):h(I),y(I))return!0}else{const I={time:Pe(),delta:Math.abs(S),direction:Math.sign(S)},P=d&&I.time<d.time+500&&I.delta<=d.delta&&I.direction===d.direction;if(!P){d=void 0;let N=e.getTranslate()+S*f.sensitivity;const B=e.isBeginning,G=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(),(!B&&e.isBeginning||!G&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const H=u.length?u[u.length-1]:void 0,L=u[0];if(u.push(I),H&&(I.delta>H.delta||I.direction!==H.direction))u.splice(0);else if(u.length>=15&&I.time-L.time<500&&L.delta-I.delta>=1&&I.delta<=6){const z=S>0?.8:.2;d=I,u.splice(0),r=at(()=>{e.slideToClosest(e.params.speed,!0,void 0,z)},0)}r||(r=at(()=>{d=I,u.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&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function C(g){let T=e.el;e.params.mousewheel.eventsTarget!=="container"&&(T=document.querySelector(e.params.mousewheel.eventsTarget)),T[g]("mouseenter",v),T[g]("mouseleave",b),T[g]("wheel",m)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:p,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=Re(t.el,`.${n[l]}`)[0];o||(o=pt("div",n[l]),o.className=n[l],t.el.append(o)),i[l]=o,e[l]=o}}),i}function rt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Tt(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:p=>p,formatFractionTotal:p=>p,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 r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,w){const{bulletActiveClass:g}=e.params.pagination;p&&(p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${g}-${w}`),p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${g}-${w}-${w}`)))}function c(p){const w=p.target.closest(rt(e.params.pagination.bulletClass));if(!w)return;p.preventDefault();const g=St(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===g)return;e.slideToLoop(g)}else e.slideTo(g)}function v(){const p=e.rtl,w=e.params.pagination;if(d())return;let g=e.pagination.el;g=ze(g);let T,_;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?(_=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,_=e.previousSnapIndex):(_=e.previousIndex||0,T=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let S,E,A;if(w.dynamicBullets&&(r=Ut(k[0],e.isHorizontal()?"width":"height",!0),g.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&_!==void 0&&(s+=T-(_||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(T-s,0),E=S+(Math.min(k.length,w.dynamicMainBullets)-1),A=(E+S)/2),k.forEach(x=>{const I=[...["","-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(...I)}),g.length>1)k.forEach(x=>{const I=St(x);I===T?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(I>=S&&I<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),I===S&&u(x,"prev"),I===E&&u(x,"next"))});else{const x=k[T];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&k.forEach((I,P)=>{I.setAttribute("part",P===T?"bullet-active":"bullet")}),w.dynamicBullets){const I=k[S],P=k[E];for(let N=S;N<=E;N+=1)k[N]&&k[N].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(I,"prev"),u(P,"next")}}if(w.dynamicBullets){const x=Math.min(k.length,w.dynamicMainBullets+4),I=(r*x-r)/2-A*r,P=p?"right":"left";k.forEach(N=>{N.style[e.isHorizontal()?P:"top"]=`${I}px`})}}g.forEach((k,S)=>{if(w.type==="fraction"&&(k.querySelectorAll(rt(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(T+1)}),k.querySelectorAll(rt(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,I=1;E==="horizontal"?x=A:I=A,k.querySelectorAll(rt(w.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(k.innerHTML=w.renderCustom(e,T+1,O),S===0&&l("paginationRender",k)):(S===0&&l("paginationRender",k),l("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](w.lockClass)})}function b(){const p=e.params.pagination;if(d())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=ze(g);let T="";if(p.type==="bullets"){let _=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&_>w&&(_=w);for(let f=0;f<_;f+=1)p.renderBullet?T+=p.renderBullet.call(e,f,p.bulletClass):T+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?T=p.renderFraction.call(e,p.currentClass,p.totalClass):T=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?T=p.renderProgressbar.call(e,p.progressbarFillClass):T=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],g.forEach(_=>{p.type!=="custom"&&(_.innerHTML=T||""),p.type==="bullets"&&e.pagination.bullets.push(..._.querySelectorAll(rt(p.bulletClass)))}),p.type!=="custom"&&l("paginationRender",g[0])}function h(){e.params.pagination=ji(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let w;typeof p.el=="string"&&e.isElement&&(w=e.el.querySelector(p.el)),!w&&typeof p.el=="string"&&(w=[...document.querySelectorAll(p.el)]),w||(w=p.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(p.el)],w.length>1&&(w=w.filter(g=>Li(g,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=ze(w),w.forEach(g=>{p.type==="bullets"&&p.clickable&&g.classList.add(...(p.clickableClass||"").split(" ")),g.classList.add(p.modifierClass+p.type),g.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(g.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&g.classList.add(p.progressbarOppositeClass),p.clickable&&g.addEventListener("click",c),e.enabled||g.classList.add(p.lockClass)}))}function y(){const p=e.params.pagination;if(d())return;let w=e.pagination.el;w&&(w=ze(w),w.forEach(g=>{g.classList.remove(p.hiddenClass),g.classList.remove(p.modifierClass+p.type),g.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(g.classList.remove(...(p.clickableClass||"").split(" ")),g.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(g=>g.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:w}=e.pagination;w=ze(w),w.forEach(g=>{g.classList.remove(p.horizontalClass,p.verticalClass),g.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(h(),b(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{b(),v()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=ze(p),p.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,w)=>{const g=w.target,T=ze(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 _=T[0].classList.contains(e.params.pagination.hiddenClass);l(_===!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:p}=e.pagination;p&&(p=ze(p),p.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),h(),b(),v()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=ze(p),p.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:m,disable:C,render:b,update:v,init:h,destroy:y})}function Kn(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Be();let r=!1,s=null,d=null,u,c,v,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:I}=e,{dragEl:P,el:N}=x,B=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress;let H=c,L=(v-c)*G;I?(L=-L,L>0?(H=c-L,L=0):-L+c>v&&(H=v+L)):L<0?(H=c+L,L=0):L+c>v&&(H=v-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),N.style.opacity=1,s=setTimeout(()=>{N.style.opacity=0,N.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:I,el:P}=x;I.style.width="",I.style.height="",v=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"?c=v*b:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${c}px`:I.style.height=`${c}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 C(x){return e.isHorizontal()?x.clientX:x.clientY}function p(x){const{scrollbar:I,rtlTranslate:P}=e,{el:N}=I;let B;B=(C(x)-Yn(N)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),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 I=e.params.scrollbar,{scrollbar:P,wrapperEl:N}=e,{el:B,dragEl:G}=P;r=!0,u=x.target===G?C(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),N.style.transitionDuration="100ms",G.style.transitionDuration="100ms",p(x),clearTimeout(d),B.style.transitionDuration="0ms",I.hide&&(B.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",x)}function g(x){const{scrollbar:I,wrapperEl:P}=e,{el:N,dragEl:B}=I;r&&(x.preventDefault?x.preventDefault():x.returnValue=!1,p(x),P.style.transitionDuration="0ms",N.style.transitionDuration="0ms",B.style.transitionDuration="0ms",l("scrollbarDragMove",x))}function T(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:N}=e,{el:B}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),I.hide&&(clearTimeout(d),d=at(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",x),I.snapOnRelease&&e.slideToClosest())}function _(x){const{scrollbar:I,params:P}=e,N=I.el;if(!N)return;const B=N,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||_("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function k(){const{scrollbar:x,el:I}=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 N;if(typeof P.el=="string"&&e.isElement&&(N=e.el.querySelector(P.el)),!N&&typeof P.el=="string"){if(N=o.querySelectorAll(P.el),!N.length)return}else N||(N=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&N.length>1&&I.querySelectorAll(P.el).length===1&&(N=I.querySelector(P.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let B;N&&(B=N.querySelector(rt(e.params.scrollbar.dragClass)),B||(B=pt("div",e.params.scrollbar.dragClass),N.append(B))),Object.assign(x,{el:N,dragEl:B}),P.draggable&&f(),N&&N.classList[e.enabled?"remove":"add"](...Xe(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...Xe(e.isHorizontal()?x.horizontalClass:x.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:I}=e.scrollbar;I=ze(I),I.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():(k(),m(),h())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{h()}),n("setTransition",(x,I)=>{y(I)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Xe(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const E=()=>{e.el.classList.remove(...Xe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Xe(e.params.scrollbar.scrollbarDisabledClass)),k(),m(),h()},A=()=>{e.el.classList.add(...Xe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Xe(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:m,setTranslate:h,init:k,destroy:S})}function xt(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 r,s,d=o&&o.autoplay?o.autoplay.delay:3e3,u=o&&o.autoplay?o.autoplay.delay:3e3,c,v=new Date().getTime(),b,h,y,m,C,p,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&&(u=c,b=!1);const H=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=H,l("autoplayTimeLeft",H,H/d),s=requestAnimationFrame(()=>{T()})},_=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(z=>z.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;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const z=_();!Number.isNaN(z)&&z>0&&typeof H>"u"&&(L=z,d=z,u=z),c=L;const M=e.params.speed,D=()=>{!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&&(v=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return L>0?(clearTimeout(r),r=setTimeout(()=>{D()},L)):requestAnimationFrame(()=>{D()}),L},O=()=>{v=new Date().getTime(),e.autoplay.running=!0,f(),l("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),l("autoplayStop")},S=(H,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),H||(p=!0);const z=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):E()};if(e.autoplay.paused=!0,L){C&&(c=e.params.autoplay.delay),C=!1,z();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),z())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,f(c)):f(),e.autoplay.paused=!1,l("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const H=Be();H.visibilityState==="hidden"&&(p=!0,S(!0)),H.visibilityState==="visible"&&E()},x=H=>{H.pointerType==="mouse"&&(p=!0,w=!0,!(e.animating||e.autoplay.paused)&&S(!0))},I=H=>{H.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",I))},N=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",I)},B=()=>{Be().addEventListener("visibilitychange",A)},G=()=>{Be().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),B(),O())}),n("destroy",()=>{N(),G(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(y||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():S(!0,!0)}),n("beforeTransitionStart",(H,L,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?S(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}h=!0,y=!1,p=!1,m=setTimeout(()=>{p=!0,y=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(m),clearTimeout(r),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||(C=!0)}),Object.assign(e.autoplay,{start:O,stop:k,pause:S,resume:E})}function Qn(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 d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Pe()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:b,snapGrid:h,touchEventsData:y}=e,C=Pe()-y.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<h.length?e.slideTo(h.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(y.velocities.length>1){const k=y.velocities.pop(),S=y.velocities.pop(),E=k.position-S.position,A=k.time-S.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Pe()-k.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,y.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const w=e.velocity*p;let g=e.translate+w;b&&(g=-g);let T=!1,_;const f=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let O;if(g<e.maxTranslate())c.freeMode.momentumBounce?(g+e.maxTranslate()<-f&&(g=e.maxTranslate()-f),_=e.maxTranslate(),T=!0,y.allowMomentumBounce=!0):g=e.maxTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(g>e.minTranslate())c.freeMode.momentumBounce?(g-e.minTranslate()>f&&(g=e.minTranslate()+f),_=e.minTranslate(),T=!0,y.allowMomentumBounce=!0):g=e.minTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(c.freeMode.sticky){let k;for(let S=0;S<h.length;S+=1)if(h[S]>-g){k=S;break}Math.abs(h[k]-g)<Math.abs(h[k-1]-g)||e.swipeDirection==="next"?g=h[k]:g=h[k-1],g=-g}if(O&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(b?p=Math.abs((-g-e.translate)/e.velocity):p=Math.abs((g-e.translate)/e.velocity),c.freeMode.sticky){const k=Math.abs((b?-g:g)-e.translate),S=e.slidesSizesGrid[e.activeIndex];k<S?p=c.speed:k<2*S?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&T?(e.updateProgress(_),e.setTransition(p),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ht(v,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(_),Ht(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(p),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ht(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:r,onTouchEnd:s}})}let Gt;function Zn(){const t=Ce(),e=Be();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ni(){return Gt||(Gt=Zn()),Gt}let $t;function eo(t){let{userAgent:e}=t===void 0?{}:t;const i=Ni(),n=Ce(),l=n.navigator.platform,o=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad).*OS\s([\d_]+)/);const v=o.match(/(iPod)(.*OS\s([\d_]+))?/),b=!c&&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!c&&y&&i.touch&&m.indexOf(`${s}x${d}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),u&&!h&&(r.os="android",r.android=!0),(c||b||v)&&(r.os="ios",r.ios=!0),r}function Bi(t){return t===void 0&&(t={}),$t||($t=eo(t)),$t}let Wt;function to(){const t=Ce(),e=Bi();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[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),o=n(),r=o||l&&e.ios;return{isSafari:i||o,needPerspectiveFix:i,need3dFix:r,isWebView:l}}function io(){return Wt||(Wt=to()),Wt}function no(t){let{swiper:e,on:i,emit:n}=t;const l=Ce();let o=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(v=>{r=l.requestAnimationFrame(()=>{const{width:b,height:h}=e;let y=b,m=h;v.forEach(C=>{let{contentBoxSize:p,contentRect:w,target:g}=C;g&&g!==e.el||(y=w?w.width:(p[0]||p).inlineSize,m=w?w.height:(p[0]||p).blockSize)}),(y!==b||m!==h)&&s()})}),o.observe(e.el))},u=()=>{r&&l.cancelAnimationFrame(r),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){d();return}l.addEventListener("resize",s),l.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),l.removeEventListener("resize",s),l.removeEventListener("orientationchange",c)})}function oo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=[],r=Ce(),s=function(c,v){v===void 0&&(v={});const b=r.MutationObserver||r.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])};r.requestAnimationFrame?r.requestAnimationFrame(m):r.setTimeout(m,0)});h.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),o.push(h)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Li(e.hostEl);for(let v=0;v<c.length;v+=1)s(c[v])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{o.forEach(c=>{c.disconnect()}),o.splice(0,o.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",u)}var lo={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,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];e.apply(n,r)}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),r=0;r<l;r++)o[r]=arguments[r];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(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.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(Je(n,"padding-left")||0,10)-parseInt(Je(n,"padding-right")||0,10),i=i-parseInt(Je(n,"padding-top")||0,10)-parseInt(Je(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 ao(){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:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Re(l,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let b=[];const h=[],y=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,w=t.slidesGrid.length;let g=i.spaceBetween,T=-m,_=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,c.forEach(E=>{r?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(yt(n,"--swiper-centered-offset-before",""),yt(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let k;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<v;E+=1){k=0;let A;if(c[E]&&(A=c[E]),O&&t.grid.updateSlide(E,A,c),!(c[E]&&Je(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(A),I=A.style.transform,P=A.style.webkitTransform;if(I&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)k=t.isHorizontal()?Ut(A,"width",!0):Ut(A,"height",!0);else{const N=e(x,"width"),B=e(x,"padding-left"),G=e(x,"padding-right"),H=e(x,"margin-left"),L=e(x,"margin-right"),z=x.getPropertyValue("box-sizing");if(z&&z==="border-box")k=N+H+L;else{const{clientWidth:M,offsetWidth:D}=A;k=N+B+G+H+L+(D-M)}}I&&(A.style.transform=I),P&&(A.style.webkitTransform=P),i.roundLengths&&(k=Math.floor(k))}else k=(o-(i.slidesPerView-1)*g)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${k}px`);c[E]&&(c[E].swiperSlideSize=k),y.push(k),i.centeredSlides?(T=T+k/2+_/2+g,_===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+k+g),t.virtualSize+=k+g,_=k,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+C,r&&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(k,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(d&&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 I=0;I<A;I+=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()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,x)=>!i.cssMode||i.loop?!0:x!==c.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+C: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,I)=>{b[I]=x-A}),h.forEach((x,I)=>{h[I]=x+A})}}if(Object.assign(t,{slides:c,snapGrid:b,slidesGrid:h,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){yt(n,"--swiper-centered-offset-before",`${-b[0]}px`),yt(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(v!==u&&t.emit("slidesLengthChange"),b.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function ro(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 r=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(r(s))}else i.push(r(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 co(){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 uo(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 r=-t;l&&(r=t),n.forEach(d=>{d.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 d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),b=(r-o[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),h=-(r-c),y=h+e.slidesSizesGrid[d],m=h>=0&&h<=e.size-e.slidesSizesGrid[d];(h>=0&&h<e.size-1||y>1&&y<=e.size||h<=0&&y>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),m&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=l?-v:v,u.originalProgress=l?-b:b}}function po(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:o,isEnd:r,progressLoop:s}=e;const d=o,u=r;if(n===0)l=0,o=!0,r=!0;else{l=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;o=c||l<=0,r=v||l>=1,c&&(l=0),v&&(l=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),b=e.slidesGrid[c],h=e.slidesGrid[v],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:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),o&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!o||u&&!r)&&e.emit("fromEdge"),e.emit("progress",l)}function vo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,o=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Re(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(o)if(i.loop){let v=l-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${l}"]`);else r?(d=e.filter(v=>v.column===l)[0],c=e.filter(v=>v.column===l+1)[0],u=e.filter(v=>v.column===l-1)[0]):d=e[l];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Xn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=qn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Et=(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()}},Yt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},qt=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 r=l,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Yt(t,u)});return}const o=l+n-1;if(t.params.rewind||t.params.loop)for(let r=l-e;r<=o+e;r+=1){const s=(r%i+i)%i;(s<l||s>o)&&Yt(t,s)}else for(let r=Math.max(l-e,0);r<=Math.min(o+e,i-1);r+=1)r!==l&&(r>o||r<l)&&Yt(t,r)};function fo(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 mo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:o,realIndex:r,snapIndex:s}=e;let d=t,u;const c=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 d>"u"&&(d=fo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const h=Math.min(l.slidesPerGroupSkip,d);u=h+Math.floor((d-h)/l.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===o&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(d===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const v=e.grid&&l.grid&&l.grid.rows>1;let b;if(e.virtual&&l.virtual.enabled&&l.loop)b=c(d);else if(v){const h=e.slides.filter(m=>m.column===d)[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[d]){const h=e.slides[d].getAttribute("data-swiper-slide-index");h?b=parseInt(h,10):b=d}else b=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:b,previousIndex:o,activeIndex:d}),e.initialized&&qt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==b&&e.emit("realIndexChange"),e.emit("slideChange"))}function ho(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,r;if(l){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===l){o=!0,r=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=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var go={updateSize:so,updateSlides:ao,updateAutoHeight:ro,updateSlidesOffset:co,updateSlidesProgress:uo,updateProgress:po,updateSlidesClasses:vo,updateActiveIndex:mo,updateClickedSlide:ho};function bo(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 r=$n(o,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function yo(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:o,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,l.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,l.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:l.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function wo(){return-this.snapGrid[0]}function So(){return-this.snapGrid[this.snapGrid.length-1]}function To(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:r,wrapperEl:s}=o;if(o.animating&&r.preventInteractionOnTransition)return!1;const d=o.minTranslate(),u=o.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,o.updateProgress(c),r.cssMode){const v=o.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!o.support.smoothScroll)return Mi({swiper:o,targetPosition:-c,side:v?"left":"top"}),!0;s.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(c),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(c),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 xo={getTranslate:bo,setTranslate:yo,minTranslate:wo,maxTranslate:So,translateTo:To};function Eo(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 Ri(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:o,previousIndex:r}=e;let s=n;if(s||(o>r?s="next":o<r?s="prev":s="reset"),e.emit(`transition${l}`),i&&o!==r){if(s==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),s==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function Co(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ri({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Io(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ri({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var ko={setTransition:Eo,transitionStart:Co,transitionEnd:Io};function _o(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 r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,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,r);let C=m+Math.floor((r-m)/o.params.slidesPerGroup);C>=d.length&&(C=d.length-1);const p=-d[C];if(s.normalizeSlideIndex)for(let g=0;g<u.length;g+=1){const T=-Math.floor(p*100),_=Math.floor(u[g]*100),f=Math.floor(u[g+1]*100);typeof u[g+1]<"u"?T>=_&&T<f-(f-_)/2?r=g:T>=_&&T<f&&(r=g+1):T>=_&&(r=g)}if(o.initialized&&r!==v&&(!o.allowSlideNext&&(b?p>o.translate&&p>o.minTranslate():p<o.translate&&p<o.minTranslate())||!o.allowSlidePrev&&p>o.translate&&p>o.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(p);let w;if(r>v?w="next":r<v?w="prev":w="reset",b&&-p===o.translate||!b&&p===o.translate)return o.updateActiveIndex(r),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),s.effect!=="slide"&&o.setTranslate(p),w!=="reset"&&(o.transitionStart(i,w),o.transitionEnd(i,w)),!1;if(s.cssMode){const g=o.isHorizontal(),T=b?p:-p;if(e===0){const _=o.virtual&&o.params.virtual.enabled;_&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),_&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[g?"scrollLeft":"scrollTop"]=T})):h[g?"scrollLeft":"scrollTop"]=T,_&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return Mi({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(p),o.updateActiveIndex(r),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 Do(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 r=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)r=r+l.virtual.slidesBefore;else{let s;if(o){const b=r*l.params.grid.rows;s=l.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===b)[0].column}else s=l.getSlideIndexByData(r);const d=o?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:u}=l.params;let c=l.params.slidesPerView;c==="auto"?c=l.slidesPerViewDynamic():(c=Math.ceil(parseFloat(l.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const b=u?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-d+1,slideRealIndex:b==="next"?l.realIndex:void 0})}if(o){const b=r*l.params.grid.rows;r=l.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===b)[0].column}else r=l.getSlideIndexByData(r)}return requestAnimationFrame(()=>{l.slideTo(r,e,i,n)}),l}function Ao(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:l,params:o,animating:r}=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 d=n.activeIndex<o.slidesPerGroupSkip?1:s,u=n.virtual&&o.virtual.enabled;if(o.loop){if(r&&!u&&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+d,t,e,i)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function Po(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:l,snapGrid:o,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&l.virtual.enabled;if(l.loop){if(u&&!c&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function b(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const h=b(v),y=o.map(p=>b(p));let m=o[y.indexOf(h)-1];if(typeof m>"u"&&l.cssMode){let p;o.forEach((w,g)=>{h>=w&&(p=g)}),typeof p<"u"&&(m=o[p>0?p-1:p])}let C=0;if(typeof m<"u"&&(C=r.indexOf(m),C<0&&(C=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(C=C-n.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),l.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(C,t,e,i)}),!0;return n.slideTo(C,t,e,i)}function Oo(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 Mo(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 r=Math.min(l.params.slidesPerGroupSkip,o),s=r+Math.floor((o-r)/l.params.slidesPerGroup),d=l.rtlTranslate?l.translate:-l.translate;if(d>=l.snapGrid[s]){const u=l.snapGrid[s],c=l.snapGrid[s+1];d-u>(c-u)*n&&(o+=l.params.slidesPerGroup)}else{const u=l.snapGrid[s-1],c=l.snapGrid[s];d-u<=(c-u)*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 Lo(){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 r=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(Re(i,`${r}[data-swiper-slide-index="${o}"]`)[0]),at(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Re(i,`${r}[data-swiper-slide-index="${o}"]`)[0]),at(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var jo={slideTo:_o,slideToLoop:Do,slideNext:Ao,slidePrev:Po,slideReset:Oo,slideToClosest:Mo,slideToClickedSlide:Lo};function No(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{Re(n,`.${i.slideClass}, swiper-slide`).forEach((v,b)=>{v.setAttribute("data-swiper-slide-index",b)})},o=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(o?i.grid.rows:1),s=e.slides.length%r!==0,d=o&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const b=e.isElement?pt("swiper-slide",[i.slideBlankClass]):pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(b)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else wt("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(d){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else wt("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 Bo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:o,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:b,params:h}=d,{centeredSlides:y}=h;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&h.virtual.enabled){i&&(!h.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):h.centeredSlides&&d.snapIndex<h.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=v,d.emit("loopFix");return}let m=h.slidesPerView;m==="auto"?m=d.slidesPerViewDynamic():(m=Math.ceil(parseFloat(h.slidesPerView,10)),y&&m%2===0&&(m=m+1));const C=h.slidesPerGroupAuto?m:h.slidesPerGroup;let p=C;p%C!==0&&(p+=C-p%C),p+=h.loopAdditionalSlides,d.loopedSlides=p;const w=d.grid&&h.grid&&h.grid.rows>1;u.length<m+p?wt("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"&&wt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const g=[],T=[];let _=d.activeIndex;typeof o>"u"?o=d.getSlideIndex(u.filter(I=>I.classList.contains(h.slideActiveClass))[0]):_=o;const f=n==="next"||!n,O=n==="prev"||!n;let k=0,S=0;const E=w?Math.ceil(u.length/h.grid.rows):u.length,x=(w?u[o].column:o)+(y&&typeof l>"u"?-m/2+.5:0);if(x<p){k=Math.max(p-x,C);for(let I=0;I<p-x;I+=1){const P=I-Math.floor(I/E)*E;if(w){const N=E-P-1;for(let B=u.length-1;B>=0;B-=1)u[B].column===N&&g.push(B)}else g.push(E-P-1)}}else if(x+m>E-p){S=Math.max(x-(E-p*2),C);for(let I=0;I<S;I+=1){const P=I-Math.floor(I/E)*E;w?u.forEach((N,B)=>{N.column===P&&T.push(B)}):T.push(P)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),O&&g.forEach(I=>{u[I].swiperLoopMoveDOM=!0,b.prepend(u[I]),u[I].swiperLoopMoveDOM=!1}),f&&T.forEach(I=>{u[I].swiperLoopMoveDOM=!0,b.append(u[I]),u[I].swiperLoopMoveDOM=!1}),d.recalcSlides(),h.slidesPerView==="auto"?d.updateSlides():w&&(g.length>0&&O||T.length>0&&f)&&d.slides.forEach((I,P)=>{d.grid.updateSlide(P,I,d.slides)}),h.watchSlidesProgress&&d.updateSlidesOffset(),i){if(g.length>0&&O){if(typeof e>"u"){const I=d.slidesGrid[_],N=d.slidesGrid[_+k]-I;s?d.setTranslate(d.translate-N):(d.slideTo(_+Math.ceil(k),0,!1,!0),l&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-N,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-N))}else if(l){const I=w?g.length/h.grid.rows:g.length;d.slideTo(d.activeIndex+I,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(T.length>0&&f)if(typeof e>"u"){const I=d.slidesGrid[_],N=d.slidesGrid[_-S]-I;s?d.setTranslate(d.translate-N):(d.slideTo(_-S,0,!1,!0),l&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-N,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-N))}else{const I=w?T.length/h.grid.rows:T.length;d.slideTo(d.activeIndex-I,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:o,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===h.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...I,slideTo:d.controller.control.params.slidesPerView===h.slidesPerView?i:!1})}d.emit("loopFix")}function Ro(){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:No,loopFix:Bo,loopDestroy:Ro};function Vo(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 Fo(){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 Ho={setGrabCursor:Vo,unsetGrabCursor:Fo};function Uo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Be()||n===Ce())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 zi(t,e,i){const n=Ce(),{params:l}=t,o=l.edgeSwipeDetection,r=l.edgeSwipeThreshold;return o&&(i<=r||i>=n.innerWidth-r)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function Go(t){const e=this,i=Be();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"){zi(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:r,enabled:s}=e;if(!s||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let d=n.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const u=!!o.noSwipingClass&&o.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,b=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(b?Uo(v,d):d.closest(v))){e.allowClick=!0;return}if(o.swipeHandler&&!d.closest(o.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const h=r.currentX,y=r.currentY;if(!zi(e,n,h))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=h,r.startY=y,l.touchStartTime=Pe(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1);let m=!0;d.matches(l.focusableElements)&&(m=!1,d.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const C=m&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||C)&&!d.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function $o(t){const e=Be(),i=this,n=i.touchEventsData,{params:l,touches:o,rtlTranslate:r,enabled:s}=i;if(!s||!l.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(f=>f.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=u.pageX,v=u.pageY;if(d.preventedByNestedSwiper){o.startX=c,o.startY=v;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Pe());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(v<o.startY&&i.translate<=i.maxTranslate()||v>o.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<o.startX&&i.translate<=i.maxTranslate()||c>o.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=v;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",d),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&&d.cancelable&&d.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&d.stopPropagation();let y=i.isHorizontal()?b:h,m=i.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;l.oneWayMovement&&(y=Math.abs(y)*(r?1:-1),m=Math.abs(m)*(r?1:-1)),o.diff=y,y*=l.touchRatio,r&&(y=-y,m=-m);const C=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const p=i.params.loop&&!l.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&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",d)}let g;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&p&&w&&Math.abs(y)>=1){Object.assign(o,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let T=!0,_=l.resistanceRatio;if(l.touchReleaseOnEdges&&(_=0),y>0?(p&&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)**_))):y<0&&(p&&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)**_))),T&&(d.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 Wo(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(_=>_.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:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Pe(),b=v-i.touchStartTime;if(e.allowClick){const _=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(_&&_[0]||n.target,_),e.emit("tap click",n),b<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Pe(),at(()=>{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(r.followFinger?h=d?e.translate:-e.translate:h=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:h});return}const y=h>=-e.maxTranslate()&&!e.params.loop;let m=0,C=e.slidesSizesGrid[0];for(let _=0;_<u.length;_+=_<r.slidesPerGroupSkip?1:r.slidesPerGroup){const f=_<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[_+f]<"u"?(y||h>=u[_]&&h<u[_+f])&&(m=_,C=u[_+f]-u[_]):(y||h>=u[_])&&(m=_,C=u[u.length-1]-u[u.length-2])}let p=null,w=null;r.rewind&&(e.isBeginning?w=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const g=(h-u[m])/C,T=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(b>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:m+T):e.slideTo(m)),e.swipeDirection==="prev"&&(g>1-r.longSwipesRatio?e.slideTo(m+T):w!==null&&g<0&&Math.abs(g)>r.longSwipesRatio?e.slideTo(w):e.slideTo(m))}else{if(!r.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(p!==null?p:m+T),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function Vi(){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,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&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&&!r?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 Yo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function qo(){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 Xo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Jo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Fi=(t,e)=>{const i=Be(),{params:n,el:l,wrapperEl:o,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),l[d]("touchstart",t.onTouchStart,{passive:!1}),l[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&l[d]("click",t.onClick,!0),n.cssMode&&o[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",Vi,!0):t[u]("observerUpdate",Vi,!0),l[d]("load",t.onLoad,{capture:!0})};function Ko(){const t=this,{params:e}=t;t.onTouchStart=Go.bind(t),t.onTouchMove=$o.bind(t),t.onTouchEnd=Wo.bind(t),t.onDocumentTouchStart=Jo.bind(t),e.cssMode&&(t.onScroll=qo.bind(t)),t.onClick=Yo.bind(t),t.onLoad=Xo.bind(t),Fi(t,"on")}function Qo(){Fi(this,"off")}var Zo={attachEvents:Ko,detachEvents:Qo};const Hi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function el(){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 r=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in o?o[r]:void 0)||t.originalParams,u=Hi(t,n),c=Hi(t,d),v=n.enabled;u&&!c?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(l.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&l.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof d[p]>"u")return;const w=n[p]&&n[p].enabled,g=d[p]&&d[p].enabled;w&&!g&&t[p].disable(),!w&&g&&t[p].enable()});const b=d.direction&&d.direction!==n.direction,h=n.loop&&(d.slidesPerView!==n.slidesPerView||b),y=n.loop;b&&i&&t.changeDirection(),De(t.params,d);const m=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!m?t.disable():!v&&m&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(h?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&C?(t.loopCreate(e),t.updateSlides()):y&&!C&&t.loopDestroy()),t.emit("breakpoint",d)}function tl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=Ce(),o=e==="window"?l.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:o*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?l.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var il={setBreakpoint:el,getBreakpoint:tl};function nl(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 ol(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:o}=t,r=nl(["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(...r),l.classList.add(...e),t.emitContainerClasses()}function ll(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var sl={addClasses:ol,removeClasses:ll};function al(){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 rl={checkOverflow:al},Xt={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 dl(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],o=n[l];if(typeof o!="object"||o===null){De(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)){De(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),De(e,n)}}const Jt={eventsEmitter:lo,update:go,translate:xo,transition:ko,slide:jo,loop:zo,grabCursor:Ho,events:Zo,breakpoints:il,checkOverflow:rl,classes:sl},Kt={};let Qt=class We{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=De({},i),e&&!i.el&&(i.el=e);const r=Be();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const b=De({},i,{el:v});c.push(new We(b))}),c}const s=this;s.__swiper__=!0,s.support=Ni(),s.device=Bi({userAgent:i.userAgent}),s.browser=io(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const d={};s.modules.forEach(c=>{c({params:i,swiper:s,extendParams:dl(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=De({},Xt,d);return s.params=De({},u,Kt,i),s.originalParams=De({},s.params),s.passedParams=De({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),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=Re(i,`.${n.slideClass}, swiper-slide`),o=St(l[0]);return St(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=Re(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(),r=(n.maxTranslate()-l)*e+l;n.translateTo(r,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:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let v=o[u]?Math.ceil(o[u].swiperSlideSize):0,b;for(let h=u+1;h<o.length;h+=1)o[h]&&!b&&(v+=Math.ceil(o[h].swiperSlideSize),c+=1,v>d&&(b=!0));for(let h=u-1;h>=0;h-=1)o[h]&&!b&&(v+=o[h].swiperSlideSize,c+=1,v>d&&(b=!0))}else if(e==="current")for(let v=u+1;v<o.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}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(r=>{r.complete&&Et(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,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 r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(r.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 r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):Re(n,l())[0];return!r&&i.params.createElements&&(r=pt("div",i.params.wrapperClass),n.append(r),Re(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Je(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Je(n,"direction")==="rtl"),wrongRTL:Je(r,"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?Et(i,o):o.addEventListener("load",r=>{Et(i,r.target)})}),qt(i),i.initialized=!0,qt(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:r,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"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,Un(n)),n.destroyed=!0),null}static extendDefaults(e){De(Kt,e)}static get extendedDefaults(){return Kt}static get defaults(){return Xt}static installModule(e){We.prototype.__modules__||(We.prototype.__modules__=[]);const i=We.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>We.installModule(i)),We):(We.installModule(e),We)}};Object.keys(Jt).forEach(t=>{Object.keys(Jt[t]).forEach(e=>{Qt.prototype[e]=Jt[t][e]})}),Qt.use([no,oo]);const Ui=["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 et(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function dt(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]:et(e[n])&&et(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:dt(t[n],e[n]):t[n]=e[n]})}function Gi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function $i(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Wi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Yi(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 cl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function ul(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:o,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=l.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:v,navigation:b,scrollbar:h,virtual:y,thumbs:m}=e;let C,p,w,g,T,_,f,O;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),l.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(w=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&h&&!h.el&&(g=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||o)&&(c.navigation||c.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(T=!0);const k=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),c[S].prevEl=void 0,c[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),c[S].el=void 0,e[S].el=void 0))};l.includes("loop")&&e.isElement&&(c.loop&&!n.loop?_=!0:!c.loop&&n.loop?f=!0:O=!0),u.forEach(S=>{if(et(c[S])&&et(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&k(S);else{const E=n[S];(E===!0||E===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?E===!1&&k(S):c[S]=n[S]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),l.includes("children")&&i&&y&&c.virtual.enabled?(y.slides=i,y.update(!0)):l.includes("virtual")&&y&&c.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),l.includes("children")&&i&&c.loop&&(O=!0),C&&m.init()&&m.update(!0),p&&(e.controller.control=c.controller.control),w&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),v.init(),v.render(),v.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&&(c.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)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),o&&(c.navigation.nextEl=o),r&&(c.navigation.prevEl=r),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),(_||O)&&e.loopDestroy(),(f||O)&&e.loopCreate(),e.update()}function pl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};dt(i,Xt),i._emitClasses=!0,i.init=!1;const o={},r=Ui.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?et(t[d])?(i[d]={},l[d]={},dt(i[d],t[d]),dt(l[d],t[d])):(i[d]=t[d],l[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:o[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:l,rest:o,events:n}}function vl(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:o,scrollbarEl:r,swiper:s}=t;Gi(e)&&n&&l&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=l,s.originalParams.navigation.prevEl=l),$i(e)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),Wi(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function fl(t,e,i,n,l){const o=[];if(!e)return o;const r=d=>{o.indexOf(d)<0&&o.push(d)};if(i&&n){const d=n.map(l),u=i.map(l);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Ui.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(et(t[d])&&et(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),o}const ml=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 Ct(){return Ct=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},Ct.apply(this,arguments)}function qi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Xi(t){const e=[];return a.Children.toArray(t).forEach(i=>{qi(i)?e.push(i):i.props&&i.props.children&&Xi(i.props.children).forEach(n=>e.push(n))}),e}function hl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(qi(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=Xi(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 gl(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:o,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=o&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:l,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function vt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const Zt=a.createContext(null),Ji=()=>a.useContext(Zt),bl=a.createContext(null),tt=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:o,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,b]=a.useState(null),[h,y]=a.useState(!1),m=a.useRef(!1),C=a.useRef(null),p=a.useRef(null),w=a.useRef(null),g=a.useRef(null),T=a.useRef(null),_=a.useRef(null),f=a.useRef(null),O=a.useRef(null),{params:k,passedParams:S,rest:E,events:A}=pl(s),{slides:x,slots:I}=hl(o),P=()=>{y(!h)};Object.assign(k.on,{_containerClasses(L,z){c(z)}});const N=()=>{Object.assign(k.on,A),d=!0;const L={...k};if(delete L.wrapperClass,p.current=new Qt(L),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=x;const z={cache:!1,slides:x,renderExternal:b,renderExternalUpdate:!1};dt(p.current.params.virtual,z),dt(p.current.originalParams.virtual,z)}};C.current||N(),p.current&&p.current.on("_beforeBreakpoint",P);const B=()=>{d||!A||!p.current||Object.keys(A).forEach(L=>{p.current.on(L,A[L])})},G=()=>{!A||!p.current||Object.keys(A).forEach(L=>{p.current.off(L,A[L])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),a.useEffect(()=>{!m.current&&p.current&&(p.current.emitSlidesClasses(),m.current=!0)}),vt(()=>{if(e&&(e.current=C.current),!!C.current)return p.current.destroyed&&N(),vl({el:C.current,nextEl:T.current,prevEl:_.current,paginationEl:f.current,scrollbarEl:O.current,swiper:p.current},k),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),vt(()=>{B();const L=fl(S,w.current,x,g.current,z=>z.key);return w.current=S,g.current=x,L.length&&p.current&&!p.current.destroyed&&ul({swiper:p.current,slides:x,passedParams:S,changedParams:L,nextEl:T.current,prevEl:_.current,scrollbarEl:O.current,paginationEl:f.current}),()=>{G()}}),vt(()=>{ml(p.current)},[v]);function H(){return k.virtual?gl(p.current,x,v):x.map((L,z)=>a.cloneElement(L,{swiper:p.current,swiperSlideIndex:z}))}return a.createElement(n,Ct({ref:C,className:Yi(`${u}${i?` ${i}`:""}`)},E),a.createElement(bl.Provider,{value:p.current},I["container-start"],a.createElement(l,{className:cl(k.wrapperClass)},I["wrapper-start"],H(),I["wrapper-end"]),Gi(k)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:_,className:"swiper-button-prev"}),a.createElement("div",{ref:T,className:"swiper-button-next"})),Wi(k)&&a.createElement("div",{ref:O,className:"swiper-scrollbar"}),$i(k)&&a.createElement("div",{ref:f,className:"swiper-pagination"}),I["container-end"]))});tt.displayName="Swiper";const Ve=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:l="",swiper:o,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[b,h]=a.useState("swiper-slide"),[y,m]=a.useState(!1);function C(T,_,f){_===v.current&&h(f)}vt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!o)){if(o.destroyed){b!=="swiper-slide"&&h("swiper-slide");return}return o.on("_slideClass",C),()=>{o&&o.off("_slideClass",C)}}}),vt(()=>{o&&v.current&&!o.destroyed&&h(o.getSlideClasses(v.current))},[o]);const p={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(p):n,g=()=>{m(!0)};return a.createElement(i,Ct({ref:v,className:Yi(`${b}${l?` ${l}`:""}`),"data-swiper-slide-index":d,onLoad:g},c),r&&a.createElement(Zt.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},w(),s&&!y&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement(Zt.Provider,{value:p},w(),s&&!y&&a.createElement("div",{className:"swiper-lazy-preloader"})))});Ve.displayName="SwiperSlide";const yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",wl=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:o})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const b=document.getElementById("sxp-render"),h=document.getElementById("pb-modal");h?u.current=h:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),b?.appendChild(u.current))},[]);const c=a.useMemo(()=>o?.id&&o?.id!==""||t,[t,o]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},o?.duration)},[c,o]),!u.current)return null;const v=me.debounce(()=>{e?.()},300);return hi.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:l,animationDuration:((r=o?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:b=>{b.stopPropagation(),b.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:yl,alt:"close",className:"modal-icon"})),i))),u.current)};var It=a.memo(wl);const Sl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),l=[];for(let r=0;r<n.length&&(l.push(n[r]),!(l.join(" ").length>=e));r++);return(l.length>1&&l.length<n.length?l.slice(0,l.length-1):l).join(" ")+" "},Tl=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:o,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,b]=a.useState(!1),h=Number(i?.lineClamp||2),y=a.useRef(null),m=a.useRef(null),C=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?Sl(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,w;((p=m?.current)===null||p===void 0?void 0:p.offsetHeight)>((w=y?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?b(!0):b(!1),m.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:l??C},u?r||"show less":o||"show more"))};var kt=a.memo(Tl);const xl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:l,className:o,loading:r}=t,[s,d]=a.useState();return a.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),a.useEffect(()=>{d(i)},[i]),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:o,src:s,style:l,loading:r,onLoad:u=>{n?.(u.target)}})):a.createElement("img",{className:o,src:s,style:l,loading:r,onLoad:u=>{n?.(u.target)}}))});var Oe=a.memo(xl);const El=t=>{var e,i,n,l,o,r,s,d,u,{content:c,style:v,bgImg:b,onClick:h,schema:y,isDefault:m,bottom_image:C,tipText:p,isPost:w,viewTime:g,rec:T,swiper:_,commodityStyles:f,buttonStyle:O,index:k}=t,S=we(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=de(),{popupDetailData:A,bffEventReport:x,isPreview:I,bffFbReport:P}=de(),{jumpToWeb:N,productView:B}=Ne(),G=a.useRef(null),[H,L]=a.useState(!1),z=w?T:A,M=w?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,D=w?(i=z?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=z?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,R=w?k:A?.index,U=()=>{M?.link&&(N(z,M,D,R),w||B(z,M,D,g||G.current,R),window.location.href=window.getJointUtmLink(M.link))};a.useEffect(()=>{w||P?.({eventName:"ProductView"})},[w,P]),a.useEffect(()=>{const Y=()=>{G.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const $=a.useMemo(()=>{var Y,se,ie,oe,ce;return M?.currency&&M?.price?`${(ie=(se=(Y=M?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||se===void 0?void 0:se.toUpperCase())!==null&&ie!==void 0?ie:""}${(ce=(oe=M?.price)===null||oe===void 0?void 0:oe.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ce!==void 0?ce:""}`:"$7,000"},[M?.price,M?.currency]),Q=I?375:(o=v?.width)!==null&&o!==void 0?o:window.innerWidth,Z=({isPost:Y})=>{var se,ie,oe;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:f?.collection,hidden:!!M&&(!M?.collection||M?.collection==="")},(se=M?.collection)!==null&&se!==void 0?se:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:f?.title,hidden:!!M&&!M?.title},(ie=M?.title)!==null&&ie!==void 0?ie:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:f?.price,hidden:!!M&&!M?.price},$),a.createElement("div",{hidden:!!M&&(!M?.info||M?.info==="")},a.createElement(kt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>L(!0),isPost:Y,text:(oe=M?.info)!==null&&oe!==void 0?oe:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var he=require("lodash"),vn=require("uuid"),fn=require("pako"),a=require("react"),fi=require("qs"),mn=require("eventemitter3"),J=require("@emotion/css"),hn=require("@ant-design/pro-components"),gn=require("react-dom");function bn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var mi=bn(gn);function we(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 Ee(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const yn=/:\w+/g;var hi=(t,e)=>Ee(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:g}=e[o];let b=s;d&&Object.entries(d).forEach(([y,m])=>{b=b.replace(yn,C=>C===y?m:C)}),c&&(b+=c),n[l]=u;try{const y=yield fetch(b,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(g)}).then(m=>m.json());i[l]=y}catch(y){console.error("DataSource request error: ",y),i[l]={}}}return{$store:i,idMapName:n}});const gi="SXP_TOKEN_INFO",wn=(t,e)=>Ee(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(gi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(gi,JSON.stringify(s))}}return s});function ht(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 Sn=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},Tn=()=>{const t=vn.v4();return t?.replaceAll?t.replaceAll("-",""):Sn(32)};function bi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=fn.inflate(n,{to:"string"});return JSON.parse(o)}let Pt=null;const xn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class En{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Pt)return Pt;Pt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?xn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Se=null;const Cn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Se||(Se=new En),n&&Se.setApiUrl(n),Se.setAppId(t),Se.setTenantId(e),Se.setEnv(i)},getDetail:t=>{if(!Se)return;const e=Se.getTenantId(),i=Se.getAppId(),n=Se.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ee(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=bi((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield hi(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>Ee(void 0,void 0,void 0,function*(){if(!Se)return;const e=Se.getTenantId(),i=Se.getAppId(),n=Se.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ee(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=bi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Ee(void 0,void 0,void 0,function*(){if(!Se)return;const e=yield wn(Se,t),i=ht(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");he.isEmpty(n)&&(n=ht(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 $e(){return a.useContext(ki)}function In(){return a.useContext(_i)}const Ot="feRealSessionIdKey",yi=()=>{const t=Tn();return`${Date.now()}${t}`},_n=()=>{let t=Dn();return t||(t=yi(),window.sessionStorage.setItem(Ot,t)),t},kn=()=>{const t=yi();window.sessionStorage.setItem(Ot,t)},Dn=()=>window.sessionStorage.getItem(Ot),wi="SXP_FAKE_USER_ID",Si="FAKE_USER_STATE",Ti=()=>{let t=window.localStorage.getItem(wi);return he.isEmpty(t)&&(t=ht(36,62),window.localStorage.setItem(wi,t)),t},An=()=>{const t=window.localStorage.getItem(Si);return he.isEmpty(t)&&window.localStorage.setItem(Si,"true"),he.isEmpty(t)};function Oe(t,e){const{appDomain:i}=de();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const We=new mn;var Ne;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ne||(Ne={}));const xi=a.createContext({rtcList:[],tagList:[]});var Mt;(function(t){t[t.BFF=5]="BFF"})(Mt||(Mt={}));const Ei=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Pn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:g=!1,isShowTag:b=!0})=>{const[y,m]=a.useState([]),[C,p]=a.useState([]),[w,h]=a.useState(!1),[S,k]=a.useState({rtc:"",requestId:""}),f=a.useRef(null),M=a.useRef(!1),[_,T]=a.useState(),[E,A]=a.useState(),[x,I]=a.useState(v),[P,j]=a.useState([]),[z,H]=a.useState(0),[F,N]=a.useState(!1),[B,L]=a.useState(null),D=a.useRef();a.useEffect(()=>{const V=U=>{D.current=U};return We.on(Ne.CHANGE_THEME_TAG,V),()=>{We.off(Ne.CHANGE_THEME_TAG,V)}},[]),a.useEffect(()=>{I(v)},[v]);const G=a.useMemo(()=>e?.find(V=>V.type===Mt.BFF),[e]),R=a.useCallback((V,U)=>{if(!G)return;const ne=G.url,me=Ti();if(U?.query){const fe=fi.stringify(U.query);V=`${V}?${fe}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ne}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},G.headers),{"x-user-id":me}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ne}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":me},G.headers),method:U.method,body:JSON.stringify(U.body)}).then(fe=>fe.json()).catch(fe=>Promise.reject(fe))},[G]),$=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){var U,ne,me,fe,ye;if(V={maxSize:(U=V?.maxSize)!==null&&U!==void 0?U:o,defaultSize:(ne=V?.defaultSize)!==null&&ne!==void 0?ne:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const Ie=(ye=(fe=(me=i?.split("&"))===null||me===void 0?void 0:me.filter(ze=>{const ke=ze.split("=")[0];return Ei.includes(ke)}))===null||fe===void 0?void 0:fe.join("&"))!==null&&ye!==void 0?ye:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(Ie)})}const ue=yield R?.("/recommend/list",{method:"GET",query:V});if(ue?.success)return V?.hashTag||k({rtc:ue.data.rtc,requestId:ue.data.requestId}),ue?.data}),[R,i,o,l]),oe=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){var V,U;if(y.length<=0)return;const ne=yield $({hashTag:E?.hashTag,"itemFilter.itemId":E?.itemId,"itemFilter.itemType":E?.itemType,themeTag:D.current});m(y.concat((V=ne?.recList)!==null&&V!==void 0?V:[])),j(P.concat((U=ne?.recList)!==null&&U!==void 0?U:[]))}),[$,y,E,P]),Z=a.useCallback(({userInfo:V,eventInfo:U})=>{if(!n)return;V||(V={});const ne=_n(),me=Object.assign({sessionID:ne,rtc:S.rtc,requestId:S.requestId},U),fe=Object.entries(V).map(([ue,Ie])=>({name:ue,value:Ie})),ye=Object.entries(me).map(([ue,Ie])=>Ie&&{name:ue,value:Ie}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",me),console.log("========= \u7ED3\u675F ========="),R?.("/event/report",{method:"POST",body:{userInfo:fe,eventInfo:ye},type:"beacon"})},[R,S,n]),te=a.useCallback(V=>{var U,{eventName:ne,actionSource:me="website",eventSourceUrl:fe=(U=window?.location)===null||U===void 0?void 0:U.href,externalId:ye}=V;if(!n||!g)return;const ue=Ti();return R?.("/fb/events",{method:"POST",body:{eventName:ne,actionSource:me,eventSourceUrl:fe,userData:{externalId:ue}},type:"beacon"})},[R,n,g]),Y=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/like",{method:"POST",body:V});return U?.success}),[R]),re=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/unlike",{method:"POST",body:V});return U?.success}),[R]),se=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const U=yield R?.("/customform",{method:"POST",body:V});return U?.success}),[R]),q=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){var V,U,ne,me,fe;if(!(!i||!b))try{const ye=(ne=(U=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(Ie=>{const ze=Ie.split("=")[0];return Ei.includes(ze)}))===null||U===void 0?void 0:U.join("&"))!==null&&ne!==void 0?ne:"",ue=yield R?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ye)}});p((fe=(me=ue?.data)===null||me===void 0?void 0:me.tags)!==null&&fe!==void 0?fe:[])}catch(ye){console.log("e",ye)}}),[R,i,b]),ee=a.useCallback((V,U,ne,me)=>{var fe,ye,ue,Ie,ze,ke,dt,nt,ot,ct,lt,ut;const ge=ne?.bindCta,At=((fe=U?.video)===null||fe===void 0?void 0:fe.bindProduct)||((ye=U?.video)===null||ye===void 0?void 0:ye.bindProducts)&&((Ie=(ue=U?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||Ie===void 0?void 0:Ie.length)>0;let qe="";F?qe="hashTagPage":!((ze=U?.video)===null||ze===void 0)&&ze.url?qe="videoPage":!((dt=(ke=U?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||dt===void 0)&&dt.length&&(qe="imagePage"),Z?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(nt=ge?.itemId)!==null&&nt!==void 0?nt:"",ctaName:(ot=ge?.title)!==null&&ot!==void 0?ot:"",contentTags:JSON.stringify(ge?.tags),position:me+"",contentId:(lt=(ct=U?.video)===null||ct===void 0?void 0:ct.itemId)!==null&<!==void 0?lt:"",productId:At?ne?.itemId:"",traceInfo:(ut=ge?.traceInfo)!==null&&ut!==void 0?ut:"",fromKName:qe})})},[Z,F]);a.useEffect(()=>{h(!0),q(),$().then(V=>{var U,ne;m((U=V?.recList)!==null&&U!==void 0?U:[]),j((ne=V?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{h(!1),M.current=!0})},[]),a.useEffect(()=>{M.current&&(h(!0),q(),$().then(V=>{var U,ne;m((U=V?.recList)!==null&&U!==void 0?U:[]),j((ne=V?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{h(!1)}))},[$,q]);const _e=Oe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(xi.Provider,{value:{rtcList:y,setRtcList:m,mutateLike:Y,mutateUnlike:re,submitForm:se,popupDetailData:_,loadVideos:oe,setPopupDetailData:T,getRecommendVideos:$,bffEventReport:Z,utmVal:i,isPreview:r,loading:w,sxpParameter:s,waterFallData:E,setWaterFallData:A,ctaEvent:ee,swiperRef:f,openHashtag:x,setOpenHashtag:I,cacheRtcList:P,setCacheRtcList:j,cacheActiveIndex:z,setCacheActiveIndex:H,isFromHashtag:F,setIsFromHashtag:N,appDomain:d,hashTagSize:u,loadingImage:c??_e,isOpenHashTag:v,tagList:C,setLoading:h,videoRef:B,setVideoRef:L,bffFbReport:te}},t({rtcList:y,mutateLike:Y,mutateUnlike:re,submitForm:se,tagList:C}))};var Ci=a.memo(Pn);function de(){return a.useContext(xi)}var Ii;(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"})(Ii||(Ii={}));const _i=a.createContext({$store:{},options:[],configs:[]}),On=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=$e(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var g;e||he.isEqual(d,l?.dataSource)||u((g=l?.dataSource)!==null&&g!==void 0?g:[])},[l?.dataSource,e]);const c=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){const{$store:g,idMapName:b}=yield hi("",d);s(g),v(g,b)}),[d]),v=(g,b)=>{const y=[];Object.entries(g).forEach(([m,C])=>{Object.keys(C).forEach(p=>{const w={label:`${b[m]} - ${p}`,value:`{{ ${m}.${p} }}`};y.push(w)})}),o(y)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(_i.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var Mn=a.memo(On);const gt={id:ht(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},Lt={id:"",duration:0,name:"none"},ki=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[gt],redoStack:[],popup:Lt,setPopup:()=>{}}),Di=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[gt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,g]=a.useState([gt]),[b,y]=a.useState([[gt]]),[m,C]=a.useState([]),[p,w]=a.useState(Lt);typeof window<"u"&&(window.sxpPopup=(M,_)=>{w(Object.assign(Object.assign(Object.assign({},Lt),{id:M}),_))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{y([u.pointData]),C([])},[u.type]);const h=a.useCallback(M=>{const _=he.cloneDeep(u);_&&(_.dataSource=M,c?.(_))},[u]),[S,k]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(y([M.pointData]),c(M))},exportSchema(){return he.cloneDeep(u)},getPageInfoData(){return S},initPageInfoData(M){M&&k(M)}}));const f=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(ki.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:h,prePiontData:v,setPrePiontData:g,pageInfoData:S,setPageInfoData:M=>k(Object.assign(Object.assign({},S),M)),undoStack:b,redoStack:m,setRedoStack:C,setUndoStack:y,getCurPageConf:f,popup:p,setPopup:w}},a.createElement(Mn,{isSsr:i,enable:o},t))});var Ln=Object.freeze({__proto__:null,EditorCore:Di}),jn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const le=[{label:"defalut",value:"appFont"}],jt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Nn=jt&&jt!==""?JSON.parse(jt):[];var De={fontOptions:[...le,...Nn]},Nt,Bt,Rt,Bn=[{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:le,initialValue:(Nt=le?.[0])===null||Nt===void 0?void 0:Nt.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:De?.fontOptions,initialValue:(Rt=(Bt=De?.fontOptions)===null||Bt===void 0?void 0:Bt[0])===null||Rt===void 0?void 0:Rt.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","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Be(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=de(),o=a.useCallback((r,s,d,u)=>{var c,v,g,b,y,m,C,p,w,h,S,k,f,M;let _="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((g=r?.video)===null||g===void 0)&&g.bindProduct)?_="pdpPage":n?_="hashTagPage":!((b=r?.video)===null||b===void 0)&&b.url?_="videoPage":!((y=r?.video)===null||y===void 0)&&y.imgUrls&&(!((C=(m=r?.video)===null||m===void 0?void 0:m.imgUrls)===null||C===void 0)&&C.length)?_="imagePage":r?.product&&(_="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(w=s?.title)!==null&&w!==void 0?w:"",price:s?.price?s?.price+"":"0",productCollection:(h=s?.collection)!==null&&h!==void 0?h:"",fromKName:_,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(k=(S=r?.video)===null||S===void 0?void 0:S.itemId)!==null&&k!==void 0?k:"",ctatId:(f=d?.itemId)!==null&&f!==void 0?f:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,g,b,y;let m="";e&&(!((g=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||g===void 0)&&g.length||!((b=r?.video)===null||b===void 0)&&b.bindProduct)?m="pdpPage":r?.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:c+"",contentId:(y=r?.video)===null||y===void 0?void 0:y.itemId,ctatId:d?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Rn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,isExternalLink:u,isPopup:c,onClick:v,onClose:g,submitButtonStyle:b}=t,y=we(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:m,popupDetailData:C}=de(),{jumpToWeb:p}=Be(),w=a.useRef(),[h,S]=a.useState(!1),k=a.useMemo(()=>[{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"}],[]),f=a.useMemo(()=>{if(d===void 0){const _=he.cloneDeep(e)||k;return _?.map(T=>Object.assign(Object.assign({},T),{title:void 0,fieldProps:{placeholder:T?.title}}))}else return he.cloneDeep(e)||k},[d,e,k]),M=he.debounce(()=>Ee(void 0,void 0,void 0,function*(){var _,T,E,A,x,I;const P=yield(_=w?.current)===null||_===void 0?void 0:_.getFieldsValue();if(!P)return;const j=(E=(T=Object.keys(P))===null||T===void 0?void 0:T.map(H=>{var F;return{name:H,value:(F=P[H])!==null&&F!==void 0?F:""}}))===null||E===void 0?void 0:E.filter(H=>H?.value);if(!j||!j?.length)return;S(!0);const z=yield m?.({attributes:j});if(S(!1),z){if(u){const H=C,F=(A=H?.video)===null||A===void 0?void 0:A.bindProduct,N=(I=(x=H?.video)===null||x===void 0?void 0:x.bindProduct)===null||I===void 0?void 0:I.bindCta,B=C?.index;p(H,F,N,B)}c||g?.(),v?.()}}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${J.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:J.css(Object.assign({},i))},y),a.createElement("div",{className:"pb-appoint-form-container"},a.createElement(hn.BetaSchemaForm,{columns:f,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:w,className:"panel-reset"}))),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:M,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},b)},h?a.createElement(a.Fragment,null,"loading..."):s)))};var zn=a.memo(Rn);function Ae(t,e){return t.extend=e,t}const Vn=Ae(zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Bn,bindableProps:[],interactionRender:jn},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 zt,Vt,Fn=[{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:-1e3,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:le,name:["fontFamily"],initialValue:(zt=le?.[0])===null||zt===void 0?void 0:zt.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:le,initialValue:(Vt=le?.[0])===null||Vt===void 0?void 0:Vt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Ai(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ft(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ai(e[i])&&Ai(t[i])&&Object.keys(e[i]).length>0&&Ft(t[i],e[i])})}const Pi={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 Ft(t,Pi),t}const Hn={document:Pi,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 Ce(){const t=typeof window<"u"?window:{};return Ft(t,Hn),t}function Je(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Un(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function st(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Me(){return Date.now()}function Gn(t){const e=Ce();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function $n(t,e){e===void 0&&(e="x");const i=Ce();let n,o,l;const r=Gn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.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 bt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Wn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Pe(){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&&!Wn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(bt(t[s])&&bt(n[s])?n[s].__swiper__?t[s]=n[s]:Pe(t[s],n[s]):!bt(t[s])&&bt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Pe(t[s],n[s])):t[s]=n[s])}}}return t}function yt(t,e,i){t.style.setProperty(e,i)}function Oi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Ce(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(g,b)=>u==="next"&&g>=b||u==="prev"&&g<=b,v=()=>{s=new Date().getTime(),r===null&&(r=s);const g=Math.max(Math.min((s-r)/d,1),0),b=.5-Math.cos(g*Math.PI)/2;let y=l+b*(i-l);if(c(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),c(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function Ve(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function wt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Je(e)),i}function Yn(t){const e=Ce(),i=Re(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function qn(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 Xn(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 Ke(t,e){return Ce().getComputedStyle(t,null).getPropertyValue(e)}function St(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Mi(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 Ht(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Ut(t,e,i){const n=Ce();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 Fe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Jn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ce();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 r,s=Me(),d;const u=[];function c(h){let M=0,_=0,T=0,E=0;return"detail"in h&&(_=h.detail),"wheelDelta"in h&&(_=-h.wheelDelta/120),"wheelDeltaY"in h&&(_=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=_,_=0),T=M*10,E=_*10,"deltaY"in h&&(E=h.deltaY),"deltaX"in h&&(T=h.deltaX),h.shiftKey&&!T&&(T=E,E=0),(T||E)&&h.deltaMode&&(h.deltaMode===1?(T*=40,E*=40):(T*=800,E*=800)),T&&!M&&(M=T<1?-1:1),E&&!_&&(_=E<1?-1:1),{spinX:M,spinY:_,pixelX:T,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function g(){e.enabled&&(e.mouseEntered=!1)}function b(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Me()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Me()-s<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),s=new l.Date().getTime(),!1)}function y(h){const S=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&S.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&S.releaseOnEdges)return!0;return!1}function m(h){let S=h,k=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const f=e.params.mousewheel;e.params.cssMode&&S.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const _=M&&M.contains(S.target);if(!e.mouseEntered&&!_&&!f.releaseOnEdges)return!0;S.originalEvent&&(S=S.originalEvent);let T=0;const E=e.rtlTranslate?-1:1,A=c(S);if(f.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))T=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))T=-A.pixelY;else return!0;else T=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(T===0)return!0;f.invert&&(T=-T);let x=e.getTranslate()+T*f.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),k=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),k&&e.params.nested&&S.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Me(),delta:Math.abs(T),direction:Math.sign(T),raw:h};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&b(I):b(I),y(I))return!0}else{const I={time:Me(),delta:Math.abs(T),direction:Math.sign(T)},P=d&&I.time<d.time+500&&I.delta<=d.delta&&I.direction===d.direction;if(!P){d=void 0;let j=e.getTranslate()+T*f.sensitivity;const z=e.isBeginning,H=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(),(!z&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,N=u[0];if(u.push(I),F&&(I.delta>F.delta||I.direction!==F.direction))u.splice(0);else if(u.length>=15&&I.time-N.time<500&&N.delta-I.delta>=1&&I.delta<=6){const B=T>0?.8:.2;d=I,u.splice(0),r=st(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=st(()=>{d=I,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",S),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),f.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return S.preventDefault?S.preventDefault():S.returnValue=!1,!1}function C(h){let S=e.el;e.params.mousewheel.eventsTarget!=="container"&&(S=document.querySelector(e.params.mousewheel.eventsTarget)),S[h]("mouseenter",v),S[h]("mouseleave",g),S[h]("wheel",m)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:p,disable:w})}function Li(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Ve(t.el,`.${n[o]}`)[0];l||(l=pt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function at(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Tt(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:p=>p,formatFractionTotal:p=>p,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 r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,w){const{bulletActiveClass:h}=e.params.pagination;p&&(p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${h}-${w}`),p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${h}-${w}-${w}`)))}function c(p){const w=p.target.closest(at(e.params.pagination.bulletClass));if(!w)return;p.preventDefault();const h=St(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function v(){const p=e.rtl,w=e.params.pagination;if(d())return;let h=e.pagination.el;h=Fe(h);let S,k;const f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(S=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,S=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let T,E,A;if(w.dynamicBullets&&(r=Ut(_[0],e.isHorizontal()?"width":"height",!0),h.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&k!==void 0&&(s+=S-(k||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),T=Math.max(S-s,0),E=T+(Math.min(_.length,w.dynamicMainBullets)-1),A=(E+T)/2),_.forEach(x=>{const I=[...["","-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(...I)}),h.length>1)_.forEach(x=>{const I=St(x);I===S?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(I>=T&&I<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),I===T&&u(x,"prev"),I===E&&u(x,"next"))});else{const x=_[S];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&_.forEach((I,P)=>{I.setAttribute("part",P===S?"bullet-active":"bullet")}),w.dynamicBullets){const I=_[T],P=_[E];for(let j=T;j<=E;j+=1)_[j]&&_[j].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(I,"prev"),u(P,"next")}}if(w.dynamicBullets){const x=Math.min(_.length,w.dynamicMainBullets+4),I=(r*x-r)/2-A*r,P=p?"right":"left";_.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${I}px`})}}h.forEach((_,T)=>{if(w.type==="fraction"&&(_.querySelectorAll(at(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(S+1)}),_.querySelectorAll(at(w.totalClass)).forEach(E=>{E.textContent=w.formatFractionTotal(M)})),w.type==="progressbar"){let E;w.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(S+1)/M;let x=1,I=1;E==="horizontal"?x=A:I=A,_.querySelectorAll(at(w.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(_.innerHTML=w.renderCustom(e,S+1,M),T===0&&o("paginationRender",_)):(T===0&&o("paginationRender",_),o("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](w.lockClass)})}function g(){const p=e.params.pagination;if(d())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 h=e.pagination.el;h=Fe(h);let S="";if(p.type==="bullets"){let k=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>w&&(k=w);for(let f=0;f<k;f+=1)p.renderBullet?S+=p.renderBullet.call(e,f,p.bulletClass):S+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?S=p.renderFraction.call(e,p.currentClass,p.totalClass):S=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?S=p.renderProgressbar.call(e,p.progressbarFillClass):S=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(k=>{p.type!=="custom"&&(k.innerHTML=S||""),p.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(at(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function b(){e.params.pagination=Li(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let w;typeof p.el=="string"&&e.isElement&&(w=e.el.querySelector(p.el)),!w&&typeof p.el=="string"&&(w=[...document.querySelectorAll(p.el)]),w||(w=p.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(p.el)],w.length>1&&(w=w.filter(h=>Mi(h,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Fe(w),w.forEach(h=>{p.type==="bullets"&&p.clickable&&h.classList.add(...(p.clickableClass||"").split(" ")),h.classList.add(p.modifierClass+p.type),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(h.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&h.classList.add(p.progressbarOppositeClass),p.clickable&&h.addEventListener("click",c),e.enabled||h.classList.add(p.lockClass)}))}function y(){const p=e.params.pagination;if(d())return;let w=e.pagination.el;w&&(w=Fe(w),w.forEach(h=>{h.classList.remove(p.hiddenClass),h.classList.remove(p.modifierClass+p.type),h.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(h.classList.remove(...(p.clickableClass||"").split(" ")),h.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:w}=e.pagination;w=Fe(w),w.forEach(h=>{h.classList.remove(p.horizontalClass,p.verticalClass),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(b(),g(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{g(),v()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Fe(p),p.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,w)=>{const h=w.target,S=Fe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const k=S[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),S.forEach(f=>f.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Fe(p),p.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),b(),g(),v()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Fe(p),p.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:m,disable:C,render:g,update:v,init:b,destroy:y})}function Kn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Re();let r=!1,s=null,d=null,u,c,v,g;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 b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:I}=e,{dragEl:P,el:j}=x,z=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=c,N=(v-c)*H;I?(N=-N,N>0?(F=c-N,N=0):-N+c>v&&(F=v+N)):N<0?(F=c+N,N=0):N+c>v&&(F=v-N),e.isHorizontal()?(P.style.transform=`translate3d(${N}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${N}px, 0)`,P.style.height=`${F}px`),z.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:I,el:P}=x;I.style.width="",I.style.height="",v=e.isHorizontal()?P.offsetWidth:P.offsetHeight,g=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*g:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${c}px`:I.style.height=`${c}px`,g>=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 C(x){return e.isHorizontal()?x.clientX:x.clientY}function p(x){const{scrollbar:I,rtlTranslate:P}=e,{el:j}=I;let z;z=(C(x)-Yn(j)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),z=Math.max(Math.min(z,1),0),P&&(z=1-z);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:z,dragEl:H}=P;r=!0,u=x.target===H?C(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),j.style.transitionDuration="100ms",H.style.transitionDuration="100ms",p(x),clearTimeout(d),z.style.transitionDuration="0ms",I.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function h(x){const{scrollbar:I,wrapperEl:P}=e,{el:j,dragEl:z}=I;r&&(x.preventDefault?x.preventDefault():x.returnValue=!1,p(x),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",z.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function S(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:z}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),I.hide&&(clearTimeout(d),d=st(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),I.snapOnRelease&&e.slideToClosest())}function k(x){const{scrollbar:I,params:P}=e,j=I.el;if(!j)return;const z=j,H=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const N=x==="on"?"addEventListener":"removeEventListener";z[N]("pointerdown",w,H),l[N]("pointermove",h,H),l[N]("pointerup",S,F)}function f(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function _(){const{scrollbar:x,el:I}=e;e.params.scrollbar=Li(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=l.querySelectorAll(P.el),!j.length)return}else j||(j=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&j.length>1&&I.querySelectorAll(P.el).length===1&&(j=I.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let z;j&&(z=j.querySelector(at(e.params.scrollbar.dragClass)),z||(z=pt("div",e.params.scrollbar.dragClass),j.append(z))),Object.assign(x,{el:j,dragEl:z}),P.draggable&&f(),j&&j.classList[e.enabled?"remove":"add"](...Je(e.params.scrollbar.lockClass))}function T(){const x=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...Je(e.isHorizontal()?x.horizontalClass:x.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:I}=e.scrollbar;I=Fe(I),I.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(),b())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{b()}),n("setTransition",(x,I)=>{y(I)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Je(e.params.scrollbar.lockClass))}),n("destroy",()=>{T()});const E=()=>{e.el.classList.remove(...Je(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Je(e.params.scrollbar.scrollbarDisabledClass)),_(),m(),b()},A=()=>{e.el.classList.add(...Je(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Je(e.params.scrollbar.scrollbarDisabledClass)),T()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:m,setTranslate:b,init:_,destroy:T})}function xt(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 r,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),g,b,y,m,C,p,w;function h(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!w&&E())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?g=!0:g&&(u=c,g=!1);const F=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/d),s=requestAnimationFrame(()=>{S()})},k=()=>{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},f=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),S();let N=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const B=k();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(N=B,d=B,u=B),c=N;const L=e.params.speed,D=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{D()},N)):requestAnimationFrame(()=>{D()}),N},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,f(),o("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},T=(F,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,N){C&&(c=e.params.autoplay.delay),C=!1,B();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),B())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,f(c)):f(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const F=Re();F.visibilityState==="hidden"&&(p=!0,T(!0)),F.visibilityState==="visible"&&E()},x=F=>{F.pointerType==="mouse"&&(p=!0,w=!0,!(e.animating||e.autoplay.paused)&&T(!0))},I=F=>{F.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",I))},j=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",I)},z=()=>{Re().addEventListener("visibilitychange",A)},H=()=>{Re().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),z(),M())}),n("destroy",()=>{j(),H(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(y||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():T(!0,!0)}),n("beforeTransitionStart",(F,N,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?T(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}b=!0,y=!1,p=!1,m=setTimeout(()=>{p=!0,y=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!b)){if(clearTimeout(m),clearTimeout(r),e.params.autoplay.disableOnInteraction){y=!1,b=!1;return}y&&e.params.cssMode&&E(),y=!1,b=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:_,pause:T,resume:E})}function Qn(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 d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Me()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:g,snapGrid:b,touchEventsData:y}=e,C=Me()-y.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<b.length?e.slideTo(b.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(y.velocities.length>1){const _=y.velocities.pop(),T=y.velocities.pop(),E=_.position-T.position,A=_.time-T.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Me()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,y.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const w=e.velocity*p;let h=e.translate+w;g&&(h=-h);let S=!1,k;const f=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-f&&(h=e.maxTranslate()-f),k=e.maxTranslate(),S=!0,y.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>f&&(h=e.minTranslate()+f),k=e.minTranslate(),S=!0,y.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let _;for(let T=0;T<b.length;T+=1)if(b[T]>-h){_=T;break}Math.abs(b[_]-h)<Math.abs(b[_-1]-h)||e.swipeDirection==="next"?h=b[_]:h=b[_-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(g?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const _=Math.abs((g?-h:h)-e.translate),T=e.slidesSizesGrid[e.activeIndex];_<T?p=c.speed:_<2*T?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&S?(e.updateProgress(k),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ht(v,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(k),Ht(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ht(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let Gt;function Zn(){const t=Ce(),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 ji(){return Gt||(Gt=Zn()),Gt}let $t;function eo(t){let{userAgent:e}=t===void 0?{}:t;const i=ji(),n=Ce(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),g=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),b=o==="Win32";let y=o==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&i.touch&&m.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),u&&!b&&(r.os="android",r.android=!0),(c||g||v)&&(r.os="ios",r.ios=!0),r}function Ni(t){return t===void 0&&(t={}),$t||($t=eo(t)),$t}let Wt;function to(){const t=Ce(),e=Ni();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[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function io(){return Wt||(Wt=to()),Wt}function no(t){let{swiper:e,on:i,emit:n}=t;const o=Ce();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:g,height:b}=e;let y=g,m=b;v.forEach(C=>{let{contentBoxSize:p,contentRect:w,target:h}=C;h&&h!==e.el||(y=w?w.width:(p[0]||p).inlineSize,m=w?w.height:(p[0]||p).blockSize)}),(y!==g||m!==b)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function oo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Ce(),s=function(c,v){v===void 0&&(v={});const g=r.MutationObserver||r.WebkitMutationObserver,b=new g(y=>{if(e.__preventObserver__)return;if(y.length===1){o("observerUpdate",y[0]);return}const m=function(){o("observerUpdate",y[0])};r.requestAnimationFrame?r.requestAnimationFrame(m):r.setTimeout(m,0)});b.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),l.push(b)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Mi(e.hostEl);for(let v=0;v<c.length;v+=1)s(c[v])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",u)}var lo={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,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}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),r=0;r<o;r++)l[r]=arguments[r];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(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.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(Ke(n,"padding-left")||0,10)-parseInt(Ke(n,"padding-right")||0,10),i=i-parseInt(Ke(n,"padding-top")||0,10)-parseInt(Ke(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 ao(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Ve(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let g=[];const b=[],y=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,w=t.slidesGrid.length;let h=i.spaceBetween,S=-m,k=0,f=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,c.forEach(E=>{r?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(yt(n,"--swiper-centered-offset-before",""),yt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let _;const T=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<v;E+=1){_=0;let A;if(c[E]&&(A=c[E]),M&&t.grid.updateSlide(E,A,c),!(c[E]&&Ke(A,"display")==="none")){if(i.slidesPerView==="auto"){T&&(c[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(A),I=A.style.transform,P=A.style.webkitTransform;if(I&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?Ut(A,"width",!0):Ut(A,"height",!0);else{const j=e(x,"width"),z=e(x,"padding-left"),H=e(x,"padding-right"),F=e(x,"margin-left"),N=e(x,"margin-right"),B=x.getPropertyValue("box-sizing");if(B&&B==="border-box")_=j+F+N;else{const{clientWidth:L,offsetWidth:D}=A;_=j+z+H+F+N+(D-L)}}I&&(A.style.transform=I),P&&(A.style.webkitTransform=P),i.roundLengths&&(_=Math.floor(_))}else _=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${_}px`);c[E]&&(c[E].swiperSlideSize=_),y.push(_),i.centeredSlides?(S=S+_/2+k/2+h,k===0&&E!==0&&(S=S-l/2-h),E===0&&(S=S-l/2-h),Math.abs(S)<1/1e3&&(S=0),i.roundLengths&&(S=Math.floor(S)),f%i.slidesPerGroup===0&&g.push(S),b.push(S)):(i.roundLengths&&(S=Math.floor(S)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&g.push(S),b.push(S),S=S+_+h),t.virtualSize+=_+h,k=_,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(_,g),!i.centeredSlides){const E=[];for(let A=0;A<g.length;A+=1){let x=g[A];i.roundLengths&&(x=Math.floor(x)),g[A]<=t.virtualSize-l&&E.push(x)}g=E,Math.floor(t.virtualSize-l)-Math.floor(g[g.length-1])>1&&g.push(t.virtualSize-l)}if(d&&i.loop){const E=y[0]+h;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let I=0;I<A;I+=1)g.push(g[g.length-1]+x)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&g.push(g[g.length-1]+E),b.push(b[b.length-1]+E),t.virtualSize+=E}if(g.length===0&&(g=[0]),h!==0){const E=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,x)=>!i.cssMode||i.loop?!0:x!==c.length-1).forEach(A=>{A.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(x=>{E+=x+(h||0)}),E-=h;const A=E-l;g=g.map(x=>x<=0?-m:x>A?A+C:x)}if(i.centerInsufficientSlides){let E=0;if(y.forEach(A=>{E+=A+(h||0)}),E-=h,E<l){const A=(l-E)/2;g.forEach((x,I)=>{g[I]=x-A}),b.forEach((x,I)=>{b[I]=x+A})}}if(Object.assign(t,{slides:c,snapGrid:g,slidesGrid:b,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){yt(n,"--swiper-centered-offset-before",`${-g[0]}px`),yt(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(v!==u&&t.emit("slidesLengthChange"),g.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),b.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function ro(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 r=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(r(s))}else i.push(r(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 co(){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 uo(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 r=-t;o&&(r=t),n.forEach(d=>{d.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 d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),g=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),b=-(r-c),y=b+e.slidesSizesGrid[d],m=b>=0&&b<=e.size-e.slidesSizesGrid[d];(b>=0&&b<e.size-1||y>1&&y<=e.size||b<=0&&y>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),m&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-g:g}}function po(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[c],b=e.slidesGrid[v],y=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=g?s=(m-g)/y:s=(m+y-b)/y,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function vo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Ve(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Xn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=qn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Et=(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()}},Yt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},qt=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 r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Yt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Yt(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Yt(t,r)};function fo(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 mo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=b=>{let y=b-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 d>"u"&&(d=fo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const b=Math.min(o.slidesPerGroupSkip,d);u=b+Math.floor((d-b)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===l&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const v=e.grid&&o.grid&&o.grid.rows>1;let g;if(e.virtual&&o.virtual.enabled&&o.loop)g=c(d);else if(v){const b=e.slides.filter(m=>m.column===d)[0];let y=parseInt(b.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(b),0)),g=Math.floor(y/o.grid.rows)}else if(e.slides[d]){const b=e.slides[d].getAttribute("data-swiper-slide-index");b?g=parseInt(b,10):g=d}else g=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:g,previousIndex:l,activeIndex:d}),e.initialized&&qt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function ho(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,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=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=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var go={updateSize:so,updateSlides:ao,updateAutoHeight:ro,updateSlidesOffset:co,updateSlidesProgress:uo,updateProgress:po,updateSlidesClasses:vo,updateActiveIndex:mo,updateClickedSlide:ho};function bo(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 r=$n(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function yo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function wo(){return-this.snapGrid[0]}function So(){return-this.snapGrid[this.snapGrid.length-1]}function To(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:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Oi({swiper:l,targetPosition:-c,side:v?"left":"top"}),!0;s.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(g){!l||l.destroyed||g.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 xo={getTranslate:bo,setTranslate:yo,minTranslate:wo,maxTranslate:So,translateTo:To};function Eo(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 Bi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Co(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Bi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Io(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Bi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var _o={setTransition:Eo,transitionStart:Co,transitionEnd:Io};function ko(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 r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:g,wrapperEl:b,enabled:y}=l;if(l.animating&&s.preventInteractionOnTransition||!y&&!n&&!o||l.destroyed)return!1;const m=Math.min(l.params.slidesPerGroupSkip,r);let C=m+Math.floor((r-m)/l.params.slidesPerGroup);C>=d.length&&(C=d.length-1);const p=-d[C];if(s.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const S=-Math.floor(p*100),k=Math.floor(u[h]*100),f=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?S>=k&&S<f-(f-k)/2?r=h:S>=k&&S<f&&(r=h+1):S>=k&&(r=h)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(g?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let w;if(r>v?w="next":r<v?w="prev":w="reset",g&&-p===l.translate||!g&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),w!=="reset"&&(l.transitionStart(i,w),l.transitionEnd(i,w)),!1;if(s.cssMode){const h=l.isHorizontal(),S=g?p:-p;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{b[h?"scrollLeft":"scrollTop"]=S})):b[h?"scrollLeft":"scrollTop"]=S,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Oi({swiper:l,targetPosition:S,side:h?"left":"top"}),!0;b.scrollTo({[h?"left":"top"]:S,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,w),e===0?l.transitionEnd(i,w):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(S){!l||l.destroyed||S.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,w))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Do(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 r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const g=r*o.params.grid.rows;s=o.slides.filter(b=>b.getAttribute("data-swiper-slide-index")*1===g)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const g=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?s+1:s-d+1,slideRealIndex:g==="next"?o.realIndex:void 0})}if(l){const g=r*o.params.grid.rows;r=o.slides.filter(b=>b.getAttribute("data-swiper-slide-index")*1===g)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Ao(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=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 d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&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+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function Po(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function g(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const b=g(v),y=l.map(p=>g(p));let m=l[y.indexOf(b)-1];if(typeof m>"u"&&o.cssMode){let p;l.forEach((w,h)=>{b>=w&&(p=h)}),typeof p<"u"&&(m=l[p>0?p-1:p])}let C=0;if(typeof m<"u"&&(C=r.indexOf(m),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 p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,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 Oo(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 Mo(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 r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*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 Lo(){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 r=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(Ve(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Ve(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var jo={slideTo:ko,slideToLoop:Do,slideNext:Ao,slidePrev:Po,slideReset:Oo,slideToClosest:Mo,slideToClickedSlide:Lo};function No(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Ve(n,`.${i.slideClass}, swiper-slide`).forEach((v,g)=>{v.setAttribute("data-swiper-slide-index",g)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const g=e.isElement?pt("swiper-slide",[i.slideBlankClass]):pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(g)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else wt("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(d){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else wt("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 Bo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:g,params:b}=d,{centeredSlides:y}=b;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&b.virtual.enabled){i&&(!b.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):b.centeredSlides&&d.snapIndex<b.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=v,d.emit("loopFix");return}let m=b.slidesPerView;m==="auto"?m=d.slidesPerViewDynamic():(m=Math.ceil(parseFloat(b.slidesPerView,10)),y&&m%2===0&&(m=m+1));const C=b.slidesPerGroupAuto?m:b.slidesPerGroup;let p=C;p%C!==0&&(p+=C-p%C),p+=b.loopAdditionalSlides,d.loopedSlides=p;const w=d.grid&&b.grid&&b.grid.rows>1;u.length<m+p?wt("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&&b.grid.fill==="row"&&wt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],S=[];let k=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(I=>I.classList.contains(b.slideActiveClass))[0]):k=l;const f=n==="next"||!n,M=n==="prev"||!n;let _=0,T=0;const E=w?Math.ceil(u.length/b.grid.rows):u.length,x=(w?u[l].column:l)+(y&&typeof o>"u"?-m/2+.5:0);if(x<p){_=Math.max(p-x,C);for(let I=0;I<p-x;I+=1){const P=I-Math.floor(I/E)*E;if(w){const j=E-P-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===j&&h.push(z)}else h.push(E-P-1)}}else if(x+m>E-p){T=Math.max(x-(E-p*2),C);for(let I=0;I<T;I+=1){const P=I-Math.floor(I/E)*E;w?u.forEach((j,z)=>{j.column===P&&S.push(z)}):S.push(P)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&h.forEach(I=>{u[I].swiperLoopMoveDOM=!0,g.prepend(u[I]),u[I].swiperLoopMoveDOM=!1}),f&&S.forEach(I=>{u[I].swiperLoopMoveDOM=!0,g.append(u[I]),u[I].swiperLoopMoveDOM=!1}),d.recalcSlides(),b.slidesPerView==="auto"?d.updateSlides():w&&(h.length>0&&M||S.length>0&&f)&&d.slides.forEach((I,P)=>{d.grid.updateSlide(P,I,d.slides)}),b.watchSlidesProgress&&d.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const I=d.slidesGrid[k],j=d.slidesGrid[k+_]-I;s?d.setTranslate(d.translate-j):(d.slideTo(k+Math.ceil(_),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else if(o){const I=w?h.length/b.grid.rows:h.length;d.slideTo(d.activeIndex+I,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(S.length>0&&f)if(typeof e>"u"){const I=d.slidesGrid[k],j=d.slidesGrid[k-T]-I;s?d.setTranslate(d.translate-j):(d.slideTo(k-T,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else{const I=w?S.length/b.grid.rows:S.length;d.slideTo(d.activeIndex-I,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===b.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...I,slideTo:d.controller.control.params.slidesPerView===b.slidesPerView?i:!1})}d.emit("loopFix")}function Ro(){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 zo={loopCreate:No,loopFix:Bo,loopDestroy:Ro};function Vo(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 Fo(){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 Ho={setGrabCursor:Vo,unsetGrabCursor:Fo};function Uo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Re()||n===Ce())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 Ri(t,e,i){const n=Ce(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Go(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"){Ri(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(g?Uo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const b=r.currentX,y=r.currentY;if(!Ri(e,n,b))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=b,r.startY=y,o.touchStartTime=Me(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let m=!0;d.matches(o.focusableElements)&&(m=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const C=m&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function $o(t){const e=Re(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(f=>f.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=u.pageX,v=u.pageY;if(d.preventedByNestedSwiper){l.startX=c,l.startY=v;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Me());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(v<l.startY&&i.translate<=i.maxTranslate()||v>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=v;const g=l.currentX-l.startX,b=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(g**2+b**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let f;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:g*g+b*b>=25&&(f=Math.atan2(Math.abs(b),Math.abs(g))*180/Math.PI,n.isScrolling=i.isHorizontal()?f>o.touchAngle:90-f>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),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&&d.cancelable&&d.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&d.stopPropagation();let y=i.isHorizontal()?g:b,m=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(y=Math.abs(y)*(r?1:-1),m=Math.abs(m)*(r?1:-1)),l.diff=y,y*=o.touchRatio,r&&(y=-y,m=-m);const C=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const p=i.params.loop&&!o.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&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,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&p&&w&&Math.abs(y)>=1){Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let S=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),y>0?(p&&w&&!h&&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()&&(S=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**k))):y<0&&(p&&w&&!h&&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()&&(S=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**k))),S&&(d.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(y)>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 Wo(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(k=>k.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:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Me(),g=v-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),g<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Me(),st(()=>{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 b;if(r.followFinger?b=d?e.translate:-e.translate:b=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:b});return}const y=b>=-e.maxTranslate()&&!e.params.loop;let m=0,C=e.slidesSizesGrid[0];for(let k=0;k<u.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const f=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[k+f]<"u"?(y||b>=u[k]&&b<u[k+f])&&(m=k,C=u[k+f]-u[k]):(y||b>=u[k])&&(m=k,C=u[u.length-1]-u[u.length-2])}let p=null,w=null;r.rewind&&(e.isBeginning?w=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(b-u[m])/C,S=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(g>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:m+S):e.slideTo(m)),e.swipeDirection==="prev"&&(h>1-r.longSwipesRatio?e.slideTo(m+S):w!==null&&h<0&&Math.abs(h)>r.longSwipesRatio?e.slideTo(w):e.slideTo(m))}else{if(!r.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+S):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:m+S),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function zi(){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,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&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&&!r?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 Yo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function qo(){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 Xo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Jo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Vi=(t,e)=>{const i=Re(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",zi,!0):t[u]("observerUpdate",zi,!0),o[d]("load",t.onLoad,{capture:!0})};function Ko(){const t=this,{params:e}=t;t.onTouchStart=Go.bind(t),t.onTouchMove=$o.bind(t),t.onTouchEnd=Wo.bind(t),t.onDocumentTouchStart=Jo.bind(t),e.cssMode&&(t.onScroll=qo.bind(t)),t.onClick=Yo.bind(t),t.onLoad=Xo.bind(t),Vi(t,"on")}function Qo(){Vi(this,"off")}var Zo={attachEvents:Ko,detachEvents:Qo};const Fi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function el(){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 r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=Fi(t,n),c=Fi(t,d),v=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof d[p]>"u")return;const w=n[p]&&n[p].enabled,h=d[p]&&d[p].enabled;w&&!h&&t[p].disable(),!w&&h&&t[p].enable()});const g=d.direction&&d.direction!==n.direction,b=n.loop&&(d.slidesPerView!==n.slidesPerView||g),y=n.loop;g&&i&&t.changeDirection(),Pe(t.params,d);const m=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!m?t.disable():!v&&m&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(b?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&C?(t.loopCreate(e),t.updateSlides()):y&&!C&&t.loopDestroy()),t.emit("breakpoint",d)}function tl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Ce(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var il={setBreakpoint:el,getBreakpoint:tl};function nl(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 ol(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=nl(["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(...r),o.classList.add(...e),t.emitContainerClasses()}function ll(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var sl={addClasses:ol,removeClasses:ll};function al(){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 rl={checkOverflow:al},Xt={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 dl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Pe(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)){Pe(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Pe(e,n)}}const Jt={eventsEmitter:lo,update:go,translate:xo,transition:_o,slide:jo,loop:zo,grabCursor:Ho,events:Zo,breakpoints:il,checkOverflow:rl,classes:sl},Kt={};let Qt=class Ye{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=Pe({},i),e&&!i.el&&(i.el=e);const r=Re();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const g=Pe({},i,{el:v});c.push(new Ye(g))}),c}const s=this;s.__swiper__=!0,s.support=ji(),s.device=Ni({userAgent:i.userAgent}),s.browser=io(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const d={};s.modules.forEach(c=>{c({params:i,swiper:s,extendParams:dl(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Pe({},Xt,d);return s.params=Pe({},u,Kt,i),s.originalParams=Pe({},s.params),s.passedParams=Pe({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),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=Ve(i,`.${n.slideClass}, swiper-slide`),l=St(o[0]);return St(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=Ve(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(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,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:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,g;for(let b=u+1;b<l.length;b+=1)l[b]&&!g&&(v+=Math.ceil(l[b].swiperSlideSize),c+=1,v>d&&(g=!0));for(let b=u-1;b>=0;b-=1)l[b]&&!g&&(v+=l[b].swiperSlideSize,c+=1,v>d&&(g=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}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(r=>{r.complete&&Et(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,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 r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.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 r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Ve(n,o())[0];return!r&&i.params.createElements&&(r=pt("div",i.params.wrapperClass),n.append(r),Ve(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Ke(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ke(n,"direction")==="rtl"),wrongRTL:Ke(r,"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?Et(i,l):l.addEventListener("load",r=>{Et(i,r.target)})}),qt(i),i.initialized=!0,qt(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:r,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"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,Un(n)),n.destroyed=!0),null}static extendDefaults(e){Pe(Kt,e)}static get extendedDefaults(){return Kt}static get defaults(){return Xt}static installModule(e){Ye.prototype.__modules__||(Ye.prototype.__modules__=[]);const i=Ye.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ye.installModule(i)),Ye):(Ye.installModule(e),Ye)}};Object.keys(Jt).forEach(t=>{Object.keys(Jt[t]).forEach(e=>{Qt.prototype[e]=Jt[t][e]})}),Qt.use([no,oo]);const Hi=["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 tt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function rt(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]:tt(e[n])&&tt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:rt(t[n],e[n]):t[n]=e[n]})}function Ui(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Gi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function $i(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Wi(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 cl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function ul(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:c,pagination:v,navigation:g,scrollbar:b,virtual:y,thumbs:m}=e;let C,p,w,h,S,k,f,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(w=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&b&&!b.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&g&&!g.prevEl&&!g.nextEl&&(S=!0);const _=T=>{e[T]&&(e[T].destroy(),T==="navigation"?(e.isElement&&(e[T].prevEl.remove(),e[T].nextEl.remove()),c[T].prevEl=void 0,c[T].nextEl=void 0,e[T].prevEl=void 0,e[T].nextEl=void 0):(e.isElement&&e[T].el.remove(),c[T].el=void 0,e[T].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?k=!0:!c.loop&&n.loop?f=!0:M=!0),u.forEach(T=>{if(tt(c[T])&&tt(n[T]))Object.assign(c[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&_(T);else{const E=n[T];(E===!0||E===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?E===!1&&_(T):c[T]=n[T]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&y&&c.virtual.enabled?(y.slides=i,y.update(!0)):o.includes("virtual")&&y&&c.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),C&&m.init()&&m.update(!0),p&&(e.controller.control=c.controller.control),w&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),v.init(),v.render(),v.update()),h&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),b.init(),b.updateSize(),b.setTranslate()),S&&(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)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),g.init(),g.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(k||M)&&e.loopDestroy(),(f||M)&&e.loopCreate(),e.update()}function pl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};rt(i,Xt),i._emitClasses=!0,i.init=!1;const l={},r=Hi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?tt(t[d])?(i[d]={},o[d]={},rt(i[d],t[d]),rt(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function vl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Ui(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Gi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),$i(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function fl(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Hi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(tt(t[d])&&tt(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const ml=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 Ct(){return Ct=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},Ct.apply(this,arguments)}function Yi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function qi(t){const e=[];return a.Children.toArray(t).forEach(i=>{Yi(i)?e.push(i):i.props&&i.props.children&&qi(i.props.children).forEach(n=>e.push(n))}),e}function hl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(Yi(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=qi(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 gl(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function vt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const Zt=a.createContext(null),Xi=()=>a.useContext(Zt),bl=a.createContext(null),it=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,g]=a.useState(null),[b,y]=a.useState(!1),m=a.useRef(!1),C=a.useRef(null),p=a.useRef(null),w=a.useRef(null),h=a.useRef(null),S=a.useRef(null),k=a.useRef(null),f=a.useRef(null),M=a.useRef(null),{params:_,passedParams:T,rest:E,events:A}=pl(s),{slides:x,slots:I}=hl(l),P=()=>{y(!b)};Object.assign(_.on,{_containerClasses(N,B){c(B)}});const j=()=>{Object.assign(_.on,A),d=!0;const N={..._};if(delete N.wrapperClass,p.current=new Qt(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=x;const B={cache:!1,slides:x,renderExternal:g,renderExternalUpdate:!1};rt(p.current.params.virtual,B),rt(p.current.originalParams.virtual,B)}};C.current||j(),p.current&&p.current.on("_beforeBreakpoint",P);const z=()=>{d||!A||!p.current||Object.keys(A).forEach(N=>{p.current.on(N,A[N])})},H=()=>{!A||!p.current||Object.keys(A).forEach(N=>{p.current.off(N,A[N])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),a.useEffect(()=>{!m.current&&p.current&&(p.current.emitSlidesClasses(),m.current=!0)}),vt(()=>{if(e&&(e.current=C.current),!!C.current)return p.current.destroyed&&j(),vl({el:C.current,nextEl:S.current,prevEl:k.current,paginationEl:f.current,scrollbarEl:M.current,swiper:p.current},_),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),vt(()=>{z();const N=fl(T,w.current,x,h.current,B=>B.key);return w.current=T,h.current=x,N.length&&p.current&&!p.current.destroyed&&ul({swiper:p.current,slides:x,passedParams:T,changedParams:N,nextEl:S.current,prevEl:k.current,scrollbarEl:M.current,paginationEl:f.current}),()=>{H()}}),vt(()=>{ml(p.current)},[v]);function F(){return _.virtual?gl(p.current,x,v):x.map((N,B)=>a.cloneElement(N,{swiper:p.current,swiperSlideIndex:B}))}return a.createElement(n,Ct({ref:C,className:Wi(`${u}${i?` ${i}`:""}`)},E),a.createElement(bl.Provider,{value:p.current},I["container-start"],a.createElement(o,{className:cl(_.wrapperClass)},I["wrapper-start"],F(),I["wrapper-end"]),Ui(_)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:k,className:"swiper-button-prev"}),a.createElement("div",{ref:S,className:"swiper-button-next"})),$i(_)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),Gi(_)&&a.createElement("div",{ref:f,className:"swiper-pagination"}),I["container-end"]))});it.displayName="Swiper";const He=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[g,b]=a.useState("swiper-slide"),[y,m]=a.useState(!1);function C(S,k,f){k===v.current&&b(f)}vt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){g!=="swiper-slide"&&b("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),vt(()=>{l&&v.current&&!l.destroyed&&b(l.getSlideClasses(v.current))},[l]);const p={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(p):n,h=()=>{m(!0)};return a.createElement(i,Ct({ref:v,className:Wi(`${g}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:h},c),r&&a.createElement(Zt.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},w(),s&&!y&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement(Zt.Provider,{value:p},w(),s&&!y&&a.createElement("div",{className:"swiper-lazy-preloader"})))});He.displayName="SwiperSlide";const yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",wl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const g=document.getElementById("sxp-render"),b=document.getElementById("pb-modal");b?u.current=b:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),g?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=he.debounce(()=>{e?.()},300);return mi.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:g=>{g.stopPropagation(),g.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:yl,alt:"close",className:"modal-icon"})),i))),u.current)};var It=a.memo(wl);const Sl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Tl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,g]=a.useState(!1),b=Number(i?.lineClamp||2),y=a.useRef(null),m=a.useRef(null),C=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?Sl(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,w;((p=m?.current)===null||p===void 0?void 0:p.offsetHeight)>((w=y?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?g(!0):g(!1),m.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":b,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},u?r||"show less":l||"show more"))};var _t=a.memo(Tl);const xl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState(),{swiperRef:u}=de();return a.useImperativeHandle(e,()=>({setSrc:c=>{d(c)}})),a.useEffect(()=>{var c,v;const g=(v=(c=u?.current)===null||c===void 0?void 0:c.swiper)===null||v===void 0?void 0:v.activeIndex;(g===0||g>0)&&d(i)},[i,u]),a.useRef(null),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)}}))});var Le=a.memo(xl);const El=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,onClick:b,schema:y,isDefault:m,bottom_image:C,tipText:p,isPost:w,viewTime:h,rec:S,swiper:k,commodityStyles:f,buttonStyle:M,index:_}=t,T=we(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=de(),{popupDetailData:A,bffEventReport:x,isPreview:I,bffFbReport:P}=de(),{jumpToWeb:j,productView:z}=Be(),H=a.useRef(null),[F,N]=a.useState(!1),B=w?S:A,L=w?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,D=w?(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,G=w?_:A?.index,R=()=>{L?.link&&(j(B,L,D,G),w||z(B,L,D,h||H.current,G),window.location.href=window.getJointUtmLink(L.link))};a.useEffect(()=>{w||P?.({eventName:"ProductView"})},[w,P]),a.useEffect(()=>{const Y=()=>{H.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const $=a.useMemo(()=>{var Y,re,se,q,ee;return L?.currency&&L?.price?`${(se=(re=(Y=L?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||re===void 0?void 0:re.toUpperCase())!==null&&se!==void 0?se:""}${(ee=(q=L?.price)===null||q===void 0?void 0:q.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ee!==void 0?ee:""}`:"$7,000"},[L?.price,L?.currency]),oe=I?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,Z=({isPost:Y})=>{var re,se,q;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:f?.collection,hidden:!!L&&(!L?.collection||L?.collection==="")},(re=L?.collection)!==null&&re!==void 0?re:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:f?.title,hidden:!!L&&!L?.title},(se=L?.title)!==null&&se!==void 0?se:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:f?.price,hidden:!!L&&!L?.price},$),a.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},a.createElement(_t,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>N(!0),isPost:Y,text:(q=L?.info)!==null&&q!==void 0?q:`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:f?.info})))},ee=()=>{var Y;return a.createElement(a.Fragment,null,(m||M?.link)&&a.createElement("button",{onClick:U,className:"pb-commondity-btn",style:O},(Y=D?.enTitle)!==null&&Y!==void 0?Y:"Purchase on Website"))};return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:X.css(Object.assign({},v))},S),M&&((r=M?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(tt,{height:Q,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:_?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:_?.delay*1e3}},(s=M?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(Ve,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:Q,height:Q}},a.createElement(Oe,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${_?.translateY})%`},src:Y}))))),!(!((d=M?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:X.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:X.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=E?.bottom_image)!==null&&u!==void 0?u:C,alt:""})),a.createElement("div",{className:"pb-commondity-content"},Z({isPost:w}))),ee(),a.createElement(It,{visible:H,onClose:()=>L(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},Z({isPost:!1})),ee()))};var Cl=a.memo(El);const Il=_e(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Fn},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 kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ei,ti,_l=[{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:ke?.fontOptions,initialValue:(ti=(ei=ke?.fontOptions)===null||ei===void 0?void 0:ei[0])===null||ti===void 0?void 0:ti.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"]}]}],Ki="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 Dl=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}},Al=t=>{var{content:e,btnText:i,style:n,icon:l,isPopup:o,isExternalLink:r,onClose:s,onClick:d,submitButtonStyle:u}=t,c=we(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:v}=de(),{jumpToWeb:b}=Ne(),h=typeof l=="string"?l:Dl(l),y=()=>{var m,C,p;if(r){const w=v,g=(m=w?.video)===null||m===void 0?void 0:m.bindProduct,T=(p=(C=w?.video)===null||C===void 0?void 0:C.bindProduct)===null||p===void 0?void 0:p.bindCta,_=v?.index;b(w,g,T,_)}o||s?.(),d?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${X.css(Object.assign({},n))}`},c),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:h??Ki})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",style:u,onClick:y},i))};var Pl=a.memo(Al);const Ol=_e(Pl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:_l,bindableProps:[],interactionRender:kl},defaulSetting:{props:{icon:Ki,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ii,ni,Ml=[{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:ne,name:["fontFamily"],initialValue:(ii=ne?.[0])===null||ii===void 0?void 0:ii.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:ne,initialValue:(ni=ne?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Ll=t=>{var e,i,n,l,o,r,s,d,u,c,v,b,{style:h,isDefault:y,rec:m,viewTime:C,isPost:p,bottom_image:w,tipText:g,swiper:T,commodityStyles:_,buttonStyle:f,index:O}=t,k=we(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:S}=de(),{popupDetailData:E,bffEventReport:A,isPreview:x,swiperRef:I,bffFbReport:P}=de(),{jumpToWeb:N,productView:B}=Ne(),G=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[H,L]=a.useState(!1),z=a.useRef(null),M=p?m:E,D=p?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,R=p?(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=p?O:E?.index,$=()=>{D?.link&&(N(M,D,R,U),p||B(M,D,R,C||z.current,U),window.location.href=window.getJointUtmLink(D.link))};a.useEffect(()=>{p||P?.({eventName:"ProductView"})},[p,P]),a.useEffect(()=>{const Y=()=>{z.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const Q=a.useMemo(()=>{var Y,se,ie,oe,ce;return D?.currency&&D?.price?`${(ie=(se=(Y=D?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||se===void 0?void 0:se.toUpperCase())!==null&&ie!==void 0?ie:""}${(ce=(oe=D?.price)===null||oe===void 0?void 0:oe.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ce!==void 0?ce:""}`:"\xA3102,300.00"},[D?.price,D?.currency]),Z=x?375:(o=h?.width)!==null&&o!==void 0?o:window.innerWidth,ee=({isPost:Y})=>a.createElement("div",{hidden:!!D&&(!D?.info||D?.info==="")},a.createElement(kt,{isPost:Y,onClick:()=>L(!0),className:"pb-commondityDiroNew-info",style:_?.info,foldText:g?.foldText,unfoldText:g?.unfoldText,text:D?.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 a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:G,className:X.css(Object.assign({},h))},k),D&&((r=D?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(tt,{height:Z,modules:[Tt,xt],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=D?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(Ve,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:Z,height:Z}},a.createElement(Oe,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${T?.translateY})%`},src:Y}))))),!(!((d=D?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:X.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:X.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=S?.bottom_image)!==null&&u!==void 0?u:w,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:_?.title},(c=D?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!D&&(!D?.collection||D?.collection===""),style:_?.collection},D?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.price,style:_?.price},Q),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.taxInfo,style:_?.taxInfo},(v=D?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!D||D?.link)&&a.createElement("button",{onClick:$,className:"pb-commondityDiroNew-btn",style:f},(b=R?.enTitle)!==null&&b!==void 0?b:"Shop now"),ee({isPost:p}))),a.createElement(It,{visible:H,onClose:()=>L(!1)},ee({isPost:!1})))};var jl=a.memo(Ll);const Nl=_e(jl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Ml},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 oi,li,Me=[{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:ne,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(oi=ne?.[0])===null||oi===void 0?void 0:oi.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:ne,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(li=ne?.[0])===null||li===void 0?void 0:li.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"]}]}],Bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Qi(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([l])=>{n(l.isIntersecting)})},[]),a.useEffect(()=>{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 Rl=t=>{var{rec:e,children:i,className:n,onClick:l,style:o,isExternalLink:r=!1,index:s}=t;we(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Qi(d),{popup:c}=Ge(),{setPopupDetailData:v,ctaEvent:b}=de(),{jumpToWeb:h}=Ne();a.useEffect(()=>{var m,C;if(u&&d?.current){const p=(C=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&C!==void 0?C:e?.video;b?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,b,s]);const y=me.throttle(()=>{var m,C,p,w,g,T,_,f;const O=(C=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&C!==void 0?C:e?.video;if(b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((w=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||w===void 0)&&w.link){const k=(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,k,s),window.location.href=window.getJointUtmLink((f=(_=e?.video)===null||_===void 0?void 0:_.bindProduct)===null||f===void 0?void 0:f.link)}}else l?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:o,onClick:y},i)};var ft=a.memo(Rl),zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Vl=t=>{var e,i,n,l,o,r,s,d,u,{content:c,style:v,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=de(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,_=(r=(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&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:h,className:X.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Oe,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${p}%)`}),src:_})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:zl["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=T?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop Now")))};var Fl=a.memo(Vl);const Hl=_e(Fl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Bl,bindableProps:[],settingRender:Me},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 Ul=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Gl=t=>{var e,i,n,l,{content:o,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,b=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:h}=de(),y=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ft,Object.assign({isExternalLink:v,rec:d,className:X.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},b),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:X.css({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:u,alt:""})),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(l=y?.enTitle)!==null&&l!==void 0?l:"Product Name"))};var $l=a.memo(Gl);const Wl=_e($l,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ul,settingRender:Me?.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 Yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const ql=t=>{var e,i,n,l,o,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:b}=t,h=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:m}=de(),{jumpToWeb:C}=Ne(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,w=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,g=()=>{p?.link&&(C(u,w,p,b),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ft,Object.assign({index:b,rec:u,className:X.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},h,{onClick:g}),a.createElement("div",{className:X.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(Oe,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(l=(n=p?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&l!==void 0?l:c})),a.createElement("div",{className:X.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Yl["tow-line-ellipsis"],style:v?.ctaTitle},(o=p?.enTitle)!==null&&o!==void 0?o:"Product Name")))};var Xl=a.memo(ql);const Jl=_e(Xl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Me?.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 Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Zl=t=>{var e,i,n,l,o,r,s,d,u,{content:c,style:v,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=de(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,_=(r=(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&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:h,className:X.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Oe,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${p}%)`}),src:_})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Ql["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=T?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop Now")))};var es=a.memo(Zl);const ts=_e(es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Kl,settingRender:Me,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 is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const os=t=>{var e,i,n,l,o,r,s,d,u,{content:c,style:v,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=de(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,_=(r=(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&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:h,className:X.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Oe,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${p}%)`}),src:_})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ns["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:X.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=T?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop now")))};var ls=a.memo(os);const ss=_e(ls,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:is,bindableProps:[],settingRender:Me},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 as=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const rs=({children:t,isPadding:e=!0})=>a.createElement(tt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Qn,Kn,Jn],style:{padding:e?"0 12px 0 20px":0}},t);var _t=a.memo(rs);const ds=({src:t,rec:e,item:i,index:n,style:l})=>{const o=a.useRef(null),r=Qi(o),{ctaEvent:s}=de();return a.useEffect(()=>{r&&t&&o?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,o,e,s,i,n]),a.createElement("div",{ref:o,hidden:!t,className:X.css({width:"100%",height:"100%"})},a.createElement(Oe,{className:X.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},l)),src:t}))};var si=a.memo(ds),cs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const us=t=>{var e,i,{content:n,style:l,bgImg:o,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:b=0}=t,h=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:C}=de(),{popup:p}=Ge(),{jumpToWeb:w}=Ne(),[g,T]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=me.throttle(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),m?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(_t,{isPadding:!!r},g?.map(f=>{var O,k,S,E,A,x,I;return a.createElement(Ve,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:X.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>_(f)}),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(k=f?.homePage)===null||k===void 0?void 0:k[0])!==null&&S!==void 0?S:C?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{transform:`translateY(${b}%)`}})),a.createElement("div",{className:X.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:cs["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var ps=a.memo(us);const vs=_e(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:as,bindableProps:[],settingRender:Me},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 fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ms={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const hs=t=>{var e,i,{content:n,style:l,bgImg:o,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:b=0}=t,h=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=de(),{ctaEvent:m,setPopupDetailData:C}=de(),{popup:p}=Ge(),[w,g]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:T}=Ne(),_=me.throttle(f=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),C?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(T(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(_t,{isPadding:!!r},w?.map(f=>{var O,k,S,E,A,x,I;return a.createElement(Ve,Object.assign({hidden:r&&!f?.bindCta,key:f.itemId,className:X.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>_(f)}),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(k=f?.homePage)===null||k===void 0?void 0:k[0])!==null&&S!==void 0?S:y?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{transform:`translateY(${b}%)`}})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ms["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var gs=a.memo(hs);const bs=_e(gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:fs,settingRender:Me,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 ys=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ss=t=>{var e,i,{content:n,style:l,bgImg:o,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:b=0}=t,h=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:C}=de(),{popup:p}=Ge(),{jumpToWeb:w}=Ne(),[g,T]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=me.throttle(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),m?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(_t,{isPadding:!!r},g?.map(f=>{var O,k,S,E,A,x,I;return a.createElement(Ve,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:X.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>_(f)}),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(k=f?.homePage)===null||k===void 0?void 0:k[0])!==null&&S!==void 0?S:C?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{transform:`translateY(${b}%)`}})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:ws["tow-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:X.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Ts=a.memo(Ss);const xs=_e(Ts,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ys,bindableProps:[],settingRender:Me},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 ai,ri,Es=[{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:ne,name:["fontFamily"],initialValue:(ai=ne?.[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"}]}]},{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:ne,initialValue:(ri=ne?.[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"]}]},{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 Cs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var l;const{waterFallData:o,setOpenHashtag:r}=de();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(l=o?.hashTag)!==null&&l!==void 0?l:"\u6807\u9898"}`))};var Zi=a.memo(Cs),Is=null,ks="3d989325-e7d6-4a74-8a97-98febdf5b567",_s=null,Ds=null,As={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"},Ps=[{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}],Os="Handbags",Ms={productUserId:Is,requestId:ks,channel:_s,rtc:Ds,tag:As,recList:Ps,hashTag:Os};const Ls=t=>{const{rec:e,index:i,list:n,reportTagsView:l,textStyles:o,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=de(),[b,h]=a.useState(!1),y=a.useRef(null),m=a.useRef(null),C=a.useRef(null),p=a.useRef(null),[w,g]=a.useState(""),T=a.useMemo(()=>{var S,E,A,x,I,P,N,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=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((B=(N=e?.product)===null||N===void 0?void 0:N.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]:v?.bottom_image||""},[e,v?.bottom_image]),_=a.useMemo(()=>{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=a.useMemo(()=>{var S,E,A,x,I,P,N,B,G;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(P=(I=(x=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||x===void 0?void 0:x.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(G=(B=(N=e?.product)===null||N===void 0?void 0:N.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:null},[e]);a.useEffect(()=>{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};a.useEffect(()=>{const S=C?.current;S===null||T===""||!b||(S.src=T,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const E=p?.current;if(!E)return;const A=E.getContext("2d"),x=window?.innerWidth/2,I=O(S.videoWidth,S.videoHeight,x);E.height=I,E.width=x,A?.drawImage(S,0,0,E.width,E.height),g(E.toDataURL()),S.remove(),E.remove()})},[T,b]);const k=()=>{l(),d?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:m,className:"list-content-listItem",key:i,onClick:k,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},b&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(Oe,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:o?.title},_&&_),a.createElement("div",{className:"list-content-listItem-info-price",style:o?.price,hidden:!f},f)))};function js(t){var e,i,n,l,o,r,s,d,u,c,v,b,{reportTagsView:h}=t,y=we(t,["reportTagsView"]);const{waterFallData:m,getRecommendVideos:C,hashTagSize:p,loadingImage:w,isOpenHashTag:g}=de(),[T,_]=a.useState(),[f,O]=a.useState(),[k,S]=a.useState(!1),E=a.useRef(null),[A,x]=a.useState(!1);a.useCallback(()=>{A||(x(!0),m&&C?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(P=>{var N;_(T?.concat((N=P?.recList)!==null&&N!==void 0?N:[])),x(!1)}))},[m,C,T,A]),a.useEffect(()=>{var P,N;if(S(!0),m&&C?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:p,maxSize:p}).then(B=>{var G,H;O(B),_((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=Ms;O(B),_((N=(P=B?.recList)===null||P===void 0?void 0:P.filter(G=>G?.video!==null||G?.product!==null))!==null&&N!==void 0?N:[]),S(!1)}},[m,C,p,g]);const I=()=>{var P,N;!((P=f?.tag)===null||P===void 0)&&P.link&&(h(),window.location.href=(N=f?.tag)===null||N===void 0?void 0:N.link)};return a.createElement(a.Fragment,null,k?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:E},a.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),a.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:I,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"),a.createElement("div",{className:"list-content"},T?.map((P,N)=>a.createElement(Ls,Object.assign({key:N,index:N,rec:P,list:T,reportTagsView:h},y)))),a.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),a.createElement("div",{hidden:!(!((r=f?.tag)===null||r===void 0)&&r.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((d=y?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((u=y?.buttonStyle)===null||u===void 0?void 0:u.height)||"100px":0}})),a.createElement("div",{className:"list-bottom",hidden:!(!((c=f?.tag)===null||c===void 0)&&c.link),style:y?.buttonBgStyle}),a.createElement("div",{hidden:!(!((v=f?.tag)===null||v===void 0)&&v.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},y?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},a.createElement("button",{className:"list-btn",style:y?.buttonStyle,onClick:I},((b=f?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection"))))}var Ns="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Bs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:l,swiperRef:o,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:b,isFromHashtag:h,bffEventReport:y}=de();a.useRef(null);const m=a.useRef(null),[C,p]=a.useState();a.useEffect(()=>{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=me.isEqual(c,s);!f&&s&&s?.length&&d?.(s),_(),r?.(void 0),b?.(!1),setTimeout(()=>{var O,k;f||(k=(O=o?.current)===null||O===void 0?void 0:O.swiper)===null||k===void 0||k.slideTo(u,0,!1),n?.(!1)},0)},[g,T]=a.useState();a.useEffect(()=>{i&&T(i)},[i]);const _=a.useCallback(()=>{var f,O,k,S,E,A;const x=g?.rec;if(!x)return;let I="";h?I="hashTagPage":!((f=x?.video)===null||f===void 0)&&f.url?I="videoPage":!((k=(O=x?.video)===null||O===void 0?void 0:O.imgUrls)===null||k===void 0)&&k.length&&(I="imagePage"),y?.({eventInfo:{contentId:(S=x?.video)===null||S===void 0?void 0:S.itemId,position:u+"",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:I,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,y,C,h,u]);return a.useEffect(()=>{l&&p(new Date)},[l]),a.useEffect(()=>{const f=()=>{p(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),m.current?hi.createPortal(a.createElement("div",{className:"waterfall",style:{display:l?"block":"none"}},a.createElement(Zi,{icon:Ns,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),a.createElement(js,Object.assign({reportTagsView:_},t))),m.current):null};var en=a.memo(Bs);const Rs=t=>a.createElement(en,Object.assign({},t));var zs=a.memo(Rs);const Vs=_e(zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Es,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 di=Object.freeze({__proto__:null,Appoint:Wl,AppointForm:Vn,Commodity:Hl,CommodityDetail:Il,CommodityDetailDiroNew:Nl,CommodityDiro:ts,CommodityDiroNew:ss,HashTag:Vs,Link:Jl,MultiCommodity:bs,MultiCommodityDiro:vs,MultiCommodityDiroNew:xs,Prompt:Ol});const Fs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Hs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:l,position:o}=t,r=we(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=de(),[c,v]=a.useState(e),b=Ae(Hs),h=Ae(Fs),y=me.debounce(()=>Ee(void 0,void 0,void 0,function*(){var m,C,p,w,g,T,_,f,O,k,S,E,A,x,I,P,N,B,G,H;if(c){v(!1);const L=(p=yield d?.({videoItemId:(C=(m=l.video)===null||m===void 0?void 0:m.itemId)!==null&&C!==void 0?C:""}))!==null&&p!==void 0?p:!1;u?.({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:(_=(T=l.video)===null||T===void 0?void 0:T.title)!==null&&_!==void 0?_:"",contentTags:JSON.stringify((O=(f=l.video)===null||f===void 0?void 0:f.tags)!==null&&O!==void 0?O:[]),position:o+"",contentFormat:!((k=l.video)===null||k===void 0)&&k.url?"video":"image",traceInfo:(S=l.video)===null||S===void 0?void 0:S.traceInfo}}),L||v(!0)}else{v(!0);const L=(E=yield s?.({content:JSON.stringify(l)}))!==null&&E!==void 0?E:!1;u?.({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=(I=l.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((B=(N=l.video)===null||N===void 0?void 0:N.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||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:y}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||b:n||h,alt:"icon"}))};var tn=a.memo(Us);const Gs=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:b,openHashtag:h,bffFbReport:y}=de(),m=a.useRef(0),[C,p]=a.useState(!1),[w,g]=a.useState(!0),{isActive:T}=Ji(),_=a.useRef(null),[f,O]=a.useState(""),k=`pb-cache-video-${e}`,S=a.useRef(null),E=a.useMemo(()=>r?.mode==="2",[r]),A=a.useMemo(()=>{var U;return r?.mode==="2"?`translateY(-${50+((U=r?.offsetTop)!==null&&U!==void 0?U:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),x=a.useMemo(()=>{var U;return((U=t?.video)===null||U===void 0?void 0:U.cover)||f},[f,t]),I=a.useMemo(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),P=a.useMemo(()=>r?.bgWay==="1",[r]),N=a.useMemo(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);a.useEffect(()=>{s&&s?.muted(l)},[l,s]);const B=a.useCallback(()=>{s&&s?.play()},[s]),G=Ae("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),H=a.useCallback(()=>{var U,$,Q,Z,ee,Y,se,ie,oe;if(!s)return;p(!0),u(!1);const ce=n[e];if(ce&&s?.duration()){m.current=s?.currentTime()||0;const V=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2),J=w?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Z=(Q=ce.video)===null||Q===void 0?void 0:Q.itemId)!==null&&Z!==void 0?Z:"",contentName:(Y=(ee=ce.video)===null||ee===void 0?void 0:ee.title)!==null&&Y!==void 0?Y:"",playType:J,startTime:F,videoDuration:V,contentTags:JSON.stringify((ie=(se=ce.video)===null||se===void 0?void 0:se.tags)!==null&&ie!==void 0?ie:[]),position:e+"",contentFormat:"video",traceInfo:(oe=ce.video)===null||oe===void 0?void 0:oe.traceInfo}}),g(!1)}},[c,n,e,w,s]),L=a.useCallback(()=>{var U;if(!s||f||!E)return;const $=document.getElementById("player-container-id_html5_api");if(!$||($.style.objectFit="contain",!((U=t?.video)===null||U===void 0)&&U.cover||!_||!_.current||P))return;const Q=()=>{const Z=$,ee=_?.current,Y=ee.getContext("2d"),se=window?.innerWidth,ie=window?.innerHeight;ee.height=ie,ee.width=se,Y?.drawImage(Z,0,0,ee.width,ee.height),O(ee.toDataURL())};Q(),setTimeout(()=>{Q()},500)},[s,P,t,f,E]),z=a.useCallback(()=>{s&&L()},[s,L]);a.useCallback(()=>{p(!0)},[]);const M=a.useCallback(U=>()=>{if(!s||!C)return;const $=s?.paused();switch(U){case"start":if(!$)return;s?.play(),u(!1);break;case"pause":if($)return;s?.pause(),u(!0);break;default:$?s?.play():s?.pause(),u(!$);break}},[C,s]),D=a.useCallback(()=>{var U,$,Q,Z,ee,Y,se,ie,oe;if(!s||o!==e)return;const ce=n[e],V=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2);if(s?.duration()){const J=(s?.currentTime()-m.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Z=(Q=ce.video)===null||Q===void 0?void 0:Q.itemId)!==null&&Z!==void 0?Z:"",contentName:(Y=(ee=ce.video)===null||ee===void 0?void 0:ee.title)!==null&&Y!==void 0?Y:"",endTime:F,videoDuration:V,playDuration:J,contentTags:JSON.stringify((ie=(se=ce.video)===null||se===void 0?void 0:se.tags)!==null&&ie!==void 0?ie:[]),position:e+"",contentFormat:"video",traceInfo:(oe=ce.video)===null||oe===void 0?void 0:oe.traceInfo}})}},[n,e,c,s,o]);a.useEffect(()=>{if(!T||!s)return;const U=t.video.url;if(!U)return;u(!1);const $=document.querySelector(`#${k}`),Q=document.querySelector("#player-container-id"),Z=document.querySelector("#player-container-id-copy");if(!(!Q&&!Z))return $?.appendChild(Q||Z),s?.src(U),s?.on("loadedmetadata",z),s?.on("loadeddata",L),s?.on("playing",H),s?.on("pause",D),s?.on("ended",B),()=>{Z?.appendChild(Q),s?.off("loadedmetadata",z),s?.off("loadeddata",L),s?.off("playing",H),s?.off("pause",D),s?.off("ended",B)}},[T,k,t,s]),a.useEffect(()=>{!s||!C||(T?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[T,C,s]),a.useEffect(()=>{if(!T||!s)return;!s?.paused()&&h?s?.pause():h||s?.play()},[h,T,s]),a.useEffect(()=>{if(!T)return;const U=()=>{M("start")(),y?.({eventName:"ViewContent"})},$=M("pause");return $e.on(je.PAGE_DID_SHOW,U),$e.on(je.PAGE_DID_HIDE,$),()=>{$e.off(je.PAGE_DID_SHOW,U),$e.off(je.PAGE_DID_HIDE,$)}},[M,T]);const R=a.useMemo(()=>!v?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[C,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const U=()=>{var $;o===e&&(!(($=t?.video)===null||$===void 0)&&$.url)&&s&&!d&&M("pause")()};return window.addEventListener("beforeunload",U),()=>{window.removeEventListener("beforeunload",U)}},[o,e,t,s,M,d]),t.video?a.createElement(a.Fragment,null,E?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:M(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},N)},!P&&a.createElement(Oe,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),a.createElement("canvas",{ref:_,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:S,id:k,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:G}))),R):a.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:M()},a.createElement("div",{className:"n-full-screen",ref:S,id:k,style:{width:"100%",height:"100%"}}),R,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:G}))):null};var $s=a.memo(Gs);const Ws=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[o,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!o;r(u),n?.(u)};return a.createElement("button",{style:l,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:o?e:i}))};var nn=a.memo(Ws);const Ys=({imageUrl:t,style:e})=>{const[i,n]=a.useState(!0);Ge(),a.useEffect(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const l=Ae("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=a.useMemo(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return a.createElement("div",{hidden:!i,className:`pb-finger-wrap ${o}`,style:e},a.createElement("img",{src:t||l}))},on=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,l=a.useMemo(()=>n?.mode==="2",[n]),o=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},(!l||!s)&&a.createElement(Oe,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),l&&a.createElement(Oe,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:o,left:0,right:0}}))},qs=({imgUrls:t,width:e,height:i,rec:n,index:l,onReportViewImageEnd:o,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Ji(),{sxpParameter:v,openHashtag:b}=de(),[h,y]=a.useState(!1);return a.useEffect(()=>{h&&c?(u?.current&&u.current.swiper.autoplay.start(),b?o(n):r(l)):(y(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,o,b,l,r,h]),a.createElement(tt,{ref:u,defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((d=s?.delay)!==null&&d!==void 0?d:3)*1e3}},t?.map(m=>a.createElement(Ve,{key:m},a.createElement(on,{src:m,height:i,imgUrlsPostConfig:s}))))};var Xs=a.memo(qs);const Js=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:o})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:b}=de(),h=y=>{v?b?.(!0):c?.(n),d?.(i?{hashTag:y,itemId:e,itemType:i,rec:l}:{hashTag:y,rec:l}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(_t,null,t?.map((y,m)=>a.createElement(Ve,{key:m,hidden:r?!1:m>=6,className:"clc-sxp-bottom-hashtag-item",style:o,onClick:()=>h(y)},`#${y}`))))};var ln=a.memo(Js),Ks="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 Dt(t){return a.memo(function(e){const{$store:i}=In(),n=o=>{let r=o;const s=o.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=me.get(i,c);return r=r.replace(d,v),v}})}),r},l=a.useMemo(()=>{var o,r,s;const{bindDatas:d}=e,u=we(e,["bindDatas"]);if((o=d?.forEach)===null||o===void 0||o.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:b}=c;b.replace(/{{\s*([\w.]+)\s*}}/g,(h,y)=>{var m,C;if(y){const p=(C=(m=me.get(i,y))!==null&&m!==void 0?m:e[v])!==null&&C!==void 0?C:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=me.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},l,l.eventMap))})}const Qs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:l}=Ge(),o=a.useMemo(()=>{var r,s,d,u,c,v,b,h,y,m,C,p,w,g,T,_,f,O,k,S,E,A,x,I,P,N,B,G,H,L,z;if(!t?.video)return null;let M=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?M="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?M="\u5546\u54C1CTA":M=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const D=i?.[M];if(((v=D?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((h=D?.item)===null||h===void 0?void 0:h.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((m=D?.item)===null||m===void 0?void 0:m.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((p=D?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((g=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||g===void 0)&&g.length)||((T=D?.item)===null||T===void 0?void 0:T.type)==="MultiCommodityDiro"&&!(!((f=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||f===void 0)&&f.length)||((O=D?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((S=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||S===void 0)&&S.length))return null;if(D&&n){const R=n[(E=D?.item)===null||E===void 0?void 0:E.type],U=Dt(R),$=(A=R?.extend)===null||A===void 0?void 0:A.defaulSetting,Q=((P=(I=(x=D?.item)===null||x===void 0?void 0:x.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return a.createElement(U,Object.assign({style:Object.assign(Object.assign(Object.assign({},$?.style),(N=D?.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({},$?.textStyle),(B=D?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=D?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},$?.props,(L=D?.item)===null||L===void 0?void 0:L.props,{event:((z=D?.item)===null||z===void 0?void 0:z.event)||{},schema:l,id:D?.id,key:D?.id,recData:t,isExternalLink:Q,index:e}))}else return null},[t,n,i,l]);return a.createElement(a.Fragment,null,o)};var sn=a.memo(Qs);const an=({nudge:t})=>{var e,i,n,l,o,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.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:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,a.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:"")))},ci="FOR U",Zs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ci),{getRecommendVideos:l,setRtcList:o,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u,waterFallData:c}=de(),v=a.useMemo(()=>[ci,...t],[t]),b=h=>()=>{if(h===i)return;let y;h!==ci&&(y=h),d?.(!0),l?.({themeTag:y}).then(m=>{var C,p,w,g;$e.emit(je.CHANGE_THEME_TAG,y),o?.((C=m?.recList)!==null&&C!==void 0?C:[]),r?.((p=m?.recList)!==null&&p!==void 0?p:[]),e?.(0),s?.(0),(g=(w=u?.current)===null||w===void 0?void 0:w.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{d?.(!1)}),n(h)};return c||t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},v.map(h=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${h===i?"clc-sxp-tagbar-list-item-active":""}`,key:h,onClick:b(h)},h))))};var rn=a.memo(Zs);const dn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:l,resolver:o,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:b=[],licenseUrl:h})=>{var y,m,C,p,w,g,T,_,f,O;const{schema:k}=Ge(),[S,E]=a.useState(0),A=a.useRef(0),[x,I]=a.useState(!1),[P,N]=a.useState(!0),B=a.useRef(),G=a.useRef(),[H,L]=a.useState(!1),[z,M]=a.useState(!1),{loadVideos:D,bffEventReport:R,loading:U,setPopupDetailData:$,ctaEvent:Q,swiperRef:Z,waterFallData:ee,setOpenHashtag:Y,appDomain:se,openHashtag:ie,loadingImage:oe,isFromHashtag:ce,popupDetailData:V,bffFbReport:F}=de(),[J,he]=a.useState(null),ve=a.useRef(),{productView:ye}=Ne(),ue=a.useMemo(()=>r.length>0&&!U&&An(),[r,U]),ge=a.useCallback(()=>{if(r.length<=0)return;Fe();const j=location.search.slice(1),K=fi.parse(j.replace(/\+/g,"%2B"));for(const te in K)K[te]=K[te].replace(/%2B/g,"+");const W=te=>{var le;return(le=K[te])!==null&&le!==void 0?le:""};R?.({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}}),F?.({eventName:"PageView"}),I(!0)},[R,r.length,F]),Fe=()=>{B.current=new Date,G.current=new Date,_n()},Ye=a.useRef();a.useEffect(()=>{if(!Ye.current&&!J){Ye.current=!0;const j=TCPlayer("player-container-id",{licenseUrl:h,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});j?.ready(()=>{he(j)})}},[J,h]),a.useEffect(()=>{x||ge()},[ge,x]),a.useEffect(()=>{var j;const K=r?.findIndex(W=>{var te,le,ae,q,re,pe,Te,xe,fe;return s==="\u591A\u5546\u54C1CTA"?((te=W?.video)===null||te===void 0?void 0:te.bindProducts)&&((ae=(le=W?.video)===null||le===void 0?void 0:le.bindProducts)===null||ae===void 0?void 0:ae.length)>0:s==="\u5546\u54C1CTA"?(q=W?.video)===null||q===void 0?void 0:q.bindProduct:((pe=(re=W?.video)===null||re===void 0?void 0:re.bindCta)===null||pe===void 0?void 0:pe.itemId)===s&&(((Te=W?.video)===null||Te===void 0?void 0:Te.url)||((fe=(xe=W?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||fe===void 0?void 0:fe.length))})||0;(j=Z?.current)===null||j===void 0||j.swiper.slideTo(K)},[s,Z]),a.useEffect(()=>{const j=r?.[S],K=()=>{var W,te,le,ae,q,re,pe,Te,xe,fe,be,Ke,Qe,Ze,qe;if(document.visibilityState==="hidden"){$e.emit(je.PAGE_DID_HIDE,j),lt(j),At(j);let He="";V&&(!((te=(W=j?.video)===null||W===void 0?void 0:W.bindProducts)===null||te===void 0)&&te.length||!((le=j?.video)===null||le===void 0)&&le.bindProduct)?He="pdpPage":V&&l?.[(re=(q=(ae=j.video)===null||ae===void 0?void 0:ae.bindCta)===null||q===void 0?void 0:q.itemId)!==null&&re!==void 0?re:""].item.type==="Appoint"?He="formPage":ce?He="hashTagPage":!((pe=j?.video)===null||pe===void 0)&&pe.url?He="videoPage":!((Te=j?.video)===null||Te===void 0)&&Te.imgUrls&&(!((fe=(xe=j?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||fe===void 0)&&fe.length)?He="imagePage":j?.product&&(He="productPage"),R?.({eventInfo:{sessionDuration:Math.floor((new Date-B.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(be=j?.video)===null||be===void 0?void 0:be.itemId,productId:(Ke=j?.product)===null||Ke===void 0?void 0:Ke.itemId,position:S+"",fromKName:He,fromKPage:location?.href,ctatId:(qe=(Ze=(Qe=j.video)===null||Qe===void 0?void 0:Qe.bindCta)===null||Ze===void 0?void 0:Ze.itemId)!==null&&qe!==void 0?qe:""}})}else document.visibilityState==="visible"&&(ge(),vi(S),$e.emit(je.PAGE_DID_SHOW,j))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[S,R,B,r,ge,V,ce,l]);const Le=a.useMemo(()=>{let j=0;return t?.logoUrl&&t?.isShowLogo&&(j+=45),b.length>0&&(j+=45,ee&&(j-=45)),i-j},[t,i,b,ee]),ct=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),it=a.useCallback((j,K)=>{var W,te,le,ae;return!((W=j.video)===null||W===void 0)&&W.url?a.createElement($s,{rec:j,index:K,muted:P,data:r,height:Le,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:J}):!((te=j.video)===null||te===void 0)&&te.imgUrls?a.createElement(Xs,{key:j.video.itemId,imgUrls:j.video.imgUrls,width:n,height:Le,rec:j,index:K,onReportViewImageEnd:lt,onViewImageStartEvent:vi,imgUrlsPostConfig:t?.imgUrlsPost}):j.product&&Array.isArray(t?.productPost)&&((le=t?.productPost)===null||le===void 0?void 0:le.length)>0?(ae=t?.productPost)===null||ae===void 0?void 0:ae.map((q,re)=>{var pe,Te,xe,fe,be,Ke,Qe,Ze;const qe=o[(pe=q?.item)===null||pe===void 0?void 0:pe.type],He=Dt(qe),Ue=(Te=qe?.extend)===null||Te===void 0?void 0:Te.defaulSetting;return a.createElement(He,Object.assign({key:`${K}${re}`,textStyle:Object.assign(Object.assign({},Ue?.textStyle),(xe=q?.item)===null||xe===void 0?void 0:xe.textStyle),bindDatas:(be=(fe=q?.item)===null||fe===void 0?void 0:fe.bindDatas)!==null&&be!==void 0?be:[]},Ue?.props,(Ke=q?.item)===null||Ke===void 0?void 0:Ke.props,{event:((Qe=q?.item)===null||Qe===void 0?void 0:Qe.event)||{},schema:k,id:q?.id,viewTime:G.current,rec:j,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},Ue?.style),(Ze=q?.item)===null||Ze===void 0?void 0:Ze.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,Le,P,S,t?.productPost,G,d,o,k,J]),nt=a.useCallback(j=>{M(j)},[]),ut=a.useMemo(()=>z?{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"},[z]),ot=a.useCallback((j,K)=>{var W,te,le,ae,q,re,pe;return j.video?a.createElement(a.Fragment,null,((W=j.video)===null||W===void 0?void 0:W.title)&&!z&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(an,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(sn,{rec:j,index:K,tempMap:l,resolver:o})):null,a.createElement("div",null,a.createElement(kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(le=(te=j.video)===null||te===void 0?void 0:te.title)!==null&&le!==void 0?le:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:nt}),a.createElement(ln,{index:S,tags:(q=(ae=j?.video)===null||ae===void 0?void 0:ae.hashTags)!==null&&q!==void 0?q:[],itemId:(re=j?.video)===null||re===void 0?void 0:re.itemId,itemType:!((pe=j.video)===null||pe===void 0)&&pe.itemId?"VIDEO":null,rec:j,hashTagStyle:v})))):null},[e,S,l,o,d,u,v,t,nt,z,ut]),Ie=a.useCallback((j,K)=>{var W,te,le,ae;if(!t?.isShowLike)return;let q=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return ee&&q<40&&(q+=40),j.video?a.createElement(tn,{key:j.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:j.isCollected,recData:j,className:"clc-sxp-like-button",style:{[(te=t.likeIconXPosit)!==null&&te!==void 0?te:"right"]:(le=t.likeIconX)!==null&&le!==void 0?le:0,[(ae=t.likeIconYPosit)!==null&&ae!==void 0?ae:"bottom"]:q},position:K}):null},[t,ee]),lt=j=>{var K,W,te,le,ae,q;if(!(!((K=j.video)===null||K===void 0)&&K.url)&&(!((W=j.video)===null||W===void 0)&&W.imgUrls)){const re=Date.now(),pe=(re-A.current)/1e3;R?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(le=(te=j.video)===null||te===void 0?void 0:te.itemId)!==null&&le!==void 0?le:"",contentName:(ae=j.video.title)!==null&&ae!==void 0?ae:"",imageEndTime:`${re}`,playDuration:`${pe}`,contentTags:JSON.stringify((q=j.video.tags)!==null&&q!==void 0?q:[]),position:S+"",contentFormat:"image",traceInfo:j.video.traceInfo}})}},st=j=>{var K,W,te,le,ae,q,re,pe,Te,xe;G.current=new Date;const fe=r[j.previousIndex];if(!fe)return;j.previousIndex-j.activeIndex<0?(R?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(K=fe.video)===null||K===void 0?void 0:K.itemId)!==null&&W!==void 0?W:"",productId:(le=(te=fe.product)===null||te===void 0?void 0:te.itemId)!==null&&le!==void 0?le:"",requestId:null}}),lt(fe)):(R?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(q=(ae=fe.video)===null||ae===void 0?void 0:ae.itemId)!==null&&q!==void 0?q:"",productId:(pe=(re=fe.product)===null||re===void 0?void 0:re.itemId)!==null&&pe!==void 0?pe:"",requestId:null}}),lt(fe)),At(fe);const be=r[j.activeIndex];!(!((Te=be?.video)===null||Te===void 0)&&Te.url)&&!(!((xe=be?.video)===null||xe===void 0)&&xe.imgUrls)&&be?.product&&F?.({eventName:"ProductView"})},At=j=>{var K,W,te;!(!((K=j?.video)===null||K===void 0)&&K.url)&&!(!((W=j?.video)===null||W===void 0)&&W.imgUrls)&&j?.product&&ye(j,j.product,(te=j?.product)===null||te===void 0?void 0:te.bindCta,G.current,S)};a.useEffect(()=>{const j=r[S];ie&&At(j)},[ie,r,S]);const vi=j=>{var K,W,te,le,ae,q;const re=r[j];if(!(!((K=re?.video)===null||K===void 0)&&K.url)&&(!((W=re?.video)===null||W===void 0)&&W.imgUrls)){const pe=Date.now();A.current=pe,R?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(le=(te=re.video)===null||te===void 0?void 0:te.itemId)!==null&&le!==void 0?le:"",contentName:(ae=re.video.title)!==null&&ae!==void 0?ae:"",imageStartTime:`${pe}`,contentTags:JSON.stringify((q=re.video.tags)!==null&&q!==void 0?q:[]),position:j+"",contentFormat:"image",traceInfo:re.video.traceInfo}}),F?.({eventName:"ViewContent"})}},mt=a.useMemo(()=>{const j=r?.map((K,W)=>S===W||W-1===S||W+1===S?K:null);return ee?j:j.concat([{loading:!0}])},[r,S,ee]),un=a.useMemo(()=>U?a.createElement("div",{style:{height:Le,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:oe,alt:"loading...",style:{objectFit:"contain"}})):mt?.map((j,K)=>a.createElement(Ve,{key:K,virtualIndex:K},j&&a.createElement(a.Fragment,null,j?.loading?a.createElement("div",{style:{height:Le,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:oe,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,it(j,K),ot(j,K),Ie(j,K))))),[n,r,Le,U,ot,it,mt,oe]),pn=Ae("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),vn=Ae("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},ee&&a.createElement(Zi,{icon:Ks,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Y?.(!0)}}),ct,a.createElement(rn,{tagList:b,setActiveIndex:E}),ue?a.createElement(Ys,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,a.createElement(tt,{ref:Z,onSlideChange:()=>{Z.current.swiper.allowTouchMove=!1,setTimeout(()=>{Z.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:j=>{E(j.activeIndex),!ie&&(st(j),!ee&&j?.activeIndex+2>=r?.length&&(H||(L(!0),D?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:Le},a.createElement(nn,{style:{position:"fixed",visibility:!((C=(m=r?.[S])===null||m===void 0?void 0:m.video)===null||C===void 0)&&C.url?"visible":"hidden",zIndex:999,[(p=t?.muteIconXPosit)!==null&&p!==void 0?p:"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:pn,unactiveIcon:t?.muteIcon?t?.muteIcon:vn,onChange:N}),un),a.createElement(en,Object.assign({},(O=(f=(_=t?.hashTag)===null||_===void 0?void 0:_[0])===null||f===void 0?void 0:f.item)===null||O===void 0?void 0:O.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:ve,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},ea=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o})=>a.createElement(tt,{defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(Ve,{key:r},a.createElement(on,{src:r,height:i,imgUrlsPostConfig:n}))));var ta=a.memo(ea);const ia=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:b,waterFallData:h,openHashtag:y}=de(),m=a.useRef(0),[C,p]=a.useState(!1),[w,g]=a.useState(!0),T=a.useRef(null),[_,f]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=l)},[l]);const O=a.useCallback(()=>{var L;(L=c.current)===null||L===void 0||L.play()},[]),k=Ae("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=a.useCallback(()=>{var L,z,M,D,R,U,$,Q,Z,ee,Y,se,ie;u(!1);const oe=n[e];if(oe&&(!((L=c?.current)===null||L===void 0)&&L.duration)){m.current=((z=c?.current)===null||z===void 0?void 0:z.currentTime)||0;const ce=((D=(M=c.current)===null||M===void 0?void 0:M.duration)!==null&&D!==void 0?D:0).toFixed(2),V=((U=(R=c.current)===null||R===void 0?void 0:R.currentTime)!==null&&U!==void 0?U:0).toFixed(2),F=w?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Q=($=oe.video)===null||$===void 0?void 0:$.itemId)!==null&&Q!==void 0?Q:"",contentName:(ee=(Z=oe.video)===null||Z===void 0?void 0:Z.title)!==null&&ee!==void 0?ee:"",playType:F,startTime:V,videoDuration:ce,contentTags:JSON.stringify((se=(Y=oe.video)===null||Y===void 0?void 0:Y.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(ie=oe.video)===null||ie===void 0?void 0:ie.traceInfo}}),g(!1)}},[v,n,e,w]),E=a.useCallback(()=>{p(!0)},[]),A=a.useCallback(L=>()=>{var z,M,D,R,U;if(!C)return;const $=(z=c.current)===null||z===void 0?void 0:z.paused;switch(L){case"start":if(!$)return;(M=c.current)===null||M===void 0||M.play(),u(!1);break;case"pause":if($)return;(D=c.current)===null||D===void 0||D.pause(),u(!0);break;default:$?(R=c.current)===null||R===void 0||R.play():(U=c.current)===null||U===void 0||U.pause(),u(!$);break}},[C]),x=a.useCallback(()=>{var L,z,M,D,R,U,$,Q,Z,ee,Y,se,ie;const oe=n[e],ce=((z=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&z!==void 0?z:0).toFixed(2),V=((D=(M=c.current)===null||M===void 0?void 0:M.currentTime)!==null&&D!==void 0?D:0).toFixed(2);if(!((R=c?.current)===null||R===void 0)&&R.duration){const F=(((U=c?.current)===null||U===void 0?void 0:U.currentTime)-m.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Q=($=oe.video)===null||$===void 0?void 0:$.itemId)!==null&&Q!==void 0?Q:"",contentName:(ee=(Z=oe.video)===null||Z===void 0?void 0:Z.title)!==null&&ee!==void 0?ee:"",endTime:V,videoDuration:ce,playDuration:F,contentTags:JSON.stringify((se=(Y=oe.video)===null||Y===void 0?void 0:Y.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(ie=oe.video)===null||ie===void 0?void 0:ie.traceInfo}})}},[n,e,v]),I=a.useMemo(()=>r?.mode==="2",[r]),P=a.useMemo(()=>{var L;return r?.mode==="2"?`translateY(-${50+((L=r?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),N=a.useMemo(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||_},[_,t]),B=a.useCallback(()=>{if(!T||!c||!c.current||!T.current)return;const L=c?.current,z=T?.current,M=z.getContext("2d"),D=window?.innerWidth,R=window?.innerHeight;z.height=R,z.width=D,M?.drawImage(L,0,0,z.width,z.height),f(z.toDataURL())},[]);a.useEffect(()=>{var L,z,M,D;if(c.current){if(u(!1),!c.current.src){const R=t.video.url;if(R.includes(".m3u8"))if(mi.isSupported()){const U=new mi;U.loadSource(R),U.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=R;else c.current.src=R;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(L=c.current)===null||L===void 0||L.addEventListener("loadedmetadata",E),(z=c.current)===null||z===void 0||z.addEventListener("canplay",E),(M=c.current)===null||M===void 0||M.addEventListener("playing",S),(D=c.current)===null||D===void 0||D.addEventListener("loadeddata",B),()=>{var R,U,$,Q;(R=c.current)===null||R===void 0||R.removeEventListener("loadedmetadata",E),(U=c.current)===null||U===void 0||U.removeEventListener("canplay",E),($=c.current)===null||$===void 0||$.removeEventListener("playing",S),(Q=c.current)===null||Q===void 0||Q.removeEventListener("loadeddata",B)}}},[E,S,t.video,B]);const G=a.useMemo(()=>!b?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:b?.placeholder_image}),[C,b?.placeholder_image]);a.useEffect(()=>{const L=()=>{var z,M;o===e&&(!((z=t?.video)===null||z===void 0)&&z.url)&&(!((M=c?.current)===null||M===void 0)&&M.src)&&!d&&A("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[o,e,t,c,A,d]);const H=a.useMemo(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t.video?a.createElement(a.Fragment,null,I?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(Oe,{src:N,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),a.createElement("canvas",{ref:T,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))),G):a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O}),G,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))):null};var na=a.memo(ia);const ui={};Object.values(di).forEach(t=>{ui[t.extend.type]=t});const oa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",la="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),c.length>0&&(f+=45),s-f},[e,s,c]),b=(f,O)=>{var k,S,E,A;if(!((k=f.video)===null||k===void 0)&&k.url)return a.createElement(na,{rec:f,index:O,muted:!0,width:d,data:t??[],height:v,activeIndex:O,videoPostConfig:e?.videoPost});if(!((S=f.video)===null||S===void 0)&&S.imgUrls)return a.createElement(ta,{key:f.video.itemId,imgUrls:f.video.imgUrls,width:d,height:v,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,I)=>{var P,N,B,G,H,L,z,M;const D=ui[(P=x?.item)===null||P===void 0?void 0:P.type],R=Dt(D),U=(N=D?.extend)===null||N===void 0?void 0:N.defaulSetting;return a.createElement(R,Object.assign({key:`${O}${I}`,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:((z=x?.item)===null||z===void 0?void 0:z.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:d,height:v,overflow:"auto"}),index:O}))})},h=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(f,O)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(sn,{rec:f,index:O,tempMap:l,resolver:ui})):null,m=(f,O)=>{var k,S,E,A,x,I,P;return f.video?a.createElement(a.Fragment,null,((k=f.video)===null||k===void 0?void 0:k.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(an,{nudge:n}),y(f,O),a.createElement("div",null,a.createElement(kt,{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"})})),a.createElement(ln,{index:O,tags:(x=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&x!==void 0?x:[],itemId:(I=f?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=f.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:r}))):null},C=Ae(la,u),p=Ae(oa,u),w=(f,O)=>{var k,S,E,A;if(!e?.isShowLike)return;let x=(k=e?.likeIconY)!==null&&k!==void 0?k:400;return x<40&&(x+=40),f.video?a.createElement(tn,{key:f.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:C,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,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=Ae("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),T=Ae("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),_=(f,O)=>{var k,S,E,A;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},h,a.createElement(rn,{tagList:c}),a.createElement(nn,{style:{position:"absolute",right:(k=e?.muteIconX)!==null&&k!==void 0?k: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 a.createElement("div",{className:X.css({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)=>_(f,O)))};var aa=a.memo(sa);const ra=()=>{const{schema:t,resolver:e,popup:i}=Ge(),{setPopupDetailData:n,popupDetailData:l,bffEventReport:o}=de(),{productView:r}=Ne(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const b=()=>{u.current=new Date};return b(),window.addEventListener("pageshow",b),()=>{window.removeEventListener("pageshow",b)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var b,h,y,m;if(!i||i?.id===""||!s||new Date-u.current<((b=i?.duration)!==null&&b!==void 0?b:0))return;d(Object.assign(Object.assign({},i),{id:""}));const C=l,p=(h=C?.video)===null||h===void 0?void 0:h.bindProduct,w=(m=(y=C?.video)===null||y===void 0?void 0:y.bindProduct)===null||m===void 0?void 0:m.bindCta;p&&w&&r(C,p,w,u.current,l?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{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,C)=>{var p,w,g,T,_,f,O,k,S,E,A,x,I,P;if(m?.id===i?.id){const N=e[(p=m?.item)===null||p===void 0?void 0:p.type],B=Dt(N),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=(_=m?.item)===null||_===void 0?void 0:_.event)===null||f===void 0?void 0:f.onClick)===null||O===void 0?void 0:O.linkType)==="popup",L=(k=N?.extend)===null||k===void 0?void 0:k.defaulSetting;return a.createElement(B,Object.assign({key:C,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,(I=m?.item)===null||I===void 0?void 0:I.props,{event:((P=m?.item)===null||P===void 0?void 0:P.event)||{},schema:t,id:m?.id,isExternalLink:G,isPopup:H,onClose:c}))}else return a.createElement(a.Fragment,null)})},[t,i,e,c]);return a.createElement(It,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},pi={};Object.values(di).forEach(t=>{pi[t.extend.type]=t});const da=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:o,licenseUrl:r,enabledMetaConversionApi:s})=>{var d,u,c,v,b,h;const y=a.useMemo(()=>{var m;return location?.search?(m=location?.search)===null||m===void 0?void 0:m.replace("?",""):""},[]);return a.createElement(Ai,{resolver:pi,enableDataSource:!1,schema:t?.data,utmVal:y},a.createElement(Ii,{utmVal:y,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v: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:C})=>{var p;return a.createElement(a.Fragment,null,a.createElement(dn,Object.assign({},(p=t?.data)===null||p===void 0?void 0:p.sxpPageConf,{tagList:C,data:m,resolver:pi,licenseUrl:r})),a.createElement(ra,null))}}))};var ca=a.memo(da);const cn=a.createContext({}),ua=({children:t,data:e})=>{var i,n,l,o,r,s;const[d,u]=a.useState(!1);return a.createElement(cn.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:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function pa(){return a.useContext(cn)}exports.DiyPortalPreview=aa,exports.EditorDataProvider=ua,exports.Modal=It,exports.SxpDataSourceProvider=Ii,exports.SxpPageCore=ca,exports.SxpPageRender=dn,exports.core=Ln,exports.default=Cn,exports.defaultSetting=ke,exports.materials=di,exports.useEditorDataProvider=pa;
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:f?.info})))},te=()=>{var Y;return a.createElement(a.Fragment,null,(m||L?.link)&&a.createElement("button",{onClick:R,className:"pb-commondity-btn",style:M},(Y=D?.enTitle)!==null&&Y!==void 0?Y:"Purchase on Website"))};return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:J.css(Object.assign({},v))},T),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:oe,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(He,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:oe,height:oe}},a.createElement(Le,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:Y}))))),!(!((d=L?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:J.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:J.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=E?.bottom_image)!==null&&u!==void 0?u:C,alt:""})),a.createElement("div",{className:"pb-commondity-content"},Z({isPost:w}))),te(),a.createElement(It,{visible:F,onClose:()=>N(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},Z({isPost:!1})),te()))};var Cl=a.memo(El);const Il=Ae(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Fn},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 _l=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ei,ti,kl=[{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:De?.fontOptions,initialValue:(ti=(ei=De?.fontOptions)===null||ei===void 0?void 0:ei[0])===null||ti===void 0?void 0:ti.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"]}]}],Ji="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 Dl=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}},Al=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:d,submitButtonStyle:u}=t,c=we(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:v}=de(),{jumpToWeb:g}=Be(),b=typeof o=="string"?o:Dl(o),y=()=>{var m,C,p;if(r){const w=v,h=(m=w?.video)===null||m===void 0?void 0:m.bindProduct,S=(p=(C=w?.video)===null||C===void 0?void 0:C.bindProduct)===null||p===void 0?void 0:p.bindCta,k=v?.index;g(w,h,S,k)}l||s?.(),d?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${J.css(Object.assign({},n))}`},c),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:b??Ji})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",style:u,onClick:y},i))};var Pl=a.memo(Al);const Ol=Ae(Pl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:kl,bindableProps:[],interactionRender:_l},defaulSetting:{props:{icon:Ji,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ii,ni,Ml=[{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:-1e3,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:le,name:["fontFamily"],initialValue:(ii=le?.[0])===null||ii===void 0?void 0:ii.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:le,initialValue:(ni=le?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Ll=t=>{var e,i,n,o,l,r,s,d,u,c,v,g,{style:b,isDefault:y,rec:m,viewTime:C,isPost:p,bottom_image:w,tipText:h,swiper:S,commodityStyles:k,buttonStyle:f,index:M}=t,_=we(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:T}=de(),{popupDetailData:E,bffEventReport:A,isPreview:x,swiperRef:I,bffFbReport:P}=de(),{jumpToWeb:j,productView:z}=Be(),H=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[F,N]=a.useState(!1),B=a.useRef(null),L=p?m:E,D=p?L?.product:(e=L?.video)===null||e===void 0?void 0:e.bindProduct,G=p?(i=L?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=L?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,R=p?M:E?.index,$=()=>{D?.link&&(j(L,D,G,R),p||z(L,D,G,C||B.current,R),window.location.href=window.getJointUtmLink(D.link))};a.useEffect(()=>{p||P?.({eventName:"ProductView"})},[p,P]),a.useEffect(()=>{const Y=()=>{B.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const oe=a.useMemo(()=>{var Y,re,se,q,ee;return D?.currency&&D?.price?`${(se=(re=(Y=D?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||re===void 0?void 0:re.toUpperCase())!==null&&se!==void 0?se:""}${(ee=(q=D?.price)===null||q===void 0?void 0:q.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ee!==void 0?ee:""}`:"\xA3102,300.00"},[D?.price,D?.currency]),Z=x?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:Y})=>a.createElement("div",{hidden:!!D&&(!D?.info||D?.info==="")},a.createElement(_t,{isPost:Y,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:k?.info,foldText:h?.foldText,unfoldText:h?.unfoldText,text:D?.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 a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:H,className:J.css(Object.assign({},b))},_),D&&((r=D?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:Z,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:S?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:S?.delay*1e3}},(s=D?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(He,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:Z,height:Z}},a.createElement(Le,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${S?.translateY?-S?.translateY+50:50}%`},src:Y}))))),!(!((d=D?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:J.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:J.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=T?.bottom_image)!==null&&u!==void 0?u:w,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:k?.title},(c=D?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!D&&(!D?.collection||D?.collection===""),style:k?.collection},D?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.price,style:k?.price},oe),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.taxInfo,style:k?.taxInfo},(v=D?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!D||D?.link)&&a.createElement("button",{onClick:$,className:"pb-commondityDiroNew-btn",style:f},(g=G?.enTitle)!==null&&g!==void 0?g:"Shop now"),te({isPost:p}))),a.createElement(It,{visible:F,onClose:()=>N(!1)},te({isPost:!1})))};var jl=a.memo(Ll);const Nl=Ae(jl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Ml},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 oi,li,je=[{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:-1e3,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:le,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(oi=le?.[0])===null||oi===void 0?void 0:oi.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:le,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(li=le?.[0])===null||li===void 0?void 0:li.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"]}]}],Bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Ki(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{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 Rl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;we(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Ki(d),{popup:c}=$e(),{setPopupDetailData:v,ctaEvent:g}=de(),{jumpToWeb:b}=Be();a.useEffect(()=>{var m,C;if(u&&d?.current){const p=(C=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&C!==void 0?C:e?.video;g?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,g,s]);const y=he.throttle(()=>{var m,C,p,w,h,S,k,f;const M=(C=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&C!==void 0?C:e?.video;if(g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((w=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||w===void 0)&&w.link){const _=(h=e?.video)===null||h===void 0?void 0:h.bindCta,T=(S=e?.video)===null||S===void 0?void 0:S.bindProduct;b(e,T,_,s),window.location.href=window.getJointUtmLink((f=(k=e?.video)===null||k===void 0?void 0:k.bindProduct)===null||f===void 0?void 0:f.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:y},i)};var ft=a.memo(Rl),zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Vl=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,recData:b,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:h}=de(),S=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,k=(r=(l=(n=(i=b?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:b,className:J.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${p?-p+50:50}%`}),src:k})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:zl["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=S?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop Now")))};var Fl=a.memo(Vl);const Hl=Ae(Fl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Bl,bindableProps:[],settingRender:je},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 Ul=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Gl=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,g=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:b}=de(),y=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ft,Object.assign({isExternalLink:v,rec:d,className:J.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},g),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:b?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=y?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var $l=a.memo(Gl);const Wl=Ae($l,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ul,settingRender:je?.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 Yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const ql=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:g}=t,b=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:m}=de(),{jumpToWeb:C}=Be(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,w=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{p?.link&&(C(u,w,p,g),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ft,Object.assign({index:g,rec:u,className:J.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},b,{onClick:h}),a.createElement("div",{className:J.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&o!==void 0?o:c})),a.createElement("div",{className:J.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Yl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Xl=a.memo(ql);const Jl=Ae(Xl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:je?.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 Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Zl=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,recData:b,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:h}=de(),S=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,k=(r=(l=(n=(i=b?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:b,className:J.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${p?-p+50:50}%`}),src:k})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Ql["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=S?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop Now")))};var es=a.memo(Zl);const ts=Ae(es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Kl,settingRender:je,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 is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const os=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,recData:b,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:h}=de(),S=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,k=(r=(l=(n=(i=b?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:b,className:J.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${p?-p+50:50}%`}),src:k})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ns["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:J.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=S?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop now")))};var ls=a.memo(os);const ss=Ae(ls,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:is,bindableProps:[],settingRender:je},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 as=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const rs=({children:t,isPadding:e=!0})=>a.createElement(it,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Qn,Kn,Jn],style:{padding:e?"0 12px 0 20px":0}},t);var kt=a.memo(rs);const ds=({src:t,rec:e,item:i,index:n,style:o})=>{const l=a.useRef(null),r=Ki(l),{ctaEvent:s}=de();return a.useEffect(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),a.createElement("div",{ref:l,hidden:!t,className:J.css({width:"100%",height:"100%"})},a.createElement(Le,{className:J.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var si=a.memo(ds),cs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:g=0}=t,b=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:C}=de(),{popup:p}=$e(),{jumpToWeb:w}=Be(),[h,S]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=he.throttle(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),m?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(kt,{isPadding:!!r},h?.map(f=>{var M,_,T,E,A,x,I;return a.createElement(He,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},b,{onClick:()=>k(f)}),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(T=(M=f?.cover)!==null&&M!==void 0?M:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:C?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${g?-g+50:50}%`}})),a.createElement("div",{className:J.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:cs["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var ps=a.memo(us);const vs=Ae(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:as,bindableProps:[],settingRender:je},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 fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ms={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const hs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:g=0}=t,b=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=de(),{ctaEvent:m,setPopupDetailData:C}=de(),{popup:p}=$e(),[w,h]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:S}=Be(),k=he.throttle(f=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),C?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(S(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(kt,{isPadding:!!r},w?.map(f=>{var M,_,T,E,A,x,I;return a.createElement(He,Object.assign({hidden:r&&!f?.bindCta,key:f.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},b,{onClick:()=>k(f)}),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(T=(M=f?.cover)!==null&&M!==void 0?M:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:y?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${g?-g+50:50}%`}})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ms["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var gs=a.memo(hs);const bs=Ae(gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:fs,settingRender:je,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 ys=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:g=0}=t,b=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:C}=de(),{popup:p}=$e(),{jumpToWeb:w}=Be(),[h,S]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=he.throttle(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),m?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(kt,{isPadding:!!r},h?.map(f=>{var M,_,T,E,A,x,I;return a.createElement(He,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},b,{onClick:()=>k(f)}),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(T=(M=f?.cover)!==null&&M!==void 0?M:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:C?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${g?-g+50:50}%`}})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:ws["tow-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:J.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Ts=a.memo(Ss);const xs=Ae(Ts,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ys,bindableProps:[],settingRender:je},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 ai,ri,Es=[{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:le,name:["fontFamily"],initialValue:(ai=le?.[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"}]}]},{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:le,initialValue:(ri=le?.[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"]}]},{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 Cs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=de();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Qi=a.memo(Cs),Is=null,_s="3d989325-e7d6-4a74-8a97-98febdf5b567",ks=null,Ds=null,As={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"},Ps=[{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}],Os="Handbags",Ms={productUserId:Is,requestId:_s,channel:ks,rtc:Ds,tag:As,recList:Ps,hashTag:Os};const Ls=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=de(),[g,b]=a.useState(!1),y=a.useRef(null),m=a.useRef(null),C=a.useRef(null),p=a.useRef(null),[w,h]=a.useState(""),S=a.useMemo(()=>{var T,E,A,x,I,P,j,z,H,F;return!((T=e?.video)===null||T===void 0)&&T.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=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((z=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||z===void 0)&&z.length?(F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0?void 0:F[0]:v?.bottom_image||""},[e,v?.bottom_image]),k=a.useMemo(()=>{var T,E;return((T=e?.product)===null||T===void 0?void 0:T.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),f=a.useMemo(()=>{var T,E,A,x,I,P,j,z,H;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(P=(I=(x=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||x===void 0?void 0:x.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(H=(z=(j=e?.product)===null||j===void 0?void 0:j.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);a.useEffect(()=>{const T=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(m.current===null||S==="")return;g&&w?y.current.setSrc(w):y.current.setSrc(S),T.unobserve(m.current)}})});return T.observe(m.current),()=>{T.disconnect()}},[S,g,w]);const M=(T,E,A)=>{const x=T/E;return A/x};a.useEffect(()=>{const T=C?.current;T===null||S===""||!g||(T.src=S,T.currentTime=1,T.crossOrigin="anonymous",T.onloadeddata=()=>{const E=p?.current;if(!E)return;const A=E.getContext("2d"),x=window?.innerWidth/2,I=M(T.videoWidth,T.videoHeight,x);E.height=I,E.width=x,A?.drawImage(T,0,0,E.width,E.height),h(E.toDataURL()),T.remove(),E.remove()})},[S,g]);const _=()=>{o(),d?.(n),setTimeout(()=>{var T;(T=s?.current)===null||T===void 0||T.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:m,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},g&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(Le,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!f},f)))};function js(t){var e,i,n,o,l,r,s,d,u,c,v,g,{reportTagsView:b}=t,y=we(t,["reportTagsView"]);const{waterFallData:m,getRecommendVideos:C,hashTagSize:p,loadingImage:w,isOpenHashTag:h}=de(),[S,k]=a.useState(),[f,M]=a.useState(),[_,T]=a.useState(!1),E=a.useRef(null),[A,x]=a.useState(!1);a.useCallback(()=>{A||(x(!0),m&&C?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(P=>{var j;k(S?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),x(!1)}))},[m,C,S,A]),a.useEffect(()=>{var P,j;if(T(!0),m&&C?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:p,maxSize:p}).then(z=>{var H,F;M(z),k((F=(H=z?.recList)===null||H===void 0?void 0:H.filter(N=>N?.video!==null||N?.product!==null))!==null&&F!==void 0?F:[]),T(!1)}),h){const z=Ms;M(z),k((j=(P=z?.recList)===null||P===void 0?void 0:P.filter(H=>H?.video!==null||H?.product!==null))!==null&&j!==void 0?j:[]),T(!1)}},[m,C,p,h]);const I=()=>{var P,j;!((P=f?.tag)===null||P===void 0)&&P.link&&(b(),window.location.href=(j=f?.tag)===null||j===void 0?void 0:j.link)};return a.createElement(a.Fragment,null,_?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:E},a.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),a.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:I,style:Object.assign(Object.assign({},(o=y?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:y?.space})},((l=f?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),a.createElement("div",{className:"list-content"},S?.map((P,j)=>a.createElement(Ls,Object.assign({key:j,index:j,rec:P,list:S,reportTagsView:b},y)))),a.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),a.createElement("div",{hidden:!(!((r=f?.tag)===null||r===void 0)&&r.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((d=y?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((u=y?.buttonStyle)===null||u===void 0?void 0:u.height)||"100px":0}})),a.createElement("div",{className:"list-bottom",hidden:!(!((c=f?.tag)===null||c===void 0)&&c.link),style:y?.buttonBgStyle}),a.createElement("div",{hidden:!(!((v=f?.tag)===null||v===void 0)&&v.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},y?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},a.createElement("button",{className:"list-btn",style:y?.buttonStyle,onClick:I},((g=f?.tag)===null||g===void 0?void 0:g.linkTitle)||"Shop the collection"))))}var Ns="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Bs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:g,isFromHashtag:b,bffEventReport:y}=de();a.useRef(null);const m=a.useRef(null),[C,p]=a.useState();a.useEffect(()=>{const f=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?m.current=M:(m.current=document.createElement("div"),m.current.setAttribute("id","water-fall"),f?.appendChild(m.current))},[]);const w=()=>{const f=he.isEqual(c,s);!f&&s&&s?.length&&d?.(s),k(),r?.(void 0),g?.(!1),setTimeout(()=>{var M,_;f||(_=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||_===void 0||_.slideTo(u,0,!1),n?.(!1)},0)},[h,S]=a.useState();a.useEffect(()=>{i&&S(i)},[i]);const k=a.useCallback(()=>{var f,M,_,T,E,A;const x=h?.rec;if(!x)return;let I="";b?I="hashTagPage":!((f=x?.video)===null||f===void 0)&&f.url?I="videoPage":!((_=(M=x?.video)===null||M===void 0?void 0:M.imgUrls)===null||_===void 0)&&_.length&&(I="imagePage"),y?.({eventInfo:{contentId:(T=x?.video)===null||T===void 0?void 0:T.itemId,position:u+"",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([h?.hashTag]),fromKName:I,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,y,C,b,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const f=()=>{p(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),m.current?mi.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Qi,{icon:Ns,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),a.createElement(js,Object.assign({reportTagsView:k},t))),m.current):null};var Zi=a.memo(Bs);const Rs=t=>a.createElement(Zi,Object.assign({},t));var zs=a.memo(Rs);const Vs=Ae(zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Es,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 di=Object.freeze({__proto__:null,Appoint:Wl,AppointForm:Vn,Commodity:Hl,CommodityDetail:Il,CommodityDetailDiroNew:Nl,CommodityDiro:ts,CommodityDiroNew:ss,HashTag:Vs,Link:Jl,MultiCommodity:bs,MultiCommodityDiro:vs,MultiCommodityDiroNew:xs,Prompt:Ol});const Fs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Hs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=we(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=de(),[c,v]=a.useState(e),g=Oe(Hs),b=Oe(Fs),y=he.debounce(()=>Ee(void 0,void 0,void 0,function*(){var m,C,p,w,h,S,k,f,M,_,T,E,A,x,I,P,j,z,H,F;if(c){v(!1);const N=(p=yield d?.({videoItemId:(C=(m=o?.video)===null||m===void 0?void 0:m.itemId)!==null&&C!==void 0?C:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(w=o?.video)===null||w===void 0?void 0:w.itemId)!==null&&h!==void 0?h:"",contentName:(k=(S=o?.video)===null||S===void 0?void 0:S.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((M=(f=o?.video)===null||f===void 0?void 0:f.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((_=o?.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(T=o?.video)===null||T===void 0?void 0:T.traceInfo}}),N||v(!0)}else{v(!0);const N=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(A=o?.video)===null||A===void 0?void 0:A.itemId)!==null&&x!==void 0?x:"",contentName:(P=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((z=(j=o?.video)===null||j===void 0?void 0:j.tags)!==null&&z!==void 0?z:[]),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}}),N||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:y}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||g:n||b,alt:"icon"}))};var en=a.memo(Us);const Gs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:g,openHashtag:b,bffFbReport:y}=de(),m=a.useRef(0),[C,p]=a.useState(!1),[w,h]=a.useState(!0),{isActive:S}=Xi(),k=a.useRef(null),[f,M]=a.useState(""),_=`pb-cache-video-${e}`,T=a.useRef(null),E=a.useMemo(()=>r?.mode==="2",[r]),A=a.useMemo(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),x=a.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||f},[f,t]),I=a.useMemo(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),P=a.useMemo(()=>r?.bgWay==="1",[r]),j=a.useMemo(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const z=a.useCallback(()=>{s&&s?.play()},[s]),H=Oe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=a.useCallback(()=>{var R,$,oe,Z,te,Y,re,se,q;if(!s)return;p(!0),u(!1);const ee=n[e];if(ee&&s?.duration()){m.current=s?.currentTime()||0;const _e=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2),U=w?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Z=(oe=ee?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&Z!==void 0?Z:"",contentName:(Y=(te=ee?.video)===null||te===void 0?void 0:te.title)!==null&&Y!==void 0?Y:"",playType:U,startTime:V,videoDuration:_e,contentTags:JSON.stringify((se=(re=ee?.video)===null||re===void 0?void 0:re.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(q=ee?.video)===null||q===void 0?void 0:q.traceInfo}}),h(!1)}},[c,n,e,w,s]),N=a.useCallback(()=>{var R;if(!s||f||!E)return;const $=document.getElementById("player-container-id_html5_api");if(!$||($.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!k||!k.current||P))return;const oe=()=>{const Z=$,te=k?.current,Y=te.getContext("2d"),re=window?.innerWidth,se=window?.innerHeight;te.height=se,te.width=re,Y?.drawImage(Z,0,0,te.width,te.height),M(te.toDataURL())};oe(),setTimeout(()=>{oe()},500)},[s,P,t,f,E]),B=a.useCallback(()=>{s&&N()},[s,N]);a.useCallback(()=>{p(!0)},[]);const L=a.useCallback(R=>()=>{if(!s||!C)return;const $=s?.paused();switch(R){case"start":if(!$)return;s?.play(),u(!1);break;case"pause":if($)return;s?.pause(),u(!0);break;default:$?s?.play():s?.pause(),u(!$);break}},[C,s]),D=a.useCallback(()=>{var R,$,oe,Z,te,Y,re,se,q;if(!s||l!==e)return;const ee=n[e],_e=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2);if(s?.duration()){const U=(s?.currentTime()-m.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Z=(oe=ee?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&Z!==void 0?Z:"",contentName:(Y=(te=ee?.video)===null||te===void 0?void 0:te.title)!==null&&Y!==void 0?Y:"",endTime:V,videoDuration:_e,playDuration:U,contentTags:JSON.stringify((se=(re=ee?.video)===null||re===void 0?void 0:re.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(q=ee?.video)===null||q===void 0?void 0:q.traceInfo}})}},[n,e,c,s,l]);a.useEffect(()=>{if(!S||!s)return;const R=t?.video.url;if(!R)return;s?.src(R),u(!1);const $=document.querySelector(`#${_}`),oe=document.querySelector("#player-container-id"),Z=document.querySelector("#player-container-id-copy");if(!(!oe&&!Z))return $?.appendChild(oe||Z),s?.on("loadedmetadata",B),s?.on("loadeddata",N),s?.on("playing",F),s?.on("pause",D),s?.on("ended",z),()=>{Z?.appendChild(oe),s?.off("loadedmetadata",B),s?.off("loadeddata",N),s?.off("playing",F),s?.off("pause",D),s?.off("ended",z)}},[S,_,t,s]),a.useEffect(()=>{!s||!C||(S?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[S,C,s]),a.useEffect(()=>{if(!S||!s)return;!s?.paused()&&b?s?.pause():b||s?.play()},[b,S,s]),a.useEffect(()=>{if(!S)return;const R=()=>{L("start")(),y?.({eventName:"ViewContent"})},$=L("pause");return We.on(Ne.PAGE_DID_SHOW,R),We.on(Ne.PAGE_DID_HIDE,$),()=>{We.off(Ne.PAGE_DID_SHOW,R),We.off(Ne.PAGE_DID_HIDE,$)}},[L,S]);const G=a.useMemo(()=>!v?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[C,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const R=()=>{var $;l===e&&(!(($=t?.video)===null||$===void 0)&&$.url)&&s&&!d&&L("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,L,d]),t?.video?a.createElement(a.Fragment,null,E?a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&a.createElement(Le,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),a.createElement("canvas",{ref:k,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:T,id:_,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))),G):a.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},a.createElement("div",{className:"n-full-screen",ref:T,id:_,style:{width:"100%",height:"100%"}}),G,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))):null};var $s=a.memo(Gs);const Ws=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var tn=a.memo(Ws);const Ys=({imageUrl:t,style:e})=>{const[i,n]=a.useState(!0);$e(),a.useEffect(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Oe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=a.useMemo(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return a.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},a.createElement("img",{src:t||o}))},nn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},(!o||!s)&&a.createElement(Le,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(Le,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},qs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Xi(),{sxpParameter:v,openHashtag:g}=de(),[b,y]=a.useState(!1);return a.useEffect(()=>{b&&c?(u?.current&&u.current.swiper.autoplay.start(),g?l(n):r(o)):(y(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,g,o,r,b]),a.createElement(it,{ref:u,defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((d=s?.delay)!==null&&d!==void 0?d:3)*1e3}},t?.map(m=>a.createElement(He,{key:m},a.createElement(nn,{src:m,height:i,imgUrlsPostConfig:s}))))};var Xs=a.memo(qs);const Js=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:g}=de(),b=y=>{v?g?.(!0):c?.(n),d?.(i?{hashTag:y,itemId:e,itemType:i,rec:o}:{hashTag:y,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(kt,null,t?.map((y,m)=>a.createElement(He,{key:m,hidden:r?!1:m>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>b(y)},`#${y}`))))};var on=a.memo(Js),Ks="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 Dt(t){return a.memo(function(e){const{$store:i}=In(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=he.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=we(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:g}=c;g.replace(/{{\s*([\w.]+)\s*}}/g,(b,y)=>{var m,C;if(y){const p=(C=(m=he.get(i,y))!==null&&m!==void 0?m:e[v])!==null&&C!==void 0?C:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=he.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Qs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=$e(),l=a.useMemo(()=>{var r,s,d,u,c,v,g,b,y,m,C,p,w,h,S,k,f,M,_,T,E,A,x,I,P,j,z,H,F,N,B;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?L="\u5546\u54C1CTA":L=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const D=i?.[L];if(((v=D?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((b=D?.item)===null||b===void 0?void 0:b.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((m=D?.item)===null||m===void 0?void 0:m.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((p=D?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((h=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||h===void 0)&&h.length)||((S=D?.item)===null||S===void 0?void 0:S.type)==="MultiCommodityDiro"&&!(!((f=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||f===void 0)&&f.length)||((M=D?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((T=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||T===void 0)&&T.length))return null;if(D&&n){const G=n[(E=D?.item)===null||E===void 0?void 0:E.type],R=Dt(G),$=(A=G?.extend)===null||A===void 0?void 0:A.defaulSetting,oe=((P=(I=(x=D?.item)===null||x===void 0?void 0:x.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return a.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},$?.style),(j=D?.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({},$?.textStyle),(z=D?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=D?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},$?.props,(N=D?.item)===null||N===void 0?void 0:N.props,{event:((B=D?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:D?.id,key:D?.id,recData:t,isExternalLink:oe,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var ln=a.memo(Qs);const sn=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.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:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,a.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:"")))},ci="FOR U",Zs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ci),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u,waterFallData:c}=de(),v=a.useMemo(()=>[ci,...t],[t]),g=b=>()=>{if(b===i)return;let y;b!==ci&&(y=b),d?.(!0),o?.({themeTag:y}).then(m=>{var C,p,w,h;We.emit(Ne.CHANGE_THEME_TAG,y),l?.((C=m?.recList)!==null&&C!==void 0?C:[]),r?.((p=m?.recList)!==null&&p!==void 0?p:[]),e?.(0),s?.(0),(h=(w=u?.current)===null||w===void 0?void 0:w.swiper)===null||h===void 0||h.slideTo(0)}).finally(()=>{d?.(!1)}),n(b)};return c||t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},v.map(b=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${b===i?"clc-sxp-tagbar-list-item-active":""}`,key:b,onClick:g(b)},b))))};var an=a.memo(Zs);const rn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:g=[],licenseUrl:b})=>{var y,m,C,p,w,h,S,k,f,M;const{schema:_}=$e(),[T,E]=a.useState(0),A=a.useRef(0),[x,I]=a.useState(!1),[P,j]=a.useState(!0),z=a.useRef(),H=a.useRef(),[F,N]=a.useState(!1),[B,L]=a.useState(!1),{loadVideos:D,bffEventReport:G,loading:R,setPopupDetailData:$,ctaEvent:oe,swiperRef:Z,waterFallData:te,setOpenHashtag:Y,appDomain:re,openHashtag:se,loadingImage:q,isFromHashtag:ee,popupDetailData:_e,bffFbReport:V}=de(),[U,ne]=a.useState(null),me=a.useRef(),{productView:fe}=Be(),ye=a.useMemo(()=>r.length>0&&!R&&An(),[r,R]),ue=a.useCallback(()=>{if(r.length<=0)return;Ie();const O=location.search.slice(1),K=fi.parse(O.replace(/\+/g,"%2B"));for(const Q in K)K[Q]=K[Q].replace(/%2B/g,"+");const W=Q=>{var ae;return(ae=K[Q])!==null&&ae!==void 0?ae:""};G?.({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}}),V?.({eventName:"PageView"}),I(!0)},[G,r.length,V]),Ie=()=>{z.current=new Date,H.current=new Date,kn()},ze=a.useRef();a.useEffect(()=>{var O,K,W;if(!ze.current&&!U&&me?.current&&r?.length>0){ze.current=!0;const Q=TCPlayer("player-container-id",{licenseUrl:b,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:[{src:(W=(K=(O=r?.[0])===null||O===void 0?void 0:O.video)===null||K===void 0?void 0:K.url)!==null&&W!==void 0?W:""}]});Q?.ready(()=>{ne(Q)})}},[U,b,r]),a.useEffect(()=>{x||ue()},[ue,x]),a.useEffect(()=>{var O;const K=r?.findIndex(W=>{var Q,ae,ce,X,ie,ve,Te,xe,pe;return s==="\u591A\u5546\u54C1CTA"?((Q=W?.video)===null||Q===void 0?void 0:Q.bindProducts)&&((ce=(ae=W?.video)===null||ae===void 0?void 0:ae.bindProducts)===null||ce===void 0?void 0:ce.length)>0:s==="\u5546\u54C1CTA"?(X=W?.video)===null||X===void 0?void 0:X.bindProduct:((ve=(ie=W?.video)===null||ie===void 0?void 0:ie.bindCta)===null||ve===void 0?void 0:ve.itemId)===s&&(((Te=W?.video)===null||Te===void 0?void 0:Te.url)||((pe=(xe=W?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||pe===void 0?void 0:pe.length))})||0;(O=Z?.current)===null||O===void 0||O.swiper.slideTo(K)},[s,Z]),a.useEffect(()=>{const O=r?.[T],K=()=>{var W,Q,ae,ce,X,ie,ve,Te,xe,pe,be,Qe,Ze,et,Xe;if(document.visibilityState==="hidden"){We.emit(Ne.PAGE_DID_HIDE,O),ge(O),qe(O);let Ue="";_e&&(!((Q=(W=O?.video)===null||W===void 0?void 0:W.bindProducts)===null||Q===void 0)&&Q.length||!((ae=O?.video)===null||ae===void 0)&&ae.bindProduct)?Ue="pdpPage":_e&&o?.[(ie=(X=(ce=O?.video)===null||ce===void 0?void 0:ce.bindCta)===null||X===void 0?void 0:X.itemId)!==null&&ie!==void 0?ie:""].item.type==="Appoint"?Ue="formPage":ee?Ue="hashTagPage":!((ve=O?.video)===null||ve===void 0)&&ve.url?Ue="videoPage":!((Te=O?.video)===null||Te===void 0)&&Te.imgUrls&&(!((pe=(xe=O?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||pe===void 0)&&pe.length)?Ue="imagePage":O?.product&&(Ue="productPage"),G?.({eventInfo:{sessionDuration:Math.floor((new Date-z.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(be=O?.video)===null||be===void 0?void 0:be.itemId,productId:(Qe=O?.product)===null||Qe===void 0?void 0:Qe.itemId,position:T+"",fromKName:Ue,fromKPage:location?.href,ctatId:(Xe=(et=(Ze=O?.video)===null||Ze===void 0?void 0:Ze.bindCta)===null||et===void 0?void 0:et.itemId)!==null&&Xe!==void 0?Xe:""}})}else document.visibilityState==="visible"&&(ue(),vi(T),We.emit(Ne.PAGE_DID_SHOW,O))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[T,G,z,r,ue,_e,ee,o]);const ke=a.useMemo(()=>{let O=0;return t?.logoUrl&&t?.isShowLogo&&(O+=45),g.length>0&&(O+=45,te&&(O-=45)),i-O},[t,i,g,te]),dt=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),nt=a.useCallback((O,K)=>{var W,Q,ae,ce;return!((W=O?.video)===null||W===void 0)&&W.url?a.createElement($s,{rec:O,index:K,muted:P,data:r,height:ke,activeIndex:T,videoPostConfig:t?.videoPost,videoRef:U}):!((Q=O?.video)===null||Q===void 0)&&Q.imgUrls?a.createElement(Xs,{key:O?.video.itemId,imgUrls:O?.video.imgUrls,width:n,height:ke,rec:O,index:K,onReportViewImageEnd:ge,onViewImageStartEvent:vi,imgUrlsPostConfig:t?.imgUrlsPost}):O.product&&Array.isArray(t?.productPost)&&((ae=t?.productPost)===null||ae===void 0?void 0:ae.length)>0?(ce=t?.productPost)===null||ce===void 0?void 0:ce.map((X,ie)=>{var ve,Te,xe,pe,be,Qe,Ze,et;const Xe=l[(ve=X?.item)===null||ve===void 0?void 0:ve.type],Ue=Dt(Xe),Ge=(Te=Xe?.extend)===null||Te===void 0?void 0:Te.defaulSetting;return a.createElement(Ue,Object.assign({key:`${K}${ie}`,textStyle:Object.assign(Object.assign({},Ge?.textStyle),(xe=X?.item)===null||xe===void 0?void 0:xe.textStyle),bindDatas:(be=(pe=X?.item)===null||pe===void 0?void 0:pe.bindDatas)!==null&&be!==void 0?be:[]},Ge?.props,(Qe=X?.item)===null||Qe===void 0?void 0:Qe.props,{event:((Ze=X?.item)===null||Ze===void 0?void 0:Ze.event)||{},schema:_,id:X?.id,viewTime:H.current,rec:O,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},Ge?.style),(et=X?.item)===null||et===void 0?void 0:et.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,ke,P,T,t?.productPost,H,d,l,_,U]),ot=a.useCallback(O=>{L(O)},[]),ct=a.useMemo(()=>B?{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"},[B]),lt=a.useCallback((O,K)=>{var W,Q,ae,ce,X,ie,ve;return O?.video?a.createElement(a.Fragment,null,((W=O?.video)===null||W===void 0?void 0:W.title)&&!B&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(sn,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(ln,{rec:O,index:K,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(_t,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(ae=(Q=O?.video)===null||Q===void 0?void 0:Q.title)!==null&&ae!==void 0?ae:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:ot}),a.createElement(on,{index:T,tags:(X=(ce=O?.video)===null||ce===void 0?void 0:ce.hashTags)!==null&&X!==void 0?X:[],itemId:(ie=O?.video)===null||ie===void 0?void 0:ie.itemId,itemType:!((ve=O?.video)===null||ve===void 0)&&ve.itemId?"VIDEO":null,rec:O,hashTagStyle:v})))):null},[e,T,o,l,d,u,v,t,ot,B,ct]),ut=a.useCallback((O,K)=>{var W,Q,ae,ce;if(!t?.isShowLike)return;let X=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return te&&X<40&&(X+=40),O?.video?a.createElement(en,{key:O.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:O.isCollected,recData:O,className:"clc-sxp-like-button",style:{[(Q=t.likeIconXPosit)!==null&&Q!==void 0?Q:"right"]:(ae=t.likeIconX)!==null&&ae!==void 0?ae:0,[(ce=t.likeIconYPosit)!==null&&ce!==void 0?ce:"bottom"]:X},position:K}):null},[t,te]),ge=O=>{var K,W,Q,ae,ce,X;if(!(!((K=O?.video)===null||K===void 0)&&K.url)&&(!((W=O?.video)===null||W===void 0)&&W.imgUrls)){const ie=Date.now(),ve=(ie-A.current)/1e3;G?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ae=(Q=O?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:"",contentName:(ce=O?.video.title)!==null&&ce!==void 0?ce:"",imageEndTime:`${ie}`,playDuration:`${ve}`,contentTags:JSON.stringify((X=O?.video.tags)!==null&&X!==void 0?X:[]),position:T+"",contentFormat:"image",traceInfo:O?.video.traceInfo}})}},At=O=>{var K,W,Q,ae,ce,X,ie,ve,Te,xe;H.current=new Date;const pe=r[O.previousIndex];if(!pe)return;O.previousIndex-O.activeIndex<0?(G?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(K=pe?.video)===null||K===void 0?void 0:K.itemId)!==null&&W!==void 0?W:"",productId:(ae=(Q=pe?.product)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:"",requestId:null}}),ge(pe)):(G?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(X=(ce=pe?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&X!==void 0?X:"",productId:(ve=(ie=pe.product)===null||ie===void 0?void 0:ie.itemId)!==null&&ve!==void 0?ve:"",requestId:null}}),ge(pe)),qe(pe);const be=r[O.activeIndex];!(!((Te=be?.video)===null||Te===void 0)&&Te.url)&&!(!((xe=be?.video)===null||xe===void 0)&&xe.imgUrls)&&be?.product&&V?.({eventName:"ProductView"})},qe=O=>{var K,W,Q;!(!((K=O?.video)===null||K===void 0)&&K.url)&&!(!((W=O?.video)===null||W===void 0)&&W.imgUrls)&&O?.product&&fe(O,O.product,(Q=O?.product)===null||Q===void 0?void 0:Q.bindCta,H.current,T)};a.useEffect(()=>{const O=r[T];se&&qe(O)},[se,r,T]);const vi=O=>{var K,W,Q,ae,ce,X;const ie=r[O];if(!(!((K=ie?.video)===null||K===void 0)&&K.url)&&(!((W=ie?.video)===null||W===void 0)&&W.imgUrls)){const ve=Date.now();A.current=ve,G?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ae=(Q=ie?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:"",contentName:(ce=ie?.video.title)!==null&&ce!==void 0?ce:"",imageStartTime:`${ve}`,contentTags:JSON.stringify((X=ie?.video.tags)!==null&&X!==void 0?X:[]),position:O+"",contentFormat:"image",traceInfo:ie?.video.traceInfo}}),V?.({eventName:"ViewContent"})}},mt=a.useMemo(()=>{const O=r?.map((K,W)=>T===W||W-1===T||W+1===T?K:null);return te?O:O.concat([{loading:!0}])},[r,T,te]),cn=a.useMemo(()=>R?a.createElement("div",{style:{height:ke,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):mt?.map((O,K)=>a.createElement(He,{key:K,virtualIndex:K},O&&a.createElement(a.Fragment,null,O?.loading?a.createElement("div",{style:{height:ke,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,nt(O,K),lt(O,K),ut(O,K))))),[n,r,ke,R,lt,nt,mt,q]),un=Oe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),pn=Oe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},te&&a.createElement(Qi,{icon:Ks,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Y?.(!0)}}),dt,a.createElement(an,{tagList:g,setActiveIndex:E}),ye?a.createElement(Ys,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,a.createElement(it,{ref:Z,onSlideChange:()=>{Z.current.swiper.allowTouchMove=!1,setTimeout(()=>{Z.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:O=>{E(O.activeIndex),!se&&(At(O),!te&&O?.activeIndex+2>=r?.length&&(F||(N(!0),D?.(Math.ceil(T/10)+1).then(()=>{N(!1)}))))},direction:"vertical",height:ke},a.createElement(tn,{style:{position:"fixed",visibility:!((C=(m=r?.[T])===null||m===void 0?void 0:m.video)===null||C===void 0)&&C.url?"visible":"hidden",zIndex:999,[(p=t?.muteIconXPosit)!==null&&p!==void 0?p:"right"]:(w=t?.muteIconX)!==null&&w!==void 0?w:0,[(h=t?.muteIconYPosit)!==null&&h!==void 0?h:"bottom"]:(S=t?.muteIconY)!==null&&S!==void 0?S:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:un,unactiveIcon:t?.muteIcon?t?.muteIcon:pn,onChange:j}),cn),a.createElement(Zi,Object.assign({},(M=(f=(k=t?.hashTag)===null||k===void 0?void 0:k[0])===null||f===void 0?void 0:f.item)===null||M===void 0?void 0:M.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:me,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},ea=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(it,{defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(He,{key:r},a.createElement(nn,{src:r,height:i,imgUrlsPostConfig:n}))));var ta=a.memo(ea);const ia=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:g,waterFallData:b,openHashtag:y}=de(),m=a.useRef(0),[C,p]=a.useState(!1),[w,h]=a.useState(!0),S=a.useRef(null),[k,f]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var N;(N=c.current)===null||N===void 0||N.play()},[]),_=Oe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),T=a.useCallback(()=>{var N,B,L,D,G,R,$,oe,Z,te,Y,re,se;u(!1);const q=n[e];if(q&&(!((N=c?.current)===null||N===void 0)&&N.duration)){m.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const ee=((D=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&D!==void 0?D:0).toFixed(2),_e=((R=(G=c.current)===null||G===void 0?void 0:G.currentTime)!==null&&R!==void 0?R:0).toFixed(2),V=w?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(oe=($=q?.video)===null||$===void 0?void 0:$.itemId)!==null&&oe!==void 0?oe:"",contentName:(te=(Z=q?.video)===null||Z===void 0?void 0:Z.title)!==null&&te!==void 0?te:"",playType:V,startTime:_e,videoDuration:ee,contentTags:JSON.stringify((re=(Y=q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(se=q?.video)===null||se===void 0?void 0:se.traceInfo}}),h(!1)}},[v,n,e,w]),E=a.useCallback(()=>{p(!0)},[]),A=a.useCallback(N=>()=>{var B,L,D,G,R;if(!C)return;const $=(B=c.current)===null||B===void 0?void 0:B.paused;switch(N){case"start":if(!$)return;(L=c.current)===null||L===void 0||L.play(),u(!1);break;case"pause":if($)return;(D=c.current)===null||D===void 0||D.pause(),u(!0);break;default:$?(G=c.current)===null||G===void 0||G.play():(R=c.current)===null||R===void 0||R.pause(),u(!$);break}},[C]),x=a.useCallback(()=>{var N,B,L,D,G,R,$,oe,Z,te,Y,re,se;const q=n[e],ee=((B=(N=c.current)===null||N===void 0?void 0:N.duration)!==null&&B!==void 0?B:0).toFixed(2),_e=((D=(L=c.current)===null||L===void 0?void 0:L.currentTime)!==null&&D!==void 0?D:0).toFixed(2);if(!((G=c?.current)===null||G===void 0)&&G.duration){const V=(((R=c?.current)===null||R===void 0?void 0:R.currentTime)-m.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(oe=($=q?.video)===null||$===void 0?void 0:$.itemId)!==null&&oe!==void 0?oe:"",contentName:(te=(Z=q?.video)===null||Z===void 0?void 0:Z.title)!==null&&te!==void 0?te:"",endTime:_e,videoDuration:ee,playDuration:V,contentTags:JSON.stringify((re=(Y=q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(se=q?.video)===null||se===void 0?void 0:se.traceInfo}})}},[n,e,v]),I=a.useMemo(()=>r?.mode==="2",[r]),P=a.useMemo(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),j=a.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||k},[k,t]),z=a.useCallback(()=>{if(!S||!c||!c.current||!S.current)return;const N=c?.current,B=S?.current,L=B.getContext("2d"),D=window?.innerWidth,G=window?.innerHeight;B.height=G,B.width=D,L?.drawImage(N,0,0,B.width,B.height),f(B.toDataURL())},[]);a.useEffect(()=>{var N,B,L,D;if(c.current){if(u(!1),!c.current.src){const G=t?.video.url;if(G.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(G),R.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=G;else c.current.src=G;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(N=c.current)===null||N===void 0||N.addEventListener("loadedmetadata",E),(B=c.current)===null||B===void 0||B.addEventListener("canplay",E),(L=c.current)===null||L===void 0||L.addEventListener("playing",T),(D=c.current)===null||D===void 0||D.addEventListener("loadeddata",z),()=>{var G,R,$,oe;(G=c.current)===null||G===void 0||G.removeEventListener("loadedmetadata",E),(R=c.current)===null||R===void 0||R.removeEventListener("canplay",E),($=c.current)===null||$===void 0||$.removeEventListener("playing",T),(oe=c.current)===null||oe===void 0||oe.removeEventListener("loadeddata",z)}}},[E,T,t?.video,z]);const H=a.useMemo(()=>!g?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:g?.placeholder_image}),[C,g?.placeholder_image]);a.useEffect(()=>{const N=()=>{var B,L;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((L=c?.current)===null||L===void 0)&&L.src)&&!d&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,c,A,d]);const F=a.useMemo(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?a.createElement(a.Fragment,null,I?a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(Le,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),a.createElement("canvas",{ref:S,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:_}))),H):a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M}),H,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:_}))):null};var na=a.memo(ia);const ui={};Object.values(di).forEach(t=>{ui[t.extend.type]=t});const oa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",la="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),c.length>0&&(f+=45),s-f},[e,s,c]),g=(f,M)=>{var _,T,E,A;if(!((_=f?.video)===null||_===void 0)&&_.url)return a.createElement(na,{rec:f,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((T=f?.video)===null||T===void 0)&&T.imgUrls)return a.createElement(ta,{key:f?.video.itemId,imgUrls:f?.video.imgUrls,width:d,height:v,rec:f,index:M,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,I)=>{var P,j,z,H,F,N,B,L;const D=ui[(P=x?.item)===null||P===void 0?void 0:P.type],G=Dt(D),R=(j=D?.extend)===null||j===void 0?void 0:j.defaulSetting;return a.createElement(G,Object.assign({key:`${M}${I}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(z=x?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=x?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},R?.props,(N=x?.item)===null||N===void 0?void 0:N.props,{event:((B=x?.item)===null||B===void 0?void 0:B.event)||{},id:x?.id,rec:f,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(L=x?.item)===null||L===void 0?void 0:L.style),{width:d,height:v,overflow:"auto"}),index:M}))})},b=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(f,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(ln,{rec:f,index:M,tempMap:o,resolver:ui})):null,m=(f,M)=>{var _,T,E,A,x,I,P;return f?.video?a.createElement(a.Fragment,null,((_=f?.video)===null||_===void 0?void 0:_.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(sn,{nudge:n}),y(f,M),a.createElement("div",null,a.createElement(_t,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(T=f?.video)===null||T===void 0?void 0:T.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement(on,{index:M,tags:(x=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&x!==void 0?x:[],itemId:(I=f?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=f?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:r}))):null},C=Oe(la,u),p=Oe(oa,u),w=(f,M)=>{var _,T,E,A;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),f?.video?a.createElement(en,{key:f.position,activeIcon:(T=e?.likeIcon)!==null&&T!==void 0?T:C,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,position:M,active:f.isCollected,recData:f,className:"clc-sxp-like-button",style:{top:x,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},h=Oe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),S=Oe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),k=(f,M)=>{var _,T,E,A;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},b,a.createElement(an,{tagList:c}),a.createElement(tn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((E=(T=t?.[M])===null||T===void 0?void 0:T.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:h,unactiveIcon:e?.muteIcon?e?.muteIcon:S}),g(f,M),m(f,M),w(f,M))};return a.createElement("div",{className:J.css({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,M)=>k(f,M)))};var aa=a.memo(sa);const ra=()=>{const{schema:t,resolver:e,popup:i}=$e(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=de(),{productView:r}=Be(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const g=()=>{u.current=new Date};return g(),window.addEventListener("pageshow",g),()=>{window.removeEventListener("pageshow",g)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var g,b,y,m;if(!i||i?.id===""||!s||new Date-u.current<((g=i?.duration)!==null&&g!==void 0?g:0))return;d(Object.assign(Object.assign({},i),{id:""}));const C=o,p=(b=C?.video)===null||b===void 0?void 0:b.bindProduct,w=(m=(y=C?.video)===null||y===void 0?void 0:y.bindProduct)===null||m===void 0?void 0:m.bindCta;p&&w&&r(C,p,w,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var g,b,y;return(y=(b=(g=t?.sxpPageConf)===null||g===void 0?void 0:g.globalConfig)===null||b===void 0?void 0:b.popupList)===null||y===void 0?void 0:y.map((m,C)=>{var p,w,h,S,k,f,M,_,T,E,A,x,I,P,j;if(m?.id===i?.id){const z=e[(p=m?.item)===null||p===void 0?void 0:p.type],H=Dt(z),F=((S=(h=(w=m?.item)===null||w===void 0?void 0:w.event)===null||h===void 0?void 0:h.onClick)===null||S===void 0?void 0:S.linkType)==="externalLink",N=((M=(f=(k=m?.item)===null||k===void 0?void 0:k.event)===null||f===void 0?void 0:f.onClick)===null||M===void 0?void 0:M.linkType)==="popup",B=(_=z?.extend)===null||_===void 0?void 0:_.defaulSetting;return a.createElement(H,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},B?.style),(T=m?.item)===null||T===void 0?void 0:T.style),{width:(E=window.innerWidth)!==null&&E!==void 0?E:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},B?.textStyle),(A=m?.item)===null||A===void 0?void 0:A.textStyle),bindDatas:(I=(x=m?.item)===null||x===void 0?void 0:x.bindDatas)!==null&&I!==void 0?I:[]},B?.props,(P=m?.item)===null||P===void 0?void 0:P.props,{event:((j=m?.item)===null||j===void 0?void 0:j.event)||{},schema:t,id:m?.id,isExternalLink:F,isPopup:N,onClose:c}))}else return a.createElement(a.Fragment,null)})},[t,i,e,c]);return a.createElement(It,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},pi={};Object.values(di).forEach(t=>{pi[t.extend.type]=t});const da=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var d,u,c,v,g,b,y,m,C;const p=a.useMemo(()=>{var w;return location?.search?(w=location?.search)===null||w===void 0?void 0:w.replace("?",""):""},[]);return a.createElement(Di,{resolver:pi,enableDataSource:!1,schema:t?.data,utmVal:p},a.createElement(Ci,{utmVal:p,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(b=(g=t?.sxp_parameter)===null||g===void 0?void 0:g.hash_tag_size)!==null&&b!==void 0?b:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(C=(m=(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||C===void 0?void 0:C.isShowTag,render:({rtcList:w,tagList:h})=>{var S;return a.createElement(a.Fragment,null,a.createElement(rn,Object.assign({},(S=t?.data)===null||S===void 0?void 0:S.sxpPageConf,{tagList:h,data:w,resolver:pi,licenseUrl:r})),a.createElement(ra,null))}}))};var ca=a.memo(da);const dn=a.createContext({}),ua=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(dn.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:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function pa(){return a.useContext(dn)}exports.DiyPortalPreview=aa,exports.EditorDataProvider=ua,exports.Modal=It,exports.SxpDataSourceProvider=Ci,exports.SxpPageCore=ca,exports.SxpPageRender=rn,exports.core=Ln,exports.default=Cn,exports.defaultSetting=De,exports.materials=di,exports.useEditorDataProvider=pa;
|
7
7
|
//# sourceMappingURL=index.min.cjs.map
|