pb-sxp-ui 1.0.50 → 1.0.51

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/pb-ui.min.js CHANGED
@@ -1,7 +1,7 @@
1
- (function(ae,ce){typeof exports=="object"&&typeof module<"u"?ce(exports,require("lodash"),require("uuid"),require("pako"),require("react"),require("qs"),require("@emotion/css"),require("@ant-design/pro-components"),require("react-dom"),require("eventemitter3"),require("hls.js")):typeof define=="function"&&define.amd?define(["exports","lodash","uuid","pako","react","qs","@emotion/css","@ant-design/pro-components","react-dom","eventemitter3","hls.js"],ce):(ae=typeof globalThis<"u"?globalThis:ae||self,ce(ae.PUI={},ae.lodash,ae.uuid$1,ae.pako,ae.React,ae.qs,ae.css,ae.proComponents,ae.ReactDOM,ae.EventEmitter,ae.Hls))})(this,function(ae,ce,Zi,Ri,r,oi,X,en,tn,nn,li){"use strict";function on(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 si=on(tn);function he(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 be(t,e,i,n){function o(l){return l instanceof i?l:new i(function(a){a(l)})}return new(i||(i=Promise))(function(l,a){function s(c){try{u(n.next(c))}catch(v){a(v)}}function d(c){try{u(n.throw(c))}catch(v){a(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 ln=/:\w+/g;var ri=(t,e)=>be(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:a,url:s,urlParams:d,name:u,queryString:c,headers:v,body:f}=e[o];let m=s;d&&Object.entries(d).forEach(([g,b])=>{m=m.replace(ln,k=>k===g?b:k)}),c&&(m+=c),n[l]=u;try{const g=yield fetch(m,{method:a,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(f)}).then(b=>b.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const ai="SXP_TOKEN_INFO",sn=(t,e)=>be(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),a=window.localStorage.getItem(ai);let s=JSON.parse(a||"{}");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(ai,JSON.stringify(s))}}return s});function ut(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 rn=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},an=()=>{const t=Zi.v4();return t?.replaceAll?t.replaceAll("-",""):rn(32)};function di(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Ri.inflate(n,{to:"string"});return JSON.parse(o)}let It=null;const dn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class cn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,It)return It;It=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?dn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let ge=null;const un={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{ge||(ge=new cn),n&&ge.setApiUrl(n),ge.setAppId(t),ge.setTenantId(e),ge.setEnv(i)},getDetail:t=>{if(!ge)return;const e=ge.getTenantId(),i=ge.getAppId(),n=ge.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>be(void 0,void 0,void 0,function*(){var l,a;const s=yield o.json(),d=di((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield ri(n,(a=d?.dataSource)!==null&&a!==void 0?a:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>be(void 0,void 0,void 0,function*(){if(!ge)return;const e=ge.getTenantId(),i=ge.getAppId(),n=ge.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>be(void 0,void 0,void 0,function*(){var l;const a=yield o.json();if(!a.success)return;const s=di((l=a?.data)===null||l===void 0?void 0:l.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>be(void 0,void 0,void 0,function*(){if(!ge)return;const e=yield sn(ge,t),i=ut(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ce.isEmpty(n)&&(n=ut(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 je(){return r.useContext(gi)}function pn(){return r.useContext(hi)}const kt="feRealSessionIdKey",ci=()=>{const t=an();return`${Date.now()}${t}`},vn=()=>{let t=mn();return t||(t=ci(),window.sessionStorage.setItem(kt,t)),t},fn=()=>{const t=ci();window.sessionStorage.setItem(kt,t)},mn=()=>window.sessionStorage.getItem(kt),ui="SXP_FAKE_USER_ID",pi="FAKE_USER_STATE",hn=()=>{let t=window.localStorage.getItem(ui);return ce.isEmpty(t)&&(t=ut(36,62),window.localStorage.setItem(ui,t)),t},gn=()=>{const t=window.localStorage.getItem(pi);return ce.isEmpty(t)&&window.localStorage.setItem(pi,"true"),ce.isEmpty(t)};function Ee(t,e){const{appDomain:i}=se();return r.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const vi=r.createContext({rtcList:[],tagList:[]});var Dt;(function(t){t[t.BFF=5]="BFF"})(Dt||(Dt={}));const bn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],yn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:a=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1})=>{const[f,m]=r.useState([]),[g,b]=r.useState([]),[k,p]=r.useState(!1),[w,h]=r.useState({rtc:"",requestId:""}),C=r.useRef(null),y=r.useRef(!1),[S,M]=r.useState(),[I,T]=r.useState(),[E,_]=r.useState(v),[x,D]=r.useState([]),[O,N]=r.useState(0),[F,$]=r.useState(!1),[U,j]=r.useState(null);r.useEffect(()=>{_(v)},[v]);const B=r.useMemo(()=>e?.find(z=>z.type===Dt.BFF),[e]),P=r.useCallback((z,V)=>{if(!B)return;const W=B.url,pe=hn();if(V?.query){const de=oi.stringify(V.query);z=`${z}?${de}`}return V.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${W}/api/v1${z}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},B.headers),{"x-user-id":pe}),V.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${W}/api/v1${z}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":pe},B.headers),method:V.method,body:JSON.stringify(V.body)}).then(de=>de.json()).catch(de=>Promise.reject(de))},[B]),A=r.useCallback(z=>be(void 0,void 0,void 0,function*(){var V,W,pe,de,we;if(z={maxSize:(V=z?.maxSize)!==null&&V!==void 0?V:o,defaultSize:(W=z?.defaultSize)!==null&&W!==void 0?W:l,"itemFilter.itemId":z?.["itemFilter.itemId"],"itemFilter.itemType":z?.["itemFilter.itemType"],hashTag:z?.hashTag,traceInfo:z?.traceInfo},i){const De=(we=(de=(pe=i?.split("&"))===null||pe===void 0?void 0:pe.filter(Ge=>{const xe=Ge.split("=")[0];return bn.includes(xe)}))===null||de===void 0?void 0:de.join("&"))!==null&&we!==void 0?we:"";z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(De)})}const ve=yield P?.("/recommend/list",{method:"GET",query:z});if(ve?.success)return z?.hashTag||h({rtc:ve.data.rtc,requestId:ve.data.requestId}),ve?.data}),[P,i,o,l]),J=r.useCallback(()=>be(void 0,void 0,void 0,function*(){var z,V;if(f.length<=0)return;const W=yield A({hashTag:I?.hashTag,"itemFilter.itemId":I?.itemId,"itemFilter.itemType":I?.itemType});m(f.concat((z=W?.recList)!==null&&z!==void 0?z:[])),D(x.concat((V=W?.recList)!==null&&V!==void 0?V:[]))}),[A,f,I,x]),H=r.useCallback(({userInfo:z,eventInfo:V})=>{if(!n)return;z||(z={});const W=vn(),pe=Object.assign({sessionID:W,rtc:w.rtc,requestId:w.requestId},V),de=Object.entries(z).map(([ve,De])=>({name:ve,value:De})),we=Object.entries(pe).map(([ve,De])=>De&&{name:ve,value:De}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",pe),console.log("========= \u7ED3\u675F ========="),P?.("/event/report",{method:"POST",body:{userInfo:de,eventInfo:we},type:"beacon"})},[P,w,n]),G=r.useCallback(z=>be(void 0,void 0,void 0,function*(){const V=yield P?.("/recommend/like",{method:"POST",body:z});return V?.success}),[P]),Z=r.useCallback(z=>be(void 0,void 0,void 0,function*(){const V=yield P?.("/recommend/unlike",{method:"POST",body:z});return V?.success}),[P]),ne=r.useCallback(z=>be(void 0,void 0,void 0,function*(){const V=yield P?.("/customform",{method:"POST",body:z});return V?.success}),[P]),te=r.useCallback(()=>be(void 0,void 0,void 0,function*(){var z,V;if(i)try{const W=yield P?.("/tag/list",{method:"GET",query:{channel:i}});b((V=(z=W?.data)===null||z===void 0?void 0:z.tags)!==null&&V!==void 0?V:[])}catch(W){console.log("e",W)}}),[P,i]),Y=r.useCallback((z,V,W,pe)=>{var de,we,ve,De,Ge,xe,at,it,nt,dt,ot,ct;const me=W?.bindCta,ni=((de=V?.video)===null||de===void 0?void 0:de.bindProduct)||((we=V?.video)===null||we===void 0?void 0:we.bindProducts)&&((De=(ve=V?.video)===null||ve===void 0?void 0:ve.bindProducts)===null||De===void 0?void 0:De.length)>0;let $e="";F?$e="hashTagPage":!((Ge=V?.video)===null||Ge===void 0)&&Ge.url?$e="videoPage":!((at=(xe=V?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||at===void 0)&&at.length&&($e="imagePage"),H?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(it=me?.itemId)!==null&&it!==void 0?it:"",ctaName:(nt=me?.title)!==null&&nt!==void 0?nt:"",contentTags:JSON.stringify(me?.tags),position:pe+"",contentId:(ot=(dt=V?.video)===null||dt===void 0?void 0:dt.itemId)!==null&&ot!==void 0?ot:"",productId:ni?W?.itemId:"",traceInfo:(ct=me?.traceInfo)!==null&&ct!==void 0?ct:"",fromKName:$e})})},[H,F]);r.useEffect(()=>{p(!0),te(),A().then(z=>{var V,W;m((V=z?.recList)!==null&&V!==void 0?V:[]),D((W=z?.recList)!==null&&W!==void 0?W:[])}).finally(()=>{p(!1),y.current=!0})},[]),r.useEffect(()=>{y.current&&(p(!0),te(),A().then(z=>{var V,W;m((V=z?.recList)!==null&&V!==void 0?V:[]),D((W=z?.recList)!==null&&W!==void 0?W:[])}).finally(()=>{p(!1)}))},[A,te]);const oe=Ee("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return r.createElement(vi.Provider,{value:{rtcList:f,setRtcList:m,mutateLike:G,mutateUnlike:Z,submitForm:ne,popupDetailData:S,loadVideos:J,setPopupDetailData:M,getRecommendVideos:A,bffEventReport:H,utmVal:i,isPreview:a,loading:k,sxpParameter:s,waterFallData:I,setWaterFallData:T,ctaEvent:Y,swiperRef:C,openHashtag:E,setOpenHashtag:_,cacheRtcList:x,setCacheRtcList:D,cacheActiveIndex:O,setCacheActiveIndex:N,isFromHashtag:F,setIsFromHashtag:$,appDomain:d,hashTagSize:u,loadingImage:c??oe,isOpenHashTag:v,tagList:g,setLoading:p,videoRef:U,setVideoRef:j}},t({rtcList:f,mutateLike:G,mutateUnlike:Z,submitForm:ne,tagList:g}))};var fi=r.memo(yn);function se(){return r.useContext(vi)}var mi;(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"})(mi||(mi={}));const hi=r.createContext({$store:{},options:[],configs:[]}),wn=({children:t,isSsr:e,enable:i})=>{const[n,o]=r.useState([]),{schema:l}=je(),[a,s]=r.useState(l.__STORE__||{}),[d,u]=r.useState([]);r.useEffect(()=>{var f;e||ce.isEqual(d,l?.dataSource)||u((f=l?.dataSource)!==null&&f!==void 0?f:[])},[l?.dataSource,e]);const c=r.useCallback(()=>be(void 0,void 0,void 0,function*(){const{$store:f,idMapName:m}=yield ri("",d);s(f),v(f,m)}),[d]),v=(f,m)=>{const g=[];Object.entries(f).forEach(([b,k])=>{Object.keys(k).forEach(p=>{const w={label:`${m[b]} - ${p}`,value:`{{ ${b}.${p} }}`};g.push(w)})}),o(g)};return r.useEffect(()=>{e||c()},[c,e,l]),i?r.createElement(hi.Provider,{value:{$store:l.__STORE__||a,options:n,configs:d}},t):t};var Sn=r.memo(wn);const pt={id:ut(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},_t={id:"",duration:0,name:"none"},gi=r.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[pt],redoStack:[],popup:_t,setPopup:()=>{}}),bi=r.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},a)=>{const[s,d]=r.useState(null),[u,c]=r.useState(n||{pointData:[pt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,f]=r.useState([pt]),[m,g]=r.useState([[pt]]),[b,k]=r.useState([]),[p,w]=r.useState(_t);typeof window<"u"&&(window.sxpPopup=(M,I)=>{w(Object.assign(Object.assign(Object.assign({},_t),{id:M}),I))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),r.useEffect(()=>{g([u.pointData]),k([])},[u.type]);const h=r.useCallback(M=>{const I=ce.cloneDeep(u);I&&(I.dataSource=M,c?.(I))},[u]),[C,y]=r.useState();r.useImperativeHandle(a,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return ce.cloneDeep(u)},getPageInfoData(){return C},initPageInfoData(M){M&&y(M)}}));const S=r.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return r.createElement(gi.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:h,prePiontData:v,setPrePiontData:f,pageInfoData:C,setPageInfoData:M=>y(Object.assign(Object.assign({},C),M)),undoStack:m,redoStack:b,setRedoStack:k,setUndoStack:g,getCurPageConf:S,popup:p,setPopup:w}},r.createElement(Sn,{isSsr:i,enable:o},t))});var Tn=Object.freeze({__proto__:null,EditorCore:bi}),xn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ee=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var En={fontOptions:ee},At,Cn=[{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:ee,initialValue:(At=ee?.[0])===null||At===void 0?void 0:At.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const In=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:a,submitText:s,layoutType:d,onClick:u}=t,c=he(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:v}=se(),f=r.useRef(),[m,g]=r.useState(!1),b=r.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"}],[]),k=r.useMemo(()=>{if(d===void 0){const w=ce.cloneDeep(e)||b;return w?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return ce.cloneDeep(e)||b},[d,e,b]),p=ce.debounce(()=>be(void 0,void 0,void 0,function*(){var w,h,C;g(!0);const y=yield(w=f?.current)===null||w===void 0?void 0:w.getFieldsValue(),S=(C=(h=Object.keys(y))===null||h===void 0?void 0:h.map(I=>({name:I,value:y[I]})))===null||C===void 0?void 0:C.filter(I=>I?.value);if(!S||!S?.length)return;const M=yield v?.({attributes:S});g(!1),M&&(window?.sxpPopup(""),M&&u?.())}),1e3);return r.createElement("div",{className:"pb-appoint-form"},r.createElement("div",{className:`pb-appoint-form-title ${X.css(Object.assign({},o))}`},n),r.createElement("div",Object.assign({className:X.css(Object.assign({},i))},c),r.createElement("div",{className:"pb-appoint-form-container"},r.createElement(en.BetaSchemaForm,{columns:k,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:f,className:"panel-reset"}))),r.createElement("div",{className:"pb-appoint-form-btn-wrapper"},r.createElement("button",{onClick:p,className:"pb-appoint-form-btn",style:{color:a,background:l}},m?r.createElement(r.Fragment,null,"loading..."):s)))};var kn=r.memo(In);function Se(t,e){return t.extend=e,t}const Dn=Se(kn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Cn,bindableProps:[],interactionRender:xn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Pt,Mt,_n=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Pt=ee?.[0])===null||Pt===void 0?void 0:Pt.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:ee,initialValue:(Mt=ee?.[0])===null||Mt===void 0?void 0:Mt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function yi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ot(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:yi(e[i])&&yi(t[i])&&Object.keys(e[i]).length>0&&Ot(t[i],e[i])})}const wi={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 _e(){const t=typeof document<"u"?document:{};return Ot(t,wi),t}const An={document:wi,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 ye(){const t=typeof window<"u"?window:{};return Ot(t,An),t}function Fe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Pn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Ze(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ce(){return Date.now()}function Mn(t){const e=ye();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function On(t,e){e===void 0&&(e="x");const i=ye();let n,o,l;const a=Mn(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function vt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Ln(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Te(){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&&!Ln(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,a=o.length;l<a;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(vt(t[s])&&vt(n[s])?n[s].__swiper__?t[s]=n[s]:Te(t[s],n[s]):!vt(t[s])&&vt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Te(t[s],n[s])):t[s]=n[s])}}}return t}function ft(t,e,i){t.style.setProperty(e,i)}function Si(t){let{swiper:e,targetPosition:i,side:n}=t;const o=ye(),l=-e.translate;let a=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(f,m)=>u==="next"&&f>=m||u==="prev"&&f<=m,v=()=>{s=new Date().getTime(),a===null&&(a=s);const f=Math.max(Math.min((s-a)/d,1),0),m=.5-Math.cos(f*Math.PI)/2;let g=l+m*(i-l);if(c(g,i)&&(g=i),e.wrapperEl.scrollTo({[n]:g}),c(g,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:g})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function Me(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function mt(t){try{console.warn(t);return}catch{}}function lt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Fe(e)),i}function jn(t){const e=ye(),i=_e(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,a=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-a}}function Nn(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 Bn(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 He(t,e){return ye().getComputedStyle(t,null).getPropertyValue(e)}function ht(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ti(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 Lt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function jt(t,e,i){const n=ye();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 Oe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function zn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ye();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,s=Ce(),d;const u=[];function c(h){let M=0,I=0,T=0,E=0;return"detail"in h&&(I=h.detail),"wheelDelta"in h&&(I=-h.wheelDelta/120),"wheelDeltaY"in h&&(I=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=I,I=0),T=M*10,E=I*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&&!I&&(I=E<1?-1:1),{spinX:M,spinY:I,pixelX:T,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function m(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ce()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ce()-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 g(h){const C=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&C.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&C.releaseOnEdges)return!0;return!1}function b(h){let C=h,y=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const S=e.params.mousewheel;e.params.cssMode&&C.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const I=M&&M.contains(C.target);if(!e.mouseEntered&&!I&&!S.releaseOnEdges)return!0;C.originalEvent&&(C=C.originalEvent);let T=0;const E=e.rtlTranslate?-1:1,_=c(C);if(S.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))T=-_.pixelX*E;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))T=-_.pixelY;else return!0;else T=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*E:-_.pixelY;if(T===0)return!0;S.invert&&(T=-T);let x=e.getTranslate()+T*S.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),y=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),y&&e.params.nested&&C.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:Ce(),delta:Math.abs(T),direction:Math.sign(T),raw:h};u.length>=2&&u.shift();const O=u.length?u[u.length-1]:void 0;if(u.push(D),O?(D.direction!==O.direction||D.delta>O.delta||D.time>O.time+150)&&m(D):m(D),g(D))return!0}else{const D={time:Ce(),delta:Math.abs(T),direction:Math.sign(T)},O=d&&D.time<d.time+500&&D.delta<=d.delta&&D.direction===d.direction;if(!O){d=void 0;let N=e.getTranslate()+T*S.sensitivity;const F=e.isBeginning,$=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(),(!F&&e.isBeginning||!$&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();const U=u.length?u[u.length-1]:void 0,j=u[0];if(u.push(D),U&&(D.delta>U.delta||D.direction!==U.direction))u.splice(0);else if(u.length>=15&&D.time-j.time<500&&j.delta-D.delta>=1&&D.delta<=6){const B=T>0?.8:.2;d=D,u.splice(0),a=Ze(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}a||(a=Ze(()=>{d=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",C),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),S.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return C.preventDefault?C.preventDefault():C.returnValue=!1,!1}function k(h){let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget)),C[h]("mouseenter",v),C[h]("mouseleave",f),C[h]("wheel",b)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(k("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 xi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Me(t.el,`.${n[o]}`)[0];l||(l=lt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function Re(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function gt(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 a,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(Re(e.params.pagination.bulletClass));if(!w)return;p.preventDefault();const h=ht(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=Oe(h);let C,y;const S=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(S/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(y=e.previousRealIndex||0,C=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(C=e.snapIndex,y=e.previousSnapIndex):(y=e.previousIndex||0,C=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let T,E,_;if(w.dynamicBullets&&(a=jt(I[0],e.isHorizontal()?"width":"height",!0),h.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&y!==void 0&&(s+=C-(y||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),T=Math.max(C-s,0),E=T+(Math.min(I.length,w.dynamicMainBullets)-1),_=(E+T)/2),I.forEach(x=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${w.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();x.classList.remove(...D)}),h.length>1)I.forEach(x=>{const D=ht(x);D===C?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(D>=T&&D<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),D===T&&u(x,"prev"),D===E&&u(x,"next"))});else{const x=I[C];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&I.forEach((D,O)=>{D.setAttribute("part",O===C?"bullet-active":"bullet")}),w.dynamicBullets){const D=I[T],O=I[E];for(let N=T;N<=E;N+=1)I[N]&&I[N].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(O,"next")}}if(w.dynamicBullets){const x=Math.min(I.length,w.dynamicMainBullets+4),D=(a*x-a)/2-_*a,O=p?"right":"left";I.forEach(N=>{N.style[e.isHorizontal()?O:"top"]=`${D}px`})}}h.forEach((I,T)=>{if(w.type==="fraction"&&(I.querySelectorAll(Re(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(C+1)}),I.querySelectorAll(Re(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 _=(C+1)/M;let x=1,D=1;E==="horizontal"?x=_:D=_,I.querySelectorAll(Re(w.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${D})`,O.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(I.innerHTML=w.renderCustom(e,C+1,M),T===0&&o("paginationRender",I)):(T===0&&o("paginationRender",I),o("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](w.lockClass)})}function f(){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=Oe(h);let C="";if(p.type==="bullets"){let y=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&y>w&&(y=w);for(let S=0;S<y;S+=1)p.renderBullet?C+=p.renderBullet.call(e,S,p.bulletClass):C+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?C=p.renderFraction.call(e,p.currentClass,p.totalClass):C=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?C=p.renderProgressbar.call(e,p.progressbarFillClass):C=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(y=>{p.type!=="custom"&&(y.innerHTML=C||""),p.type==="bullets"&&e.pagination.bullets.push(...y.querySelectorAll(Re(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function m(){e.params.pagination=xi(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=>Ti(h,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Oe(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 g(){const p=e.params.pagination;if(d())return;let w=e.pagination.el;w&&(w=Oe(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=Oe(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?k():(m(),f(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{f(),v()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Oe(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,C=Oe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&C&&C.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 y=C[0].classList.contains(e.params.pagination.hiddenClass);o(y===!0?"paginationShow":"paginationHide"),C.forEach(S=>S.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Oe(p),p.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),m(),f(),v()},k=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Oe(p),p.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:b,disable:k,render:f,update:v,init:m,destroy:g})}function Vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=_e();let a=!1,s=null,d=null,u,c,v,f;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:D}=e,{dragEl:O,el:N}=x,F=e.params.scrollbar,$=e.params.loop?e.progressLoop:e.progress;let U=c,j=(v-c)*$;D?(j=-j,j>0?(U=c-j,j=0):-j+c>v&&(U=v+j)):j<0?(U=c+j,j=0):j+c>v&&(U=v-j),e.isHorizontal()?(O.style.transform=`translate3d(${j}px, 0, 0)`,O.style.width=`${U}px`):(O.style.transform=`translate3d(0px, ${j}px, 0)`,O.style.height=`${U}px`),F.hide&&(clearTimeout(s),N.style.opacity=1,s=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function g(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:D,el:O}=x;D.style.width="",D.style.height="",v=e.isHorizontal()?O.offsetWidth:O.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,f>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function k(x){return e.isHorizontal()?x.clientX:x.clientY}function p(x){const{scrollbar:D,rtlTranslate:O}=e,{el:N}=D;let F;F=(k(x)-jn(N)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),F=Math.max(Math.min(F,1),0),O&&(F=1-F);const $=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress($),e.setTranslate($),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:F,dragEl:$}=O;a=!0,u=x.target===$?k(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),N.style.transitionDuration="100ms",$.style.transitionDuration="100ms",p(x),clearTimeout(d),F.style.transitionDuration="0ms",D.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function h(x){const{scrollbar:D,wrapperEl:O}=e,{el:N,dragEl:F}=D;a&&(x.preventDefault?x.preventDefault():x.returnValue=!1,p(x),O.style.transitionDuration="0ms",N.style.transitionDuration="0ms",F.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function C(x){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:F}=O;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),D.hide&&(clearTimeout(d),d=Ze(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),D.snapOnRelease&&e.slideToClosest())}function y(x){const{scrollbar:D,params:O}=e,N=D.el;if(!N)return;const F=N,$=O.passiveListeners?{passive:!1,capture:!1}:!1,U=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const j=x==="on"?"addEventListener":"removeEventListener";F[j]("pointerdown",w,$),l[j]("pointermove",h,$),l[j]("pointerup",C,U)}function S(){!e.params.scrollbar.el||!e.scrollbar.el||y("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||y("off")}function I(){const{scrollbar:x,el:D}=e;e.params.scrollbar=xi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let N;if(typeof O.el=="string"&&e.isElement&&(N=e.el.querySelector(O.el)),!N&&typeof O.el=="string"){if(N=l.querySelectorAll(O.el),!N.length)return}else N||(N=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&N.length>1&&D.querySelectorAll(O.el).length===1&&(N=D.querySelector(O.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let F;N&&(F=N.querySelector(Re(e.params.scrollbar.dragClass)),F||(F=lt("div",e.params.scrollbar.dragClass),N.append(F))),Object.assign(x,{el:N,dragEl:F}),O.draggable&&S(),N&&N.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}function T(){const x=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Fe(e.isHorizontal()?x.horizontalClass:x.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:D}=e.scrollbar;D=Oe(D),D.forEach(O=>{O.classList.remove(x.horizontalClass,x.verticalClass),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(I(),b(),m())}),n("update resize observerUpdate lock unlock changeDirection",()=>{b()}),n("setTranslate",()=>{m()}),n("setTransition",(x,D)=>{g(D)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}),n("destroy",()=>{T()});const E=()=>{e.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),I(),b(),m()},_=()=>{e.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),T()};Object.assign(e.scrollbar,{enable:E,disable:_,updateSize:b,setTranslate:m,init:I,destroy:T})}function bt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),f,m,g,b,k,p,w;function h(U){!e||e.destroyed||!e.wrapperEl||U.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!w&&E())}const C=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(u=c,f=!1);const U=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=U,o("autoplayTimeLeft",U,U/d),s=requestAnimationFrame(()=>{C()})},y=()=>{let U;return e.virtual&&e.params.virtual.enabled?U=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:U=e.slides[e.activeIndex],U?parseInt(U.getAttribute("data-swiper-autoplay"),10):void 0},S=U=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),C();let j=typeof U>"u"?e.params.autoplay.delay:U;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const B=y();!Number.isNaN(B)&&B>0&&typeof U>"u"&&(j=B,d=B,u=B),c=j;const P=e.params.speed,A=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,P,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,P,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return j>0?(clearTimeout(a),a=setTimeout(()=>{A()},j)):requestAnimationFrame(()=>{A()}),j},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,S(),o("autoplayStart")},I=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),o("autoplayStop")},T=(U,j)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),U||(p=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,j){k&&(c=e.params.autoplay.delay),k=!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,S(c)):S(),e.autoplay.paused=!1,o("autoplayResume"))},_=()=>{if(e.destroyed||!e.autoplay.running)return;const U=_e();U.visibilityState==="hidden"&&(p=!0,T(!0)),U.visibilityState==="visible"&&E()},x=U=>{U.pointerType==="mouse"&&(p=!0,w=!0,!(e.animating||e.autoplay.paused)&&T(!0))},D=U=>{U.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",D))},N=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",D)},F=()=>{_e().addEventListener("visibilitychange",_)},$=()=>{_e().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(O(),F(),M())}),n("destroy",()=>{N(),$(),e.autoplay.running&&I()}),n("_freeModeStaticRelease",()=>{(g||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?I():T(!0,!0)}),n("beforeTransitionStart",(U,j,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?T(!0,!0):I())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){I();return}m=!0,g=!1,p=!1,b=setTimeout(()=>{p=!0,g=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(b),clearTimeout(a),e.params.autoplay.disableOnInteraction){g=!1,m=!1;return}g&&e.params.cssMode&&E(),g=!1,m=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:M,stop:I,pause:T,resume:E})}function Fn(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 a(){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:Ce()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:f,snapGrid:m,touchEventsData:g}=e,k=Ce()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const I=g.velocities.pop(),T=g.velocities.pop(),E=I.position-T.position,_=I.time-T.time;e.velocity=E/_,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(_>150||Ce()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,g.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const w=e.velocity*p;let h=e.translate+w;f&&(h=-h);let C=!1,y;const S=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-S&&(h=e.maxTranslate()-S),y=e.maxTranslate(),C=!0,g.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>S&&(h=e.minTranslate()+S),y=e.minTranslate(),C=!0,g.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let I;for(let T=0;T<m.length;T+=1)if(m[T]>-h){I=T;break}Math.abs(m[I]-h)<Math.abs(m[I-1]-h)||e.swipeDirection==="next"?h=m[I]:h=m[I-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const I=Math.abs((f?-h:h)-e.translate),T=e.slidesSizesGrid[e.activeIndex];I<T?p=c.speed:I<2*T?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&C?(e.updateProgress(y),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Lt(v,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(y),Lt(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,Lt(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||k>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:a,onTouchEnd:s}})}let Nt;function Hn(){const t=ye(),e=_e();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ei(){return Nt||(Nt=Hn()),Nt}let Bt;function Un(t){let{userAgent:e}=t===void 0?{}:t;const i=Ei(),n=ye(),o=n.navigator.platform,l=e||n.navigator.userAgent,a={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_]+))?/),f=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=o==="Win32";let g=o==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&b.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!m&&(a.os="android",a.android=!0),(c||f||v)&&(a.os="ios",a.ios=!0),a}function Ci(t){return t===void 0&&(t={}),Bt||(Bt=Un(t)),Bt}let zt;function Gn(){const t=ye(),e=Ci();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(),a=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:a,isWebView:o}}function $n(){return zt||(zt=Gn()),zt}function Wn(t){let{swiper:e,on:i,emit:n}=t;const o=ye();let l=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{a=o.requestAnimationFrame(()=>{const{width:f,height:m}=e;let g=f,b=m;v.forEach(k=>{let{contentBoxSize:p,contentRect:w,target:h}=k;h&&h!==e.el||(g=w?w.width:(p[0]||p).inlineSize,b=w?w.height:(p[0]||p).blockSize)}),(g!==f||b!==m)&&s()})}),l.observe(e.el))},u=()=>{a&&o.cancelAnimationFrame(a),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 qn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],a=ye(),s=function(c,v){v===void 0&&(v={});const f=a.MutationObserver||a.WebkitMutationObserver,m=new f(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const b=function(){o("observerUpdate",g[0])};a.requestAnimationFrame?a.requestAnimationFrame(b):a.setTimeout(b,0)});m.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(m)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ti(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 Yn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];e.apply(n,a)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(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 Xn(){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(He(n,"padding-left")||0,10)-parseInt(He(n,"padding-right")||0,10),i=i-parseInt(He(n,"padding-top")||0,10)-parseInt(He(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 Jn(){const t=this;function e(E,_){return parseFloat(E.getPropertyValue(t.getDirectionLabel(_))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:a,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Me(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let f=[];const m=[],g=[];let b=i.slidesOffsetBefore;typeof b=="function"&&(b=i.slidesOffsetBefore.call(t));let k=i.slidesOffsetAfter;typeof k=="function"&&(k=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,w=t.slidesGrid.length;let h=i.spaceBetween,C=-b,y=0,S=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=>{a?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(ft(n,"--swiper-centered-offset-before",""),ft(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 I;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){I=0;let _;if(c[E]&&(_=c[E]),M&&t.grid.updateSlide(E,_,c),!(c[E]&&He(_,"display")==="none")){if(i.slidesPerView==="auto"){T&&(c[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(_),D=_.style.transform,O=_.style.webkitTransform;if(D&&(_.style.transform="none"),O&&(_.style.webkitTransform="none"),i.roundLengths)I=t.isHorizontal()?jt(_,"width",!0):jt(_,"height",!0);else{const N=e(x,"width"),F=e(x,"padding-left"),$=e(x,"padding-right"),U=e(x,"margin-left"),j=e(x,"margin-right"),B=x.getPropertyValue("box-sizing");if(B&&B==="border-box")I=N+U+j;else{const{clientWidth:P,offsetWidth:A}=_;I=N+F+$+U+j+(A-P)}}D&&(_.style.transform=D),O&&(_.style.webkitTransform=O),i.roundLengths&&(I=Math.floor(I))}else I=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(I=Math.floor(I)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${I}px`);c[E]&&(c[E].swiperSlideSize=I),g.push(I),i.centeredSlides?(C=C+I/2+y/2+h,y===0&&E!==0&&(C=C-l/2-h),E===0&&(C=C-l/2-h),Math.abs(C)<1/1e3&&(C=0),i.roundLengths&&(C=Math.floor(C)),S%i.slidesPerGroup===0&&f.push(C),m.push(C)):(i.roundLengths&&(C=Math.floor(C)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup===0&&f.push(C),m.push(C),C=C+I+h),t.virtualSize+=I+h,y=I,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+k,a&&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(I,f),!i.centeredSlides){const E=[];for(let _=0;_<f.length;_+=1){let x=f[_];i.roundLengths&&(x=Math.floor(x)),f[_]<=t.virtualSize-l&&E.push(x)}f=E,Math.floor(t.virtualSize-l)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-l)}if(d&&i.loop){const E=g[0]+h;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let D=0;D<_;D+=1)f.push(f[f.length-1]+x)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&f.push(f[f.length-1]+E),m.push(m[m.length-1]+E),t.virtualSize+=E}if(f.length===0&&(f=[0]),h!==0){const E=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");c.filter((_,x)=>!i.cssMode||i.loop?!0:x!==c.length-1).forEach(_=>{_.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;g.forEach(x=>{E+=x+(h||0)}),E-=h;const _=E-l;f=f.map(x=>x<=0?-b:x>_?_+k:x)}if(i.centerInsufficientSlides){let E=0;if(g.forEach(_=>{E+=_+(h||0)}),E-=h,E<l){const _=(l-E)/2;f.forEach((x,D)=>{f[D]=x-_}),m.forEach((x,D)=>{m[D]=x+_})}}if(Object.assign(t,{slides:c,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){ft(n,"--swiper-centered-offset-before",`${-f[0]}px`),ft(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const E=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+E),t.slidesGrid=t.slidesGrid.map(x=>x+_)}if(v!==u&&t.emit("slidesLengthChange"),f.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.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`,_=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(E):_&&t.el.classList.remove(E)}}function Kn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Qn(){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 Zn(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;o&&(a=t),n.forEach(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=(a+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),f=(a-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),m=-(a-c),g=m+e.slidesSizesGrid[d],b=m>=0&&m<=e.size-e.slidesSizesGrid[d];(m>=0&&m<e.size-1||g>1&&g<=e.size||m<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),b&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-f:f}}function Rn(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:a,progressLoop:s}=e;const d=l,u=a;if(n===0)o=0,l=!0,a=!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,a=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],m=e.slidesGrid[v],g=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(t);b>=f?s=(b-f)/g:s=(b+g-m)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!a)&&e.emit("fromEdge"),e.emit("progress",o)}function eo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,s=v=>Me(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 a?(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),a?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Bn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=Nn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const yt=(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()}},Vt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Ft=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=o,s=[a-e];s.push(...Array.from({length:e}).map((d,u)=>a+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Vt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let a=o-e;a<=l+e;a+=1){const s=(a%i+i)%i;(s<o||s>l)&&Vt(t,s)}else for(let a=Math.max(o-e,0);a<=Math.min(l+e,i-1);a+=1)a!==o&&(a>l||a<o)&&Vt(t,a)};function to(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 io(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:a,snapIndex:s}=e;let d=t,u;const c=m=>{let g=m-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof d>"u"&&(d=to(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const m=Math.min(o.slidesPerGroupSkip,d);u=m+Math.floor((d-m)/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 f;if(e.virtual&&o.virtual.enabled&&o.loop)f=c(d);else if(v){const m=e.slides.filter(b=>b.column===d)[0];let g=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(m),0)),f=Math.floor(g/o.grid.rows)}else if(e.slides[d]){const m=e.slides[d].getAttribute("data-swiper-slide-index");m?f=parseInt(m,10):f=d}else f=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:a,realIndex:f,previousIndex:l,activeIndex:d}),e.initialized&&Ft(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function no(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,a;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,a=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var oo={updateSize:Xn,updateSlides:Jn,updateAutoHeight:Kn,updateSlidesOffset:Qn,updateSlidesProgress:Zn,updateProgress:Rn,updateSlidesClasses:eo,updateActiveIndex:io,updateClickedSlide:no};function lo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let a=On(l,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function so(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:a}=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!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function ro(){return-this.snapGrid[0]}function ao(){return-this.snapGrid[this.snapGrid.length-1]}function co(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:a,wrapperEl:s}=l;if(l.animating&&a.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),a.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Si({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(f){!l||l.destroyed||f.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 uo={getTranslate:lo,setTranslate:so,minTranslate:ro,maxTranslate:ao,translateTo:co};function po(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 Ii(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:a}=e;let s=n;if(s||(l>a?s="next":l<a?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==a){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function vo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ii({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function fo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ii({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var mo={setTransition:po,transitionStart:vo,transitionEnd:fo};function ho(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:f,wrapperEl:m,enabled:g}=l;if(l.animating&&s.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const b=Math.min(l.params.slidesPerGroupSkip,a);let k=b+Math.floor((a-b)/l.params.slidesPerGroup);k>=d.length&&(k=d.length-1);const p=-d[k];if(s.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const C=-Math.floor(p*100),y=Math.floor(u[h]*100),S=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?C>=y&&C<S-(S-y)/2?a=h:C>=y&&C<S&&(a=h+1):C>=y&&(a=h)}if(l.initialized&&a!==v&&(!l.allowSlideNext&&(f?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==a))return!1;a!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let w;if(a>v?w="next":a<v?w="prev":w="reset",f&&-p===l.translate||!f&&p===l.translate)return l.updateActiveIndex(a),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(),C=f?p:-p;if(e===0){const y=l.virtual&&l.params.virtual.enabled;y&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),y&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[h?"scrollLeft":"scrollTop"]=C})):m[h?"scrollLeft":"scrollTop"]=C,y&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Si({swiper:l,targetPosition:C,side:h?"left":"top"}),!0;m.scrollTo({[h?"left":"top"]:C,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(a),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(C){!l||l.destroyed||C.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 go(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let s;if(l){const f=a*o.params.grid.rows;s=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=o.getSlideIndexByData(a);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 f=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?s+1:s-d+1,slideRealIndex:f==="next"?o.realIndex:void 0})}if(l){const f=a*o.params.grid.rows;a=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,e,i,n)}),o}function bo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:a}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(a&&!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 yo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:a,rtlTranslate:s,enabled: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 f(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const m=f(v),g=l.map(p=>f(p));let b=l[g.indexOf(m)-1];if(typeof b>"u"&&o.cssMode){let p;l.forEach((w,h)=>{m>=w&&(p=h)}),typeof p<"u"&&(b=l[p>0?p-1:p])}let k=0;if(typeof b<"u"&&(k=a.indexOf(b),k<0&&(k=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(k=k-n.slidesPerViewDynamic("previous",!0)+1,k=Math.max(k,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(k,t,e,i)}),!0;return n.slideTo(k,t,e,i)}function wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function So(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,l),s=a+Math.floor((l-a)/o.params.slidesPerGroup),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 To(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Me(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),Ze(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Me(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),Ze(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var xo={slideTo:ho,slideToLoop:go,slideNext:bo,slidePrev:yo,slideReset:wo,slideToClosest:So,slideToClickedSlide:To};function Eo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Me(n,`.${i.slideClass}, swiper-slide`).forEach((v,f)=>{v.setAttribute("data-swiper-slide-index",f)})},l=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%a!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const f=e.isElement?lt("swiper-slide",[i.slideBlankClass]):lt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(f)}};if(s){if(i.loopAddBlankSlides){const c=a-e.slides.length%a;u(c),e.recalcSlides(),e.updateSlides()}else mt("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 mt("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 Co(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:a,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:f,params:m}=d,{centeredSlides:g}=m;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&m.virtual.enabled){i&&(!m.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):m.centeredSlides&&d.snapIndex<m.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 b=m.slidesPerView;b==="auto"?b=d.slidesPerViewDynamic():(b=Math.ceil(parseFloat(m.slidesPerView,10)),g&&b%2===0&&(b=b+1));const k=m.slidesPerGroupAuto?b:m.slidesPerGroup;let p=k;p%k!==0&&(p+=k-p%k),p+=m.loopAdditionalSlides,d.loopedSlides=p;const w=d.grid&&m.grid&&m.grid.rows>1;u.length<b+p?mt("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&&m.grid.fill==="row"&&mt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],C=[];let y=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(D=>D.classList.contains(m.slideActiveClass))[0]):y=l;const S=n==="next"||!n,M=n==="prev"||!n;let I=0,T=0;const E=w?Math.ceil(u.length/m.grid.rows):u.length,x=(w?u[l].column:l)+(g&&typeof o>"u"?-b/2+.5:0);if(x<p){I=Math.max(p-x,k);for(let D=0;D<p-x;D+=1){const O=D-Math.floor(D/E)*E;if(w){const N=E-O-1;for(let F=u.length-1;F>=0;F-=1)u[F].column===N&&h.push(F)}else h.push(E-O-1)}}else if(x+b>E-p){T=Math.max(x-(E-p*2),k);for(let D=0;D<T;D+=1){const O=D-Math.floor(D/E)*E;w?u.forEach((N,F)=>{N.column===O&&C.push(F)}):C.push(O)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&h.forEach(D=>{u[D].swiperLoopMoveDOM=!0,f.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),S&&C.forEach(D=>{u[D].swiperLoopMoveDOM=!0,f.append(u[D]),u[D].swiperLoopMoveDOM=!1}),d.recalcSlides(),m.slidesPerView==="auto"?d.updateSlides():w&&(h.length>0&&M||C.length>0&&S)&&d.slides.forEach((D,O)=>{d.grid.updateSlide(O,D,d.slides)}),m.watchSlidesProgress&&d.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const D=d.slidesGrid[y],N=d.slidesGrid[y+I]-D;s?d.setTranslate(d.translate-N):(d.slideTo(y+Math.ceil(I),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-N,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-N))}else if(o){const D=w?h.length/m.grid.rows:h.length;d.slideTo(d.activeIndex+D,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(C.length>0&&S)if(typeof e>"u"){const D=d.slidesGrid[y],N=d.slidesGrid[y-T]-D;s?d.setTranslate(d.translate-N):(d.slideTo(y-T,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-N,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-N))}else{const D=w?C.length/m.grid.rows:C.length;d.slideTo(d.activeIndex-D,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!a){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...D,slideTo:O.params.slidesPerView===m.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...D,slideTo:d.controller.control.params.slidesPerView===m.slidesPerView?i:!1})}d.emit("loopFix")}function Io(){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 ko={loopCreate:Eo,loopFix:Co,loopDestroy:Io};function Do(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 _o(){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 Ao={setGrabCursor:Do,unsetGrabCursor:_o};function Po(t,e){e===void 0&&(e=this);function i(n){if(!n||n===_e()||n===ye())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 ki(t,e,i){const n=ye(),{params:o}=t,l=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return l&&(i<=a||i>=n.innerWidth-a)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Mo(t){const e=this,i=_e();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"){ki(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:a,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let 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}`,f=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(f?Po(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const m=a.currentX,g=a.currentY;if(!ki(e,n,m))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=m,a.startY=g,o.touchStartTime=Ce(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let b=!0;d.matches(o.focusableElements)&&(b=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const k=b&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||k)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function Oo(t){const e=_e(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:a,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(S=>S.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=Ce());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 f=l.currentX-l.startX,m=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(f**2+m**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let S;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:f*f+m*m>=25&&(S=Math.atan2(Math.abs(m),Math.abs(f))*180/Math.PI,n.isScrolling=i.isHorizontal()?S>o.touchAngle:90-S>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 g=i.isHorizontal()?f:m,b=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(a?1:-1),b=Math.abs(b)*(a?1:-1)),l.diff=g,g*=o.touchRatio,a&&(g=-g,b=-b);const k=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=b>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 S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(S)}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&&k!==i.touchesDirection&&p&&w&&Math.abs(g)>=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=g+n.startTranslate;let C=!0,y=o.resistanceRatio;if(o.touchReleaseOnEdges&&(y=0),g>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()&&(C=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**y))):g<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()&&(C=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**y))),C&&(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(g)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Lo(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(y=>y.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Ce(),f=v-i.touchStartTime;if(e.allowClick){const y=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(y&&y[0]||n.target,y),e.emit("tap click",n),f<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ce(),Ze(()=>{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 m;if(a.followFinger?m=d?e.translate:-e.translate:m=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const g=m>=-e.maxTranslate()&&!e.params.loop;let b=0,k=e.slidesSizesGrid[0];for(let y=0;y<u.length;y+=y<a.slidesPerGroupSkip?1:a.slidesPerGroup){const S=y<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[y+S]<"u"?(g||m>=u[y]&&m<u[y+S])&&(b=y,k=u[y+S]-u[y]):(g||m>=u[y])&&(b=y,k=u[u.length-1]-u[u.length-2])}let p=null,w=null;a.rewind&&(e.isBeginning?w=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(m-u[b])/k,C=b<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?p:b+C):e.slideTo(b)),e.swipeDirection==="prev"&&(h>1-a.longSwipesRatio?e.slideTo(b+C):w!==null&&h<0&&Math.abs(h)>a.longSwipesRatio?e.slideTo(w):e.slideTo(b))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(b+C):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:b+C),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:b))}}function Di(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function jo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function No(){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 Bo(t){const e=this;yt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function zo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _i=(t,e)=>{const i=_e(),{params:n,el:o,wrapperEl:l,device:a}=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](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Di,!0):t[u]("observerUpdate",Di,!0),o[d]("load",t.onLoad,{capture:!0})};function Vo(){const t=this,{params:e}=t;t.onTouchStart=Mo.bind(t),t.onTouchMove=Oo.bind(t),t.onTouchEnd=Lo.bind(t),t.onDocumentTouchStart=zo.bind(t),e.cssMode&&(t.onScroll=No.bind(t)),t.onClick=jo.bind(t),t.onLoad=Bo.bind(t),_i(t,"on")}function Fo(){_i(this,"off")}var Ho={attachEvents:Vo,detachEvents:Fo};const Ai=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Uo(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const a=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const d=(a in l?l[a]:void 0)||t.originalParams,u=Ai(t,n),c=Ai(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 f=d.direction&&d.direction!==n.direction,m=n.loop&&(d.slidesPerView!==n.slidesPerView||f),g=n.loop;f&&i&&t.changeDirection(),Te(t.params,d);const b=t.params.enabled,k=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!b?t.disable():!v&&b&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",d),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&k?(t.loopCreate(e),t.updateSlides()):g&&!k&&t.loopDestroy()),t.emit("breakpoint",d)}function Go(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=ye(),l=e==="window"?o.innerHeight:i.clientHeight,a=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}});a.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<a.length;s+=1){const{point:d,value:u}=a[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var $o={setBreakpoint:Uo,getBreakpoint:Go};function Wo(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 qo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,a=Wo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),o.classList.add(...e),t.emitContainerClasses()}function Yo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Xo={addClasses:qo,removeClasses:Yo};function Jo(){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 Ko={checkOverflow:Jo},Ht={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 Qo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Te(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)){Te(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Te(e,n)}}const Ut={eventsEmitter:Yn,update:oo,translate:uo,transition:mo,slide:xo,loop:ko,grabCursor:Ao,events:Ho,breakpoints:$o,checkOverflow:Ko,classes:Xo},Gt={};let $t=class Ve{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=Te({},i),e&&!i.el&&(i.el=e);const a=_e();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const c=[];return a.querySelectorAll(i.el).forEach(v=>{const f=Te({},i,{el:v});c.push(new Ve(f))}),c}const s=this;s.__swiper__=!0,s.support=Ei(),s.device=Ci({userAgent:i.userAgent}),s.browser=$n(),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:Qo(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Te({},Ht,d);return s.params=Te({},u,Gt,i),s.originalParams=Te({},s.params),s.passedParams=Te({},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=Me(i,`.${n.slideClass}, swiper-slide`),l=ht(o[0]);return ht(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=Me(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),a=(n.maxTranslate()-o)*e+o;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:a,slidesSizesGrid:s,size: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,f;for(let m=u+1;m<l.length;m+=1)l[m]&&!f&&(v+=Math.ceil(l[m].swiperSlideSize),c+=1,v>d&&(f=!0));for(let m=u-1;m>=0;m-=1)l[m]&&!f&&(v+=l[m].swiperSlideSize,c+=1,v>d&&(f=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?a[v]+s[v]-a[u]<d:a[v]-a[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)a[u]-a[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(a=>{a.complete&&yt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(a.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Me(n,o())[0];return!a&&i.params.createElements&&(a=lt("div",i.params.wrapperClass),n.append(a),Me(n,`.${i.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl"),wrongRTL:He(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?yt(i,l):l.addEventListener("load",a=>{yt(i,a.target)})}),Ft(i),i.initialized=!0,Ft(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(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,Pn(n)),n.destroyed=!0),null}static extendDefaults(e){Te(Gt,e)}static get extendedDefaults(){return Gt}static get defaults(){return Ht}static installModule(e){Ve.prototype.__modules__||(Ve.prototype.__modules__=[]);const i=Ve.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ve.installModule(i)),Ve):(Ve.installModule(e),Ve)}};Object.keys(Ut).forEach(t=>{Object.keys(Ut[t]).forEach(e=>{$t.prototype[e]=Ut[t][e]})}),$t.use([Wn,qn]);const Pi=["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 qe(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function et(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]:qe(e[n])&&qe(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:et(t[n],e[n]):t[n]=e[n]})}function Mi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Oi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Li(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function ji(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 Zo(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Ro(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:a,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:c,pagination:v,navigation:f,scrollbar:m,virtual:g,thumbs:b}=e;let k,p,w,h,C,y,S,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(k=!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)&&m&&!m.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(C=!0);const I=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?y=!0:!c.loop&&n.loop?S=!0:M=!0),u.forEach(T=>{if(qe(c[T])&&qe(n[T]))Object.assign(c[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&I(T);else{const E=n[T];(E===!0||E===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?E===!1&&I(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&&g&&c.virtual.enabled?(g.slides=i,g.update(!0)):o.includes("virtual")&&g&&c.virtual.enabled&&(i&&(g.slides=i),g.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),k&&b.init()&&b.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),m.init(),m.updateSize(),m.setTranslate()),C&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),l&&(c.navigation.nextEl=l),a&&(c.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(y||M)&&e.loopDestroy(),(S||M)&&e.loopCreate(),e.update()}function el(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};et(i,Ht),i._emitClasses=!0,i.init=!1;const l={},a=Pi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(a.indexOf(d)>=0?qe(t[d])?(i[d]={},o[d]={},et(i[d],t[d]),et(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 tl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:a,swiper:s}=t;Mi(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Oi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Li(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function il(t,e,i,n,o){const l=[];if(!e)return l;const a=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&a("children"),n.length!==i.length&&a("children")}return Pi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(qe(t[d])&&qe(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?a(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&a(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&a(d)}))}else t[d]!==e[d]&&a(d)}),l}const nl=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 wt(){return wt=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},wt.apply(this,arguments)}function Ni(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Bi(t){const e=[];return r.Children.toArray(t).forEach(i=>{Ni(i)?e.push(i):i.props&&i.props.children&&Bi(i.props.children).forEach(n=>e.push(n))}),e}function ol(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(t).forEach(n=>{if(Ni(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=Bi(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 ll(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:a}=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<=a&&u.push(e[n(c)]);return u.map((c,v)=>r.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function st(t,e){return typeof window>"u"?r.useEffect(t,e):r.useLayoutEffect(t,e)}const Wt=r.createContext(null),zi=()=>r.useContext(Wt),sl=r.createContext(null),Ye=r.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:a,...s}=t===void 0?{}:t,d=!1;const[u,c]=r.useState("swiper"),[v,f]=r.useState(null),[m,g]=r.useState(!1),b=r.useRef(!1),k=r.useRef(null),p=r.useRef(null),w=r.useRef(null),h=r.useRef(null),C=r.useRef(null),y=r.useRef(null),S=r.useRef(null),M=r.useRef(null),{params:I,passedParams:T,rest:E,events:_}=el(s),{slides:x,slots:D}=ol(l),O=()=>{g(!m)};Object.assign(I.on,{_containerClasses(j,B){c(B)}});const N=()=>{Object.assign(I.on,_),d=!0;const j={...I};if(delete j.wrapperClass,p.current=new $t(j),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=x;const B={cache:!1,slides:x,renderExternal:f,renderExternalUpdate:!1};et(p.current.params.virtual,B),et(p.current.originalParams.virtual,B)}};k.current||N(),p.current&&p.current.on("_beforeBreakpoint",O);const F=()=>{d||!_||!p.current||Object.keys(_).forEach(j=>{p.current.on(j,_[j])})},$=()=>{!_||!p.current||Object.keys(_).forEach(j=>{p.current.off(j,_[j])})};r.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",O)}),r.useEffect(()=>{!b.current&&p.current&&(p.current.emitSlidesClasses(),b.current=!0)}),st(()=>{if(e&&(e.current=k.current),!!k.current)return p.current.destroyed&&N(),tl({el:k.current,nextEl:C.current,prevEl:y.current,paginationEl:S.current,scrollbarEl:M.current,swiper:p.current},I),a&&!p.current.destroyed&&a(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),st(()=>{F();const j=il(T,w.current,x,h.current,B=>B.key);return w.current=T,h.current=x,j.length&&p.current&&!p.current.destroyed&&Ro({swiper:p.current,slides:x,passedParams:T,changedParams:j,nextEl:C.current,prevEl:y.current,scrollbarEl:M.current,paginationEl:S.current}),()=>{$()}}),st(()=>{nl(p.current)},[v]);function U(){return I.virtual?ll(p.current,x,v):x.map((j,B)=>r.cloneElement(j,{swiper:p.current,swiperSlideIndex:B}))}return r.createElement(n,wt({ref:k,className:ji(`${u}${i?` ${i}`:""}`)},E),r.createElement(sl.Provider,{value:p.current},D["container-start"],r.createElement(o,{className:Zo(I.wrapperClass)},D["wrapper-start"],U(),D["wrapper-end"]),Mi(I)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:y,className:"swiper-button-prev"}),r.createElement("div",{ref:C,className:"swiper-button-next"})),Li(I)&&r.createElement("div",{ref:M,className:"swiper-scrollbar"}),Oi(I)&&r.createElement("div",{ref:S,className:"swiper-pagination"}),D["container-end"]))});Ye.displayName="Swiper";const Le=r.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:a,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=r.useRef(null),[f,m]=r.useState("swiper-slide"),[g,b]=r.useState(!1);function k(C,y,S){y===v.current&&m(S)}st(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){f!=="swiper-slide"&&m("swiper-slide");return}return l.on("_slideClass",k),()=>{l&&l.off("_slideClass",k)}}}),st(()=>{l&&v.current&&!l.destroyed&&m(l.getSlideClasses(v.current))},[l]);const p={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(p):n,h=()=>{b(!0)};return r.createElement(i,wt({ref:v,className:ji(`${f}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:h},c),a&&r.createElement(Wt.Provider,{value:p},r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},w(),s&&!g&&r.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&r.createElement(Wt.Provider,{value:p},w(),s&&!g&&r.createElement("div",{className:"swiper-lazy-preloader"})))});Le.displayName="SwiperSlide";function Ne(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=se(),o=r.useCallback((a,s,d,u)=>{var c,v,f,m,g,b,k,p,w,h,C,y,S,M;let I="";e&&(!((v=(c=a?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((f=a?.video)===null||f===void 0)&&f.bindProduct)?I="pdpPage":n?I="hashTagPage":!((m=a?.video)===null||m===void 0)&&m.url?I="videoPage":!((g=a?.video)===null||g===void 0)&&g.imgUrls&&(!((k=(b=a?.video)===null||b===void 0?void 0:b.imgUrls)===null||k===void 0)&&k.length)?I="imagePage":a?.product&&(I="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:I,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(y=(C=a?.video)===null||C===void 0?void 0:C.itemId)!==null&&y!==void 0?y:"",ctatId:(S=d?.itemId)!==null&&S!==void 0?S:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=r.useCallback((a,s,d,u,c)=>{var v,f,m,g;let b="";e&&(!((f=(v=a?.video)===null||v===void 0?void 0:v.bindProducts)===null||f===void 0)&&f.length||!((m=a?.video)===null||m===void 0)&&m.bindProduct)?b="pdpPage":a?.product&&(b="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:b,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(g=a?.video)===null||g===void 0?void 0:g.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 rl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",al=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var a;const[s,d]=r.useState(!1),u=r.useRef(null);r.useEffect(()=>{const f=document.getElementById("sxp-render"),m=document.getElementById("pb-modal");m?u.current=m:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),f?.appendChild(u.current))},[]);const c=r.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(r.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=ce.debounce(()=>{e?.()},300);return si.createPortal(r.createElement(r.Fragment,null,s&&r.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},r.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((a=l?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:f=>{f.stopPropagation(),f.preventDefault()}},r.createElement("div",{onClick:e,className:"modal-icon-wrapper"},r.createElement("img",{src:rl,alt:"close",className:"modal-icon"})),i))),u.current)};var St=r.memo(al);const dl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let a=0;a<n.length&&(o.push(n[a]),!(o.join(" ").length>=e));a++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},cl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:a,isPost:s,onChange:d})=>{const[u,c]=r.useState(!1),[v,f]=r.useState(!1),m=Number(i?.lineClamp||2),g=r.useRef(null),b=r.useRef(null),k=r.useCallback(()=>{c(!u)},[u,d]);return r.useMemo(()=>!u&&t.length>e?dl(t,e)+"...":t,[t,e,u]),r.useEffect(()=>{var p,w;((p=b?.current)===null||p===void 0?void 0:p.offsetHeight)>((w=g?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?f(!0):f(!1),b.current.style.display="none"},[s]),r.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},r.createElement("div",{ref:g,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":m,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),r.createElement("div",{ref:b,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&r.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??k},u?a||"show less":l||"show more"))};var Tt=r.memo(cl);const ul=r.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:a}=t,[s,d]=r.useState();return r.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),r.useEffect(()=>{d(i)},[i]),r.createElement(r.Fragment,null,s?.includes(".avif")?r.createElement("picture",null,r.createElement("source",{type:"image/avif",srcSet:s}),r.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),r.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),r.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:u=>{n?.(u.target)}})):r.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:u=>{n?.(u.target)}}))});var Ie=r.memo(ul);const pl=t=>{var e,i,n,o,l,a,s,d,u,{content:c,style:v,bgImg:f,onClick:m,schema:g,isDefault:b,bottom_image:k,tipText:p,isPost:w,viewTime:h,rec:C,swiper:y,commodityStyles:S,buttonStyle:M,index:I}=t,T=he(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=se(),{popupDetailData:_,bffEventReport:x,isPreview:D,waterFallData:O}=se(),{jumpToWeb:N,productView:F}=Ne(),$=r.useRef(null),[U,j]=r.useState(!1),B=w?C:_,P=w?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,A=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,J=w?I:_?.index,H=()=>{P?.link&&(N(_,P,A,J),w||F(B,P,A,h||$.current,J),window.location.href=window.getJointUtmLink(P.link))};r.useEffect(()=>{const Y=()=>{$.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const G=r.useMemo(()=>{var Y,oe,z,V,W;return P?.currency&&P?.price?`${(z=(oe=(Y=P?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&z!==void 0?z:""}${(W=(V=P?.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&W!==void 0?W:""}`:"$7,000"},[P?.price,P?.currency]),Z=D?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,ne=({isPost:Y})=>{var oe,z,V;return r.createElement("div",null,r.createElement("div",{className:"pb-commondity-content-collection",style:S?.collection,hidden:!!P&&(!P?.collection||P?.collection==="")},(oe=P?.collection)!==null&&oe!==void 0?oe:"Tiffany Lock"),r.createElement("div",{className:"pb-commondity-content-title",style:S?.title,hidden:!!P&&!P?.title},(z=P?.title)!==null&&z!==void 0?z:"Pendant in Yellow Gold with Diamonds, Medium"),r.createElement("div",{className:"pb-commondity-content-price",style:S?.price,hidden:!!P&&!P?.price},G),r.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},r.createElement(Tt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>j(!0),isPost:Y,text:(V=P?.info)!==null&&V!==void 0?V:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ (function(ae,ce){typeof exports=="object"&&typeof module<"u"?ce(exports,require("lodash"),require("uuid"),require("pako"),require("react"),require("qs"),require("@emotion/css"),require("@ant-design/pro-components"),require("react-dom"),require("eventemitter3"),require("hls.js")):typeof define=="function"&&define.amd?define(["exports","lodash","uuid","pako","react","qs","@emotion/css","@ant-design/pro-components","react-dom","eventemitter3","hls.js"],ce):(ae=typeof globalThis<"u"?globalThis:ae||self,ce(ae.PUI={},ae.lodash,ae.uuid$1,ae.pako,ae.React,ae.qs,ae.css,ae.proComponents,ae.ReactDOM,ae.EventEmitter,ae.Hls))})(this,function(ae,ce,Zi,Ri,r,oi,J,en,tn,nn,li){"use strict";function on(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 si=on(tn);function he(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 be(t,e,i,n){function o(l){return l instanceof i?l:new i(function(a){a(l)})}return new(i||(i=Promise))(function(l,a){function s(c){try{u(n.next(c))}catch(v){a(v)}}function d(c){try{u(n.throw(c))}catch(v){a(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 ln=/:\w+/g;var ri=(t,e)=>be(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:a,url:s,urlParams:d,name:u,queryString:c,headers:v,body:f}=e[o];let m=s;d&&Object.entries(d).forEach(([g,b])=>{m=m.replace(ln,k=>k===g?b:k)}),c&&(m+=c),n[l]=u;try{const g=yield fetch(m,{method:a,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(f)}).then(b=>b.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const ai="SXP_TOKEN_INFO",sn=(t,e)=>be(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),a=window.localStorage.getItem(ai);let s=JSON.parse(a||"{}");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(ai,JSON.stringify(s))}}return s});function ut(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 rn=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},an=()=>{const t=Zi.v4();return t?.replaceAll?t.replaceAll("-",""):rn(32)};function di(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Ri.inflate(n,{to:"string"});return JSON.parse(o)}let It=null;const dn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class cn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,It)return It;It=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?dn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let ge=null;const un={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{ge||(ge=new cn),n&&ge.setApiUrl(n),ge.setAppId(t),ge.setTenantId(e),ge.setEnv(i)},getDetail:t=>{if(!ge)return;const e=ge.getTenantId(),i=ge.getAppId(),n=ge.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>be(void 0,void 0,void 0,function*(){var l,a;const s=yield o.json(),d=di((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield ri(n,(a=d?.dataSource)!==null&&a!==void 0?a:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>be(void 0,void 0,void 0,function*(){if(!ge)return;const e=ge.getTenantId(),i=ge.getAppId(),n=ge.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>be(void 0,void 0,void 0,function*(){var l;const a=yield o.json();if(!a.success)return;const s=di((l=a?.data)===null||l===void 0?void 0:l.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>be(void 0,void 0,void 0,function*(){if(!ge)return;const e=yield sn(ge,t),i=ut(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ce.isEmpty(n)&&(n=ut(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 je(){return r.useContext(gi)}function pn(){return r.useContext(hi)}const kt="feRealSessionIdKey",ci=()=>{const t=an();return`${Date.now()}${t}`},vn=()=>{let t=mn();return t||(t=ci(),window.sessionStorage.setItem(kt,t)),t},fn=()=>{const t=ci();window.sessionStorage.setItem(kt,t)},mn=()=>window.sessionStorage.getItem(kt),ui="SXP_FAKE_USER_ID",pi="FAKE_USER_STATE",hn=()=>{let t=window.localStorage.getItem(ui);return ce.isEmpty(t)&&(t=ut(36,62),window.localStorage.setItem(ui,t)),t},gn=()=>{const t=window.localStorage.getItem(pi);return ce.isEmpty(t)&&window.localStorage.setItem(pi,"true"),ce.isEmpty(t)};function xe(t,e){const{appDomain:i}=se();return r.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const vi=r.createContext({rtcList:[],tagList:[]});var Dt;(function(t){t[t.BFF=5]="BFF"})(Dt||(Dt={}));const bn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],yn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:a=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1})=>{const[f,m]=r.useState([]),[g,b]=r.useState([]),[k,p]=r.useState(!1),[w,h]=r.useState({rtc:"",requestId:""}),C=r.useRef(null),y=r.useRef(!1),[S,M]=r.useState(),[I,T]=r.useState(),[E,_]=r.useState(v),[x,D]=r.useState([]),[O,B]=r.useState(0),[F,$]=r.useState(!1),[H,j]=r.useState(null);r.useEffect(()=>{_(v)},[v]);const N=r.useMemo(()=>e?.find(V=>V.type===Dt.BFF),[e]),P=r.useCallback((V,z)=>{if(!N)return;const Y=N.url,pe=hn();if(z?.query){const de=oi.stringify(z.query);V=`${V}?${de}`}return z.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${Y}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},N.headers),{"x-user-id":pe}),z.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${Y}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":pe},N.headers),method:z.method,body:JSON.stringify(z.body)}).then(de=>de.json()).catch(de=>Promise.reject(de))},[N]),A=r.useCallback(V=>be(void 0,void 0,void 0,function*(){var z,Y,pe,de,_e;if(V={maxSize:(z=V?.maxSize)!==null&&z!==void 0?z:o,defaultSize:(Y=V?.defaultSize)!==null&&Y!==void 0?Y:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo},i){const ke=(_e=(de=(pe=i?.split("&"))===null||pe===void 0?void 0:pe.filter(Ge=>{const Te=Ge.split("=")[0];return bn.includes(Te)}))===null||de===void 0?void 0:de.join("&"))!==null&&_e!==void 0?_e:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(ke)})}const ve=yield P?.("/recommend/list",{method:"GET",query:V});if(ve?.success)return V?.hashTag||h({rtc:ve.data.rtc,requestId:ve.data.requestId}),ve?.data}),[P,i,o,l]),G=r.useCallback(()=>be(void 0,void 0,void 0,function*(){var V,z;if(f.length<=0)return;const Y=yield A({hashTag:I?.hashTag,"itemFilter.itemId":I?.itemId,"itemFilter.itemType":I?.itemType});m(f.concat((V=Y?.recList)!==null&&V!==void 0?V:[])),D(x.concat((z=Y?.recList)!==null&&z!==void 0?z:[]))}),[A,f,I,x]),U=r.useCallback(({userInfo:V,eventInfo:z})=>{if(!n)return;V||(V={});const Y=vn(),pe=Object.assign({sessionID:Y,rtc:w.rtc,requestId:w.requestId},z),de=Object.entries(V).map(([ve,ke])=>({name:ve,value:ke})),_e=Object.entries(pe).map(([ve,ke])=>ke&&{name:ve,value:ke}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",pe),console.log("========= \u7ED3\u675F ========="),P?.("/event/report",{method:"POST",body:{userInfo:de,eventInfo:_e},type:"beacon"})},[P,w,n]),q=r.useCallback(V=>be(void 0,void 0,void 0,function*(){const z=yield P?.("/recommend/like",{method:"POST",body:V});return z?.success}),[P]),Q=r.useCallback(V=>be(void 0,void 0,void 0,function*(){const z=yield P?.("/recommend/unlike",{method:"POST",body:V});return z?.success}),[P]),ne=r.useCallback(V=>be(void 0,void 0,void 0,function*(){const z=yield P?.("/customform",{method:"POST",body:V});return z?.success}),[P]),oe=r.useCallback(()=>be(void 0,void 0,void 0,function*(){var V,z;if(i)try{const Y=yield P?.("/tag/list",{method:"GET",query:{channel:i}});b((z=(V=Y?.data)===null||V===void 0?void 0:V.tags)!==null&&z!==void 0?z:[])}catch(Y){console.log("e",Y)}}),[P,i]),X=r.useCallback((V,z,Y,pe)=>{var de,_e,ve,ke,Ge,Te,at,it,nt,dt,ot,ct;const me=Y?.bindCta,ni=((de=z?.video)===null||de===void 0?void 0:de.bindProduct)||((_e=z?.video)===null||_e===void 0?void 0:_e.bindProducts)&&((ke=(ve=z?.video)===null||ve===void 0?void 0:ve.bindProducts)===null||ke===void 0?void 0:ke.length)>0;let $e="";F?$e="hashTagPage":!((Ge=z?.video)===null||Ge===void 0)&&Ge.url?$e="videoPage":!((at=(Te=z?.video)===null||Te===void 0?void 0:Te.imgUrls)===null||at===void 0)&&at.length&&($e="imagePage"),U?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(it=me?.itemId)!==null&&it!==void 0?it:"",ctaName:(nt=me?.title)!==null&&nt!==void 0?nt:"",contentTags:JSON.stringify(me?.tags),position:pe+"",contentId:(ot=(dt=z?.video)===null||dt===void 0?void 0:dt.itemId)!==null&&ot!==void 0?ot:"",productId:ni?Y?.itemId:"",traceInfo:(ct=me?.traceInfo)!==null&&ct!==void 0?ct:"",fromKName:$e})})},[U,F]);r.useEffect(()=>{p(!0),oe(),A().then(V=>{var z,Y;m((z=V?.recList)!==null&&z!==void 0?z:[]),D((Y=V?.recList)!==null&&Y!==void 0?Y:[])}).finally(()=>{p(!1),y.current=!0})},[]),r.useEffect(()=>{y.current&&(p(!0),oe(),A().then(V=>{var z,Y;m((z=V?.recList)!==null&&z!==void 0?z:[]),D((Y=V?.recList)!==null&&Y!==void 0?Y:[])}).finally(()=>{p(!1)}))},[A,oe]);const ie=xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return r.createElement(vi.Provider,{value:{rtcList:f,setRtcList:m,mutateLike:q,mutateUnlike:Q,submitForm:ne,popupDetailData:S,loadVideos:G,setPopupDetailData:M,getRecommendVideos:A,bffEventReport:U,utmVal:i,isPreview:a,loading:k,sxpParameter:s,waterFallData:I,setWaterFallData:T,ctaEvent:X,swiperRef:C,openHashtag:E,setOpenHashtag:_,cacheRtcList:x,setCacheRtcList:D,cacheActiveIndex:O,setCacheActiveIndex:B,isFromHashtag:F,setIsFromHashtag:$,appDomain:d,hashTagSize:u,loadingImage:c??ie,isOpenHashTag:v,tagList:g,setLoading:p,videoRef:H,setVideoRef:j}},t({rtcList:f,mutateLike:q,mutateUnlike:Q,submitForm:ne,tagList:g}))};var fi=r.memo(yn);function se(){return r.useContext(vi)}var mi;(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"})(mi||(mi={}));const hi=r.createContext({$store:{},options:[],configs:[]}),wn=({children:t,isSsr:e,enable:i})=>{const[n,o]=r.useState([]),{schema:l}=je(),[a,s]=r.useState(l.__STORE__||{}),[d,u]=r.useState([]);r.useEffect(()=>{var f;e||ce.isEqual(d,l?.dataSource)||u((f=l?.dataSource)!==null&&f!==void 0?f:[])},[l?.dataSource,e]);const c=r.useCallback(()=>be(void 0,void 0,void 0,function*(){const{$store:f,idMapName:m}=yield ri("",d);s(f),v(f,m)}),[d]),v=(f,m)=>{const g=[];Object.entries(f).forEach(([b,k])=>{Object.keys(k).forEach(p=>{const w={label:`${m[b]} - ${p}`,value:`{{ ${b}.${p} }}`};g.push(w)})}),o(g)};return r.useEffect(()=>{e||c()},[c,e,l]),i?r.createElement(hi.Provider,{value:{$store:l.__STORE__||a,options:n,configs:d}},t):t};var Sn=r.memo(wn);const pt={id:ut(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},_t={id:"",duration:0,name:"none"},gi=r.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[pt],redoStack:[],popup:_t,setPopup:()=>{}}),bi=r.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},a)=>{const[s,d]=r.useState(null),[u,c]=r.useState(n||{pointData:[pt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,f]=r.useState([pt]),[m,g]=r.useState([[pt]]),[b,k]=r.useState([]),[p,w]=r.useState(_t);typeof window<"u"&&(window.sxpPopup=(M,I)=>{w(Object.assign(Object.assign(Object.assign({},_t),{id:M}),I))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),r.useEffect(()=>{g([u.pointData]),k([])},[u.type]);const h=r.useCallback(M=>{const I=ce.cloneDeep(u);I&&(I.dataSource=M,c?.(I))},[u]),[C,y]=r.useState();r.useImperativeHandle(a,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return ce.cloneDeep(u)},getPageInfoData(){return C},initPageInfoData(M){M&&y(M)}}));const S=r.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return r.createElement(gi.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:h,prePiontData:v,setPrePiontData:f,pageInfoData:C,setPageInfoData:M=>y(Object.assign(Object.assign({},C),M)),undoStack:m,redoStack:b,setRedoStack:k,setUndoStack:g,getCurPageConf:S,popup:p,setPopup:w}},r.createElement(Sn,{isSsr:i,enable:o},t))});var Tn=Object.freeze({__proto__:null,EditorCore:bi}),xn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ee=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var En={fontOptions:ee},At,Cn=[{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:ee,initialValue:(At=ee?.[0])===null||At===void 0?void 0:At.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const In=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:a,submitText:s,layoutType:d,onClick:u}=t,c=he(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:v}=se(),f=r.useRef(),[m,g]=r.useState(!1),b=r.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"}],[]),k=r.useMemo(()=>{if(d===void 0){const w=ce.cloneDeep(e)||b;return w?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return ce.cloneDeep(e)||b},[d,e,b]),p=ce.debounce(()=>be(void 0,void 0,void 0,function*(){var w,h,C;g(!0);const y=yield(w=f?.current)===null||w===void 0?void 0:w.getFieldsValue(),S=(C=(h=Object.keys(y))===null||h===void 0?void 0:h.map(I=>({name:I,value:y[I]})))===null||C===void 0?void 0:C.filter(I=>I?.value);if(!S||!S?.length)return;const M=yield v?.({attributes:S});g(!1),M&&(window?.sxpPopup(""),M&&u?.())}),1e3);return r.createElement("div",{className:"pb-appoint-form"},r.createElement("div",{className:`pb-appoint-form-title ${J.css(Object.assign({},o))}`},n),r.createElement("div",Object.assign({className:J.css(Object.assign({},i))},c),r.createElement("div",{className:"pb-appoint-form-container"},r.createElement(en.BetaSchemaForm,{columns:k,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:f,className:"panel-reset"}))),r.createElement("div",{className:"pb-appoint-form-btn-wrapper"},r.createElement("button",{onClick:p,className:"pb-appoint-form-btn",style:{color:a,background:l}},m?r.createElement(r.Fragment,null,"loading..."):s)))};var kn=r.memo(In);function we(t,e){return t.extend=e,t}const Dn=we(kn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Cn,bindableProps:[],interactionRender:xn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Pt,Mt,_n=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Pt=ee?.[0])===null||Pt===void 0?void 0:Pt.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:ee,initialValue:(Mt=ee?.[0])===null||Mt===void 0?void 0:Mt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function yi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ot(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:yi(e[i])&&yi(t[i])&&Object.keys(e[i]).length>0&&Ot(t[i],e[i])})}const wi={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 De(){const t=typeof document<"u"?document:{};return Ot(t,wi),t}const An={document:wi,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 ye(){const t=typeof window<"u"?window:{};return Ot(t,An),t}function Fe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Pn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Ze(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ee(){return Date.now()}function Mn(t){const e=ye();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function On(t,e){e===void 0&&(e="x");const i=ye();let n,o,l;const a=Mn(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function vt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Ln(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Se(){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&&!Ln(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,a=o.length;l<a;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(vt(t[s])&&vt(n[s])?n[s].__swiper__?t[s]=n[s]:Se(t[s],n[s]):!vt(t[s])&&vt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Se(t[s],n[s])):t[s]=n[s])}}}return t}function ft(t,e,i){t.style.setProperty(e,i)}function Si(t){let{swiper:e,targetPosition:i,side:n}=t;const o=ye(),l=-e.translate;let a=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(f,m)=>u==="next"&&f>=m||u==="prev"&&f<=m,v=()=>{s=new Date().getTime(),a===null&&(a=s);const f=Math.max(Math.min((s-a)/d,1),0),m=.5-Math.cos(f*Math.PI)/2;let g=l+m*(i-l);if(c(g,i)&&(g=i),e.wrapperEl.scrollTo({[n]:g}),c(g,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:g})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function Me(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function mt(t){try{console.warn(t);return}catch{}}function lt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Fe(e)),i}function jn(t){const e=ye(),i=De(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,a=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-a}}function Nn(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 Bn(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 He(t,e){return ye().getComputedStyle(t,null).getPropertyValue(e)}function ht(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ti(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 Lt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function jt(t,e,i){const n=ye();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 Oe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function zn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ye();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,s=Ee(),d;const u=[];function c(h){let M=0,I=0,T=0,E=0;return"detail"in h&&(I=h.detail),"wheelDelta"in h&&(I=-h.wheelDelta/120),"wheelDeltaY"in h&&(I=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=I,I=0),T=M*10,E=I*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&&!I&&(I=E<1?-1:1),{spinX:M,spinY:I,pixelX:T,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function m(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ee()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ee()-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 g(h){const C=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&C.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&C.releaseOnEdges)return!0;return!1}function b(h){let C=h,y=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const S=e.params.mousewheel;e.params.cssMode&&C.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const I=M&&M.contains(C.target);if(!e.mouseEntered&&!I&&!S.releaseOnEdges)return!0;C.originalEvent&&(C=C.originalEvent);let T=0;const E=e.rtlTranslate?-1:1,_=c(C);if(S.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))T=-_.pixelX*E;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))T=-_.pixelY;else return!0;else T=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*E:-_.pixelY;if(T===0)return!0;S.invert&&(T=-T);let x=e.getTranslate()+T*S.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),y=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),y&&e.params.nested&&C.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:Ee(),delta:Math.abs(T),direction:Math.sign(T),raw:h};u.length>=2&&u.shift();const O=u.length?u[u.length-1]:void 0;if(u.push(D),O?(D.direction!==O.direction||D.delta>O.delta||D.time>O.time+150)&&m(D):m(D),g(D))return!0}else{const D={time:Ee(),delta:Math.abs(T),direction:Math.sign(T)},O=d&&D.time<d.time+500&&D.delta<=d.delta&&D.direction===d.direction;if(!O){d=void 0;let B=e.getTranslate()+T*S.sensitivity;const F=e.isBeginning,$=e.isEnd;if(B>=e.minTranslate()&&(B=e.minTranslate()),B<=e.maxTranslate()&&(B=e.maxTranslate()),e.setTransition(0),e.setTranslate(B),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!$&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();const H=u.length?u[u.length-1]:void 0,j=u[0];if(u.push(D),H&&(D.delta>H.delta||D.direction!==H.direction))u.splice(0);else if(u.length>=15&&D.time-j.time<500&&j.delta-D.delta>=1&&D.delta<=6){const N=T>0?.8:.2;d=D,u.splice(0),a=Ze(()=>{e.slideToClosest(e.params.speed,!0,void 0,N)},0)}a||(a=Ze(()=>{d=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",C),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),S.releaseOnEdges&&(B===e.minTranslate()||B===e.maxTranslate()))return!0}}return C.preventDefault?C.preventDefault():C.returnValue=!1,!1}function k(h){let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget)),C[h]("mouseenter",v),C[h]("mouseleave",f),C[h]("wheel",b)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(k("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 xi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Me(t.el,`.${n[o]}`)[0];l||(l=lt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function Re(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function gt(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 a,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(Re(e.params.pagination.bulletClass));if(!w)return;p.preventDefault();const h=ht(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=Oe(h);let C,y;const S=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(S/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(y=e.previousRealIndex||0,C=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(C=e.snapIndex,y=e.previousSnapIndex):(y=e.previousIndex||0,C=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let T,E,_;if(w.dynamicBullets&&(a=jt(I[0],e.isHorizontal()?"width":"height",!0),h.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&y!==void 0&&(s+=C-(y||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),T=Math.max(C-s,0),E=T+(Math.min(I.length,w.dynamicMainBullets)-1),_=(E+T)/2),I.forEach(x=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${w.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();x.classList.remove(...D)}),h.length>1)I.forEach(x=>{const D=ht(x);D===C?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(D>=T&&D<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),D===T&&u(x,"prev"),D===E&&u(x,"next"))});else{const x=I[C];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&I.forEach((D,O)=>{D.setAttribute("part",O===C?"bullet-active":"bullet")}),w.dynamicBullets){const D=I[T],O=I[E];for(let B=T;B<=E;B+=1)I[B]&&I[B].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(O,"next")}}if(w.dynamicBullets){const x=Math.min(I.length,w.dynamicMainBullets+4),D=(a*x-a)/2-_*a,O=p?"right":"left";I.forEach(B=>{B.style[e.isHorizontal()?O:"top"]=`${D}px`})}}h.forEach((I,T)=>{if(w.type==="fraction"&&(I.querySelectorAll(Re(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(C+1)}),I.querySelectorAll(Re(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 _=(C+1)/M;let x=1,D=1;E==="horizontal"?x=_:D=_,I.querySelectorAll(Re(w.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${D})`,O.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(I.innerHTML=w.renderCustom(e,C+1,M),T===0&&o("paginationRender",I)):(T===0&&o("paginationRender",I),o("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](w.lockClass)})}function f(){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=Oe(h);let C="";if(p.type==="bullets"){let y=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&y>w&&(y=w);for(let S=0;S<y;S+=1)p.renderBullet?C+=p.renderBullet.call(e,S,p.bulletClass):C+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?C=p.renderFraction.call(e,p.currentClass,p.totalClass):C=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?C=p.renderProgressbar.call(e,p.progressbarFillClass):C=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(y=>{p.type!=="custom"&&(y.innerHTML=C||""),p.type==="bullets"&&e.pagination.bullets.push(...y.querySelectorAll(Re(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function m(){e.params.pagination=xi(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=>Ti(h,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Oe(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 g(){const p=e.params.pagination;if(d())return;let w=e.pagination.el;w&&(w=Oe(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=Oe(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?k():(m(),f(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{f(),v()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Oe(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,C=Oe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&C&&C.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 y=C[0].classList.contains(e.params.pagination.hiddenClass);o(y===!0?"paginationShow":"paginationHide"),C.forEach(S=>S.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Oe(p),p.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),m(),f(),v()},k=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Oe(p),p.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:b,disable:k,render:f,update:v,init:m,destroy:g})}function Vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=De();let a=!1,s=null,d=null,u,c,v,f;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:D}=e,{dragEl:O,el:B}=x,F=e.params.scrollbar,$=e.params.loop?e.progressLoop:e.progress;let H=c,j=(v-c)*$;D?(j=-j,j>0?(H=c-j,j=0):-j+c>v&&(H=v+j)):j<0?(H=c+j,j=0):j+c>v&&(H=v-j),e.isHorizontal()?(O.style.transform=`translate3d(${j}px, 0, 0)`,O.style.width=`${H}px`):(O.style.transform=`translate3d(0px, ${j}px, 0)`,O.style.height=`${H}px`),F.hide&&(clearTimeout(s),B.style.opacity=1,s=setTimeout(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3))}function g(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:D,el:O}=x;D.style.width="",D.style.height="",v=e.isHorizontal()?O.offsetWidth:O.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,f>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function k(x){return e.isHorizontal()?x.clientX:x.clientY}function p(x){const{scrollbar:D,rtlTranslate:O}=e,{el:B}=D;let F;F=(k(x)-jn(B)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),F=Math.max(Math.min(F,1),0),O&&(F=1-F);const $=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress($),e.setTranslate($),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:B}=e,{el:F,dragEl:$}=O;a=!0,u=x.target===$?k(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),B.style.transitionDuration="100ms",$.style.transitionDuration="100ms",p(x),clearTimeout(d),F.style.transitionDuration="0ms",D.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function h(x){const{scrollbar:D,wrapperEl:O}=e,{el:B,dragEl:F}=D;a&&(x.preventDefault?x.preventDefault():x.returnValue=!1,p(x),O.style.transitionDuration="0ms",B.style.transitionDuration="0ms",F.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function C(x){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:B}=e,{el:F}=O;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",B.style.transitionDuration=""),D.hide&&(clearTimeout(d),d=Ze(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),D.snapOnRelease&&e.slideToClosest())}function y(x){const{scrollbar:D,params:O}=e,B=D.el;if(!B)return;const F=B,$=O.passiveListeners?{passive:!1,capture:!1}:!1,H=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const j=x==="on"?"addEventListener":"removeEventListener";F[j]("pointerdown",w,$),l[j]("pointermove",h,$),l[j]("pointerup",C,H)}function S(){!e.params.scrollbar.el||!e.scrollbar.el||y("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||y("off")}function I(){const{scrollbar:x,el:D}=e;e.params.scrollbar=xi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let B;if(typeof O.el=="string"&&e.isElement&&(B=e.el.querySelector(O.el)),!B&&typeof O.el=="string"){if(B=l.querySelectorAll(O.el),!B.length)return}else B||(B=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&B.length>1&&D.querySelectorAll(O.el).length===1&&(B=D.querySelector(O.el)),B.length>0&&(B=B[0]),B.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let F;B&&(F=B.querySelector(Re(e.params.scrollbar.dragClass)),F||(F=lt("div",e.params.scrollbar.dragClass),B.append(F))),Object.assign(x,{el:B,dragEl:F}),O.draggable&&S(),B&&B.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}function T(){const x=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Fe(e.isHorizontal()?x.horizontalClass:x.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:D}=e.scrollbar;D=Oe(D),D.forEach(O=>{O.classList.remove(x.horizontalClass,x.verticalClass),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(I(),b(),m())}),n("update resize observerUpdate lock unlock changeDirection",()=>{b()}),n("setTranslate",()=>{m()}),n("setTransition",(x,D)=>{g(D)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}),n("destroy",()=>{T()});const E=()=>{e.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),I(),b(),m()},_=()=>{e.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),T()};Object.assign(e.scrollbar,{enable:E,disable:_,updateSize:b,setTranslate:m,init:I,destroy:T})}function bt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),f,m,g,b,k,p,w;function h(H){!e||e.destroyed||!e.wrapperEl||H.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!w&&E())}const C=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(u=c,f=!1);const H=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=H,o("autoplayTimeLeft",H,H/d),s=requestAnimationFrame(()=>{C()})},y=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(N=>N.classList.contains("swiper-slide-active"))[0]:H=e.slides[e.activeIndex],H?parseInt(H.getAttribute("data-swiper-autoplay"),10):void 0},S=H=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),C();let j=typeof H>"u"?e.params.autoplay.delay:H;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const N=y();!Number.isNaN(N)&&N>0&&typeof H>"u"&&(j=N,d=N,u=N),c=j;const P=e.params.speed,A=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,P,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,P,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return j>0?(clearTimeout(a),a=setTimeout(()=>{A()},j)):requestAnimationFrame(()=>{A()}),j},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,S(),o("autoplayStart")},I=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),o("autoplayStop")},T=(H,j)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),H||(p=!0);const N=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,j){k&&(c=e.params.autoplay.delay),k=!1,N();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),N())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,S(c)):S(),e.autoplay.paused=!1,o("autoplayResume"))},_=()=>{if(e.destroyed||!e.autoplay.running)return;const H=De();H.visibilityState==="hidden"&&(p=!0,T(!0)),H.visibilityState==="visible"&&E()},x=H=>{H.pointerType==="mouse"&&(p=!0,w=!0,!(e.animating||e.autoplay.paused)&&T(!0))},D=H=>{H.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",D))},B=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",D)},F=()=>{De().addEventListener("visibilitychange",_)},$=()=>{De().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(O(),F(),M())}),n("destroy",()=>{B(),$(),e.autoplay.running&&I()}),n("_freeModeStaticRelease",()=>{(g||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?I():T(!0,!0)}),n("beforeTransitionStart",(H,j,N)=>{e.destroyed||!e.autoplay.running||(N||!e.params.autoplay.disableOnInteraction?T(!0,!0):I())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){I();return}m=!0,g=!1,p=!1,b=setTimeout(()=>{p=!0,g=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(b),clearTimeout(a),e.params.autoplay.disableOnInteraction){g=!1,m=!1;return}g&&e.params.cssMode&&E(),g=!1,m=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:M,stop:I,pause:T,resume:E})}function Fn(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 a(){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:Ee()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:f,snapGrid:m,touchEventsData:g}=e,k=Ee()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const I=g.velocities.pop(),T=g.velocities.pop(),E=I.position-T.position,_=I.time-T.time;e.velocity=E/_,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(_>150||Ee()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,g.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const w=e.velocity*p;let h=e.translate+w;f&&(h=-h);let C=!1,y;const S=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-S&&(h=e.maxTranslate()-S),y=e.maxTranslate(),C=!0,g.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>S&&(h=e.minTranslate()+S),y=e.minTranslate(),C=!0,g.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let I;for(let T=0;T<m.length;T+=1)if(m[T]>-h){I=T;break}Math.abs(m[I]-h)<Math.abs(m[I-1]-h)||e.swipeDirection==="next"?h=m[I]:h=m[I-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const I=Math.abs((f?-h:h)-e.translate),T=e.slidesSizesGrid[e.activeIndex];I<T?p=c.speed:I<2*T?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&C?(e.updateProgress(y),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Lt(v,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(y),Lt(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,Lt(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||k>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:a,onTouchEnd:s}})}let Nt;function Hn(){const t=ye(),e=De();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ei(){return Nt||(Nt=Hn()),Nt}let Bt;function Un(t){let{userAgent:e}=t===void 0?{}:t;const i=Ei(),n=ye(),o=n.navigator.platform,l=e||n.navigator.userAgent,a={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_]+))?/),f=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=o==="Win32";let g=o==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&b.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!m&&(a.os="android",a.android=!0),(c||f||v)&&(a.os="ios",a.ios=!0),a}function Ci(t){return t===void 0&&(t={}),Bt||(Bt=Un(t)),Bt}let zt;function Gn(){const t=ye(),e=Ci();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(),a=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:a,isWebView:o}}function $n(){return zt||(zt=Gn()),zt}function Wn(t){let{swiper:e,on:i,emit:n}=t;const o=ye();let l=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{a=o.requestAnimationFrame(()=>{const{width:f,height:m}=e;let g=f,b=m;v.forEach(k=>{let{contentBoxSize:p,contentRect:w,target:h}=k;h&&h!==e.el||(g=w?w.width:(p[0]||p).inlineSize,b=w?w.height:(p[0]||p).blockSize)}),(g!==f||b!==m)&&s()})}),l.observe(e.el))},u=()=>{a&&o.cancelAnimationFrame(a),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 qn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],a=ye(),s=function(c,v){v===void 0&&(v={});const f=a.MutationObserver||a.WebkitMutationObserver,m=new f(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const b=function(){o("observerUpdate",g[0])};a.requestAnimationFrame?a.requestAnimationFrame(b):a.setTimeout(b,0)});m.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(m)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ti(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 Yn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];e.apply(n,a)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(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 Xn(){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(He(n,"padding-left")||0,10)-parseInt(He(n,"padding-right")||0,10),i=i-parseInt(He(n,"padding-top")||0,10)-parseInt(He(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 Jn(){const t=this;function e(E,_){return parseFloat(E.getPropertyValue(t.getDirectionLabel(_))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:a,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Me(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let f=[];const m=[],g=[];let b=i.slidesOffsetBefore;typeof b=="function"&&(b=i.slidesOffsetBefore.call(t));let k=i.slidesOffsetAfter;typeof k=="function"&&(k=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,w=t.slidesGrid.length;let h=i.spaceBetween,C=-b,y=0,S=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=>{a?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(ft(n,"--swiper-centered-offset-before",""),ft(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 I;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){I=0;let _;if(c[E]&&(_=c[E]),M&&t.grid.updateSlide(E,_,c),!(c[E]&&He(_,"display")==="none")){if(i.slidesPerView==="auto"){T&&(c[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(_),D=_.style.transform,O=_.style.webkitTransform;if(D&&(_.style.transform="none"),O&&(_.style.webkitTransform="none"),i.roundLengths)I=t.isHorizontal()?jt(_,"width",!0):jt(_,"height",!0);else{const B=e(x,"width"),F=e(x,"padding-left"),$=e(x,"padding-right"),H=e(x,"margin-left"),j=e(x,"margin-right"),N=x.getPropertyValue("box-sizing");if(N&&N==="border-box")I=B+H+j;else{const{clientWidth:P,offsetWidth:A}=_;I=B+F+$+H+j+(A-P)}}D&&(_.style.transform=D),O&&(_.style.webkitTransform=O),i.roundLengths&&(I=Math.floor(I))}else I=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(I=Math.floor(I)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${I}px`);c[E]&&(c[E].swiperSlideSize=I),g.push(I),i.centeredSlides?(C=C+I/2+y/2+h,y===0&&E!==0&&(C=C-l/2-h),E===0&&(C=C-l/2-h),Math.abs(C)<1/1e3&&(C=0),i.roundLengths&&(C=Math.floor(C)),S%i.slidesPerGroup===0&&f.push(C),m.push(C)):(i.roundLengths&&(C=Math.floor(C)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup===0&&f.push(C),m.push(C),C=C+I+h),t.virtualSize+=I+h,y=I,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+k,a&&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(I,f),!i.centeredSlides){const E=[];for(let _=0;_<f.length;_+=1){let x=f[_];i.roundLengths&&(x=Math.floor(x)),f[_]<=t.virtualSize-l&&E.push(x)}f=E,Math.floor(t.virtualSize-l)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-l)}if(d&&i.loop){const E=g[0]+h;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let D=0;D<_;D+=1)f.push(f[f.length-1]+x)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&f.push(f[f.length-1]+E),m.push(m[m.length-1]+E),t.virtualSize+=E}if(f.length===0&&(f=[0]),h!==0){const E=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");c.filter((_,x)=>!i.cssMode||i.loop?!0:x!==c.length-1).forEach(_=>{_.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;g.forEach(x=>{E+=x+(h||0)}),E-=h;const _=E-l;f=f.map(x=>x<=0?-b:x>_?_+k:x)}if(i.centerInsufficientSlides){let E=0;if(g.forEach(_=>{E+=_+(h||0)}),E-=h,E<l){const _=(l-E)/2;f.forEach((x,D)=>{f[D]=x-_}),m.forEach((x,D)=>{m[D]=x+_})}}if(Object.assign(t,{slides:c,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){ft(n,"--swiper-centered-offset-before",`${-f[0]}px`),ft(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const E=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+E),t.slidesGrid=t.slidesGrid.map(x=>x+_)}if(v!==u&&t.emit("slidesLengthChange"),f.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.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`,_=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(E):_&&t.el.classList.remove(E)}}function Kn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Qn(){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 Zn(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;o&&(a=t),n.forEach(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=(a+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),f=(a-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),m=-(a-c),g=m+e.slidesSizesGrid[d],b=m>=0&&m<=e.size-e.slidesSizesGrid[d];(m>=0&&m<e.size-1||g>1&&g<=e.size||m<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),b&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-f:f}}function Rn(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:a,progressLoop:s}=e;const d=l,u=a;if(n===0)o=0,l=!0,a=!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,a=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],m=e.slidesGrid[v],g=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(t);b>=f?s=(b-f)/g:s=(b+g-m)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!a)&&e.emit("fromEdge"),e.emit("progress",o)}function eo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,s=v=>Me(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 a?(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),a?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Bn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=Nn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const yt=(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()}},Vt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Ft=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=o,s=[a-e];s.push(...Array.from({length:e}).map((d,u)=>a+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Vt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let a=o-e;a<=l+e;a+=1){const s=(a%i+i)%i;(s<o||s>l)&&Vt(t,s)}else for(let a=Math.max(o-e,0);a<=Math.min(l+e,i-1);a+=1)a!==o&&(a>l||a<o)&&Vt(t,a)};function to(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 io(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:a,snapIndex:s}=e;let d=t,u;const c=m=>{let g=m-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof d>"u"&&(d=to(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const m=Math.min(o.slidesPerGroupSkip,d);u=m+Math.floor((d-m)/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 f;if(e.virtual&&o.virtual.enabled&&o.loop)f=c(d);else if(v){const m=e.slides.filter(b=>b.column===d)[0];let g=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(m),0)),f=Math.floor(g/o.grid.rows)}else if(e.slides[d]){const m=e.slides[d].getAttribute("data-swiper-slide-index");m?f=parseInt(m,10):f=d}else f=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:a,realIndex:f,previousIndex:l,activeIndex:d}),e.initialized&&Ft(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function no(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,a;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,a=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var oo={updateSize:Xn,updateSlides:Jn,updateAutoHeight:Kn,updateSlidesOffset:Qn,updateSlidesProgress:Zn,updateProgress:Rn,updateSlidesClasses:eo,updateActiveIndex:io,updateClickedSlide:no};function lo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let a=On(l,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function so(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:a}=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!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function ro(){return-this.snapGrid[0]}function ao(){return-this.snapGrid[this.snapGrid.length-1]}function co(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:a,wrapperEl:s}=l;if(l.animating&&a.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),a.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Si({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(f){!l||l.destroyed||f.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 uo={getTranslate:lo,setTranslate:so,minTranslate:ro,maxTranslate:ao,translateTo:co};function po(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 Ii(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:a}=e;let s=n;if(s||(l>a?s="next":l<a?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==a){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function vo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ii({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function fo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ii({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var mo={setTransition:po,transitionStart:vo,transitionEnd:fo};function ho(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:f,wrapperEl:m,enabled:g}=l;if(l.animating&&s.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const b=Math.min(l.params.slidesPerGroupSkip,a);let k=b+Math.floor((a-b)/l.params.slidesPerGroup);k>=d.length&&(k=d.length-1);const p=-d[k];if(s.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const C=-Math.floor(p*100),y=Math.floor(u[h]*100),S=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?C>=y&&C<S-(S-y)/2?a=h:C>=y&&C<S&&(a=h+1):C>=y&&(a=h)}if(l.initialized&&a!==v&&(!l.allowSlideNext&&(f?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==a))return!1;a!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let w;if(a>v?w="next":a<v?w="prev":w="reset",f&&-p===l.translate||!f&&p===l.translate)return l.updateActiveIndex(a),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(),C=f?p:-p;if(e===0){const y=l.virtual&&l.params.virtual.enabled;y&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),y&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[h?"scrollLeft":"scrollTop"]=C})):m[h?"scrollLeft":"scrollTop"]=C,y&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Si({swiper:l,targetPosition:C,side:h?"left":"top"}),!0;m.scrollTo({[h?"left":"top"]:C,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(a),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(C){!l||l.destroyed||C.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 go(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let s;if(l){const f=a*o.params.grid.rows;s=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=o.getSlideIndexByData(a);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 f=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?s+1:s-d+1,slideRealIndex:f==="next"?o.realIndex:void 0})}if(l){const f=a*o.params.grid.rows;a=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,e,i,n)}),o}function bo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:a}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(a&&!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 yo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:a,rtlTranslate:s,enabled: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 f(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const m=f(v),g=l.map(p=>f(p));let b=l[g.indexOf(m)-1];if(typeof b>"u"&&o.cssMode){let p;l.forEach((w,h)=>{m>=w&&(p=h)}),typeof p<"u"&&(b=l[p>0?p-1:p])}let k=0;if(typeof b<"u"&&(k=a.indexOf(b),k<0&&(k=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(k=k-n.slidesPerViewDynamic("previous",!0)+1,k=Math.max(k,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(k,t,e,i)}),!0;return n.slideTo(k,t,e,i)}function wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function So(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,l),s=a+Math.floor((l-a)/o.params.slidesPerGroup),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 To(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Me(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),Ze(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Me(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),Ze(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var xo={slideTo:ho,slideToLoop:go,slideNext:bo,slidePrev:yo,slideReset:wo,slideToClosest:So,slideToClickedSlide:To};function Eo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Me(n,`.${i.slideClass}, swiper-slide`).forEach((v,f)=>{v.setAttribute("data-swiper-slide-index",f)})},l=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%a!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const f=e.isElement?lt("swiper-slide",[i.slideBlankClass]):lt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(f)}};if(s){if(i.loopAddBlankSlides){const c=a-e.slides.length%a;u(c),e.recalcSlides(),e.updateSlides()}else mt("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 mt("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 Co(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:a,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:f,params:m}=d,{centeredSlides:g}=m;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&m.virtual.enabled){i&&(!m.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):m.centeredSlides&&d.snapIndex<m.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 b=m.slidesPerView;b==="auto"?b=d.slidesPerViewDynamic():(b=Math.ceil(parseFloat(m.slidesPerView,10)),g&&b%2===0&&(b=b+1));const k=m.slidesPerGroupAuto?b:m.slidesPerGroup;let p=k;p%k!==0&&(p+=k-p%k),p+=m.loopAdditionalSlides,d.loopedSlides=p;const w=d.grid&&m.grid&&m.grid.rows>1;u.length<b+p?mt("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&&m.grid.fill==="row"&&mt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],C=[];let y=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(D=>D.classList.contains(m.slideActiveClass))[0]):y=l;const S=n==="next"||!n,M=n==="prev"||!n;let I=0,T=0;const E=w?Math.ceil(u.length/m.grid.rows):u.length,x=(w?u[l].column:l)+(g&&typeof o>"u"?-b/2+.5:0);if(x<p){I=Math.max(p-x,k);for(let D=0;D<p-x;D+=1){const O=D-Math.floor(D/E)*E;if(w){const B=E-O-1;for(let F=u.length-1;F>=0;F-=1)u[F].column===B&&h.push(F)}else h.push(E-O-1)}}else if(x+b>E-p){T=Math.max(x-(E-p*2),k);for(let D=0;D<T;D+=1){const O=D-Math.floor(D/E)*E;w?u.forEach((B,F)=>{B.column===O&&C.push(F)}):C.push(O)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&h.forEach(D=>{u[D].swiperLoopMoveDOM=!0,f.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),S&&C.forEach(D=>{u[D].swiperLoopMoveDOM=!0,f.append(u[D]),u[D].swiperLoopMoveDOM=!1}),d.recalcSlides(),m.slidesPerView==="auto"?d.updateSlides():w&&(h.length>0&&M||C.length>0&&S)&&d.slides.forEach((D,O)=>{d.grid.updateSlide(O,D,d.slides)}),m.watchSlidesProgress&&d.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const D=d.slidesGrid[y],B=d.slidesGrid[y+I]-D;s?d.setTranslate(d.translate-B):(d.slideTo(y+Math.ceil(I),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-B,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-B))}else if(o){const D=w?h.length/m.grid.rows:h.length;d.slideTo(d.activeIndex+D,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(C.length>0&&S)if(typeof e>"u"){const D=d.slidesGrid[y],B=d.slidesGrid[y-T]-D;s?d.setTranslate(d.translate-B):(d.slideTo(y-T,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-B,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-B))}else{const D=w?C.length/m.grid.rows:C.length;d.slideTo(d.activeIndex-D,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!a){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...D,slideTo:O.params.slidesPerView===m.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...D,slideTo:d.controller.control.params.slidesPerView===m.slidesPerView?i:!1})}d.emit("loopFix")}function Io(){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 ko={loopCreate:Eo,loopFix:Co,loopDestroy:Io};function Do(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 _o(){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 Ao={setGrabCursor:Do,unsetGrabCursor:_o};function Po(t,e){e===void 0&&(e=this);function i(n){if(!n||n===De()||n===ye())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 ki(t,e,i){const n=ye(),{params:o}=t,l=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return l&&(i<=a||i>=n.innerWidth-a)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Mo(t){const e=this,i=De();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"){ki(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:a,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let 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}`,f=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(f?Po(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const m=a.currentX,g=a.currentY;if(!ki(e,n,m))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=m,a.startY=g,o.touchStartTime=Ee(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let b=!0;d.matches(o.focusableElements)&&(b=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const k=b&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||k)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function Oo(t){const e=De(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:a,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(S=>S.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=Ee());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 f=l.currentX-l.startX,m=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(f**2+m**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let S;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:f*f+m*m>=25&&(S=Math.atan2(Math.abs(m),Math.abs(f))*180/Math.PI,n.isScrolling=i.isHorizontal()?S>o.touchAngle:90-S>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 g=i.isHorizontal()?f:m,b=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(a?1:-1),b=Math.abs(b)*(a?1:-1)),l.diff=g,g*=o.touchRatio,a&&(g=-g,b=-b);const k=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=b>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 S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(S)}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&&k!==i.touchesDirection&&p&&w&&Math.abs(g)>=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=g+n.startTranslate;let C=!0,y=o.resistanceRatio;if(o.touchReleaseOnEdges&&(y=0),g>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()&&(C=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**y))):g<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()&&(C=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**y))),C&&(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(g)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Lo(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(y=>y.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Ee(),f=v-i.touchStartTime;if(e.allowClick){const y=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(y&&y[0]||n.target,y),e.emit("tap click",n),f<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ee(),Ze(()=>{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 m;if(a.followFinger?m=d?e.translate:-e.translate:m=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const g=m>=-e.maxTranslate()&&!e.params.loop;let b=0,k=e.slidesSizesGrid[0];for(let y=0;y<u.length;y+=y<a.slidesPerGroupSkip?1:a.slidesPerGroup){const S=y<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[y+S]<"u"?(g||m>=u[y]&&m<u[y+S])&&(b=y,k=u[y+S]-u[y]):(g||m>=u[y])&&(b=y,k=u[u.length-1]-u[u.length-2])}let p=null,w=null;a.rewind&&(e.isBeginning?w=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(m-u[b])/k,C=b<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?p:b+C):e.slideTo(b)),e.swipeDirection==="prev"&&(h>1-a.longSwipesRatio?e.slideTo(b+C):w!==null&&h<0&&Math.abs(h)>a.longSwipesRatio?e.slideTo(w):e.slideTo(b))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(b+C):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:b+C),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:b))}}function Di(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function jo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function No(){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 Bo(t){const e=this;yt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function zo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _i=(t,e)=>{const i=De(),{params:n,el:o,wrapperEl:l,device:a}=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](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Di,!0):t[u]("observerUpdate",Di,!0),o[d]("load",t.onLoad,{capture:!0})};function Vo(){const t=this,{params:e}=t;t.onTouchStart=Mo.bind(t),t.onTouchMove=Oo.bind(t),t.onTouchEnd=Lo.bind(t),t.onDocumentTouchStart=zo.bind(t),e.cssMode&&(t.onScroll=No.bind(t)),t.onClick=jo.bind(t),t.onLoad=Bo.bind(t),_i(t,"on")}function Fo(){_i(this,"off")}var Ho={attachEvents:Vo,detachEvents:Fo};const Ai=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Uo(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const a=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const d=(a in l?l[a]:void 0)||t.originalParams,u=Ai(t,n),c=Ai(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 f=d.direction&&d.direction!==n.direction,m=n.loop&&(d.slidesPerView!==n.slidesPerView||f),g=n.loop;f&&i&&t.changeDirection(),Se(t.params,d);const b=t.params.enabled,k=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!b?t.disable():!v&&b&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",d),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&k?(t.loopCreate(e),t.updateSlides()):g&&!k&&t.loopDestroy()),t.emit("breakpoint",d)}function Go(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=ye(),l=e==="window"?o.innerHeight:i.clientHeight,a=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}});a.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<a.length;s+=1){const{point:d,value:u}=a[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var $o={setBreakpoint:Uo,getBreakpoint:Go};function Wo(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 qo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,a=Wo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),o.classList.add(...e),t.emitContainerClasses()}function Yo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Xo={addClasses:qo,removeClasses:Yo};function Jo(){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 Ko={checkOverflow:Jo},Ht={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 Qo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Se(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)){Se(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Se(e,n)}}const Ut={eventsEmitter:Yn,update:oo,translate:uo,transition:mo,slide:xo,loop:ko,grabCursor:Ao,events:Ho,breakpoints:$o,checkOverflow:Ko,classes:Xo},Gt={};let $t=class Ve{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=Se({},i),e&&!i.el&&(i.el=e);const a=De();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const c=[];return a.querySelectorAll(i.el).forEach(v=>{const f=Se({},i,{el:v});c.push(new Ve(f))}),c}const s=this;s.__swiper__=!0,s.support=Ei(),s.device=Ci({userAgent:i.userAgent}),s.browser=$n(),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:Qo(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Se({},Ht,d);return s.params=Se({},u,Gt,i),s.originalParams=Se({},s.params),s.passedParams=Se({},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=Me(i,`.${n.slideClass}, swiper-slide`),l=ht(o[0]);return ht(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=Me(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),a=(n.maxTranslate()-o)*e+o;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:a,slidesSizesGrid:s,size: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,f;for(let m=u+1;m<l.length;m+=1)l[m]&&!f&&(v+=Math.ceil(l[m].swiperSlideSize),c+=1,v>d&&(f=!0));for(let m=u-1;m>=0;m-=1)l[m]&&!f&&(v+=l[m].swiperSlideSize,c+=1,v>d&&(f=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?a[v]+s[v]-a[u]<d:a[v]-a[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)a[u]-a[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(a=>{a.complete&&yt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(a.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Me(n,o())[0];return!a&&i.params.createElements&&(a=lt("div",i.params.wrapperClass),n.append(a),Me(n,`.${i.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl"),wrongRTL:He(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?yt(i,l):l.addEventListener("load",a=>{yt(i,a.target)})}),Ft(i),i.initialized=!0,Ft(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(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,Pn(n)),n.destroyed=!0),null}static extendDefaults(e){Se(Gt,e)}static get extendedDefaults(){return Gt}static get defaults(){return Ht}static installModule(e){Ve.prototype.__modules__||(Ve.prototype.__modules__=[]);const i=Ve.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ve.installModule(i)),Ve):(Ve.installModule(e),Ve)}};Object.keys(Ut).forEach(t=>{Object.keys(Ut[t]).forEach(e=>{$t.prototype[e]=Ut[t][e]})}),$t.use([Wn,qn]);const Pi=["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 qe(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function et(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]:qe(e[n])&&qe(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:et(t[n],e[n]):t[n]=e[n]})}function Mi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Oi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Li(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function ji(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 Zo(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Ro(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:a,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:c,pagination:v,navigation:f,scrollbar:m,virtual:g,thumbs:b}=e;let k,p,w,h,C,y,S,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(k=!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)&&m&&!m.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(C=!0);const I=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?y=!0:!c.loop&&n.loop?S=!0:M=!0),u.forEach(T=>{if(qe(c[T])&&qe(n[T]))Object.assign(c[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&I(T);else{const E=n[T];(E===!0||E===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?E===!1&&I(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&&g&&c.virtual.enabled?(g.slides=i,g.update(!0)):o.includes("virtual")&&g&&c.virtual.enabled&&(i&&(g.slides=i),g.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),k&&b.init()&&b.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),m.init(),m.updateSize(),m.setTranslate()),C&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),l&&(c.navigation.nextEl=l),a&&(c.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(y||M)&&e.loopDestroy(),(S||M)&&e.loopCreate(),e.update()}function el(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};et(i,Ht),i._emitClasses=!0,i.init=!1;const l={},a=Pi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(a.indexOf(d)>=0?qe(t[d])?(i[d]={},o[d]={},et(i[d],t[d]),et(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 tl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:a,swiper:s}=t;Mi(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Oi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Li(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function il(t,e,i,n,o){const l=[];if(!e)return l;const a=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&a("children"),n.length!==i.length&&a("children")}return Pi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(qe(t[d])&&qe(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?a(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&a(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&a(d)}))}else t[d]!==e[d]&&a(d)}),l}const nl=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 wt(){return wt=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},wt.apply(this,arguments)}function Ni(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Bi(t){const e=[];return r.Children.toArray(t).forEach(i=>{Ni(i)?e.push(i):i.props&&i.props.children&&Bi(i.props.children).forEach(n=>e.push(n))}),e}function ol(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(t).forEach(n=>{if(Ni(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=Bi(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 ll(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:a}=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<=a&&u.push(e[n(c)]);return u.map((c,v)=>r.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function st(t,e){return typeof window>"u"?r.useEffect(t,e):r.useLayoutEffect(t,e)}const Wt=r.createContext(null),zi=()=>r.useContext(Wt),sl=r.createContext(null),Ye=r.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:a,...s}=t===void 0?{}:t,d=!1;const[u,c]=r.useState("swiper"),[v,f]=r.useState(null),[m,g]=r.useState(!1),b=r.useRef(!1),k=r.useRef(null),p=r.useRef(null),w=r.useRef(null),h=r.useRef(null),C=r.useRef(null),y=r.useRef(null),S=r.useRef(null),M=r.useRef(null),{params:I,passedParams:T,rest:E,events:_}=el(s),{slides:x,slots:D}=ol(l),O=()=>{g(!m)};Object.assign(I.on,{_containerClasses(j,N){c(N)}});const B=()=>{Object.assign(I.on,_),d=!0;const j={...I};if(delete j.wrapperClass,p.current=new $t(j),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=x;const N={cache:!1,slides:x,renderExternal:f,renderExternalUpdate:!1};et(p.current.params.virtual,N),et(p.current.originalParams.virtual,N)}};k.current||B(),p.current&&p.current.on("_beforeBreakpoint",O);const F=()=>{d||!_||!p.current||Object.keys(_).forEach(j=>{p.current.on(j,_[j])})},$=()=>{!_||!p.current||Object.keys(_).forEach(j=>{p.current.off(j,_[j])})};r.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",O)}),r.useEffect(()=>{!b.current&&p.current&&(p.current.emitSlidesClasses(),b.current=!0)}),st(()=>{if(e&&(e.current=k.current),!!k.current)return p.current.destroyed&&B(),tl({el:k.current,nextEl:C.current,prevEl:y.current,paginationEl:S.current,scrollbarEl:M.current,swiper:p.current},I),a&&!p.current.destroyed&&a(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),st(()=>{F();const j=il(T,w.current,x,h.current,N=>N.key);return w.current=T,h.current=x,j.length&&p.current&&!p.current.destroyed&&Ro({swiper:p.current,slides:x,passedParams:T,changedParams:j,nextEl:C.current,prevEl:y.current,scrollbarEl:M.current,paginationEl:S.current}),()=>{$()}}),st(()=>{nl(p.current)},[v]);function H(){return I.virtual?ll(p.current,x,v):x.map((j,N)=>r.cloneElement(j,{swiper:p.current,swiperSlideIndex:N}))}return r.createElement(n,wt({ref:k,className:ji(`${u}${i?` ${i}`:""}`)},E),r.createElement(sl.Provider,{value:p.current},D["container-start"],r.createElement(o,{className:Zo(I.wrapperClass)},D["wrapper-start"],H(),D["wrapper-end"]),Mi(I)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:y,className:"swiper-button-prev"}),r.createElement("div",{ref:C,className:"swiper-button-next"})),Li(I)&&r.createElement("div",{ref:M,className:"swiper-scrollbar"}),Oi(I)&&r.createElement("div",{ref:S,className:"swiper-pagination"}),D["container-end"]))});Ye.displayName="Swiper";const Le=r.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:a,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=r.useRef(null),[f,m]=r.useState("swiper-slide"),[g,b]=r.useState(!1);function k(C,y,S){y===v.current&&m(S)}st(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){f!=="swiper-slide"&&m("swiper-slide");return}return l.on("_slideClass",k),()=>{l&&l.off("_slideClass",k)}}}),st(()=>{l&&v.current&&!l.destroyed&&m(l.getSlideClasses(v.current))},[l]);const p={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(p):n,h=()=>{b(!0)};return r.createElement(i,wt({ref:v,className:ji(`${f}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:h},c),a&&r.createElement(Wt.Provider,{value:p},r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},w(),s&&!g&&r.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&r.createElement(Wt.Provider,{value:p},w(),s&&!g&&r.createElement("div",{className:"swiper-lazy-preloader"})))});Le.displayName="SwiperSlide";function Ne(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=se(),o=r.useCallback((a,s,d,u)=>{var c,v,f,m,g,b,k,p,w,h,C,y,S,M;let I="";e&&(!((v=(c=a?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((f=a?.video)===null||f===void 0)&&f.bindProduct)?I="pdpPage":n?I="hashTagPage":!((m=a?.video)===null||m===void 0)&&m.url?I="videoPage":!((g=a?.video)===null||g===void 0)&&g.imgUrls&&(!((k=(b=a?.video)===null||b===void 0?void 0:b.imgUrls)===null||k===void 0)&&k.length)?I="imagePage":a?.product&&(I="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:I,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(y=(C=a?.video)===null||C===void 0?void 0:C.itemId)!==null&&y!==void 0?y:"",ctatId:(S=d?.itemId)!==null&&S!==void 0?S:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=r.useCallback((a,s,d,u,c)=>{var v,f,m,g;let b="";e&&(!((f=(v=a?.video)===null||v===void 0?void 0:v.bindProducts)===null||f===void 0)&&f.length||!((m=a?.video)===null||m===void 0)&&m.bindProduct)?b="pdpPage":a?.product&&(b="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:b,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(g=a?.video)===null||g===void 0?void 0:g.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 rl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",al=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var a;const[s,d]=r.useState(!1),u=r.useRef(null);r.useEffect(()=>{const f=document.getElementById("sxp-render"),m=document.getElementById("pb-modal");m?u.current=m:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),f?.appendChild(u.current))},[]);const c=r.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(r.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=ce.debounce(()=>{e?.()},300);return si.createPortal(r.createElement(r.Fragment,null,s&&r.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},r.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((a=l?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:f=>{f.stopPropagation(),f.preventDefault()}},r.createElement("div",{onClick:e,className:"modal-icon-wrapper"},r.createElement("img",{src:rl,alt:"close",className:"modal-icon"})),i))),u.current)};var St=r.memo(al);const dl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let a=0;a<n.length&&(o.push(n[a]),!(o.join(" ").length>=e));a++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},cl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:a,isPost:s,onChange:d})=>{const[u,c]=r.useState(!1),[v,f]=r.useState(!1),m=Number(i?.lineClamp||2),g=r.useRef(null),b=r.useRef(null),k=r.useCallback(()=>{c(!u)},[u,d]);return r.useMemo(()=>!u&&t.length>e?dl(t,e)+"...":t,[t,e,u]),r.useEffect(()=>{var p,w;((p=b?.current)===null||p===void 0?void 0:p.offsetHeight)>((w=g?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?f(!0):f(!1),b.current.style.display="none"},[s]),r.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},r.createElement("div",{ref:g,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":m,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),r.createElement("div",{ref:b,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&r.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??k},u?a||"show less":l||"show more"))};var Tt=r.memo(cl);const ul=r.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:a}=t,[s,d]=r.useState();return r.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),r.useEffect(()=>{d(i)},[i]),r.createElement(r.Fragment,null,s?.includes(".avif")?r.createElement("picture",null,r.createElement("source",{type:"image/avif",srcSet:s}),r.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),r.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),r.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:u=>{n?.(u.target)}})):r.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:u=>{n?.(u.target)}}))});var Ce=r.memo(ul);const pl=t=>{var e,i,n,o,l,a,s,d,u,{content:c,style:v,bgImg:f,onClick:m,schema:g,isDefault:b,bottom_image:k,tipText:p,isPost:w,viewTime:h,rec:C,swiper:y,commodityStyles:S,buttonStyle:M,index:I}=t,T=he(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=se(),{popupDetailData:_,bffEventReport:x,isPreview:D,waterFallData:O}=se(),{jumpToWeb:B,productView:F}=Ne(),$=r.useRef(null),[H,j]=r.useState(!1),N=w?C:_,P=w?N?.product:(e=N?.video)===null||e===void 0?void 0:e.bindProduct,A=w?(i=N?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=N?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,G=w?I:_?.index,U=()=>{P?.link&&(B(_,P,A,G),w||F(N,P,A,h||$.current,G),window.location.href=window.getJointUtmLink(P.link))};r.useEffect(()=>{const X=()=>{$.current=new Date};return X(),window.addEventListener("pageshow",X),()=>{window.removeEventListener("pageshow",X)}},[]);const q=r.useMemo(()=>{var X,ie,V,z,Y;return P?.currency&&P?.price?`${(V=(ie=(X=P?.currency)===null||X===void 0?void 0:X.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&V!==void 0?V:""}${(Y=(z=P?.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Y!==void 0?Y:""}`:"$7,000"},[P?.price,P?.currency]),Q=D?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,ne=({isPost:X})=>{var ie,V,z;return r.createElement("div",null,r.createElement("div",{className:"pb-commondity-content-collection",style:S?.collection,hidden:!!P&&(!P?.collection||P?.collection==="")},(ie=P?.collection)!==null&&ie!==void 0?ie:"Tiffany Lock"),r.createElement("div",{className:"pb-commondity-content-title",style:S?.title,hidden:!!P&&!P?.title},(V=P?.title)!==null&&V!==void 0?V:"Pendant in Yellow Gold with Diamonds, Medium"),r.createElement("div",{className:"pb-commondity-content-price",style:S?.price,hidden:!!P&&!P?.price},q),r.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},r.createElement(Tt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>j(!0),isPost:X,text:(z=P?.info)!==null&&z!==void 0?z:`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:S?.info})))},te=()=>{var Y;return r.createElement(r.Fragment,null,(b||P?.link)&&r.createElement("button",{onClick:H,className:"pb-commondity-btn",style:M},(Y=A?.enTitle)!==null&&Y!==void 0?Y:"Purchase on Website"))};return r.createElement("div",{className:"pb-commondity"},r.createElement("div",Object.assign({className:X.css(Object.assign({},v))},T),P&&((a=P?.homePage)===null||a===void 0?void 0:a.length)>0&&r.createElement(Ye,{height:Z,modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:y?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:y?.delay*1e3}},(s=P?.homePage)===null||s===void 0?void 0:s.map(Y=>r.createElement(Le,{key:Y},r.createElement("div",{style:{overflow:"hidden",width:Z,height:Z}},r.createElement(Ie,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:Y}))))),!(!((d=P?.homePage)===null||d===void 0)&&d.length)&&r.createElement("div",{className:X.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},r.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:k,alt:""})),r.createElement("div",{className:"pb-commondity-content"},ne({isPost:w}))),te(),r.createElement(St,{visible:U,onClose:()=>j(!1)},r.createElement("div",{style:{paddingBottom:"80px"}},ne({isPost:!1})),te()))};var vl=r.memo(pl);const fl=Se(vl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:_n},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var ml=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],hl=[{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"]}],Vi="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 gl=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}},bl=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,a=he(t,["content","btnText","style","icon","onClick"]);const s=typeof o=="string"?o:gl(o),d=()=>{window?.sxpPopup(""),l?.()};return r.createElement("div",Object.assign({className:`pb-prompt ${X.css(Object.assign({},n))}`},a),r.createElement("div",{className:"pb-prompt-icon"},r.createElement("img",{width:"100%",src:s??Vi})),r.createElement("div",{className:"pb-prompt-content"},e),r.createElement("button",{className:"pb-prompt-btn",onClick:d},i))};var yl=r.memo(bl);const wl=Se(yl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:hl,bindableProps:[],interactionRender:ml},defaulSetting:{props:{icon:Vi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var qt,Yt,Sl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(qt=ee?.[0])===null||qt===void 0?void 0:qt.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:ee,initialValue:(Yt=ee?.[0])===null||Yt===void 0?void 0:Yt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Tl=t=>{var e,i,n,o,l,a,s,d,u,c,v,f,{style:m,isDefault:g,rec:b,viewTime:k,isPost:p,bottom_image:w,tipText:h,swiper:C,commodityStyles:y,buttonStyle:S,index:M}=t,I=he(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);r.useState(!0);const{sxpParameter:T}=se(),{popupDetailData:E,bffEventReport:_,isPreview:x,swiperRef:D,waterFallData:O}=se(),{jumpToWeb:N,productView:F}=Ne(),$=r.useRef(null);r.useRef(null),r.useRef(null),r.useState(!1),r.useState(!1),r.useState(!0);const[U,j]=r.useState(!1),B=r.useRef(null),P=p?b:E,A=p?P?.product:(e=P?.video)===null||e===void 0?void 0:e.bindProduct,J=p?(i=P?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=P?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,H=p?M:E?.index,G=()=>{A?.link&&(N(P,A,J,H),p||F(P,A,J,k||B.current,H),window.location.href=window.getJointUtmLink(A.link))};r.useEffect(()=>{const Y=()=>{B.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const Z=r.useMemo(()=>{var Y,oe,z,V,W;return A?.currency&&A?.price?`${(z=(oe=(Y=A?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&z!==void 0?z:""}${(W=(V=A?.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&W!==void 0?W:""}`:"\xA3102,300.00"},[A?.price,A?.currency]),ne=x?375:(l=m?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:Y})=>r.createElement("div",{hidden:!!A&&(!A?.info||A?.info==="")},r.createElement(Tt,{isPost:Y,onClick:()=>j(!0),className:"pb-commondityDiroNew-info",style:y?.info,foldText:h?.foldText,unfoldText:h?.unfoldText,text:A?.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 r.createElement("div",{className:"pb-commondityDiroNew"},r.createElement("div",Object.assign({ref:$,className:X.css(Object.assign({},m))},I),A&&((a=A?.homePage)===null||a===void 0?void 0:a.length)>0&&r.createElement(Ye,{height:ne,modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:C?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:C?.delay*1e3}},(s=A?.homePage)===null||s===void 0?void 0:s.map(Y=>r.createElement(Le,{key:Y},r.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},r.createElement(Ie,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:Y}))))),!(!((d=A?.homePage)===null||d===void 0)&&d.length)&&r.createElement("div",{className:X.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},r.createElement("img",{className:X.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=T?.bottom_image)!==null&&u!==void 0?u:w,alt:""})),r.createElement("div",{className:"pb-commondityDiroNew-content"},r.createElement("div",{className:"pb-commondityDiroNew-content-top"},r.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},r.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:y?.title},(c=A?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),r.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!A&&(!A?.collection||A?.collection===""),style:y?.collection},A?.collection||"Black Macrocannage Calfskin")),r.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},r.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.price,style:y?.price},Z),r.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.taxInfo,style:y?.taxInfo},(v=A?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!A||A?.link)&&r.createElement("button",{onClick:G,className:"pb-commondityDiroNew-btn",style:S},(f=J?.enTitle)!==null&&f!==void 0?f:"Shop now"),te({isPost:p}))),r.createElement(St,{visible:U,onClose:()=>j(!1)},te({isPost:!1})))};var xl=r.memo(Tl);const El=Se(xl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Sl},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 Xt,Jt,ke=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Xt=ee?.[0])===null||Xt===void 0?void 0:Xt.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:ee,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Jt=ee?.[0])===null||Jt===void 0?void 0:Jt.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"]}]}],Cl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Fi(t){const e=r.useRef(null),[i,n]=r.useState(!1);return r.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),r.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 Il=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:a=!1,index:s}=t;he(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=r.useRef(null),u=Fi(d),{popup:c}=je(),{setPopupDetailData:v,ctaEvent:f}=se(),{jumpToWeb:m}=Ne();r.useEffect(()=>{var b,k;if(u&&d?.current){const p=(k=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&k!==void 0?k:e?.video;f?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,f,s]);const g=ce.throttle(()=>{var b,k,p,w,h,C,y,S,M,I;const T=(k=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&k!==void 0?k:e?.video;if(f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,T,s),v?.(Object.assign(Object.assign({},e),{index:s})),a){if(!((w=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||w===void 0)&&w.link){const E=(h=e?.video)===null||h===void 0?void 0:h.bindCta,_=(C=e?.video)===null||C===void 0?void 0:C.bindProduct;m(e,_,E,s),window.location.href=(S=(y=e?.video)===null||y===void 0?void 0:y.bindProduct)===null||S===void 0?void 0:S.link,window.location.href=window.getJointUtmLink((I=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||I===void 0?void 0:I.link)}}else o?.()},c?.duration);return r.createElement("div",{ref:d,className:n,style:l,onClick:g},i)};var rt=r.memo(Il),kl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Dl=t=>{var e,i,n,o,l,a,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:g}=t,b=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return r.createElement(rt,Object.assign({isExternalLink:g,rec:v,className:X.css(Object.assign({},u)),style:{display:"flex"}},b),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},r.createElement(Ie,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),r.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:kl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),r.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=p?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var _l=r.memo(Dl);const Al=Se(_l,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Cl,bindableProps:[],settingRender:ke},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 Pl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ml=t=>{var e,i,n,o,{content:l,style:a,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,f=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:m}=se(),g=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return r.createElement(rt,Object.assign({isExternalLink:v,rec:d,className:X.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},f),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},r.createElement("img",{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:m?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var Ol=r.memo(Ml);const Ll=Se(Ol,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Pl,settingRender:ke?.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 jl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Nl=t=>{var e,i,n,o,l,{content:a,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:f}=t,m=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:b}=se(),{jumpToWeb:k}=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,h=()=>{p?.link&&(k(u,w,p,f),window.location.href=window.getJointUtmLink(p.link))};return r.createElement(rt,Object.assign({index:f,rec:u,className:X.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m,{onClick:h}),r.createElement("div",{className:X.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},r.createElement(Ie,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:g?.bottom_image)!==null&&o!==void 0?o:c})),r.createElement("div",{className:X.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},r.createElement("div",{className:jl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Bl=r.memo(Nl);const zl=Se(Bl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:ke?.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 Vl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Hl=t=>{var e,i,n,o,l,a,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:g}=t,b=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return r.createElement(rt,Object.assign({isExternalLink:g,rec:v,className:X.css(Object.assign({},u)),style:{display:"flex"}},b),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},r.createElement(Ie,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),r.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:Fl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),r.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=p?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Ul=r.memo(Hl);const Gl=Se(Ul,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Vl,settingRender:ke,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 $l=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Wl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const ql=t=>{var e,i,n,o,l,a,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:g}=t,b=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return r.createElement(rt,Object.assign({isExternalLink:g,rec:v,className:X.css(Object.assign({},u)),style:{display:"flex"}},b),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},r.createElement(Ie,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),r.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},r.createElement("div",{className:Wl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),r.createElement("div",{className:X.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=p?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop now")))};var Yl=r.memo(ql);const Xl=Se(Yl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:$l,bindableProps:[],settingRender:ke},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 Jl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Kl=({children:t,isPadding:e=!0})=>r.createElement(Ye,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Fn,Vn,zn],style:{padding:e?"0 12px 0 20px":0}},t);var xt=r.memo(Kl);const Ql=({src:t,rec:e,item:i,index:n})=>{const o=r.useRef(null),l=Fi(o),{ctaEvent:a}=se();return r.useEffect(()=>{l&&t&&o?.current&&a?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,a,i,n]),r.createElement("div",{ref:o,hidden:!t,className:X.css({width:"100%",height:"100%"})},r.createElement(Ie,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var Kt=r.memo(Ql),Zl={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Rl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=he(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:m,setPopupDetailData:g,sxpParameter:b}=se(),{popup:k}=je(),{jumpToWeb:p}=Ne(),[w,h]=r.useState((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=ce.throttle(y=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,y,v),g?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:y}),index:v})),c?y?.link&&(p(a,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return r.createElement(xt,{isPadding:!!a},w?.map(y=>{var S,M,I,T,E,_;return r.createElement(Le,Object.assign({hidden:a&&!y?.bindCta,key:y?.itemId,className:X.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>C(y)}),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},r.createElement(Kt,{src:(I=(M=(S=y?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:b?.bottom_image)!==null&&I!==void 0?I:d,rec:a,item:y,index:v})),r.createElement("div",{className:X.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:Zl["two-line-ellipsis"],style:u?.title},(T=y?.title)!==null&&T!==void 0?T:"Product Name"),r.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var es=r.memo(Rl);const ts=Se(es,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Jl,bindableProps:[],settingRender:ke},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 is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const os=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=he(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:m}=se(),{ctaEvent:g,setPopupDetailData:b}=se(),{popup:k}=je(),[p,w]=r.useState((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Ne(),C=ce.throttle(y=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,y,v),b?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:y}),index:v})),c?y?.link&&(h(a,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return r.createElement(xt,{isPadding:!!a},p?.map(y=>{var S,M,I,T,E,_;return r.createElement(Le,Object.assign({hidden:a&&!y?.bindCta,key:y.itemId,className:X.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>C(y)}),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},r.createElement(Kt,{src:(I=(M=(S=y?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:m?.bottom_image)!==null&&I!==void 0?I:d,rec:a,item:y,index:v})),r.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:ns["two-line-ellipsis"],style:u?.title},(T=y?.title)!==null&&T!==void 0?T:"Product Name"),r.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var ls=r.memo(os);const ss=Se(ls,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:is,settingRender:ke,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 rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],as={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const ds=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=he(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:m,setPopupDetailData:g,sxpParameter:b}=se(),{popup:k}=je(),{jumpToWeb:p}=Ne(),[w,h]=r.useState((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=ce.throttle(y=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,y,v),g?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:y}),index:v})),c?y?.link&&(p(a,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return r.createElement(xt,{isPadding:!!a},w?.map(y=>{var S,M,I,T,E,_;return r.createElement(Le,Object.assign({hidden:a&&!y?.bindCta,key:y?.itemId,className:X.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>C(y)}),r.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},r.createElement(Kt,{src:(I=(M=(S=y?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:b?.bottom_image)!==null&&I!==void 0?I:d,rec:a,item:y,index:v})),r.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},r.createElement("div",{className:as["tow-line-ellipsis"],style:u?.title},(T=y?.title)!==null&&T!==void 0?T:"Product Name"),r.createElement("div",{className:X.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&_!==void 0?_:"Shop now")))}))};var cs=r.memo(ds);const us=Se(cs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:rs,bindableProps:[],settingRender:ke},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 Qt,Zt,ps=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Qt=ee?.[0])===null||Qt===void 0?void 0:Qt.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:ee,initialValue:(Zt=ee?.[0])===null||Zt===void 0?void 0:Zt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const vs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:a}=se();return r.createElement("div",{className:"clc-sxp-nav",style:e},r.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),r.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Hi=r.memo(vs),fs=null,ms="3d989325-e7d6-4a74-8a97-98febdf5b567",hs=null,gs=null,bs={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"},ys=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],ws="Handbags",Ss={productUserId:fs,requestId:ms,channel:hs,rtc:gs,tag:bs,recList:ys,hashTag:ws};const Ts=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:a}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=se(),[f,m]=r.useState(!1),g=r.useRef(null),b=r.useRef(null),k=r.useRef(null),p=r.useRef(null),[w,h]=r.useState(""),C=r.useMemo(()=>{var T,E,_,x,D,O,N,F,$,U,j,B;return!((T=e?.video)===null||T===void 0)&&T.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((_=e?.video)===null||_===void 0)&&_.url?(m(!0),(x=e?.video)===null||x===void 0?void 0:x.url):!((O=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||O===void 0)&&O.length?(F=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||F===void 0?void 0:F[0]:!((U=($=e?.product)===null||$===void 0?void 0:$.homePage)===null||U===void 0)&&U.length?(B=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||B===void 0?void 0:B[0]:v?.bottom_image||""},[e,v?.bottom_image]),y=r.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]),S=r.useMemo(()=>{var T,E,_,x,D,O,N,F,$;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(O=(D=(x=(_=e?.product)===null||_===void 0?void 0:_.currency)===null||x===void 0?void 0:x.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&O!==void 0?O:""}${($=(F=(N=e?.product)===null||N===void 0?void 0:N.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&$!==void 0?$:""}`:null},[e]);r.useEffect(()=>{const T=new IntersectionObserver(E=>{E.forEach(_=>{if(_.isIntersecting){if(b.current===null||C==="")return;f&&w?g.current.setSrc(w):g.current.setSrc(C),T.unobserve(b.current)}})});return T.observe(b.current),()=>{T.disconnect()}},[C,f,w]);const M=(T,E,_)=>{const x=T/E;return _/x};r.useEffect(()=>{const T=k?.current;T===null||C===""||!f||(T.src=C,T.currentTime=1,T.crossOrigin="anonymous",T.onloadeddata=()=>{const E=p?.current;if(!E)return;const _=E.getContext("2d"),x=window?.innerWidth/2,D=M(T.videoWidth,T.videoHeight,x);E.height=D,E.width=x,_?.drawImage(T,0,0,E.width,E.height),h(E.toDataURL()),T.remove(),E.remove()})},[C,f]);const I=()=>{o(),d?.(n),setTimeout(()=>{var T;(T=s?.current)===null||T===void 0||T.swiper.slideTo(i,0,!1),u?.(!1)},0)};return r.createElement("div",{ref:b,className:"list-content-listItem",key:i,onClick:I,style:{marginBottom:a}},r.createElement("div",{className:"list-content-listItem-picture"},f&&r.createElement("div",{style:{display:"none"}},r.createElement("video",{ref:k,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),r.createElement("canvas",{ref:p})),r.createElement(Ie,{loading:"lazy",className:"list-content-listItem-picture-img",ref:g})),r.createElement("div",{className:"list-content-listItem-info"},r.createElement("div",{className:`list-content-listItem-info-title ${S?"list-content-listItem-info-nowrap":""}`,style:l?.title},y&&y),r.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!S},S)))};function xs(t){var e,i,n,o,l,a,s,d,u,c,v,f,{reportTagsView:m}=t,g=he(t,["reportTagsView"]);const{waterFallData:b,getRecommendVideos:k,hashTagSize:p,loadingImage:w,isOpenHashTag:h}=se(),[C,y]=r.useState(),[S,M]=r.useState(),[I,T]=r.useState(!1),E=r.useRef(null),[_,x]=r.useState(!1);r.useCallback(()=>{_||(x(!0),b&&k?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType}).then(O=>{var N;y(C?.concat((N=O?.recList)!==null&&N!==void 0?N:[])),x(!1)}))},[b,k,C,_]),r.useEffect(()=>{var O,N;if(T(!0),b&&k?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType,defaultSize:p,maxSize:p}).then(F=>{var $,U;M(F),y((U=($=F?.recList)===null||$===void 0?void 0:$.filter(j=>j?.video!==null||j?.product!==null))!==null&&U!==void 0?U:[]),T(!1)}),h){const F=Ss;M(F),y((N=(O=F?.recList)===null||O===void 0?void 0:O.filter($=>$?.video!==null||$?.product!==null))!==null&&N!==void 0?N:[]),T(!1)}},[b,k,p,h]);const D=()=>{var O,N;!((O=S?.tag)===null||O===void 0)&&O.link&&(m(),window.location.href=(N=S?.tag)===null||N===void 0?void 0:N.link)};return r.createElement(r.Fragment,null,I?r.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},r.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):r.createElement("div",{className:"list"},r.createElement("div",{className:"list-scroll",ref:E},r.createElement("div",{className:"list-info",style:(e=g?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=S?.tag)===null||i===void 0?void 0:i.info),r.createElement("div",{hidden:!(!((n=S?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:D,style:Object.assign(Object.assign({},(o=g?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:g?.space})},((l=S?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),r.createElement("div",{className:"list-content"},C?.map((O,N)=>r.createElement(Ts,Object.assign({key:N,index:N,rec:O,list:C,reportTagsView:m},g)))),r.createElement("div",{hidden:!_,style:{textAlign:"center"}},"loading..."),r.createElement("div",{hidden:!(!((a=S?.tag)===null||a===void 0)&&a.link),style:{height:!((s=S?.tag)===null||s===void 0)&&s.link?((d=g?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((u=g?.buttonStyle)===null||u===void 0?void 0:u.height)||"100px":0}})),r.createElement("div",{className:"list-bottom",hidden:!(!((c=S?.tag)===null||c===void 0)&&c.link),style:g?.buttonBgStyle}),r.createElement("div",{hidden:!(!((v=S?.tag)===null||v===void 0)&&v.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},r.createElement("button",{className:"list-btn",style:g?.buttonStyle,onClick:D},((f=S?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection"))))}var Es="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Cs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:a,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:f,isFromHashtag:m,bffEventReport:g}=se();r.useRef(null);const b=r.useRef(null),[k,p]=r.useState();r.useEffect(()=>{const S=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?b.current=M:(b.current=document.createElement("div"),b.current.setAttribute("id","water-fall"),S?.appendChild(b.current))},[]);const w=()=>{const S=ce.isEqual(c,s);!S&&s&&s?.length&&d?.(s),y(),a?.(void 0),f?.(!1),setTimeout(()=>{var M,I;S||(I=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||I===void 0||I.slideTo(u,0,!1),n?.(!1)},0)},[h,C]=r.useState();r.useEffect(()=>{i&&C(i)},[i]);const y=r.useCallback(()=>{var S,M,I,T,E,_;const x=h?.rec;if(!x)return;let D="";m?D="hashTagPage":!((S=x?.video)===null||S===void 0)&&S.url?D="videoPage":!((I=(M=x?.video)===null||M===void 0?void 0:M.imgUrls)===null||I===void 0)&&I.length&&(D="imagePage"),g?.({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:(_=x?.video)===null||_===void 0?void 0:_.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:D,fromKPage:location?.href,timeOnSite:Math.floor((new Date-k)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,g,k,m,u]);return r.useEffect(()=>{o&&p(new Date)},[o]),r.useEffect(()=>{const S=()=>{p(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),b.current?si.createPortal(r.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},r.createElement(Hi,{icon:Es,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),r.createElement(xs,Object.assign({reportTagsView:y},t))),b.current):null};var Ui=r.memo(Cs);const Is=t=>r.createElement(Ui,Object.assign({},t));var ks=r.memo(Is);const Ds=Se(ks,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ps,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 Rt=Object.freeze({__proto__:null,Appoint:Ll,AppointForm:Dn,Commodity:Al,CommodityDetail:fl,CommodityDetailDiroNew:El,CommodityDiro:Gl,CommodityDiroNew:Xl,HashTag:Ds,Link:zl,MultiCommodity:ss,MultiCommodityDiro:ts,MultiCommodityDiroNew:us,Prompt:wl});const _s="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",As="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ps=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,a=he(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=se(),[c,v]=r.useState(e),f=Ee(As),m=Ee(_s),g=ce.debounce(()=>be(void 0,void 0,void 0,function*(){var b,k,p,w,h,C,y,S,M,I,T,E,_,x,D,O,N,F,$,U;if(c){v(!1);const j=(p=yield d?.({videoItemId:(k=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&k!==void 0?k:""}))!==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:(y=(C=o.video)===null||C===void 0?void 0:C.title)!==null&&y!==void 0?y:"",contentTags:JSON.stringify((M=(S=o.video)===null||S===void 0?void 0:S.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((I=o.video)===null||I===void 0)&&I.url?"video":"image",traceInfo:(T=o.video)===null||T===void 0?void 0:T.traceInfo}}),j||v(!0)}else{v(!0);const j=(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=(_=o.video)===null||_===void 0?void 0:_.itemId)!==null&&x!==void 0?x:"",contentName:(O=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((F=(N=o.video)===null||N===void 0?void 0:N.tags)!==null&&F!==void 0?F:[]),position:l+"",contentFormat:!(($=o.video)===null||$===void 0)&&$.url?"video":"image",traceInfo:(U=o.video)===null||U===void 0?void 0:U.traceInfo}}),j||v(!1)}}),200);return r.createElement("button",Object.assign({},a,{onClick:g}),r.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||f:n||m,alt:"icon"}))};var Gi=r.memo(Ps);const tt=new nn;var Ue;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ue||(Ue={}));const Ms=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,videoRef:s})=>{const[d,u]=r.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:f,openHashtag:m}=se(),g=r.useRef(0),[b,k]=r.useState(!1),[p,w]=r.useState(!0),{isActive:h}=zi(),C=r.useRef(null),[y,S]=r.useState(""),M=`pb-cache-video-${e}`,I=r.useRef(null),T=r.useMemo(()=>a?.mode==="2",[a]),E=r.useMemo(()=>{var H;return a?.mode==="2"?`translateY(-${50+((H=a?.offsetTop)!==null&&H!==void 0?H:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),_=r.useMemo(()=>{var H;return((H=t?.video)===null||H===void 0?void 0:H.cover)||y},[y,t]),x=r.useMemo(()=>T?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[T]),D=r.useMemo(()=>a?.bgWay==="1",[a]),O=r.useMemo(()=>D&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,D]);r.useEffect(()=>{s&&s?.muted(o)},[o,s]);const N=r.useCallback(()=>{s&&s?.play()},[s]),F=Ee("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),$=r.useCallback(()=>{var H,G,Z,ne,te,Y,oe,z,V;if(!s)return;u(!1);const W=n[e];if(W&&s?.duration()){g.current=s?.currentTime()||0;const pe=((H=s?.duration())!==null&&H!==void 0?H:0).toFixed(2),de=((G=s?.currentTime())!==null&&G!==void 0?G:0).toFixed(2),we=p?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ne=(Z=W.video)===null||Z===void 0?void 0:Z.itemId)!==null&&ne!==void 0?ne:"",contentName:(Y=(te=W.video)===null||te===void 0?void 0:te.title)!==null&&Y!==void 0?Y:"",playType:we,startTime:de,videoDuration:pe,contentTags:JSON.stringify((z=(oe=W.video)===null||oe===void 0?void 0:oe.tags)!==null&&z!==void 0?z:[]),position:e+"",contentFormat:"video",traceInfo:(V=W.video)===null||V===void 0?void 0:V.traceInfo}}),w(!1)}},[c,n,e,p,s]),U=r.useCallback(()=>{var H;if(!s||y||!T)return;const G=document.getElementById("player-container-id_html5_api");if(!G||(G.style.objectFit="contain",!((H=t?.video)===null||H===void 0)&&H.cover||!C||!C.current||D))return;const Z=()=>{const ne=G,te=C?.current,Y=te.getContext("2d"),oe=window?.innerWidth,z=window?.innerHeight;te.height=z,te.width=oe,Y?.drawImage(ne,0,0,te.width,te.height),S(te.toDataURL())};Z(),setTimeout(()=>{Z()},500)},[s,D,t,y,T]),j=r.useCallback(()=>{s&&(U(),k(!0))},[s,U]),B=r.useCallback(()=>{k(!0)},[]),P=r.useCallback(H=>()=>{if(!s||!b)return;const G=s?.paused();switch(H){case"start":if(!G)return;s?.play(),u(!1);break;case"pause":if(G)return;s?.pause(),u(!0);break;default:G?s?.play():s?.pause(),u(!G);break}},[b,s]),A=r.useCallback(()=>{var H,G,Z,ne,te,Y,oe,z,V;if(!s||l!==e)return;const W=n[e],pe=((H=s?.duration())!==null&&H!==void 0?H:0).toFixed(2),de=((G=s?.currentTime())!==null&&G!==void 0?G:0).toFixed(2);if(s?.duration()){const we=(s?.currentTime()-g.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ne=(Z=W.video)===null||Z===void 0?void 0:Z.itemId)!==null&&ne!==void 0?ne:"",contentName:(Y=(te=W.video)===null||te===void 0?void 0:te.title)!==null&&Y!==void 0?Y:"",endTime:de,videoDuration:pe,playDuration:we,contentTags:JSON.stringify((z=(oe=W.video)===null||oe===void 0?void 0:oe.tags)!==null&&z!==void 0?z:[]),position:e+"",contentFormat:"video",traceInfo:(V=W.video)===null||V===void 0?void 0:V.traceInfo}})}},[n,e,c,s,l]);r.useEffect(()=>{if(!h||!s)return;const H=t.video.url;if(!H)return;u(!1);const G=document.querySelector(`#${M}`),Z=document.querySelector("#player-container-id"),ne=document.querySelector("#player-container-id-copy");if(!(!Z&&!ne))return G?.appendChild(Z||ne),s.poster("https://graff-cdn.chatlabs.net/dev/img/8922b5b8-a954-4a61-9ffc-80edebdf02b4/sxp-portal/20240218/fsTan2fgYKJWrCpJtGZPogm0NnvdT1708239153661.jpeg"),s?.src(H),s?.on("loadedmetadata",j),s?.on("loadeddata",U),s?.on("canplay",B),s?.on("playing",$),s?.on("pause",A),s?.on("ended",N),()=>{ne?.appendChild(Z),s?.off("loadedmetadata",j),s?.off("loadeddata",U),s?.off("canplay",B),s?.off("playing",$),s?.off("pause",A),s?.off("ended",N)}},[h,M,t,s]),r.useEffect(()=>{!s||!b||(h?s?.play():s?.pause())},[h,b,s]),r.useEffect(()=>{if(!h||!s)return;!s?.paused()&&m?s?.pause():m||s?.play()},[m,h,s]),r.useEffect(()=>{if(!h)return;const H=P("start"),G=P("pause");return tt.on(Ue.PAGE_DID_SHOW,H),tt.on(Ue.PAGE_DID_HIDE,G),()=>{tt.off(Ue.PAGE_DID_SHOW,H),tt.off(Ue.PAGE_DID_HIDE,G)}},[P,h]);const J=r.useMemo(()=>!v?.placeholder_image||b?null:r.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[b,v?.placeholder_image]);return r.useEffect(()=>{if(!s)return;const H=()=>{var G;l===e&&(!((G=t?.video)===null||G===void 0)&&G.url)&&s&&!d&&P("pause")()};return window.addEventListener("beforeunload",H),()=>{window.removeEventListener("beforeunload",H)}},[l,e,t,s,P,d]),t.video?r.createElement(r.Fragment,null,T?r.createElement("div",{className:"video-container",key:t.video.itemId,onClick:P(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},O)},!D&&r.createElement(Ie,{src:_,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},x)}),r.createElement("canvas",{ref:C,style:{display:"none"}}),r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:E,left:0,right:0}},r.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},r.createElement("div",{className:"n-full-screen",ref:I,id:M,style:{width:"100%",height:"100%"}}),r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:F}))),J):r.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:P()},r.createElement("div",{className:"n-full-screen",ref:I,id:M,style:{width:"100%",height:"100%"}}),J,r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:F}))):null};var Os=r.memo(Ms);const Ls=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,a]=r.useState(t),s=d=>{d.stopPropagation();const u=!l;a(u),n?.(u)};return r.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},r.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var $i=r.memo(Ls);const js=({imageUrl:t})=>{const[e,i]=r.useState(!0);je(),r.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Ee("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=r.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return r.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},r.createElement("img",{src:t||n}))},Wi=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=r.useMemo(()=>n?.mode==="2",[n]),l=r.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]),a=r.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=r.useMemo(()=>n?.bgWay==="1",[n]),d=r.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return r.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},!s&&r.createElement(Ie,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),o&&r.createElement(Ie,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Ns=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var d;const u=r.useRef(),{isActive:c}=zi(),{sxpParameter:v,openHashtag:f}=se(),[m,g]=r.useState(!1);return r.useEffect(()=>{m&&c?(u?.current&&u.current.swiper.autoplay.start(),f?l(n):a(o)):(g(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,f,o,a,m]),r.createElement(Ye,{ref:u,defaultValue:0,direction:"horizontal",modules:[gt,bt],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(b=>r.createElement(Le,{key:b},r.createElement(Wi,{src:b,height:i,imgUrlsPostConfig:s}))))};var Bs=r.memo(Ns);const zs=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[a,s]=r.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:f}=se(),m=g=>{v?f?.(!0):c?.(n),d?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return r.useMemo(()=>t.length<=6?null:r.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),r.createElement("div",{className:"clc-sxp-bottom-hashtag"},r.createElement(xt,null,t?.map((g,b)=>r.createElement(Le,{key:b,hidden:a?!1:b>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>m(g)},`#${g}`))))};var qi=r.memo(zs),Vs="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 Et(t){return r.memo(function(e){const{$store:i}=pn(),n=l=>{let a=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=ce.get(i,c);return a=a.replace(d,v),v}})}),a},o=r.useMemo(()=>{var l,a,s;const{bindDatas:d}=e,u=he(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:f}=c;f.replace(/{{\s*([\w.]+)\s*}}/g,(m,g)=>{var b,k;if(g){const p=(k=(b=ce.get(i,g))!==null&&b!==void 0?b:e[v])!==null&&k!==void 0?k:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=ce.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=(a=u?.event)===null||a===void 0?void 0:a.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return r.createElement(t,Object.assign({},o,o.eventMap))})}const Fs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=je(),l=r.useMemo(()=>{var a,s,d,u,c,v,f,m,g,b,k,p,w,h,C,y,S,M,I,T,E,_,x,D,O,N,F,$,U,j,B;if(!t?.video)return null;let P=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?P="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?P="\u5546\u54C1CTA":P=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const A=i?.[P];if(((v=A?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((f=t?.video)===null||f===void 0)&&f.bindProduct)||((m=A?.item)===null||m===void 0?void 0:m.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((b=A?.item)===null||b===void 0?void 0:b.type)==="CommodityDiroNew"&&!(!((k=t?.video)===null||k===void 0)&&k.bindProduct)||((p=A?.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)||((C=A?.item)===null||C===void 0?void 0:C.type)==="MultiCommodityDiro"&&!(!((S=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||S===void 0)&&S.length)||((M=A?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((T=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||T===void 0)&&T.length))return null;if(A&&n){const J=n[(E=A?.item)===null||E===void 0?void 0:E.type],H=Et(J),G=(_=J?.extend)===null||_===void 0?void 0:_.defaulSetting,Z=((O=(D=(x=A?.item)===null||x===void 0?void 0:x.event)===null||D===void 0?void 0:D.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return r.createElement(H,Object.assign({style:Object.assign(Object.assign(Object.assign({},G?.style),(N=A?.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({},G?.textStyle),(F=A?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(U=($=A?.item)===null||$===void 0?void 0:$.bindDatas)!==null&&U!==void 0?U:[]},G?.props,(j=A?.item)===null||j===void 0?void 0:j.props,{event:((B=A?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:A?.id,key:A?.id,recData:t,isExternalLink:Z,index:e}))}else return null},[t,n,i,o]);return r.createElement(r.Fragment,null,l)};var Yi=r.memo(Fs);const Xi=({nudge:t})=>{var e,i,n,o,l,a,s;return r.createElement(r.Fragment,null,t?.isOpen&&r.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?r.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,r.createElement("p",{style:Object.assign({},t?.textStyle)},(s=t?.content)!==null&&s!==void 0?s:"")))},Ji=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:a=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:f=[],licenseUrl:m})=>{var g,b,k,p,w,h,C;const{schema:y}=je(),[S,M]=r.useState(0),I=r.useRef(0),[T,E]=r.useState(!1),[_,x]=r.useState(!0),D=r.useRef(),O=r.useRef(),[N,F]=r.useState(!1),[$,U]=r.useState(!1),{loadVideos:j,bffEventReport:B,loading:P,setPopupDetailData:A,ctaEvent:J,swiperRef:H,waterFallData:G,setOpenHashtag:Z,appDomain:ne,openHashtag:te,loadingImage:Y,isFromHashtag:oe,popupDetailData:z}=se(),[V,W]=r.useState(null),pe=r.useRef(),{productView:de}=Ne(),we=r.useMemo(()=>a.length>0&&!P&&gn(),[a,P]),ve=r.useCallback(()=>{if(a.length<=0)return;De();const L=location.search.slice(1),Q=oi.parse(L.replace(/\+/g,"%2B"));for(const R in Q)Q[R]=Q[R].replace(/%2B/g,"+");const q=R=>{var ie;return(ie=Q[R])!==null&&ie!==void 0?ie:""};B?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:q("utm_source"),utmMedium:q("utm_medium"),utmCampaign:q("utm_campaign"),utmId:q("utm_id"),utmContent:q("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),E(!0)},[B,a.length]),De=()=>{D.current=new Date,O.current=new Date,fn()},Ge=r.useRef();r.useEffect(()=>{if(!Ge.current&&!V){Ge.current=!0;const L=TCPlayer("player-container-id",{licenseUrl:m,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});L?.ready(()=>{W(L)})}},[V,m]),r.useEffect(()=>{T||ve()},[ve,T]),r.useEffect(()=>{var L;const Q=a?.findIndex(q=>{var R,ie,re,K,le,ue,fe,Ae,Pe;return s==="\u591A\u5546\u54C1CTA"?((R=q?.video)===null||R===void 0?void 0:R.bindProducts)&&((re=(ie=q?.video)===null||ie===void 0?void 0:ie.bindProducts)===null||re===void 0?void 0:re.length)>0:s==="\u5546\u54C1CTA"?(K=q?.video)===null||K===void 0?void 0:K.bindProduct:((ue=(le=q?.video)===null||le===void 0?void 0:le.bindCta)===null||ue===void 0?void 0:ue.itemId)===s&&(((fe=q?.video)===null||fe===void 0?void 0:fe.url)||((Pe=(Ae=q?.video)===null||Ae===void 0?void 0:Ae.imgUrls)===null||Pe===void 0?void 0:Pe.length))})||0;(L=H?.current)===null||L===void 0||L.swiper.slideTo(Q)},[s,H]),r.useEffect(()=>{const L=a?.[S],Q=()=>{var q,R,ie,re,K,le,ue,fe,Ae,Pe,Xe,Je,Ke,Qe,We;if(document.visibilityState==="hidden"){tt.emit(Ue.PAGE_DID_HIDE,L),me(L),$e(L);let Be="";z&&(!((R=(q=L?.video)===null||q===void 0?void 0:q.bindProducts)===null||R===void 0)&&R.length||!((ie=L?.video)===null||ie===void 0)&&ie.bindProduct)?Be="pdpPage":z&&o?.[(le=(K=(re=L.video)===null||re===void 0?void 0:re.bindCta)===null||K===void 0?void 0:K.itemId)!==null&&le!==void 0?le:""].item.type==="Appoint"?Be="formPage":oe?Be="hashTagPage":!((ue=L?.video)===null||ue===void 0)&&ue.url?Be="videoPage":!((fe=L?.video)===null||fe===void 0)&&fe.imgUrls&&(!((Pe=(Ae=L?.video)===null||Ae===void 0?void 0:Ae.imgUrls)===null||Pe===void 0)&&Pe.length)?Be="imagePage":L?.product&&(Be="productPage"),B?.({eventInfo:{sessionDuration:Math.floor((new Date-D.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Xe=L?.video)===null||Xe===void 0?void 0:Xe.itemId,productId:(Je=L?.product)===null||Je===void 0?void 0:Je.itemId,position:S+"",fromKName:Be,fromKPage:location?.href,ctatId:(We=(Qe=(Ke=L.video)===null||Ke===void 0?void 0:Ke.bindCta)===null||Qe===void 0?void 0:Qe.itemId)!==null&&We!==void 0?We:""}})}else document.visibilityState==="visible"&&(ve(),Qi(S),tt.emit(Ue.PAGE_DID_SHOW,L))};return document.addEventListener("visibilitychange",Q),()=>{document.removeEventListener("visibilitychange",Q)}},[S,B,D,a,ve,z,oe,o]);const xe=r.useMemo(()=>{let L=0;return t?.logoUrl&&t?.isShowLogo&&(L+=45),i-L},[t,i,f]),at=r.useMemo(()=>t?.logoUrl&&t?.isShowLogo?r.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},r.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),it=r.useCallback((L,Q)=>{var q,R,ie,re;return!((q=L.video)===null||q===void 0)&&q.url?r.createElement(Os,{rec:L,index:Q,muted:_,data:a,height:xe,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:V}):!((R=L.video)===null||R===void 0)&&R.imgUrls?r.createElement(Bs,{key:L.video.itemId,imgUrls:L.video.imgUrls,width:n,height:xe,rec:L,index:Q,onReportViewImageEnd:me,onViewImageStartEvent:Qi,imgUrlsPostConfig:t?.imgUrlsPost}):L.product&&Array.isArray(t?.productPost)&&((ie=t?.productPost)===null||ie===void 0?void 0:ie.length)>0?(re=t?.productPost)===null||re===void 0?void 0:re.map((K,le)=>{var ue,fe,Ae,Pe,Xe,Je,Ke,Qe;const We=l[(ue=K?.item)===null||ue===void 0?void 0:ue.type],Be=Et(We),ze=(fe=We?.extend)===null||fe===void 0?void 0:fe.defaulSetting;return r.createElement(Be,Object.assign({key:`${Q}${le}`,textStyle:Object.assign(Object.assign({},ze?.textStyle),(Ae=K?.item)===null||Ae===void 0?void 0:Ae.textStyle),bindDatas:(Xe=(Pe=K?.item)===null||Pe===void 0?void 0:Pe.bindDatas)!==null&&Xe!==void 0?Xe:[]},ze?.props,(Je=K?.item)===null||Je===void 0?void 0:Je.props,{event:((Ke=K?.item)===null||Ke===void 0?void 0:Ke.event)||{},schema:y,id:K?.id,viewTime:O.current,rec:L,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},ze?.style),(Qe=K?.item)===null||Qe===void 0?void 0:Qe.style),{height:"100%",overflow:"auto"}),index:Q}))}):null},[n,a,xe,_,S,t?.productPost,O,d,l,y,V]),nt=r.useCallback(L=>{U(L)},[]),dt=r.useMemo(()=>$?{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"},[$]),ot=r.useCallback((L,Q)=>{var q,R,ie,re,K,le,ue;return L.video?r.createElement(r.Fragment,null,((q=L.video)===null||q===void 0?void 0:q.title)&&!$&&r.createElement("div",{className:"clc-sxp-bottom-shadow"}),r.createElement("div",{className:"clc-sxp-bottom"},r.createElement(Xi,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?r.createElement("div",{className:"clc-sxp-bottom-card"},r.createElement(Yi,{rec:L,index:Q,tempMap:o,resolver:l})):null,r.createElement("div",null,r.createElement(Tt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(ie=(R=L.video)===null||R===void 0?void 0:R.title)!==null&&ie!==void 0?ie:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:nt}),r.createElement(qi,{index:S,tags:(K=(re=L?.video)===null||re===void 0?void 0:re.hashTags)!==null&&K!==void 0?K:[],itemId:(le=L?.video)===null||le===void 0?void 0:le.itemId,itemType:!((ue=L.video)===null||ue===void 0)&&ue.itemId?"VIDEO":null,rec:L,hashTagStyle:v})))):null},[e,S,o,l,d,u,v,t,nt,$,dt]),ct=r.useCallback((L,Q)=>{var q,R;if(!t?.isShowLike)return;let ie=(q=t?.likeIconY)!==null&&q!==void 0?q:400;return G&&ie<40&&(ie+=40),L.video?r.createElement(Gi,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{top:ie,right:(R=t?.likeIconX)!==null&&R!==void 0?R:0},position:Q}):null},[t,G]),me=L=>{var Q,q,R,ie,re,K;if(!(!((Q=L.video)===null||Q===void 0)&&Q.url)&&(!((q=L.video)===null||q===void 0)&&q.imgUrls)){const le=Date.now(),ue=(le-I.current)/1e3;B?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ie=(R=L.video)===null||R===void 0?void 0:R.itemId)!==null&&ie!==void 0?ie:"",contentName:(re=L.video.title)!==null&&re!==void 0?re:"",imageEndTime:`${le}`,playDuration:`${ue}`,contentTags:JSON.stringify((K=L.video.tags)!==null&&K!==void 0?K:[]),position:S+"",contentFormat:"image",traceInfo:L.video.traceInfo}})}},ni=L=>{var Q,q,R,ie,re,K,le,ue;O.current=new Date;const fe=a[L.previousIndex];fe&&(L.previousIndex-L.activeIndex<0?(B?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(q=(Q=fe.video)===null||Q===void 0?void 0:Q.itemId)!==null&&q!==void 0?q:"",productId:(ie=(R=fe.product)===null||R===void 0?void 0:R.itemId)!==null&&ie!==void 0?ie:"",requestId:null}}),me(fe)):(B?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(K=(re=fe.video)===null||re===void 0?void 0:re.itemId)!==null&&K!==void 0?K:"",productId:(ue=(le=fe.product)===null||le===void 0?void 0:le.itemId)!==null&&ue!==void 0?ue:"",requestId:null}}),me(fe)),$e(fe))},$e=L=>{var Q,q,R;!(!((Q=L?.video)===null||Q===void 0)&&Q.url)&&!(!((q=L?.video)===null||q===void 0)&&q.imgUrls)&&L?.product&&de(L,L.product,(R=L?.product)===null||R===void 0?void 0:R.bindCta,O.current,S)};r.useEffect(()=>{const L=a[S];te&&$e(L)},[te,a,S]);const Qi=L=>{var Q,q,R,ie,re,K;const le=a[L];if(!(!((Q=le?.video)===null||Q===void 0)&&Q.url)&&(!((q=le?.video)===null||q===void 0)&&q.imgUrls)){const ue=Date.now();I.current=ue,B?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ie=(R=le.video)===null||R===void 0?void 0:R.itemId)!==null&&ie!==void 0?ie:"",contentName:(re=le.video.title)!==null&&re!==void 0?re:"",imageStartTime:`${ue}`,contentTags:JSON.stringify((K=le.video.tags)!==null&&K!==void 0?K:[]),position:L+"",contentFormat:"image",traceInfo:le.video.traceInfo}})}},Ct=r.useMemo(()=>{const L=a?.map((Q,q)=>S===q||q-1===S||q+1===S?Q:null);return G?L:L.concat([{loading:!0}])},[a,S,G]),ir=r.useMemo(()=>P?r.createElement("div",{style:{height:xe,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},r.createElement("img",{width:64,height:64,src:Y,alt:"loading...",style:{objectFit:"contain"}})):Ct?.map((L,Q)=>r.createElement(Le,{key:Q,virtualIndex:Q},L&&r.createElement(r.Fragment,null,L?.loading?r.createElement("div",{style:{height:xe,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},r.createElement("img",{width:64,height:64,src:Y,alt:"loading...",style:{objectFit:"contain"}})):r.createElement(r.Fragment,null,it(L,Q),ot(L,Q),ct(L,Q))))),[n,a,xe,P,ot,it,Ct,Y]),nr=Ee("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),or=Ee("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return r.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},G&&r.createElement(Hi,{icon:Vs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Z?.(!0)}}),at,we?r.createElement(js,{imageUrl:t?.swipeTipIcon}):null,r.createElement(Ye,{ref:H,onSlideChange:()=>{H.current.swiper.allowTouchMove=!1,setTimeout(()=>{H.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:L=>{M(L.activeIndex),!te&&(ni(L),!G&&L?.activeIndex+2>=a?.length&&(N||(F(!0),j?.(Math.ceil(S/10)+1).then(()=>{F(!1)}))))},direction:"vertical",height:xe},r.createElement($i,{style:{position:"fixed",right:(g=t?.muteIconX)!==null&&g!==void 0?g:0,visibility:!((k=(b=a?.[S])===null||b===void 0?void 0:b.video)===null||k===void 0)&&k.url?"visible":"hidden",bottom:(p=t?.muteIconY)!==null&&p!==void 0?p:23,zIndex:999},defaultValue:_,activeIcon:t?.unMuteIcon?t?.unMuteIcon:nr,unactiveIcon:t?.muteIcon?t?.muteIcon:or,onChange:x}),ir),r.createElement(Ui,Object.assign({},(C=(h=(w=t?.hashTag)===null||w===void 0?void 0:w[0])===null||h===void 0?void 0:h.item)===null||C===void 0?void 0:C.props)),r.createElement("div",{style:{position:"absolute",zIndex:-100}},r.createElement("video",{ref:pe,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),r.createElement("div",{id:"player-container-id-copy"})))},ei="FOR U",Hs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=r.useState(ei),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:d,swiperRef:u}=se(),c=r.useMemo(()=>[ei,...t],[t]),v=f=>()=>{if(f===i)return;let m;f!==ei&&(m=f),d?.(!0),o?.({hashTag:m}).then(g=>{var b,k,p,w;l?.((b=g?.recList)!==null&&b!==void 0?b:[]),a?.((k=g?.recList)!==null&&k!==void 0?k:[]),e?.(0),s?.(0),(w=(p=u?.current)===null||p===void 0?void 0:p.swiper)===null||w===void 0||w.slideTo(0)}).finally(()=>{d?.(!1)}),n(f)};return t.length<=0?null:r.createElement("div",{className:"clc-sxp-tagbar"},r.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},c.map(f=>r.createElement("li",{className:`clc-sxp-tagbar-list-item ${f===i?"clc-sxp-tagbar-list-item-active":""}`,key:f,onClick:v(f)},f))))};var Us=r.memo(Hs);const Gs=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>r.createElement(Ye,{defaultValue:0,direction:"horizontal",modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>r.createElement(Le,{key:a},r.createElement(Wi,{src:a,height:i,imgUrlsPostConfig:n}))));var $s=r.memo(Gs);const Ws=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,width:s})=>{const[d,u]=r.useState(!1),c=r.useRef(null),{bffEventReport:v,sxpParameter:f,waterFallData:m,openHashtag:g}=se(),b=r.useRef(0),[k,p]=r.useState(!1),[w,h]=r.useState(!0),C=r.useRef(null),[y,S]=r.useState("");r.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=r.useCallback(()=>{var j;(j=c.current)===null||j===void 0||j.play()},[]),I=Ee("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),T=r.useCallback(()=>{var j,B,P,A,J,H,G,Z,ne,te,Y,oe,z;u(!1);const V=n[e];if(V&&(!((j=c?.current)===null||j===void 0)&&j.duration)){b.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const W=((A=(P=c.current)===null||P===void 0?void 0:P.duration)!==null&&A!==void 0?A:0).toFixed(2),pe=((H=(J=c.current)===null||J===void 0?void 0:J.currentTime)!==null&&H!==void 0?H:0).toFixed(2),de=w?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Z=(G=V.video)===null||G===void 0?void 0:G.itemId)!==null&&Z!==void 0?Z:"",contentName:(te=(ne=V.video)===null||ne===void 0?void 0:ne.title)!==null&&te!==void 0?te:"",playType:de,startTime:pe,videoDuration:W,contentTags:JSON.stringify((oe=(Y=V.video)===null||Y===void 0?void 0:Y.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(z=V.video)===null||z===void 0?void 0:z.traceInfo}}),h(!1)}},[v,n,e,w]),E=r.useCallback(()=>{p(!0)},[]),_=r.useCallback(j=>()=>{var B,P,A,J,H;if(!k)return;const G=(B=c.current)===null||B===void 0?void 0:B.paused;switch(j){case"start":if(!G)return;(P=c.current)===null||P===void 0||P.play(),u(!1);break;case"pause":if(G)return;(A=c.current)===null||A===void 0||A.pause(),u(!0);break;default:G?(J=c.current)===null||J===void 0||J.play():(H=c.current)===null||H===void 0||H.pause(),u(!G);break}},[k]),x=r.useCallback(()=>{var j,B,P,A,J,H,G,Z,ne,te,Y,oe,z;const V=n[e],W=((B=(j=c.current)===null||j===void 0?void 0:j.duration)!==null&&B!==void 0?B:0).toFixed(2),pe=((A=(P=c.current)===null||P===void 0?void 0:P.currentTime)!==null&&A!==void 0?A:0).toFixed(2);if(!((J=c?.current)===null||J===void 0)&&J.duration){const de=(((H=c?.current)===null||H===void 0?void 0:H.currentTime)-b.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Z=(G=V.video)===null||G===void 0?void 0:G.itemId)!==null&&Z!==void 0?Z:"",contentName:(te=(ne=V.video)===null||ne===void 0?void 0:ne.title)!==null&&te!==void 0?te:"",endTime:pe,videoDuration:W,playDuration:de,contentTags:JSON.stringify((oe=(Y=V.video)===null||Y===void 0?void 0:Y.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(z=V.video)===null||z===void 0?void 0:z.traceInfo}})}},[n,e,v]),D=r.useMemo(()=>a?.mode==="2",[a]),O=r.useMemo(()=>{var j;return a?.mode==="2"?`translateY(-${50+((j=a?.offsetTop)!==null&&j!==void 0?j:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),N=r.useMemo(()=>{var j;return((j=t?.video)===null||j===void 0?void 0:j.cover)||y},[y,t]),F=r.useCallback(()=>{if(!C||!c||!c.current||!C.current)return;const j=c?.current,B=C?.current,P=B.getContext("2d"),A=window?.innerWidth,J=window?.innerHeight;B.height=J,B.width=A,P?.drawImage(j,0,0,B.width,B.height),S(B.toDataURL())},[]);r.useEffect(()=>{var j,B,P,A;if(c.current){if(u(!1),!c.current.src){const J=t.video.url;if(J.includes(".m3u8"))if(li.isSupported()){const H=new li;H.loadSource(J),H.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=J;else c.current.src=J;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(j=c.current)===null||j===void 0||j.addEventListener("loadedmetadata",E),(B=c.current)===null||B===void 0||B.addEventListener("canplay",E),(P=c.current)===null||P===void 0||P.addEventListener("playing",T),(A=c.current)===null||A===void 0||A.addEventListener("loadeddata",F),()=>{var J,H,G,Z;(J=c.current)===null||J===void 0||J.removeEventListener("loadedmetadata",E),(H=c.current)===null||H===void 0||H.removeEventListener("canplay",E),(G=c.current)===null||G===void 0||G.removeEventListener("playing",T),(Z=c.current)===null||Z===void 0||Z.removeEventListener("loadeddata",F)}}},[E,T,t.video,F]);const $=r.useMemo(()=>!f?.placeholder_image||k?null:r.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image}),[k,f?.placeholder_image]);r.useEffect(()=>{const j=()=>{var B,P;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((P=c?.current)===null||P===void 0)&&P.src)&&!d&&_("pause")()};return window.addEventListener("beforeunload",j),()=>{window.removeEventListener("beforeunload",j)}},[l,e,t,c,_,d]);const U=r.useMemo(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t.video?r.createElement(r.Fragment,null,D?r.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},r.createElement(Ie,{src:N,style:Object.assign({height:i,width:s,objectFit:"cover"},U)}),r.createElement("canvas",{ref:C,style:{display:"none"}}),r.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},r.createElement("div",{style:{position:"relative",width:s,height:"100%"}},r.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:I}))),$):r.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},r.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M}),$,r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:I}))):null};var qs=r.memo(Ws);const ti={};Object.values(Rt).forEach(t=>{ti[t.extend.type]=t});const Ys="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Xs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Js=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:a,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=r.useMemo(()=>{let S=0;return e?.logoUrl&&e?.isShowLogo&&(S+=45),c.length>0&&(S+=45),s-S},[e,s,c]),f=(S,M)=>{var I,T,E,_;if(!((I=S.video)===null||I===void 0)&&I.url)return r.createElement(qs,{rec:S,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((T=S.video)===null||T===void 0)&&T.imgUrls)return r.createElement($s,{key:S.video.itemId,imgUrls:S.video.imgUrls,width:d,height:v,rec:S,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(S.product&&S.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(_=e?.productPost)===null||_===void 0?void 0:_.map((x,D)=>{var O,N,F,$,U,j,B,P;const A=ti[(O=x?.item)===null||O===void 0?void 0:O.type],J=Et(A),H=(N=A?.extend)===null||N===void 0?void 0:N.defaulSetting;return r.createElement(J,Object.assign({key:`${M}${D}`,textStyle:Object.assign(Object.assign({},H?.textStyle),(F=x?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(U=($=x?.item)===null||$===void 0?void 0:$.bindDatas)!==null&&U!==void 0?U:[]},H?.props,(j=x?.item)===null||j===void 0?void 0:j.props,{event:((B=x?.item)===null||B===void 0?void 0:B.event)||{},id:x?.id,rec:S,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},H?.style),(P=x?.item)===null||P===void 0?void 0:P.style),{width:d,height:v,overflow:"auto"}),index:M}))})},m=r.useMemo(()=>e?.logoUrl&&e?.isShowLogo?r.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},r.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),g=(S,M)=>e?.isShowCTA===void 0||e?.isShowCTA?r.createElement("div",{className:"clc-sxp-bottom-card"},r.createElement(Yi,{rec:S,index:M,tempMap:o,resolver:ti})):null,b=(S,M)=>{var I,T,E,_,x,D,O;return S.video?r.createElement(r.Fragment,null,((I=S.video)===null||I===void 0?void 0:I.title)&&r.createElement("div",{className:"clc-sxp-bottom-shadow"}),r.createElement("div",{className:"clc-sxp-bottom"},r.createElement(Xi,{nudge:n}),g(S,M),r.createElement("div",null,r.createElement(Tt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(T=S.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"})})),r.createElement(qi,{index:M,tags:(x=(_=S?.video)===null||_===void 0?void 0:_.hashTags)!==null&&x!==void 0?x:[],itemId:(D=S?.video)===null||D===void 0?void 0:D.itemId,itemType:!((O=S.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:S,hashTagStyle:a}))):null},k=Ee(Xs,u),p=Ee(Ys,u),w=(S,M)=>{var I,T,E,_;if(!e?.isShowLike)return;let x=(I=e?.likeIconY)!==null&&I!==void 0?I:400;return x<40&&(x+=40),S.video?r.createElement(Gi,{key:S.position,activeIcon:(T=e?.likeIcon)!==null&&T!==void 0?T:k,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,position:M,active:S.isCollected,recData:S,className:"clc-sxp-like-button",style:{top:x,right:(_=e?.likeIconX)!==null&&_!==void 0?_:0}}):null},h=Ee("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),C=Ee("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),y=(S,M)=>{var I,T,E,_;return r.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},m,r.createElement(Us,{tagList:c}),r.createElement($i,{style:{position:"absolute",right:(I=e?.muteIconX)!==null&&I!==void 0?I:0,visibility:!((E=(T=t?.[M])===null||T===void 0?void 0:T.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(_=e?.muteIconY)!==null&&_!==void 0?_:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:C}),f(S,M),b(S,M),w(S,M))};return r.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((S,M)=>y(S,M)))};var Ks=r.memo(Js);const Qs=()=>{const{schema:t,resolver:e,popup:i}=je(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=se(),{productView:a}=Ne(),[s,d]=r.useState(),u=r.useRef(null);r.useEffect(()=>{const f=()=>{u.current=new Date};return f(),window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),r.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var f,m,g,b;if(!i||i?.id===""||!s||new Date-u.current<((f=i?.duration)!==null&&f!==void 0?f:0))return;d(Object.assign(Object.assign({},i),{id:""}));const k=o,p=(m=k?.video)===null||m===void 0?void 0:m.bindProduct,w=(b=(g=k?.video)===null||g===void 0?void 0:g.bindProduct)===null||b===void 0?void 0:b.bindCta;p&&w&&a(k,p,w,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=r.useMemo(()=>{var f,m,g;return(g=(m=(f=t?.sxpPageConf)===null||f===void 0?void 0:f.globalConfig)===null||m===void 0?void 0:m.popupList)===null||g===void 0?void 0:g.map((b,k)=>{var p,w,h,C,y,S,M,I;if(b?.id===i?.id){const T=e[(p=b?.item)===null||p===void 0?void 0:p.type],E=Et(T),_=(w=T?.extend)===null||w===void 0?void 0:w.defaulSetting;return r.createElement(E,Object.assign({key:k,style:Object.assign(Object.assign(Object.assign({},_?.style),(h=b?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},_?.textStyle),(C=b?.item)===null||C===void 0?void 0:C.textStyle),bindDatas:(S=(y=b?.item)===null||y===void 0?void 0:y.bindDatas)!==null&&S!==void 0?S:[]},_?.props,(M=b?.item)===null||M===void 0?void 0:M.props,{event:((I=b?.item)===null||I===void 0?void 0:I.event)||{},schema:t,id:b?.id}))}else return r.createElement(r.Fragment,null)})},[t,i,e]);return r.createElement(St,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},ii={};Object.values(Rt).forEach(t=>{ii[t.extend.type]=t});const Zs=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:a})=>{var s,d,u,c,v,f;const m=r.useMemo(()=>{var g;return location?.search?(g=location?.search)===null||g===void 0?void 0:g.replace("?",""):""},[]);return r.createElement(bi,{resolver:ii,enableDataSource:!1,schema:t?.data,utmVal:m},r.createElement(fi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(d=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend)!==null&&d!==void 0?d:e,defaultSize:(c=(u=t?.sxp_parameter)===null||u===void 0?void 0:u.default_recommend)!==null&&c!==void 0?c:i,hashTagSize:(f=(v=t?.sxp_parameter)===null||v===void 0?void 0:v.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,render:({rtcList:g,tagList:b})=>{var k;return r.createElement(r.Fragment,null,r.createElement(Ji,Object.assign({},(k=t?.data)===null||k===void 0?void 0:k.sxpPageConf,{tagList:b,data:g,resolver:ii,licenseUrl:a})),r.createElement(Qs,null))}}))};var Rs=r.memo(Zs);const Ki=r.createContext({}),er=({children:t,data:e})=>{var i,n,o,l,a,s;const[d,u]=r.useState(!1);return r.createElement(Ki.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function tr(){return r.useContext(Ki)}ae.DiyPortalPreview=Ks,ae.EditorDataProvider=er,ae.Modal=St,ae.SxpDataSourceProvider=fi,ae.SxpPageCore=Rs,ae.SxpPageRender=Ji,ae.core=Tn,ae.default=un,ae.defaultSetting=En,ae.materials=Rt,ae.useEditorDataProvider=tr,Object.defineProperty(ae,"__esModule",{value:!0})});
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:S?.info})))},oe=()=>{var X;return r.createElement(r.Fragment,null,(b||P?.link)&&r.createElement("button",{onClick:U,className:"pb-commondity-btn",style:M},(X=A?.enTitle)!==null&&X!==void 0?X:"Purchase on Website"))};return r.createElement("div",{className:"pb-commondity"},r.createElement("div",Object.assign({className:J.css(Object.assign({},v))},T),P&&((a=P?.homePage)===null||a===void 0?void 0:a.length)>0&&r.createElement(Ye,{height:Q,modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:y?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:y?.delay*1e3}},(s=P?.homePage)===null||s===void 0?void 0:s.map(X=>r.createElement(Le,{key:X},r.createElement("div",{style:{overflow:"hidden",width:Q,height:Q}},r.createElement(Ce,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:X}))))),!(!((d=P?.homePage)===null||d===void 0)&&d.length)&&r.createElement("div",{className:J.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},r.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:k,alt:""})),r.createElement("div",{className:"pb-commondity-content"},ne({isPost:w}))),oe(),r.createElement(St,{visible:H,onClose:()=>j(!1)},r.createElement("div",{style:{paddingBottom:"80px"}},ne({isPost:!1})),oe()))};var vl=r.memo(pl);const fl=we(vl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:_n},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var ml=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],hl=[{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"]}],Vi="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 gl=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}},bl=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,a=he(t,["content","btnText","style","icon","onClick"]);const s=typeof o=="string"?o:gl(o),d=()=>{window?.sxpPopup(""),l?.()};return r.createElement("div",Object.assign({className:`pb-prompt ${J.css(Object.assign({},n))}`},a),r.createElement("div",{className:"pb-prompt-icon"},r.createElement("img",{width:"100%",src:s??Vi})),r.createElement("div",{className:"pb-prompt-content"},e),r.createElement("button",{className:"pb-prompt-btn",onClick:d},i))};var yl=r.memo(bl);const wl=we(yl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:hl,bindableProps:[],interactionRender:ml},defaulSetting:{props:{icon:Vi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var qt,Yt,Sl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(qt=ee?.[0])===null||qt===void 0?void 0:qt.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:ee,initialValue:(Yt=ee?.[0])===null||Yt===void 0?void 0:Yt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Tl=t=>{var e,i,n,o,l,a,s,d,u,c,v,f,{style:m,isDefault:g,rec:b,viewTime:k,isPost:p,bottom_image:w,tipText:h,swiper:C,commodityStyles:y,buttonStyle:S,index:M}=t,I=he(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);r.useState(!0);const{sxpParameter:T}=se(),{popupDetailData:E,bffEventReport:_,isPreview:x,swiperRef:D,waterFallData:O}=se(),{jumpToWeb:B,productView:F}=Ne(),$=r.useRef(null);r.useRef(null),r.useRef(null),r.useState(!1),r.useState(!1),r.useState(!0);const[H,j]=r.useState(!1),N=r.useRef(null),P=p?b:E,A=p?P?.product:(e=P?.video)===null||e===void 0?void 0:e.bindProduct,G=p?(i=P?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=P?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,U=p?M:E?.index,q=()=>{A?.link&&(B(P,A,G,U),p||F(P,A,G,k||N.current,U),window.location.href=window.getJointUtmLink(A.link))};r.useEffect(()=>{const X=()=>{N.current=new Date};return X(),window.addEventListener("pageshow",X),()=>{window.removeEventListener("pageshow",X)}},[]);const Q=r.useMemo(()=>{var X,ie,V,z,Y;return A?.currency&&A?.price?`${(V=(ie=(X=A?.currency)===null||X===void 0?void 0:X.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&V!==void 0?V:""}${(Y=(z=A?.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Y!==void 0?Y:""}`:"\xA3102,300.00"},[A?.price,A?.currency]),ne=x?375:(l=m?.width)!==null&&l!==void 0?l:window.innerWidth,oe=({isPost:X})=>r.createElement("div",{hidden:!!A&&(!A?.info||A?.info==="")},r.createElement(Tt,{isPost:X,onClick:()=>j(!0),className:"pb-commondityDiroNew-info",style:y?.info,foldText:h?.foldText,unfoldText:h?.unfoldText,text:A?.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 r.createElement("div",{className:"pb-commondityDiroNew"},r.createElement("div",Object.assign({ref:$,className:J.css(Object.assign({},m))},I),A&&((a=A?.homePage)===null||a===void 0?void 0:a.length)>0&&r.createElement(Ye,{height:ne,modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:C?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:C?.delay*1e3}},(s=A?.homePage)===null||s===void 0?void 0:s.map(X=>r.createElement(Le,{key:X},r.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},r.createElement(Ce,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:X}))))),!(!((d=A?.homePage)===null||d===void 0)&&d.length)&&r.createElement("div",{className:J.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},r.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:""})),r.createElement("div",{className:"pb-commondityDiroNew-content"},r.createElement("div",{className:"pb-commondityDiroNew-content-top"},r.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},r.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:y?.title},(c=A?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),r.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!A&&(!A?.collection||A?.collection===""),style:y?.collection},A?.collection||"Black Macrocannage Calfskin")),r.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},r.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.price,style:y?.price},Q),r.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.taxInfo,style:y?.taxInfo},(v=A?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!A||A?.link)&&r.createElement("button",{onClick:q,className:"pb-commondityDiroNew-btn",style:S},(f=G?.enTitle)!==null&&f!==void 0?f:"Shop now"),oe({isPost:p}))),r.createElement(St,{visible:H,onClose:()=>j(!1)},oe({isPost:!1})))};var xl=r.memo(Tl);const El=we(xl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Sl},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 Xt,Jt,Ie=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Xt=ee?.[0])===null||Xt===void 0?void 0:Xt.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:ee,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Jt=ee?.[0])===null||Jt===void 0?void 0:Jt.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"]}]}],Cl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Fi(t){const e=r.useRef(null),[i,n]=r.useState(!1);return r.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),r.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 Il=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:a=!1,index:s}=t;he(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=r.useRef(null),u=Fi(d),{popup:c}=je(),{setPopupDetailData:v,ctaEvent:f}=se(),{jumpToWeb:m}=Ne();r.useEffect(()=>{var b,k;if(u&&d?.current){const p=(k=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&k!==void 0?k:e?.video;f?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,f,s]);const g=ce.throttle(()=>{var b,k,p,w,h,C,y,S,M,I;const T=(k=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&k!==void 0?k:e?.video;if(f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,T,s),v?.(Object.assign(Object.assign({},e),{index:s})),a){if(!((w=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||w===void 0)&&w.link){const E=(h=e?.video)===null||h===void 0?void 0:h.bindCta,_=(C=e?.video)===null||C===void 0?void 0:C.bindProduct;m(e,_,E,s),window.location.href=(S=(y=e?.video)===null||y===void 0?void 0:y.bindProduct)===null||S===void 0?void 0:S.link,window.location.href=window.getJointUtmLink((I=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||I===void 0?void 0:I.link)}}else o?.()},c?.duration);return r.createElement("div",{ref:d,className:n,style:l,onClick:g},i)};var rt=r.memo(Il),kl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Dl=t=>{var e,i,n,o,l,a,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:g}=t,b=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return r.createElement(rt,Object.assign({isExternalLink:g,rec:v,className:J.css(Object.assign({},u)),style:{display:"flex"}},b),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},r.createElement(Ce,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),r.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:kl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),r.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=p?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var _l=r.memo(Dl);const Al=we(_l,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Cl,bindableProps:[],settingRender:Ie},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 Pl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ml=t=>{var e,i,n,o,{content:l,style:a,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,f=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:m}=se(),g=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return r.createElement(rt,Object.assign({isExternalLink:v,rec:d,className:J.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},f),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},r.createElement("img",{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:m?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var Ol=r.memo(Ml);const Ll=we(Ol,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Pl,settingRender:Ie?.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 jl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Nl=t=>{var e,i,n,o,l,{content:a,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:f}=t,m=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:b}=se(),{jumpToWeb:k}=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,h=()=>{p?.link&&(k(u,w,p,f),window.location.href=window.getJointUtmLink(p.link))};return r.createElement(rt,Object.assign({index:f,rec:u,className:J.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m,{onClick:h}),r.createElement("div",{className:J.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},r.createElement(Ce,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:g?.bottom_image)!==null&&o!==void 0?o:c})),r.createElement("div",{className:J.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},r.createElement("div",{className:jl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Bl=r.memo(Nl);const zl=we(Bl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ie?.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 Vl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Hl=t=>{var e,i,n,o,l,a,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:g}=t,b=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return r.createElement(rt,Object.assign({isExternalLink:g,rec:v,className:J.css(Object.assign({},u)),style:{display:"flex"}},b),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},r.createElement(Ce,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),r.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:Fl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),r.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=p?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Ul=r.memo(Hl);const Gl=we(Ul,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Vl,settingRender:Ie,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 $l=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Wl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const ql=t=>{var e,i,n,o,l,a,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:g}=t,b=he(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,w=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return r.createElement(rt,Object.assign({isExternalLink:g,rec:v,className:J.css(Object.assign({},u)),style:{display:"flex"}},b),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},r.createElement(Ce,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:w})),r.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},r.createElement("div",{className:Wl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),r.createElement("div",{className:J.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=p?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop now")))};var Yl=r.memo(ql);const Xl=we(Yl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:$l,bindableProps:[],settingRender:Ie},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 Jl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Kl=({children:t,isPadding:e=!0})=>r.createElement(Ye,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Fn,Vn,zn],style:{padding:e?"0 12px 0 20px":0}},t);var xt=r.memo(Kl);const Ql=({src:t,rec:e,item:i,index:n})=>{const o=r.useRef(null),l=Fi(o),{ctaEvent:a}=se();return r.useEffect(()=>{l&&t&&o?.current&&a?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,a,i,n]),r.createElement("div",{ref:o,hidden:!t,className:J.css({width:"100%",height:"100%"})},r.createElement(Ce,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var Kt=r.memo(Ql),Zl={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Rl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=he(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:m,setPopupDetailData:g,sxpParameter:b}=se(),{popup:k}=je(),{jumpToWeb:p}=Ne(),[w,h]=r.useState((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=ce.throttle(y=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,y,v),g?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:y}),index:v})),c?y?.link&&(p(a,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return r.createElement(xt,{isPadding:!!a},w?.map(y=>{var S,M,I,T,E,_;return r.createElement(Le,Object.assign({hidden:a&&!y?.bindCta,key:y?.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>C(y)}),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},r.createElement(Kt,{src:(I=(M=(S=y?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:b?.bottom_image)!==null&&I!==void 0?I:d,rec:a,item:y,index:v})),r.createElement("div",{className:J.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:Zl["two-line-ellipsis"],style:u?.title},(T=y?.title)!==null&&T!==void 0?T:"Product Name"),r.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var es=r.memo(Rl);const ts=we(es,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Jl,bindableProps:[],settingRender:Ie},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 is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const os=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=he(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:m}=se(),{ctaEvent:g,setPopupDetailData:b}=se(),{popup:k}=je(),[p,w]=r.useState((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Ne(),C=ce.throttle(y=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,y,v),b?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:y}),index:v})),c?y?.link&&(h(a,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return r.createElement(xt,{isPadding:!!a},p?.map(y=>{var S,M,I,T,E,_;return r.createElement(Le,Object.assign({hidden:a&&!y?.bindCta,key:y.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>C(y)}),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},r.createElement(Kt,{src:(I=(M=(S=y?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:m?.bottom_image)!==null&&I!==void 0?I:d,rec:a,item:y,index:v})),r.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},r.createElement("div",{className:ns["two-line-ellipsis"],style:u?.title},(T=y?.title)!==null&&T!==void 0?T:"Product Name"),r.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var ls=r.memo(os);const ss=we(ls,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:is,settingRender:Ie,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 rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],as={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const ds=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=he(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:m,setPopupDetailData:g,sxpParameter:b}=se(),{popup:k}=je(),{jumpToWeb:p}=Ne(),[w,h]=r.useState((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=ce.throttle(y=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,y,v),g?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:y}),index:v})),c?y?.link&&(p(a,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return r.createElement(xt,{isPadding:!!a},w?.map(y=>{var S,M,I,T,E,_;return r.createElement(Le,Object.assign({hidden:a&&!y?.bindCta,key:y?.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>C(y)}),r.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},r.createElement(Kt,{src:(I=(M=(S=y?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:b?.bottom_image)!==null&&I!==void 0?I:d,rec:a,item:y,index:v})),r.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},r.createElement("div",{className:as["tow-line-ellipsis"],style:u?.title},(T=y?.title)!==null&&T!==void 0?T:"Product Name"),r.createElement("div",{className:J.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&_!==void 0?_:"Shop now")))}))};var cs=r.memo(ds);const us=we(cs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:rs,bindableProps:[],settingRender:Ie},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 Qt,Zt,ps=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Qt=ee?.[0])===null||Qt===void 0?void 0:Qt.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:ee,initialValue:(Zt=ee?.[0])===null||Zt===void 0?void 0:Zt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const vs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:a}=se();return r.createElement("div",{className:"clc-sxp-nav",style:e},r.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),r.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Hi=r.memo(vs),fs=null,ms="3d989325-e7d6-4a74-8a97-98febdf5b567",hs=null,gs=null,bs={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"},ys=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],ws="Handbags",Ss={productUserId:fs,requestId:ms,channel:hs,rtc:gs,tag:bs,recList:ys,hashTag:ws};const Ts=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:a}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=se(),[f,m]=r.useState(!1),g=r.useRef(null),b=r.useRef(null),k=r.useRef(null),p=r.useRef(null),[w,h]=r.useState(""),C=r.useMemo(()=>{var T,E,_,x,D,O,B,F,$,H,j,N;return!((T=e?.video)===null||T===void 0)&&T.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((_=e?.video)===null||_===void 0)&&_.url?(m(!0),(x=e?.video)===null||x===void 0?void 0:x.url):!((O=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||O===void 0)&&O.length?(F=(B=e?.video)===null||B===void 0?void 0:B.imgUrls)===null||F===void 0?void 0:F[0]:!((H=($=e?.product)===null||$===void 0?void 0:$.homePage)===null||H===void 0)&&H.length?(N=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||N===void 0?void 0:N[0]:v?.bottom_image||""},[e,v?.bottom_image]),y=r.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]),S=r.useMemo(()=>{var T,E,_,x,D,O,B,F,$;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(O=(D=(x=(_=e?.product)===null||_===void 0?void 0:_.currency)===null||x===void 0?void 0:x.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&O!==void 0?O:""}${($=(F=(B=e?.product)===null||B===void 0?void 0:B.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&$!==void 0?$:""}`:null},[e]);r.useEffect(()=>{const T=new IntersectionObserver(E=>{E.forEach(_=>{if(_.isIntersecting){if(b.current===null||C==="")return;f&&w?g.current.setSrc(w):g.current.setSrc(C),T.unobserve(b.current)}})});return T.observe(b.current),()=>{T.disconnect()}},[C,f,w]);const M=(T,E,_)=>{const x=T/E;return _/x};r.useEffect(()=>{const T=k?.current;T===null||C===""||!f||(T.src=C,T.currentTime=1,T.crossOrigin="anonymous",T.onloadeddata=()=>{const E=p?.current;if(!E)return;const _=E.getContext("2d"),x=window?.innerWidth/2,D=M(T.videoWidth,T.videoHeight,x);E.height=D,E.width=x,_?.drawImage(T,0,0,E.width,E.height),h(E.toDataURL()),T.remove(),E.remove()})},[C,f]);const I=()=>{o(),d?.(n),setTimeout(()=>{var T;(T=s?.current)===null||T===void 0||T.swiper.slideTo(i,0,!1),u?.(!1)},0)};return r.createElement("div",{ref:b,className:"list-content-listItem",key:i,onClick:I,style:{marginBottom:a}},r.createElement("div",{className:"list-content-listItem-picture"},f&&r.createElement("div",{style:{display:"none"}},r.createElement("video",{ref:k,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),r.createElement("canvas",{ref:p})),r.createElement(Ce,{loading:"lazy",className:"list-content-listItem-picture-img",ref:g})),r.createElement("div",{className:"list-content-listItem-info"},r.createElement("div",{className:`list-content-listItem-info-title ${S?"list-content-listItem-info-nowrap":""}`,style:l?.title},y&&y),r.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!S},S)))};function xs(t){var e,i,n,o,l,a,s,d,u,c,v,f,{reportTagsView:m}=t,g=he(t,["reportTagsView"]);const{waterFallData:b,getRecommendVideos:k,hashTagSize:p,loadingImage:w,isOpenHashTag:h}=se(),[C,y]=r.useState(),[S,M]=r.useState(),[I,T]=r.useState(!1),E=r.useRef(null),[_,x]=r.useState(!1);r.useCallback(()=>{_||(x(!0),b&&k?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType}).then(O=>{var B;y(C?.concat((B=O?.recList)!==null&&B!==void 0?B:[])),x(!1)}))},[b,k,C,_]),r.useEffect(()=>{var O,B;if(T(!0),b&&k?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType,defaultSize:p,maxSize:p}).then(F=>{var $,H;M(F),y((H=($=F?.recList)===null||$===void 0?void 0:$.filter(j=>j?.video!==null||j?.product!==null))!==null&&H!==void 0?H:[]),T(!1)}),h){const F=Ss;M(F),y((B=(O=F?.recList)===null||O===void 0?void 0:O.filter($=>$?.video!==null||$?.product!==null))!==null&&B!==void 0?B:[]),T(!1)}},[b,k,p,h]);const D=()=>{var O,B;!((O=S?.tag)===null||O===void 0)&&O.link&&(m(),window.location.href=(B=S?.tag)===null||B===void 0?void 0:B.link)};return r.createElement(r.Fragment,null,I?r.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},r.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):r.createElement("div",{className:"list"},r.createElement("div",{className:"list-scroll",ref:E},r.createElement("div",{className:"list-info",style:(e=g?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=S?.tag)===null||i===void 0?void 0:i.info),r.createElement("div",{hidden:!(!((n=S?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:D,style:Object.assign(Object.assign({},(o=g?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:g?.space})},((l=S?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),r.createElement("div",{className:"list-content"},C?.map((O,B)=>r.createElement(Ts,Object.assign({key:B,index:B,rec:O,list:C,reportTagsView:m},g)))),r.createElement("div",{hidden:!_,style:{textAlign:"center"}},"loading..."),r.createElement("div",{hidden:!(!((a=S?.tag)===null||a===void 0)&&a.link),style:{height:!((s=S?.tag)===null||s===void 0)&&s.link?((d=g?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((u=g?.buttonStyle)===null||u===void 0?void 0:u.height)||"100px":0}})),r.createElement("div",{className:"list-bottom",hidden:!(!((c=S?.tag)===null||c===void 0)&&c.link),style:g?.buttonBgStyle}),r.createElement("div",{hidden:!(!((v=S?.tag)===null||v===void 0)&&v.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},r.createElement("button",{className:"list-btn",style:g?.buttonStyle,onClick:D},((f=S?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection"))))}var Es="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Cs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:a,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:f,isFromHashtag:m,bffEventReport:g}=se();r.useRef(null);const b=r.useRef(null),[k,p]=r.useState();r.useEffect(()=>{const S=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?b.current=M:(b.current=document.createElement("div"),b.current.setAttribute("id","water-fall"),S?.appendChild(b.current))},[]);const w=()=>{const S=ce.isEqual(c,s);!S&&s&&s?.length&&d?.(s),y(),a?.(void 0),f?.(!1),setTimeout(()=>{var M,I;S||(I=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||I===void 0||I.slideTo(u,0,!1),n?.(!1)},0)},[h,C]=r.useState();r.useEffect(()=>{i&&C(i)},[i]);const y=r.useCallback(()=>{var S,M,I,T,E,_;const x=h?.rec;if(!x)return;let D="";m?D="hashTagPage":!((S=x?.video)===null||S===void 0)&&S.url?D="videoPage":!((I=(M=x?.video)===null||M===void 0?void 0:M.imgUrls)===null||I===void 0)&&I.length&&(D="imagePage"),g?.({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:(_=x?.video)===null||_===void 0?void 0:_.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:D,fromKPage:location?.href,timeOnSite:Math.floor((new Date-k)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,g,k,m,u]);return r.useEffect(()=>{o&&p(new Date)},[o]),r.useEffect(()=>{const S=()=>{p(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),b.current?si.createPortal(r.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},r.createElement(Hi,{icon:Es,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),r.createElement(xs,Object.assign({reportTagsView:y},t))),b.current):null};var Ui=r.memo(Cs);const Is=t=>r.createElement(Ui,Object.assign({},t));var ks=r.memo(Is);const Ds=we(ks,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ps,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 Rt=Object.freeze({__proto__:null,Appoint:Ll,AppointForm:Dn,Commodity:Al,CommodityDetail:fl,CommodityDetailDiroNew:El,CommodityDiro:Gl,CommodityDiroNew:Xl,HashTag:Ds,Link:zl,MultiCommodity:ss,MultiCommodityDiro:ts,MultiCommodityDiroNew:us,Prompt:wl});const _s="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",As="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ps=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,a=he(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=se(),[c,v]=r.useState(e),f=xe(As),m=xe(_s),g=ce.debounce(()=>be(void 0,void 0,void 0,function*(){var b,k,p,w,h,C,y,S,M,I,T,E,_,x,D,O,B,F,$,H;if(c){v(!1);const j=(p=yield d?.({videoItemId:(k=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&k!==void 0?k:""}))!==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:(y=(C=o.video)===null||C===void 0?void 0:C.title)!==null&&y!==void 0?y:"",contentTags:JSON.stringify((M=(S=o.video)===null||S===void 0?void 0:S.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((I=o.video)===null||I===void 0)&&I.url?"video":"image",traceInfo:(T=o.video)===null||T===void 0?void 0:T.traceInfo}}),j||v(!0)}else{v(!0);const j=(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=(_=o.video)===null||_===void 0?void 0:_.itemId)!==null&&x!==void 0?x:"",contentName:(O=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((F=(B=o.video)===null||B===void 0?void 0:B.tags)!==null&&F!==void 0?F:[]),position:l+"",contentFormat:!(($=o.video)===null||$===void 0)&&$.url?"video":"image",traceInfo:(H=o.video)===null||H===void 0?void 0:H.traceInfo}}),j||v(!1)}}),200);return r.createElement("button",Object.assign({},a,{onClick:g}),r.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||f:n||m,alt:"icon"}))};var Gi=r.memo(Ps);const tt=new nn;var Ue;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ue||(Ue={}));const Ms=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,videoRef:s})=>{const[d,u]=r.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:f,openHashtag:m}=se(),g=r.useRef(0),[b,k]=r.useState(!1),[p,w]=r.useState(!0),{isActive:h}=zi(),C=r.useRef(null),[y,S]=r.useState(""),M=`pb-cache-video-${e}`,I=r.useRef(null),T=r.useMemo(()=>a?.mode==="2",[a]),E=r.useMemo(()=>{var G;return a?.mode==="2"?`translateY(-${50+((G=a?.offsetTop)!==null&&G!==void 0?G:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),_=r.useMemo(()=>{var G;return((G=t?.video)===null||G===void 0?void 0:G.cover)||y},[y,t]),x=r.useMemo(()=>T?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[T]),D=r.useMemo(()=>a?.bgWay==="1",[a]),O=r.useMemo(()=>D&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,D]);r.useEffect(()=>{s&&s?.muted(o)},[o,s]);const B=r.useCallback(()=>{s&&s?.play()},[s]),F=xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),$=r.useCallback(()=>{var G,U,q,Q,ne,oe,X,ie,V;if(!s)return;k(!0),u(!1);const z=n[e];if(z&&s?.duration()){g.current=s?.currentTime()||0;const Y=((G=s?.duration())!==null&&G!==void 0?G:0).toFixed(2),pe=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2),de=p?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Q=(q=z.video)===null||q===void 0?void 0:q.itemId)!==null&&Q!==void 0?Q:"",contentName:(oe=(ne=z.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",playType:de,startTime:pe,videoDuration:Y,contentTags:JSON.stringify((ie=(X=z.video)===null||X===void 0?void 0:X.tags)!==null&&ie!==void 0?ie:[]),position:e+"",contentFormat:"video",traceInfo:(V=z.video)===null||V===void 0?void 0:V.traceInfo}}),w(!1)}},[c,n,e,p,s]),H=r.useCallback(()=>{var G;if(!s||y||!T)return;const U=document.getElementById("player-container-id_html5_api");if(!U||(U.style.objectFit="contain",!((G=t?.video)===null||G===void 0)&&G.cover||!C||!C.current||D))return;const q=()=>{const Q=U,ne=C?.current,oe=ne.getContext("2d"),X=window?.innerWidth,ie=window?.innerHeight;ne.height=ie,ne.width=X,oe?.drawImage(Q,0,0,ne.width,ne.height),S(ne.toDataURL())};q(),setTimeout(()=>{q()},500)},[s,D,t,y,T]),j=r.useCallback(()=>{s&&H()},[s,H]);r.useCallback(()=>{k(!0)},[]);const N=r.useCallback(G=>()=>{if(!s||!b)return;const U=s?.paused();switch(G){case"start":if(!U)return;s?.play(),u(!1);break;case"pause":if(U)return;s?.pause(),u(!0);break;default:U?s?.play():s?.pause(),u(!U);break}},[b,s]),P=r.useCallback(()=>{var G,U,q,Q,ne,oe,X,ie,V;if(!s||l!==e)return;const z=n[e],Y=((G=s?.duration())!==null&&G!==void 0?G:0).toFixed(2),pe=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2);if(s?.duration()){const de=(s?.currentTime()-g.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Q=(q=z.video)===null||q===void 0?void 0:q.itemId)!==null&&Q!==void 0?Q:"",contentName:(oe=(ne=z.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",endTime:pe,videoDuration:Y,playDuration:de,contentTags:JSON.stringify((ie=(X=z.video)===null||X===void 0?void 0:X.tags)!==null&&ie!==void 0?ie:[]),position:e+"",contentFormat:"video",traceInfo:(V=z.video)===null||V===void 0?void 0:V.traceInfo}})}},[n,e,c,s,l]);r.useEffect(()=>{if(!h||!s)return;const G=t.video.url;if(!G)return;u(!1);const U=document.querySelector(`#${M}`),q=document.querySelector("#player-container-id"),Q=document.querySelector("#player-container-id-copy");if(!(!q&&!Q))return U?.appendChild(q||Q),s?.src(G),s?.on("loadedmetadata",j),s?.on("loadeddata",H),s?.on("playing",$),s?.on("pause",P),s?.on("ended",B),()=>{Q?.appendChild(q),s?.off("loadedmetadata",j),s?.off("loadeddata",H),s?.off("playing",$),s?.off("pause",P),s?.off("ended",B)}},[h,M,t,s]),r.useEffect(()=>{!s||!b||(h?s?.play():s?.pause())},[h,b,s]),r.useEffect(()=>{if(!h||!s)return;!s?.paused()&&m?s?.pause():m||s?.play()},[m,h,s]),r.useEffect(()=>{if(!h)return;const G=N("start"),U=N("pause");return tt.on(Ue.PAGE_DID_SHOW,G),tt.on(Ue.PAGE_DID_HIDE,U),()=>{tt.off(Ue.PAGE_DID_SHOW,G),tt.off(Ue.PAGE_DID_HIDE,U)}},[N,h]);const A=r.useMemo(()=>!v?.placeholder_image||b?null:r.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[b,v?.placeholder_image]);return r.useEffect(()=>{if(!s)return;const G=()=>{var U;l===e&&(!((U=t?.video)===null||U===void 0)&&U.url)&&s&&!d&&N("pause")()};return window.addEventListener("beforeunload",G),()=>{window.removeEventListener("beforeunload",G)}},[l,e,t,s,N,d]),t.video?r.createElement(r.Fragment,null,T?r.createElement("div",{className:"video-container",key:t.video.itemId,onClick:N(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},O)},!D&&r.createElement(Ce,{src:_,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},x)}),r.createElement("canvas",{ref:C,style:{display:"none"}}),r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:E,left:0,right:0}},r.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},r.createElement("div",{className:"n-full-screen",ref:I,id:M,style:{width:"100%",height:"100%"}}),r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:F}))),A):r.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:N()},r.createElement("div",{className:"n-full-screen",ref:I,id:M,style:{width:"100%",height:"100%"}}),A,r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:F}))):null};var Os=r.memo(Ms);const Ls=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,a]=r.useState(t),s=d=>{d.stopPropagation();const u=!l;a(u),n?.(u)};return r.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},r.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var $i=r.memo(Ls);const js=({imageUrl:t})=>{const[e,i]=r.useState(!0);je(),r.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=r.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return r.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},r.createElement("img",{src:t||n}))},Wi=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=r.useMemo(()=>n?.mode==="2",[n]),l=r.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]),a=r.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=r.useMemo(()=>n?.bgWay==="1",[n]),d=r.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return r.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},!s&&r.createElement(Ce,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),o&&r.createElement(Ce,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Ns=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var d;const u=r.useRef(),{isActive:c}=zi(),{sxpParameter:v,openHashtag:f}=se(),[m,g]=r.useState(!1);return r.useEffect(()=>{m&&c?(u?.current&&u.current.swiper.autoplay.start(),f?l(n):a(o)):(g(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,f,o,a,m]),r.createElement(Ye,{ref:u,defaultValue:0,direction:"horizontal",modules:[gt,bt],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(b=>r.createElement(Le,{key:b},r.createElement(Wi,{src:b,height:i,imgUrlsPostConfig:s}))))};var Bs=r.memo(Ns);const zs=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[a,s]=r.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:f}=se(),m=g=>{v?f?.(!0):c?.(n),d?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return r.useMemo(()=>t.length<=6?null:r.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),r.createElement("div",{className:"clc-sxp-bottom-hashtag"},r.createElement(xt,null,t?.map((g,b)=>r.createElement(Le,{key:b,hidden:a?!1:b>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>m(g)},`#${g}`))))};var qi=r.memo(zs),Vs="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 Et(t){return r.memo(function(e){const{$store:i}=pn(),n=l=>{let a=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=ce.get(i,c);return a=a.replace(d,v),v}})}),a},o=r.useMemo(()=>{var l,a,s;const{bindDatas:d}=e,u=he(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:f}=c;f.replace(/{{\s*([\w.]+)\s*}}/g,(m,g)=>{var b,k;if(g){const p=(k=(b=ce.get(i,g))!==null&&b!==void 0?b:e[v])!==null&&k!==void 0?k:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=ce.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=(a=u?.event)===null||a===void 0?void 0:a.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return r.createElement(t,Object.assign({},o,o.eventMap))})}const Fs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=je(),l=r.useMemo(()=>{var a,s,d,u,c,v,f,m,g,b,k,p,w,h,C,y,S,M,I,T,E,_,x,D,O,B,F,$,H,j,N;if(!t?.video)return null;let P=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?P="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?P="\u5546\u54C1CTA":P=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const A=i?.[P];if(((v=A?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((f=t?.video)===null||f===void 0)&&f.bindProduct)||((m=A?.item)===null||m===void 0?void 0:m.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((b=A?.item)===null||b===void 0?void 0:b.type)==="CommodityDiroNew"&&!(!((k=t?.video)===null||k===void 0)&&k.bindProduct)||((p=A?.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)||((C=A?.item)===null||C===void 0?void 0:C.type)==="MultiCommodityDiro"&&!(!((S=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||S===void 0)&&S.length)||((M=A?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((T=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||T===void 0)&&T.length))return null;if(A&&n){const G=n[(E=A?.item)===null||E===void 0?void 0:E.type],U=Et(G),q=(_=G?.extend)===null||_===void 0?void 0:_.defaulSetting,Q=((O=(D=(x=A?.item)===null||x===void 0?void 0:x.event)===null||D===void 0?void 0:D.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return r.createElement(U,Object.assign({style:Object.assign(Object.assign(Object.assign({},q?.style),(B=A?.item)===null||B===void 0?void 0:B.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},q?.textStyle),(F=A?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(H=($=A?.item)===null||$===void 0?void 0:$.bindDatas)!==null&&H!==void 0?H:[]},q?.props,(j=A?.item)===null||j===void 0?void 0:j.props,{event:((N=A?.item)===null||N===void 0?void 0:N.event)||{},schema:o,id:A?.id,key:A?.id,recData:t,isExternalLink:Q,index:e}))}else return null},[t,n,i,o]);return r.createElement(r.Fragment,null,l)};var Yi=r.memo(Fs);const Xi=({nudge:t})=>{var e,i,n,o,l,a,s;return r.createElement(r.Fragment,null,t?.isOpen&&r.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?r.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,r.createElement("p",{style:Object.assign({},t?.textStyle)},(s=t?.content)!==null&&s!==void 0?s:"")))},Ji=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:a=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:f=[],licenseUrl:m})=>{var g,b,k,p,w,h,C;const{schema:y}=je(),[S,M]=r.useState(0),I=r.useRef(0),[T,E]=r.useState(!1),[_,x]=r.useState(!0),D=r.useRef(),O=r.useRef(),[B,F]=r.useState(!1),[$,H]=r.useState(!1),{loadVideos:j,bffEventReport:N,loading:P,setPopupDetailData:A,ctaEvent:G,swiperRef:U,waterFallData:q,setOpenHashtag:Q,appDomain:ne,openHashtag:oe,loadingImage:X,isFromHashtag:ie,popupDetailData:V}=se(),[z,Y]=r.useState(null),pe=r.useRef(),{productView:de}=Ne(),_e=r.useMemo(()=>a.length>0&&!P&&gn(),[a,P]),ve=r.useCallback(()=>{if(a.length<=0)return;ke();const L=location.search.slice(1),Z=oi.parse(L.replace(/\+/g,"%2B"));for(const R in Z)Z[R]=Z[R].replace(/%2B/g,"+");const W=R=>{var te;return(te=Z[R])!==null&&te!==void 0?te:""};N?.({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}}),E(!0)},[N,a.length]),ke=()=>{D.current=new Date,O.current=new Date,fn()},Ge=r.useRef();r.useEffect(()=>{if(!Ge.current&&!z){Ge.current=!0;const L=TCPlayer("player-container-id",{licenseUrl:m,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});L?.ready(()=>{Y(L)})}},[z,m]),r.useEffect(()=>{T||ve()},[ve,T]),r.useEffect(()=>{var L;const Z=a?.findIndex(W=>{var R,te,re,K,le,ue,fe,Ae,Pe;return s==="\u591A\u5546\u54C1CTA"?((R=W?.video)===null||R===void 0?void 0:R.bindProducts)&&((re=(te=W?.video)===null||te===void 0?void 0:te.bindProducts)===null||re===void 0?void 0:re.length)>0:s==="\u5546\u54C1CTA"?(K=W?.video)===null||K===void 0?void 0:K.bindProduct:((ue=(le=W?.video)===null||le===void 0?void 0:le.bindCta)===null||ue===void 0?void 0:ue.itemId)===s&&(((fe=W?.video)===null||fe===void 0?void 0:fe.url)||((Pe=(Ae=W?.video)===null||Ae===void 0?void 0:Ae.imgUrls)===null||Pe===void 0?void 0:Pe.length))})||0;(L=U?.current)===null||L===void 0||L.swiper.slideTo(Z)},[s,U]),r.useEffect(()=>{const L=a?.[S],Z=()=>{var W,R,te,re,K,le,ue,fe,Ae,Pe,Xe,Je,Ke,Qe,We;if(document.visibilityState==="hidden"){tt.emit(Ue.PAGE_DID_HIDE,L),me(L),$e(L);let Be="";V&&(!((R=(W=L?.video)===null||W===void 0?void 0:W.bindProducts)===null||R===void 0)&&R.length||!((te=L?.video)===null||te===void 0)&&te.bindProduct)?Be="pdpPage":V&&o?.[(le=(K=(re=L.video)===null||re===void 0?void 0:re.bindCta)===null||K===void 0?void 0:K.itemId)!==null&&le!==void 0?le:""].item.type==="Appoint"?Be="formPage":ie?Be="hashTagPage":!((ue=L?.video)===null||ue===void 0)&&ue.url?Be="videoPage":!((fe=L?.video)===null||fe===void 0)&&fe.imgUrls&&(!((Pe=(Ae=L?.video)===null||Ae===void 0?void 0:Ae.imgUrls)===null||Pe===void 0)&&Pe.length)?Be="imagePage":L?.product&&(Be="productPage"),N?.({eventInfo:{sessionDuration:Math.floor((new Date-D.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Xe=L?.video)===null||Xe===void 0?void 0:Xe.itemId,productId:(Je=L?.product)===null||Je===void 0?void 0:Je.itemId,position:S+"",fromKName:Be,fromKPage:location?.href,ctatId:(We=(Qe=(Ke=L.video)===null||Ke===void 0?void 0:Ke.bindCta)===null||Qe===void 0?void 0:Qe.itemId)!==null&&We!==void 0?We:""}})}else document.visibilityState==="visible"&&(ve(),Qi(S),tt.emit(Ue.PAGE_DID_SHOW,L))};return document.addEventListener("visibilitychange",Z),()=>{document.removeEventListener("visibilitychange",Z)}},[S,N,D,a,ve,V,ie,o]);const Te=r.useMemo(()=>{let L=0;return t?.logoUrl&&t?.isShowLogo&&(L+=45),i-L},[t,i,f]),at=r.useMemo(()=>t?.logoUrl&&t?.isShowLogo?r.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},r.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),it=r.useCallback((L,Z)=>{var W,R,te,re;return!((W=L.video)===null||W===void 0)&&W.url?r.createElement(Os,{rec:L,index:Z,muted:_,data:a,height:Te,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:z}):!((R=L.video)===null||R===void 0)&&R.imgUrls?r.createElement(Bs,{key:L.video.itemId,imgUrls:L.video.imgUrls,width:n,height:Te,rec:L,index:Z,onReportViewImageEnd:me,onViewImageStartEvent:Qi,imgUrlsPostConfig:t?.imgUrlsPost}):L.product&&Array.isArray(t?.productPost)&&((te=t?.productPost)===null||te===void 0?void 0:te.length)>0?(re=t?.productPost)===null||re===void 0?void 0:re.map((K,le)=>{var ue,fe,Ae,Pe,Xe,Je,Ke,Qe;const We=l[(ue=K?.item)===null||ue===void 0?void 0:ue.type],Be=Et(We),ze=(fe=We?.extend)===null||fe===void 0?void 0:fe.defaulSetting;return r.createElement(Be,Object.assign({key:`${Z}${le}`,textStyle:Object.assign(Object.assign({},ze?.textStyle),(Ae=K?.item)===null||Ae===void 0?void 0:Ae.textStyle),bindDatas:(Xe=(Pe=K?.item)===null||Pe===void 0?void 0:Pe.bindDatas)!==null&&Xe!==void 0?Xe:[]},ze?.props,(Je=K?.item)===null||Je===void 0?void 0:Je.props,{event:((Ke=K?.item)===null||Ke===void 0?void 0:Ke.event)||{},schema:y,id:K?.id,viewTime:O.current,rec:L,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},ze?.style),(Qe=K?.item)===null||Qe===void 0?void 0:Qe.style),{height:"100%",overflow:"auto"}),index:Z}))}):null},[n,a,Te,_,S,t?.productPost,O,d,l,y,z]),nt=r.useCallback(L=>{H(L)},[]),dt=r.useMemo(()=>$?{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"},[$]),ot=r.useCallback((L,Z)=>{var W,R,te,re,K,le,ue;return L.video?r.createElement(r.Fragment,null,((W=L.video)===null||W===void 0?void 0:W.title)&&!$&&r.createElement("div",{className:"clc-sxp-bottom-shadow"}),r.createElement("div",{className:"clc-sxp-bottom"},r.createElement(Xi,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?r.createElement("div",{className:"clc-sxp-bottom-card"},r.createElement(Yi,{rec:L,index:Z,tempMap:o,resolver:l})):null,r.createElement("div",null,r.createElement(Tt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(te=(R=L.video)===null||R===void 0?void 0:R.title)!==null&&te!==void 0?te:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:nt}),r.createElement(qi,{index:S,tags:(K=(re=L?.video)===null||re===void 0?void 0:re.hashTags)!==null&&K!==void 0?K:[],itemId:(le=L?.video)===null||le===void 0?void 0:le.itemId,itemType:!((ue=L.video)===null||ue===void 0)&&ue.itemId?"VIDEO":null,rec:L,hashTagStyle:v})))):null},[e,S,o,l,d,u,v,t,nt,$,dt]),ct=r.useCallback((L,Z)=>{var W,R;if(!t?.isShowLike)return;let te=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return q&&te<40&&(te+=40),L.video?r.createElement(Gi,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{top:te,right:(R=t?.likeIconX)!==null&&R!==void 0?R:0},position:Z}):null},[t,q]),me=L=>{var Z,W,R,te,re,K;if(!(!((Z=L.video)===null||Z===void 0)&&Z.url)&&(!((W=L.video)===null||W===void 0)&&W.imgUrls)){const le=Date.now(),ue=(le-I.current)/1e3;N?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(te=(R=L.video)===null||R===void 0?void 0:R.itemId)!==null&&te!==void 0?te:"",contentName:(re=L.video.title)!==null&&re!==void 0?re:"",imageEndTime:`${le}`,playDuration:`${ue}`,contentTags:JSON.stringify((K=L.video.tags)!==null&&K!==void 0?K:[]),position:S+"",contentFormat:"image",traceInfo:L.video.traceInfo}})}},ni=L=>{var Z,W,R,te,re,K,le,ue;O.current=new Date;const fe=a[L.previousIndex];fe&&(L.previousIndex-L.activeIndex<0?(N?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(Z=fe.video)===null||Z===void 0?void 0:Z.itemId)!==null&&W!==void 0?W:"",productId:(te=(R=fe.product)===null||R===void 0?void 0:R.itemId)!==null&&te!==void 0?te:"",requestId:null}}),me(fe)):(N?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(K=(re=fe.video)===null||re===void 0?void 0:re.itemId)!==null&&K!==void 0?K:"",productId:(ue=(le=fe.product)===null||le===void 0?void 0:le.itemId)!==null&&ue!==void 0?ue:"",requestId:null}}),me(fe)),$e(fe))},$e=L=>{var Z,W,R;!(!((Z=L?.video)===null||Z===void 0)&&Z.url)&&!(!((W=L?.video)===null||W===void 0)&&W.imgUrls)&&L?.product&&de(L,L.product,(R=L?.product)===null||R===void 0?void 0:R.bindCta,O.current,S)};r.useEffect(()=>{const L=a[S];oe&&$e(L)},[oe,a,S]);const Qi=L=>{var Z,W,R,te,re,K;const le=a[L];if(!(!((Z=le?.video)===null||Z===void 0)&&Z.url)&&(!((W=le?.video)===null||W===void 0)&&W.imgUrls)){const ue=Date.now();I.current=ue,N?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(te=(R=le.video)===null||R===void 0?void 0:R.itemId)!==null&&te!==void 0?te:"",contentName:(re=le.video.title)!==null&&re!==void 0?re:"",imageStartTime:`${ue}`,contentTags:JSON.stringify((K=le.video.tags)!==null&&K!==void 0?K:[]),position:L+"",contentFormat:"image",traceInfo:le.video.traceInfo}})}},Ct=r.useMemo(()=>{const L=a?.map((Z,W)=>S===W||W-1===S||W+1===S?Z:null);return q?L:L.concat([{loading:!0}])},[a,S,q]),ir=r.useMemo(()=>P?r.createElement("div",{style:{height:Te,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},r.createElement("img",{width:64,height:64,src:X,alt:"loading...",style:{objectFit:"contain"}})):Ct?.map((L,Z)=>r.createElement(Le,{key:Z,virtualIndex:Z},L&&r.createElement(r.Fragment,null,L?.loading?r.createElement("div",{style:{height:Te,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},r.createElement("img",{width:64,height:64,src:X,alt:"loading...",style:{objectFit:"contain"}})):r.createElement(r.Fragment,null,it(L,Z),ot(L,Z),ct(L,Z))))),[n,a,Te,P,ot,it,Ct,X]),nr=xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),or=xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return r.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},q&&r.createElement(Hi,{icon:Vs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Q?.(!0)}}),at,_e?r.createElement(js,{imageUrl:t?.swipeTipIcon}):null,r.createElement(Ye,{ref:U,onSlideChange:()=>{U.current.swiper.allowTouchMove=!1,setTimeout(()=>{U.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:L=>{M(L.activeIndex),!oe&&(ni(L),!q&&L?.activeIndex+2>=a?.length&&(B||(F(!0),j?.(Math.ceil(S/10)+1).then(()=>{F(!1)}))))},direction:"vertical",height:Te},r.createElement($i,{style:{position:"fixed",right:(g=t?.muteIconX)!==null&&g!==void 0?g:0,visibility:!((k=(b=a?.[S])===null||b===void 0?void 0:b.video)===null||k===void 0)&&k.url?"visible":"hidden",bottom:(p=t?.muteIconY)!==null&&p!==void 0?p:23,zIndex:999},defaultValue:_,activeIcon:t?.unMuteIcon?t?.unMuteIcon:nr,unactiveIcon:t?.muteIcon?t?.muteIcon:or,onChange:x}),ir),r.createElement(Ui,Object.assign({},(C=(h=(w=t?.hashTag)===null||w===void 0?void 0:w[0])===null||h===void 0?void 0:h.item)===null||C===void 0?void 0:C.props)),r.createElement("div",{style:{position:"absolute",zIndex:-100}},r.createElement("video",{ref:pe,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),r.createElement("div",{id:"player-container-id-copy"})))},ei="FOR U",Hs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=r.useState(ei),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:d,swiperRef:u}=se(),c=r.useMemo(()=>[ei,...t],[t]),v=f=>()=>{if(f===i)return;let m;f!==ei&&(m=f),d?.(!0),o?.({hashTag:m}).then(g=>{var b,k,p,w;l?.((b=g?.recList)!==null&&b!==void 0?b:[]),a?.((k=g?.recList)!==null&&k!==void 0?k:[]),e?.(0),s?.(0),(w=(p=u?.current)===null||p===void 0?void 0:p.swiper)===null||w===void 0||w.slideTo(0)}).finally(()=>{d?.(!1)}),n(f)};return t.length<=0?null:r.createElement("div",{className:"clc-sxp-tagbar"},r.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},c.map(f=>r.createElement("li",{className:`clc-sxp-tagbar-list-item ${f===i?"clc-sxp-tagbar-list-item-active":""}`,key:f,onClick:v(f)},f))))};var Us=r.memo(Hs);const Gs=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>r.createElement(Ye,{defaultValue:0,direction:"horizontal",modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>r.createElement(Le,{key:a},r.createElement(Wi,{src:a,height:i,imgUrlsPostConfig:n}))));var $s=r.memo(Gs);const Ws=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,width:s})=>{const[d,u]=r.useState(!1),c=r.useRef(null),{bffEventReport:v,sxpParameter:f,waterFallData:m,openHashtag:g}=se(),b=r.useRef(0),[k,p]=r.useState(!1),[w,h]=r.useState(!0),C=r.useRef(null),[y,S]=r.useState("");r.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=r.useCallback(()=>{var j;(j=c.current)===null||j===void 0||j.play()},[]),I=xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),T=r.useCallback(()=>{var j,N,P,A,G,U,q,Q,ne,oe,X,ie,V;u(!1);const z=n[e];if(z&&(!((j=c?.current)===null||j===void 0)&&j.duration)){b.current=((N=c?.current)===null||N===void 0?void 0:N.currentTime)||0;const Y=((A=(P=c.current)===null||P===void 0?void 0:P.duration)!==null&&A!==void 0?A:0).toFixed(2),pe=((U=(G=c.current)===null||G===void 0?void 0:G.currentTime)!==null&&U!==void 0?U:0).toFixed(2),de=w?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Q=(q=z.video)===null||q===void 0?void 0:q.itemId)!==null&&Q!==void 0?Q:"",contentName:(oe=(ne=z.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",playType:de,startTime:pe,videoDuration:Y,contentTags:JSON.stringify((ie=(X=z.video)===null||X===void 0?void 0:X.tags)!==null&&ie!==void 0?ie:[]),position:e+"",contentFormat:"video",traceInfo:(V=z.video)===null||V===void 0?void 0:V.traceInfo}}),h(!1)}},[v,n,e,w]),E=r.useCallback(()=>{p(!0)},[]),_=r.useCallback(j=>()=>{var N,P,A,G,U;if(!k)return;const q=(N=c.current)===null||N===void 0?void 0:N.paused;switch(j){case"start":if(!q)return;(P=c.current)===null||P===void 0||P.play(),u(!1);break;case"pause":if(q)return;(A=c.current)===null||A===void 0||A.pause(),u(!0);break;default:q?(G=c.current)===null||G===void 0||G.play():(U=c.current)===null||U===void 0||U.pause(),u(!q);break}},[k]),x=r.useCallback(()=>{var j,N,P,A,G,U,q,Q,ne,oe,X,ie,V;const z=n[e],Y=((N=(j=c.current)===null||j===void 0?void 0:j.duration)!==null&&N!==void 0?N:0).toFixed(2),pe=((A=(P=c.current)===null||P===void 0?void 0:P.currentTime)!==null&&A!==void 0?A:0).toFixed(2);if(!((G=c?.current)===null||G===void 0)&&G.duration){const de=(((U=c?.current)===null||U===void 0?void 0:U.currentTime)-b.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Q=(q=z.video)===null||q===void 0?void 0:q.itemId)!==null&&Q!==void 0?Q:"",contentName:(oe=(ne=z.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",endTime:pe,videoDuration:Y,playDuration:de,contentTags:JSON.stringify((ie=(X=z.video)===null||X===void 0?void 0:X.tags)!==null&&ie!==void 0?ie:[]),position:e+"",contentFormat:"video",traceInfo:(V=z.video)===null||V===void 0?void 0:V.traceInfo}})}},[n,e,v]),D=r.useMemo(()=>a?.mode==="2",[a]),O=r.useMemo(()=>{var j;return a?.mode==="2"?`translateY(-${50+((j=a?.offsetTop)!==null&&j!==void 0?j:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),B=r.useMemo(()=>{var j;return((j=t?.video)===null||j===void 0?void 0:j.cover)||y},[y,t]),F=r.useCallback(()=>{if(!C||!c||!c.current||!C.current)return;const j=c?.current,N=C?.current,P=N.getContext("2d"),A=window?.innerWidth,G=window?.innerHeight;N.height=G,N.width=A,P?.drawImage(j,0,0,N.width,N.height),S(N.toDataURL())},[]);r.useEffect(()=>{var j,N,P,A;if(c.current){if(u(!1),!c.current.src){const G=t.video.url;if(G.includes(".m3u8"))if(li.isSupported()){const U=new li;U.loadSource(G),U.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(j=c.current)===null||j===void 0||j.addEventListener("loadedmetadata",E),(N=c.current)===null||N===void 0||N.addEventListener("canplay",E),(P=c.current)===null||P===void 0||P.addEventListener("playing",T),(A=c.current)===null||A===void 0||A.addEventListener("loadeddata",F),()=>{var G,U,q,Q;(G=c.current)===null||G===void 0||G.removeEventListener("loadedmetadata",E),(U=c.current)===null||U===void 0||U.removeEventListener("canplay",E),(q=c.current)===null||q===void 0||q.removeEventListener("playing",T),(Q=c.current)===null||Q===void 0||Q.removeEventListener("loadeddata",F)}}},[E,T,t.video,F]);const $=r.useMemo(()=>!f?.placeholder_image||k?null:r.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image}),[k,f?.placeholder_image]);r.useEffect(()=>{const j=()=>{var N,P;l===e&&(!((N=t?.video)===null||N===void 0)&&N.url)&&(!((P=c?.current)===null||P===void 0)&&P.src)&&!d&&_("pause")()};return window.addEventListener("beforeunload",j),()=>{window.removeEventListener("beforeunload",j)}},[l,e,t,c,_,d]);const H=r.useMemo(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t.video?r.createElement(r.Fragment,null,D?r.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},r.createElement(Ce,{src:B,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),r.createElement("canvas",{ref:C,style:{display:"none"}}),r.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},r.createElement("div",{style:{position:"relative",width:s,height:"100%"}},r.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:I}))),$):r.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},r.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M}),$,r.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:I}))):null};var qs=r.memo(Ws);const ti={};Object.values(Rt).forEach(t=>{ti[t.extend.type]=t});const Ys="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Xs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Js=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:a,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=r.useMemo(()=>{let S=0;return e?.logoUrl&&e?.isShowLogo&&(S+=45),c.length>0&&(S+=45),s-S},[e,s,c]),f=(S,M)=>{var I,T,E,_;if(!((I=S.video)===null||I===void 0)&&I.url)return r.createElement(qs,{rec:S,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((T=S.video)===null||T===void 0)&&T.imgUrls)return r.createElement($s,{key:S.video.itemId,imgUrls:S.video.imgUrls,width:d,height:v,rec:S,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(S.product&&S.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(_=e?.productPost)===null||_===void 0?void 0:_.map((x,D)=>{var O,B,F,$,H,j,N,P;const A=ti[(O=x?.item)===null||O===void 0?void 0:O.type],G=Et(A),U=(B=A?.extend)===null||B===void 0?void 0:B.defaulSetting;return r.createElement(G,Object.assign({key:`${M}${D}`,textStyle:Object.assign(Object.assign({},U?.textStyle),(F=x?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(H=($=x?.item)===null||$===void 0?void 0:$.bindDatas)!==null&&H!==void 0?H:[]},U?.props,(j=x?.item)===null||j===void 0?void 0:j.props,{event:((N=x?.item)===null||N===void 0?void 0:N.event)||{},id:x?.id,rec:S,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},U?.style),(P=x?.item)===null||P===void 0?void 0:P.style),{width:d,height:v,overflow:"auto"}),index:M}))})},m=r.useMemo(()=>e?.logoUrl&&e?.isShowLogo?r.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},r.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),g=(S,M)=>e?.isShowCTA===void 0||e?.isShowCTA?r.createElement("div",{className:"clc-sxp-bottom-card"},r.createElement(Yi,{rec:S,index:M,tempMap:o,resolver:ti})):null,b=(S,M)=>{var I,T,E,_,x,D,O;return S.video?r.createElement(r.Fragment,null,((I=S.video)===null||I===void 0?void 0:I.title)&&r.createElement("div",{className:"clc-sxp-bottom-shadow"}),r.createElement("div",{className:"clc-sxp-bottom"},r.createElement(Xi,{nudge:n}),g(S,M),r.createElement("div",null,r.createElement(Tt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(T=S.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"})})),r.createElement(qi,{index:M,tags:(x=(_=S?.video)===null||_===void 0?void 0:_.hashTags)!==null&&x!==void 0?x:[],itemId:(D=S?.video)===null||D===void 0?void 0:D.itemId,itemType:!((O=S.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:S,hashTagStyle:a}))):null},k=xe(Xs,u),p=xe(Ys,u),w=(S,M)=>{var I,T,E,_;if(!e?.isShowLike)return;let x=(I=e?.likeIconY)!==null&&I!==void 0?I:400;return x<40&&(x+=40),S.video?r.createElement(Gi,{key:S.position,activeIcon:(T=e?.likeIcon)!==null&&T!==void 0?T:k,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,position:M,active:S.isCollected,recData:S,className:"clc-sxp-like-button",style:{top:x,right:(_=e?.likeIconX)!==null&&_!==void 0?_:0}}):null},h=xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),C=xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),y=(S,M)=>{var I,T,E,_;return r.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},m,r.createElement(Us,{tagList:c}),r.createElement($i,{style:{position:"absolute",right:(I=e?.muteIconX)!==null&&I!==void 0?I:0,visibility:!((E=(T=t?.[M])===null||T===void 0?void 0:T.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(_=e?.muteIconY)!==null&&_!==void 0?_:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:C}),f(S,M),b(S,M),w(S,M))};return r.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((S,M)=>y(S,M)))};var Ks=r.memo(Js);const Qs=()=>{const{schema:t,resolver:e,popup:i}=je(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=se(),{productView:a}=Ne(),[s,d]=r.useState(),u=r.useRef(null);r.useEffect(()=>{const f=()=>{u.current=new Date};return f(),window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),r.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var f,m,g,b;if(!i||i?.id===""||!s||new Date-u.current<((f=i?.duration)!==null&&f!==void 0?f:0))return;d(Object.assign(Object.assign({},i),{id:""}));const k=o,p=(m=k?.video)===null||m===void 0?void 0:m.bindProduct,w=(b=(g=k?.video)===null||g===void 0?void 0:g.bindProduct)===null||b===void 0?void 0:b.bindCta;p&&w&&a(k,p,w,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=r.useMemo(()=>{var f,m,g;return(g=(m=(f=t?.sxpPageConf)===null||f===void 0?void 0:f.globalConfig)===null||m===void 0?void 0:m.popupList)===null||g===void 0?void 0:g.map((b,k)=>{var p,w,h,C,y,S,M,I;if(b?.id===i?.id){const T=e[(p=b?.item)===null||p===void 0?void 0:p.type],E=Et(T),_=(w=T?.extend)===null||w===void 0?void 0:w.defaulSetting;return r.createElement(E,Object.assign({key:k,style:Object.assign(Object.assign(Object.assign({},_?.style),(h=b?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},_?.textStyle),(C=b?.item)===null||C===void 0?void 0:C.textStyle),bindDatas:(S=(y=b?.item)===null||y===void 0?void 0:y.bindDatas)!==null&&S!==void 0?S:[]},_?.props,(M=b?.item)===null||M===void 0?void 0:M.props,{event:((I=b?.item)===null||I===void 0?void 0:I.event)||{},schema:t,id:b?.id}))}else return r.createElement(r.Fragment,null)})},[t,i,e]);return r.createElement(St,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},ii={};Object.values(Rt).forEach(t=>{ii[t.extend.type]=t});const Zs=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:a})=>{var s,d,u,c,v,f;const m=r.useMemo(()=>{var g;return location?.search?(g=location?.search)===null||g===void 0?void 0:g.replace("?",""):""},[]);return r.createElement(bi,{resolver:ii,enableDataSource:!1,schema:t?.data,utmVal:m},r.createElement(fi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(d=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend)!==null&&d!==void 0?d:e,defaultSize:(c=(u=t?.sxp_parameter)===null||u===void 0?void 0:u.default_recommend)!==null&&c!==void 0?c:i,hashTagSize:(f=(v=t?.sxp_parameter)===null||v===void 0?void 0:v.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,render:({rtcList:g,tagList:b})=>{var k;return r.createElement(r.Fragment,null,r.createElement(Ji,Object.assign({},(k=t?.data)===null||k===void 0?void 0:k.sxpPageConf,{tagList:b,data:g,resolver:ii,licenseUrl:a})),r.createElement(Qs,null))}}))};var Rs=r.memo(Zs);const Ki=r.createContext({}),er=({children:t,data:e})=>{var i,n,o,l,a,s;const[d,u]=r.useState(!1);return r.createElement(Ki.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function tr(){return r.useContext(Ki)}ae.DiyPortalPreview=Ks,ae.EditorDataProvider=er,ae.Modal=St,ae.SxpDataSourceProvider=fi,ae.SxpPageCore=Rs,ae.SxpPageRender=Ji,ae.core=Tn,ae.default=un,ae.defaultSetting=En,ae.materials=Rt,ae.useEditorDataProvider=tr,Object.defineProperty(ae,"__esModule",{value:!0})});
7
7
  //# sourceMappingURL=pb-ui.min.js.map