pb-sxp-ui 1.0.67 → 1.0.68

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.
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var he=require("lodash"),nn=require("uuid"),on=require("pako"),a=require("react"),si=require("qs"),ln=require("eventemitter3"),Y=require("@emotion/css"),sn=require("react-dom");function an(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 ai=an(sn);function be(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 Se(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const rn=/:\w+/g;var ri=(t,e)=>Se(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:m}=e[o];let f=s;d&&Object.entries(d).forEach(([g,h])=>{f=f.replace(rn,I=>I===g?h:I)}),c&&(f+=c),n[l]=u;try{const g=yield fetch(f,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(m)}).then(h=>h.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const di="SXP_TOKEN_INFO",dn=(t,e)=>Se(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(di);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(di,JSON.stringify(s))}}return s});function mt(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 cn=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},un=()=>{const t=nn.v4();return t?.replaceAll?t.replaceAll("-",""):cn(32)};function ci(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=on.inflate(n,{to:"string"});return JSON.parse(o)}let _t=null;const pn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class vn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,_t)return _t;_t=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?pn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let ye=null;const fn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{ye||(ye=new vn),n&&ye.setApiUrl(n),ye.setAppId(t),ye.setTenantId(e),ye.setEnv(i)},getDetail:t=>{if(!ye)return;const e=ye.getTenantId(),i=ye.getAppId(),n=ye.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Se(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=ci((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield ri(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>Se(void 0,void 0,void 0,function*(){if(!ye)return;const e=ye.getTenantId(),i=ye.getAppId(),n=ye.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Se(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=ci((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Se(void 0,void 0,void 0,function*(){if(!ye)return;const e=yield dn(ye,t),i=mt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");he.isEmpty(n)&&(n=mt(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 He(){return a.useContext(yi)}function mn(){return a.useContext(bi)}const At="feRealSessionIdKey",ui=()=>{const t=un();return`${Date.now()}${t}`},hn=()=>{let t=bn();return t||(t=ui(),window.sessionStorage.setItem(At,t)),t},gn=()=>{const t=ui();window.sessionStorage.setItem(At,t)},bn=()=>window.sessionStorage.getItem(At),pi="SXP_FAKE_USER_ID",vi="FAKE_USER_STATE",yn=()=>{let t=window.localStorage.getItem(pi);return he.isEmpty(t)&&(t=mt(36,62),window.localStorage.setItem(pi,t)),t},wn=()=>{const t=window.localStorage.getItem(vi);return he.isEmpty(t)&&window.localStorage.setItem(vi,"true"),he.isEmpty(t)};function Ie(t,e){const{appDomain:i}=re();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Ue=new ln;var Oe;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Oe||(Oe={}));const fi=a.createContext({rtcList:[],tagList:[]});var Pt;(function(t){t[t.BFF=5]="BFF"})(Pt||(Pt={}));const mi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Sn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:m=!1,isShowTag:f=!0})=>{const[g,h]=a.useState([]),[I,p]=a.useState([]),[y,b]=a.useState(!1),[C,w]=a.useState({rtc:"",requestId:""}),S=a.useRef(null),M=a.useRef(!1),[k,x]=a.useState(),[T,_]=a.useState(),[E,D]=a.useState(v),[P,L]=a.useState([]),[z,G]=a.useState(0),[F,j]=a.useState(!1),[B,O]=a.useState(null),A=a.useRef();a.useEffect(()=>{const V=U=>{A.current=U};return Ue.on(Oe.CHANGE_THEME_TAG,V),()=>{Ue.off(Oe.CHANGE_THEME_TAG,V)}},[]),a.useEffect(()=>{D(v)},[v]);const q=a.useMemo(()=>e?.find(V=>V.type===Pt.BFF),[e]),R=a.useCallback((V,U)=>{if(!q)return;const ee=q.url,fe=yn();if(U?.query){const ve=si.stringify(U.query);V=`${V}?${ve}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ee}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},q.headers),{"x-user-id":fe}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ee}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":fe},q.headers),method:U.method,body:JSON.stringify(U.body)}).then(ve=>ve.json()).catch(ve=>Promise.reject(ve))},[q]),H=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){var U,ee,fe,ve,ge;if(V={maxSize:(U=V?.maxSize)!==null&&U!==void 0?U:o,defaultSize:(ee=V?.defaultSize)!==null&&ee!==void 0?ee:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const xe=(ge=(ve=(fe=i?.split("&"))===null||fe===void 0?void 0:fe.filter(Ne=>{const $e=Ne.split("=")[0];return mi.includes($e)}))===null||ve===void 0?void 0:ve.join("&"))!==null&&ge!==void 0?ge:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(xe)})}const ce=yield R?.("/recommend/list",{method:"GET",query:V});if(ce?.success)return V?.hashTag||w({rtc:ce.data.rtc,requestId:ce.data.requestId}),ce?.data}),[R,i,o,l]),Q=a.useCallback(()=>Se(void 0,void 0,void 0,function*(){var V,U;if(g.length<=0)return;const ee=yield H({hashTag:T?.hashTag,"itemFilter.itemId":T?.itemId,"itemFilter.itemType":T?.itemType,themeTag:A.current});h(g.concat((V=ee?.recList)!==null&&V!==void 0?V:[])),L(P.concat((U=ee?.recList)!==null&&U!==void 0?U:[]))}),[H,g,T,P]),te=a.useCallback(({userInfo:V,eventInfo:U})=>{if(!n)return;V||(V={});const ee=hn(),fe=Object.assign({sessionID:ee,rtc:C.rtc,requestId:C.requestId},U),ve=Object.entries(V).map(([ce,xe])=>({name:ce,value:xe})),ge=Object.entries(fe).map(([ce,xe])=>xe&&{name:ce,value:xe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",fe),console.log("========= \u7ED3\u675F ========="),R?.("/event/report",{method:"POST",body:{userInfo:ve,eventInfo:ge},type:"beacon"})},[R,C,n]),se=a.useCallback(V=>{var U,{eventName:ee,actionSource:fe="website",eventSourceUrl:ve=(U=window?.location)===null||U===void 0?void 0:U.href,externalId:ge}=V;if(!(!n||!m))return R?.("/fb/events",{method:"POST",body:{eventName:ee,actionSource:fe,eventSourceUrl:ve,"userData.externalId":ge},type:"beacon"})},[R,n,m]),W=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/like",{method:"POST",body:V});return U?.success}),[R]),oe=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/unlike",{method:"POST",body:V});return U?.success}),[R]),ne=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){const U=yield R?.("/customform",{method:"POST",body:V});return U?.success}),[R]),X=a.useCallback(()=>Se(void 0,void 0,void 0,function*(){var V,U,ee,fe,ve;if(!(!i||!f))try{const ge=(ee=(U=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(xe=>{const Ne=xe.split("=")[0];return mi.includes(Ne)}))===null||U===void 0?void 0:U.join("&"))!==null&&ee!==void 0?ee:"",ce=yield R?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ge)}});p((ve=(fe=ce?.data)===null||fe===void 0?void 0:fe.tags)!==null&&ve!==void 0?ve:[])}catch(ge){console.log("e",ge)}}),[R,i,f]),de=a.useCallback((V,U,ee,fe)=>{var ve,ge,ce,xe,Ne,$e,dt,nt,ct,We,ut,Je;const we=ee?.bindCta,ot=((ve=U?.video)===null||ve===void 0?void 0:ve.bindProduct)||((ge=U?.video)===null||ge===void 0?void 0:ge.bindProducts)&&((xe=(ce=U?.video)===null||ce===void 0?void 0:ce.bindProducts)===null||xe===void 0?void 0:xe.length)>0;let lt="";F?lt="hashTagPage":!((Ne=U?.video)===null||Ne===void 0)&&Ne.url?lt="videoPage":!((dt=($e=U?.video)===null||$e===void 0?void 0:$e.imgUrls)===null||dt===void 0)&&dt.length&&(lt="imagePage"),te?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(nt=we?.itemId)!==null&&nt!==void 0?nt:"",ctaName:(ct=we?.title)!==null&&ct!==void 0?ct:"",contentTags:JSON.stringify(we?.tags),position:fe+"",contentId:(ut=(We=U?.video)===null||We===void 0?void 0:We.itemId)!==null&&ut!==void 0?ut:"",productId:ot?ee?.itemId:"",traceInfo:(Je=we?.traceInfo)!==null&&Je!==void 0?Je:"",fromKName:lt})})},[te,F]);a.useEffect(()=>{b(!0),X(),H().then(V=>{var U,ee;h((U=V?.recList)!==null&&U!==void 0?U:[]),L((ee=V?.recList)!==null&&ee!==void 0?ee:[])}).finally(()=>{b(!1),M.current=!0})},[]),a.useEffect(()=>{M.current&&(b(!0),X(),H().then(V=>{var U,ee;h((U=V?.recList)!==null&&U!==void 0?U:[]),L((ee=V?.recList)!==null&&ee!==void 0?ee:[])}).finally(()=>{b(!1)}))},[H,X]);const Ae=Ie("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(fi.Provider,{value:{rtcList:g,setRtcList:h,mutateLike:W,mutateUnlike:oe,submitForm:ne,popupDetailData:k,loadVideos:Q,setPopupDetailData:x,getRecommendVideos:H,bffEventReport:te,utmVal:i,isPreview:r,loading:y,sxpParameter:s,waterFallData:T,setWaterFallData:_,ctaEvent:de,swiperRef:S,openHashtag:E,setOpenHashtag:D,cacheRtcList:P,setCacheRtcList:L,cacheActiveIndex:z,setCacheActiveIndex:G,isFromHashtag:F,setIsFromHashtag:j,appDomain:d,hashTagSize:u,loadingImage:c??Ae,isOpenHashTag:v,tagList:I,setLoading:b,videoRef:B,setVideoRef:O,bffFbReport:se}},t({rtcList:g,mutateLike:W,mutateUnlike:oe,submitForm:ne,tagList:I}))};var hi=a.memo(Sn);function re(){return a.useContext(fi)}var gi;(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"})(gi||(gi={}));const bi=a.createContext({$store:{},options:[],configs:[]}),Tn=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=He(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var m;e||he.isEqual(d,l?.dataSource)||u((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=a.useCallback(()=>Se(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield ri("",d);s(m),v(m,f)}),[d]),v=(m,f)=>{const g=[];Object.entries(m).forEach(([h,I])=>{Object.keys(I).forEach(p=>{const y={label:`${f[h]} - ${p}`,value:`{{ ${h}.${p} }}`};g.push(y)})}),o(g)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(bi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var xn=a.memo(Tn);const ht={id:mt(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},Mt={id:"",duration:0,name:"none"},yi=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[ht],redoStack:[],popup:Mt,setPopup:()=>{}}),wi=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[ht],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,m]=a.useState([ht]),[f,g]=a.useState([[ht]]),[h,I]=a.useState([]),[p,y]=a.useState(Mt);typeof window<"u"&&(window.sxpPopup=(M,k)=>{y(Object.assign(Object.assign(Object.assign({},Mt),{id:M}),k))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{g([u.pointData]),I([])},[u.type]);const b=a.useCallback(M=>{const k=he.cloneDeep(u);k&&(k.dataSource=M,c?.(k))},[u]),[C,w]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return he.cloneDeep(u)},getPageInfoData(){return C},initPageInfoData(M){M&&w(M)}}));const S=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(yi.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:b,prePiontData:v,setPrePiontData:m,pageInfoData:C,setPageInfoData:M=>w(Object.assign(Object.assign({},C),M)),undoStack:f,redoStack:h,setRedoStack:I,setUndoStack:g,getCurPageConf:S,popup:p,setPopup:y}},a.createElement(xn,{isSsr:i,enable:o},t))});var En=Object.freeze({__proto__:null,EditorCore:wi}),Cn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ie=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var In={fontOptions:ie},Ot,kn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ie,initialValue:(Ot=ie?.[0])===null||Ot===void 0?void 0:Ot.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Le(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=re(),o=a.useCallback((r,s,d,u)=>{var c,v,m,f,g,h,I,p,y,b,C,w,S,M;let k="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((m=r?.video)===null||m===void 0)&&m.bindProduct)?k="pdpPage":n?k="hashTagPage":!((f=r?.video)===null||f===void 0)&&f.url?k="videoPage":!((g=r?.video)===null||g===void 0)&&g.imgUrls&&(!((I=(h=r?.video)===null||h===void 0?void 0:h.imgUrls)===null||I===void 0)&&I.length)?k="imagePage":r?.product&&(k="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(y=s?.title)!==null&&y!==void 0?y:"",price:s?.price?s?.price+"":"0",productCollection:(b=s?.collection)!==null&&b!==void 0?b:"",fromKName:k,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(w=(C=r?.video)===null||C===void 0?void 0:C.itemId)!==null&&w!==void 0?w:"",ctatId:(S=d?.itemId)!==null&&S!==void 0?S:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,m,f,g;let h="";e&&(!((m=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||m===void 0)&&m.length||!((f=r?.video)===null||f===void 0)&&f.bindProduct)?h="pdpPage":r?.product&&(h="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:h,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(g=r?.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 Dn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,isExternalLink:u,isPopup:c,onClick:v,onClose:m}=t,f=be(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose"]);const{submitForm:g,popupDetailData:h}=re(),{jumpToWeb:I}=Le(),p=a.useRef(),[y,b]=a.useState(!1),C=a.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]);a.useMemo(()=>{if(d===void 0){const S=he.cloneDeep(e)||C;return S?.map(M=>Object.assign(Object.assign({},M),{title:void 0,fieldProps:{placeholder:M?.title}}))}else return he.cloneDeep(e)||C},[d,e,C]);const w=he.debounce(()=>Se(void 0,void 0,void 0,function*(){var S,M,k,x,T,_;const E=yield(S=p?.current)===null||S===void 0?void 0:S.getFieldsValue();if(!E)return;const D=(k=(M=Object.keys(E))===null||M===void 0?void 0:M.map(L=>{var z;return{name:L,value:(z=E[L])!==null&&z!==void 0?z:""}}))===null||k===void 0?void 0:k.filter(L=>L?.value);if(!D||!D?.length)return;b(!0);const P=yield g?.({attributes:D});if(b(!1),P){if(u){const L=h,z=(x=L?.video)===null||x===void 0?void 0:x.bindProduct,G=(_=(T=L?.video)===null||T===void 0?void 0:T.bindProduct)===null||_===void 0?void 0:_.bindCta,F=h?.index;I(L,z,G,F)}c||m?.(),v?.()}}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${Y.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:Y.css(Object.assign({},i))},f),a.createElement("div",{className:"pb-appoint-form-container"})),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:w,className:"pb-appoint-form-btn",style:{color:r,background:l}},y?a.createElement(a.Fragment,null,"loading..."):s)))};var _n=a.memo(Dn);function Ee(t,e){return t.extend=e,t}const An=Ee(_n,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:kn,bindableProps:[],interactionRender:Cn},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 Lt,jt,Pn=[{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:ie,name:["fontFamily"],initialValue:(Lt=ie?.[0])===null||Lt===void 0?void 0:Lt.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:ie,initialValue:(jt=ie?.[0])===null||jt===void 0?void 0:jt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Si(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Nt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Si(e[i])&&Si(t[i])&&Object.keys(e[i]).length>0&&Nt(t[i],e[i])})}const Ti={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 je(){const t=typeof document<"u"?document:{};return Nt(t,Ti),t}const Mn={document:Ti,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 Te(){const t=typeof window<"u"?window:{};return Nt(t,Mn),t}function Ye(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function On(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function st(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function ke(){return Date.now()}function Ln(t){const e=Te();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function jn(t,e){e===void 0&&(e="x");const i=Te();let n,o,l;const r=Ln(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function gt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Nn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ce(){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&&!Nn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(gt(t[s])&&gt(n[s])?n[s].__swiper__?t[s]=n[s]:Ce(t[s],n[s]):!gt(t[s])&&gt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Ce(t[s],n[s])):t[s]=n[s])}}}return t}function bt(t,e,i){t.style.setProperty(e,i)}function xi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Te(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(m,f)=>u==="next"&&m>=f||u==="prev"&&m<=f,v=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/d,1),0),f=.5-Math.cos(m*Math.PI)/2;let g=l+f*(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 Be(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function yt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Ye(e)),i}function Bn(t){const e=Te(),i=je(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function Rn(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 zn(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 Xe(t,e){return Te().getComputedStyle(t,null).getPropertyValue(e)}function wt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ei(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 Bt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Rt(t,e,i){const n=Te();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 Re(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Te();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,s=ke(),d;const u=[];function c(b){let M=0,k=0,x=0,T=0;return"detail"in b&&(k=b.detail),"wheelDelta"in b&&(k=-b.wheelDelta/120),"wheelDeltaY"in b&&(k=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(M=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(M=k,k=0),x=M*10,T=k*10,"deltaY"in b&&(T=b.deltaY),"deltaX"in b&&(x=b.deltaX),b.shiftKey&&!x&&(x=T,T=0),(x||T)&&b.deltaMode&&(b.deltaMode===1?(x*=40,T*=40):(x*=800,T*=800)),x&&!M&&(M=x<1?-1:1),T&&!k&&(k=T<1?-1:1),{spinX:M,spinY:k,pixelX:x,pixelY:T}}function v(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ke()-s<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&ke()-s<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",b.raw)),s=new l.Date().getTime(),!1)}function g(b){const C=e.params.mousewheel;if(b.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 h(b){let C=b,w=!0;if(!e.enabled||b.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 k=M&&M.contains(C.target);if(!e.mouseEntered&&!k&&!S.releaseOnEdges)return!0;C.originalEvent&&(C=C.originalEvent);let x=0;const T=e.rtlTranslate?-1:1,_=c(C);if(S.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))x=-_.pixelX*T;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))x=-_.pixelY;else return!0;else x=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*T:-_.pixelY;if(x===0)return!0;S.invert&&(x=-x);let E=e.getTranslate()+x*S.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),w=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),w&&e.params.nested&&C.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:ke(),delta:Math.abs(x),direction:Math.sign(x),raw:b};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(D),P?(D.direction!==P.direction||D.delta>P.delta||D.time>P.time+150)&&f(D):f(D),g(D))return!0}else{const D={time:ke(),delta:Math.abs(x),direction:Math.sign(x)},P=d&&D.time<d.time+500&&D.delta<=d.delta&&D.direction===d.direction;if(!P){d=void 0;let L=e.getTranslate()+x*S.sensitivity;const z=e.isBeginning,G=e.isEnd;if(L>=e.minTranslate()&&(L=e.minTranslate()),L<=e.maxTranslate()&&(L=e.maxTranslate()),e.setTransition(0),e.setTranslate(L),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!G&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,j=u[0];if(u.push(D),F&&(D.delta>F.delta||D.direction!==F.direction))u.splice(0);else if(u.length>=15&&D.time-j.time<500&&j.delta-D.delta>=1&&D.delta<=6){const B=x>0?.8:.2;d=D,u.splice(0),r=st(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=st(()=>{d=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",C),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),S.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return C.preventDefault?C.preventDefault():C.returnValue=!1,!1}function I(b){let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget)),C[b]("mouseenter",v),C[b]("mouseleave",m),C[b]("wheel",h)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function y(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&y(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&y()}),Object.assign(e.mousewheel,{enable:p,disable:y})}function Ci(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Be(t.el,`.${n[o]}`)[0];l||(l=pt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function at(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function St(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,y){const{bulletActiveClass:b}=e.params.pagination;p&&(p=p[`${y==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${b}-${y}`),p=p[`${y==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${b}-${y}-${y}`)))}function c(p){const y=p.target.closest(at(e.params.pagination.bulletClass));if(!y)return;p.preventDefault();const b=wt(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function v(){const p=e.rtl,y=e.params.pagination;if(d())return;let b=e.pagination.el;b=Re(b);let C,w;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?(w=e.previousRealIndex||0,C=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(C=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,C=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let x,T,_;if(y.dynamicBullets&&(r=Rt(k[0],e.isHorizontal()?"width":"height",!0),b.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${r*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&w!==void 0&&(s+=C-(w||0),s>y.dynamicMainBullets-1?s=y.dynamicMainBullets-1:s<0&&(s=0)),x=Math.max(C-s,0),T=x+(Math.min(k.length,y.dynamicMainBullets)-1),_=(T+x)/2),k.forEach(E=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${y.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();E.classList.remove(...D)}),b.length>1)k.forEach(E=>{const D=wt(E);D===C?E.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),y.dynamicBullets&&(D>=x&&D<=T&&E.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),D===x&&u(E,"prev"),D===T&&u(E,"next"))});else{const E=k[C];if(E&&E.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&k.forEach((D,P)=>{D.setAttribute("part",P===C?"bullet-active":"bullet")}),y.dynamicBullets){const D=k[x],P=k[T];for(let L=x;L<=T;L+=1)k[L]&&k[L].classList.add(...`${y.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(P,"next")}}if(y.dynamicBullets){const E=Math.min(k.length,y.dynamicMainBullets+4),D=(r*E-r)/2-_*r,P=p?"right":"left";k.forEach(L=>{L.style[e.isHorizontal()?P:"top"]=`${D}px`})}}b.forEach((k,x)=>{if(y.type==="fraction"&&(k.querySelectorAll(at(y.currentClass)).forEach(T=>{T.textContent=y.formatFractionCurrent(C+1)}),k.querySelectorAll(at(y.totalClass)).forEach(T=>{T.textContent=y.formatFractionTotal(M)})),y.type==="progressbar"){let T;y.progressbarOpposite?T=e.isHorizontal()?"vertical":"horizontal":T=e.isHorizontal()?"horizontal":"vertical";const _=(C+1)/M;let E=1,D=1;T==="horizontal"?E=_:D=_,k.querySelectorAll(at(y.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${D})`,P.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(k.innerHTML=y.renderCustom(e,C+1,M),x===0&&o("paginationRender",k)):(x===0&&o("paginationRender",k),o("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](y.lockClass)})}function m(){const p=e.params.pagination;if(d())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=Re(b);let C="";if(p.type==="bullets"){let w=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>y&&(w=y);for(let S=0;S<w;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=[],b.forEach(w=>{p.type!=="custom"&&(w.innerHTML=C||""),p.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(at(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",b[0])}function f(){e.params.pagination=Ci(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let y;typeof p.el=="string"&&e.isElement&&(y=e.el.querySelector(p.el)),!y&&typeof p.el=="string"&&(y=[...document.querySelectorAll(p.el)]),y||(y=p.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(p.el)],y.length>1&&(y=y.filter(b=>Ei(b,".swiper")[0]===e.el)[0])),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=Re(y),y.forEach(b=>{p.type==="bullets"&&p.clickable&&b.classList.add(...(p.clickableClass||"").split(" ")),b.classList.add(p.modifierClass+p.type),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(b.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&b.classList.add(p.progressbarOppositeClass),p.clickable&&b.addEventListener("click",c),e.enabled||b.classList.add(p.lockClass)}))}function g(){const p=e.params.pagination;if(d())return;let y=e.pagination.el;y&&(y=Re(y),y.forEach(b=>{b.classList.remove(p.hiddenClass),b.classList.remove(p.modifierClass+p.type),b.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(b.classList.remove(...(p.clickableClass||"").split(" ")),b.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:y}=e.pagination;y=Re(y),y.forEach(b=>{b.classList.remove(p.horizontalClass,p.verticalClass),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(f(),m(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{m(),v()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Re(p),p.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,y)=>{const b=y.target,C=Re(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&C&&C.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const w=C[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),C.forEach(S=>S.classList.toggle(e.params.pagination.hiddenClass))}});const h=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Re(p),p.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),v()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Re(p),p.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:h,disable:I,render:m,update:v,init:f,destroy:g})}function Fn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=je();let r=!1,s=null,d=null,u,c,v,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E,rtlTranslate:D}=e,{dragEl:P,el:L}=E,z=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress;let F=c,j=(v-c)*G;D?(j=-j,j>0?(F=c-j,j=0):-j+c>v&&(F=v+j)):j<0?(F=c+j,j=0):j+c>v&&(F=v-j),e.isHorizontal()?(P.style.transform=`translate3d(${j}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${j}px, 0)`,P.style.height=`${F}px`),z.hide&&(clearTimeout(s),L.style.opacity=1,s=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function g(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E}=e,{dragEl:D,el:P}=E;D.style.width="",D.style.height="",v=e.isHorizontal()?P.offsetWidth:P.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&E.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(E){return e.isHorizontal()?E.clientX:E.clientY}function p(E){const{scrollbar:D,rtlTranslate:P}=e,{el:L}=D;let z;z=(I(E)-Bn(L)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),z=Math.max(Math.min(z,1),0),P&&(z=1-z);const G=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(G),e.setTranslate(G),e.updateActiveIndex(),e.updateSlidesClasses()}function y(E){const D=e.params.scrollbar,{scrollbar:P,wrapperEl:L}=e,{el:z,dragEl:G}=P;r=!0,u=E.target===G?I(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),L.style.transitionDuration="100ms",G.style.transitionDuration="100ms",p(E),clearTimeout(d),z.style.transitionDuration="0ms",D.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function b(E){const{scrollbar:D,wrapperEl:P}=e,{el:L,dragEl:z}=D;r&&(E.preventDefault?E.preventDefault():E.returnValue=!1,p(E),P.style.transitionDuration="0ms",L.style.transitionDuration="0ms",z.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function C(E){const D=e.params.scrollbar,{scrollbar:P,wrapperEl:L}=e,{el:z}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),D.hide&&(clearTimeout(d),d=st(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),D.snapOnRelease&&e.slideToClosest())}function w(E){const{scrollbar:D,params:P}=e,L=D.el;if(!L)return;const z=L,G=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const j=E==="on"?"addEventListener":"removeEventListener";z[j]("pointerdown",y,G),l[j]("pointermove",b,G),l[j]("pointerup",C,F)}function S(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function k(){const{scrollbar:E,el:D}=e;e.params.scrollbar=Ci(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let L;if(typeof P.el=="string"&&e.isElement&&(L=e.el.querySelector(P.el)),!L&&typeof P.el=="string"){if(L=l.querySelectorAll(P.el),!L.length)return}else L||(L=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&L.length>1&&D.querySelectorAll(P.el).length===1&&(L=D.querySelector(P.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let z;L&&(z=L.querySelector(at(e.params.scrollbar.dragClass)),z||(z=pt("div",e.params.scrollbar.dragClass),L.append(z))),Object.assign(E,{el:L,dragEl:z}),P.draggable&&S(),L&&L.classList[e.enabled?"remove":"add"](...Ye(e.params.scrollbar.lockClass))}function x(){const E=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Ye(e.isHorizontal()?E.horizontalClass:E.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:D}=e.scrollbar;D=Re(D),D.forEach(P=>{P.classList.remove(E.horizontalClass,E.verticalClass),P.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(k(),h(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{h()}),n("setTranslate",()=>{f()}),n("setTransition",(E,D)=>{g(D)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...Ye(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const T=()=>{e.el.classList.remove(...Ye(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Ye(e.params.scrollbar.scrollbarDisabledClass)),k(),h(),f()},_=()=>{e.el.classList.add(...Ye(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Ye(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:T,disable:_,updateSize:h,setTranslate:f,init:k,destroy:x})}function Tt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),m,f,g,h,I,p,y;function b(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!y&&T())}const C=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const F=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/d),s=requestAnimationFrame(()=>{C()})},w=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},S=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),C();let j=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const B=w();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(j=B,d=B,u=B),c=j;const O=e.params.speed,A=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,O,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,O,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return j>0?(clearTimeout(r),r=setTimeout(()=>{A()},j)):requestAnimationFrame(()=>{A()}),j},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,S(),o("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},x=(F,j)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):T()};if(e.autoplay.paused=!0,j){I&&(c=e.params.autoplay.delay),I=!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())},T=()=>{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 F=je();F.visibilityState==="hidden"&&(p=!0,x(!0)),F.visibilityState==="visible"&&T()},E=F=>{F.pointerType==="mouse"&&(p=!0,y=!0,!(e.animating||e.autoplay.paused)&&x(!0))},D=F=>{F.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&T())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",D))},L=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",D)},z=()=>{je().addEventListener("visibilitychange",_)},G=()=>{je().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(P(),z(),M())}),n("destroy",()=>{L(),G(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(g||p)&&T()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():x(!0,!0)}),n("beforeTransitionStart",(F,j,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?x(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}f=!0,g=!1,p=!1,h=setTimeout(()=>{p=!0,g=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(h),clearTimeout(r),e.params.autoplay.disableOnInteraction){g=!1,f=!1;return}g&&e.params.cssMode&&T(),g=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:M,stop:k,pause:x,resume:T})}function Hn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:ke()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:m,snapGrid:f,touchEventsData:g}=e,I=ke()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const k=g.velocities.pop(),x=g.velocities.pop(),T=k.position-x.position,_=k.time-x.time;e.velocity=T/_,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(_>150||ke()-k.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 y=e.velocity*p;let b=e.translate+y;m&&(b=-b);let C=!1,w;const S=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(b<e.maxTranslate())c.freeMode.momentumBounce?(b+e.maxTranslate()<-S&&(b=e.maxTranslate()-S),w=e.maxTranslate(),C=!0,g.allowMomentumBounce=!0):b=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(b>e.minTranslate())c.freeMode.momentumBounce?(b-e.minTranslate()>S&&(b=e.minTranslate()+S),w=e.minTranslate(),C=!0,g.allowMomentumBounce=!0):b=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let k;for(let x=0;x<f.length;x+=1)if(f[x]>-b){k=x;break}Math.abs(f[k]-b)<Math.abs(f[k-1]-b)||e.swipeDirection==="next"?b=f[k]:b=f[k-1],b=-b}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-b-e.translate)/e.velocity):p=Math.abs((b-e.translate)/e.velocity),c.freeMode.sticky){const k=Math.abs((m?-b:b)-e.translate),x=e.slidesSizesGrid[e.activeIndex];k<x?p=c.speed:k<2*x?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&C?(e.updateProgress(w),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Bt(v,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(w),Bt(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Bt(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||I>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let zt;function Un(){const t=Te(),e=je();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ii(){return zt||(zt=Un()),zt}let Vt;function Gn(t){let{userAgent:e}=t===void 0?{}:t;const i=Ii(),n=Te(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let g=o==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&h.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!f&&(r.os="android",r.android=!0),(c||m||v)&&(r.os="ios",r.ios=!0),r}function ki(t){return t===void 0&&(t={}),Vt||(Vt=Gn(t)),Vt}let Ft;function $n(){const t=Te(),e=ki();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function Wn(){return Ft||(Ft=$n()),Ft}function qn(t){let{swiper:e,on:i,emit:n}=t;const o=Te();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:m,height:f}=e;let g=m,h=f;v.forEach(I=>{let{contentBoxSize:p,contentRect:y,target:b}=I;b&&b!==e.el||(g=y?y.width:(p[0]||p).inlineSize,h=y?y.height:(p[0]||p).blockSize)}),(g!==m||h!==f)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function Yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Te(),s=function(c,v){v===void 0&&(v={});const m=r.MutationObserver||r.WebkitMutationObserver,f=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const h=function(){o("observerUpdate",g[0])};r.requestAnimationFrame?r.requestAnimationFrame(h):r.setTimeout(h,0)});f.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(f)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ei(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 Xn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.apply(n,i)})}),t}};function Jn(){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(Xe(n,"padding-left")||0,10)-parseInt(Xe(n,"padding-right")||0,10),i=i-parseInt(Xe(n,"padding-top")||0,10)-parseInt(Xe(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 Kn(){const t=this;function e(T,_){return parseFloat(T.getPropertyValue(t.getDirectionLabel(_))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Be(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let m=[];const f=[],g=[];let h=i.slidesOffsetBefore;typeof h=="function"&&(h=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,y=t.slidesGrid.length;let b=i.spaceBetween,C=-h,w=0,S=0;if(typeof l>"u")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*l:typeof b=="string"&&(b=parseFloat(b)),t.virtualSize=-b,c.forEach(T=>{r?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(bt(n,"--swiper-centered-offset-before",""),bt(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 k;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(T=>typeof i.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<v;T+=1){k=0;let _;if(c[T]&&(_=c[T]),M&&t.grid.updateSlide(T,_,c),!(c[T]&&Xe(_,"display")==="none")){if(i.slidesPerView==="auto"){x&&(c[T].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(_),D=_.style.transform,P=_.style.webkitTransform;if(D&&(_.style.transform="none"),P&&(_.style.webkitTransform="none"),i.roundLengths)k=t.isHorizontal()?Rt(_,"width",!0):Rt(_,"height",!0);else{const L=e(E,"width"),z=e(E,"padding-left"),G=e(E,"padding-right"),F=e(E,"margin-left"),j=e(E,"margin-right"),B=E.getPropertyValue("box-sizing");if(B&&B==="border-box")k=L+F+j;else{const{clientWidth:O,offsetWidth:A}=_;k=L+z+G+F+j+(A-O)}}D&&(_.style.transform=D),P&&(_.style.webkitTransform=P),i.roundLengths&&(k=Math.floor(k))}else k=(l-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),c[T]&&(c[T].style[t.getDirectionLabel("width")]=`${k}px`);c[T]&&(c[T].swiperSlideSize=k),g.push(k),i.centeredSlides?(C=C+k/2+w/2+b,w===0&&T!==0&&(C=C-l/2-b),T===0&&(C=C-l/2-b),Math.abs(C)<1/1e3&&(C=0),i.roundLengths&&(C=Math.floor(C)),S%i.slidesPerGroup===0&&m.push(C),f.push(C)):(i.roundLengths&&(C=Math.floor(C)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup===0&&m.push(C),f.push(C),C=C+k+b),t.virtualSize+=k+b,w=k,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+I,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+b}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),M&&t.grid.updateWrapperSize(k,m),!i.centeredSlides){const T=[];for(let _=0;_<m.length;_+=1){let E=m[_];i.roundLengths&&(E=Math.floor(E)),m[_]<=t.virtualSize-l&&T.push(E)}m=T,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(d&&i.loop){const T=g[0]+b;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=T*i.slidesPerGroup;for(let D=0;D<_;D+=1)m.push(m[m.length-1]+E)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+T),f.push(f[f.length-1]+T),t.virtualSize+=T}if(m.length===0&&(m=[0]),b!==0){const T=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((_,E)=>!i.cssMode||i.loop?!0:E!==c.length-1).forEach(_=>{_.style[T]=`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let T=0;g.forEach(E=>{T+=E+(b||0)}),T-=b;const _=T-l;m=m.map(E=>E<=0?-h:E>_?_+I:E)}if(i.centerInsufficientSlides){let T=0;if(g.forEach(_=>{T+=_+(b||0)}),T-=b,T<l){const _=(l-T)/2;m.forEach((E,D)=>{m[D]=E-_}),f.forEach((E,D)=>{f[D]=E+_})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){bt(n,"--swiper-centered-offset-before",`${-m[0]}px`),bt(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const T=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+T),t.slidesGrid=t.slidesGrid.map(E=>E+_)}if(v!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==y&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const T=`${i.containerModifierClass}backface-hidden`,_=t.el.classList.contains(T);v<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(T):_&&t.el.classList.remove(T)}}function Qn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Zn(){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 eo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),n.forEach(d=>{d.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),f=-(r-c),g=f+e.slidesSizesGrid[d],h=f>=0&&f<=e.size-e.slidesSizesGrid[d];(f>=0&&f<e.size-1||g>1&&g<=e.size||f<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),h&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-m:m}}function to(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],f=e.slidesGrid[v],g=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(t);h>=m?s=(h-m)/g:s=(h+g-f)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function io(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Be(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=zn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=Rn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const xt=(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()}},Ht=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Ut=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Ht(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Ht(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Ht(t,r)};function no(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 oo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=f=>{let g=f-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof d>"u"&&(d=no(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,d);u=f+Math.floor((d-f)/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 m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(d);else if(v){const f=e.slides.filter(h=>h.column===d)[0];let g=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(f),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[d]){const f=e.slides[d].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=d}else m=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:d}),e.initialized&&Ut(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function lo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var so={updateSize:Jn,updateSlides:Kn,updateAutoHeight:Qn,updateSlidesOffset:Zn,updateSlidesProgress:eo,updateProgress:to,updateSlidesClasses:io,updateActiveIndex:oo,updateClickedSlide:lo};function ao(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=jn(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function ro(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function co(){return-this.snapGrid[0]}function uo(){return-this.snapGrid[this.snapGrid.length-1]}function po(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return xi({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(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var vo={getTranslate:ao,setTranslate:ro,minTranslate:co,maxTranslate:uo,translateTo:po};function fo(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 Di(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function mo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Di({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function ho(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Di({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var go={setTransition:fo,transitionStart:mo,transitionEnd:ho};function bo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:m,wrapperEl:f,enabled:g}=l;if(l.animating&&s.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const h=Math.min(l.params.slidesPerGroupSkip,r);let I=h+Math.floor((r-h)/l.params.slidesPerGroup);I>=d.length&&(I=d.length-1);const p=-d[I];if(s.normalizeSlideIndex)for(let b=0;b<u.length;b+=1){const C=-Math.floor(p*100),w=Math.floor(u[b]*100),S=Math.floor(u[b+1]*100);typeof u[b+1]<"u"?C>=w&&C<S-(S-w)/2?r=b:C>=w&&C<S&&(r=b+1):C>=w&&(r=b)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let y;if(r>v?y="next":r<v?y="prev":y="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),y!=="reset"&&(l.transitionStart(i,y),l.transitionEnd(i,y)),!1;if(s.cssMode){const b=l.isHorizontal(),C=m?p:-p;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[b?"scrollLeft":"scrollTop"]=C})):f[b?"scrollLeft":"scrollTop"]=C,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return xi({swiper:l,targetPosition:C,side:b?"left":"top"}),!0;f.scrollTo({[b?"left":"top"]:C,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,y),e===0?l.transitionEnd(i,y):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(C){!l||l.destroyed||C.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,y))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function yo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const m=r*o.params.grid.rows;s=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const m=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-d+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function So(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const f=m(v),g=l.map(p=>m(p));let h=l[g.indexOf(f)-1];if(typeof h>"u"&&o.cssMode){let p;l.forEach((y,b)=>{f>=y&&(p=b)}),typeof p<"u"&&(h=l[p>0?p-1:p])}let I=0;if(typeof h<"u"&&(I=r.indexOf(h),I<0&&(I=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,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(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function To(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 xo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Eo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Be(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Be(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Co={slideTo:bo,slideToLoop:yo,slideNext:wo,slidePrev:So,slideReset:To,slideToClosest:xo,slideToClickedSlide:Eo};function Io(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Be(n,`.${i.slideClass}, swiper-slide`).forEach((v,m)=>{v.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const m=e.isElement?pt("swiper-slide",[i.slideBlankClass]):pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else yt("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 yt("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 ko(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:m,params:f}=d,{centeredSlides:g}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):f.centeredSlides&&d.snapIndex<f.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 h=f.slidesPerView;h==="auto"?h=d.slidesPerViewDynamic():(h=Math.ceil(parseFloat(f.slidesPerView,10)),g&&h%2===0&&(h=h+1));const I=f.slidesPerGroupAuto?h:f.slidesPerGroup;let p=I;p%I!==0&&(p+=I-p%I),p+=f.loopAdditionalSlides,d.loopedSlides=p;const y=d.grid&&f.grid&&f.grid.rows>1;u.length<h+p?yt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&f.grid.fill==="row"&&yt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],C=[];let w=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(D=>D.classList.contains(f.slideActiveClass))[0]):w=l;const S=n==="next"||!n,M=n==="prev"||!n;let k=0,x=0;const T=y?Math.ceil(u.length/f.grid.rows):u.length,E=(y?u[l].column:l)+(g&&typeof o>"u"?-h/2+.5:0);if(E<p){k=Math.max(p-E,I);for(let D=0;D<p-E;D+=1){const P=D-Math.floor(D/T)*T;if(y){const L=T-P-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===L&&b.push(z)}else b.push(T-P-1)}}else if(E+h>T-p){x=Math.max(E-(T-p*2),I);for(let D=0;D<x;D+=1){const P=D-Math.floor(D/T)*T;y?u.forEach((L,z)=>{L.column===P&&C.push(z)}):C.push(P)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&b.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),S&&C.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.append(u[D]),u[D].swiperLoopMoveDOM=!1}),d.recalcSlides(),f.slidesPerView==="auto"?d.updateSlides():y&&(b.length>0&&M||C.length>0&&S)&&d.slides.forEach((D,P)=>{d.grid.updateSlide(P,D,d.slides)}),f.watchSlidesProgress&&d.updateSlidesOffset(),i){if(b.length>0&&M){if(typeof e>"u"){const D=d.slidesGrid[w],L=d.slidesGrid[w+k]-D;s?d.setTranslate(d.translate-L):(d.slideTo(w+Math.ceil(k),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-L,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-L))}else if(o){const D=y?b.length/f.grid.rows:b.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[w],L=d.slidesGrid[w-x]-D;s?d.setTranslate(d.translate-L):(d.slideTo(w-x,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-L,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-L))}else{const D=y?C.length/f.grid.rows:C.length;d.slideTo(d.activeIndex-D,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...D,slideTo:P.params.slidesPerView===f.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===f.slidesPerView?i:!1})}d.emit("loopFix")}function Do(){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 _o={loopCreate:Io,loopFix:ko,loopDestroy:Do};function Ao(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 Po(){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 Mo={setGrabCursor:Ao,unsetGrabCursor:Po};function Oo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===je()||n===Te())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 _i(t,e,i){const n=Te(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Lo(t){const e=this,i=je();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"){_i(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?Oo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const f=r.currentX,g=r.currentY;if(!_i(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=f,r.startY=g,o.touchStartTime=ke(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let h=!0;d.matches(o.focusableElements)&&(h=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const I=h&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||I)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function jo(t){const e=je(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(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=ke());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 m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let S;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(S=Math.atan2(Math.abs(f),Math.abs(m))*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()?m:f,h=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(r?1:-1),h=Math.abs(h)*(r?1:-1)),l.diff=g,g*=o.touchRatio,r&&(g=-g,h=-h);const I=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=h>0?"prev":"next";const p=i.params.loop&&!o.cssMode,y=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&y&&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 b;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&p&&y&&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,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),g>0?(p&&y&&!b&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(C=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**w))):g<0&&(p&&y&&!b&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(C=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**w))),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 No(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(w=>w.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=ke(),m=v-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=ke(),st(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(r.followFinger?f=d?e.translate:-e.translate:f=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const g=f>=-e.maxTranslate()&&!e.params.loop;let h=0,I=e.slidesSizesGrid[0];for(let w=0;w<u.length;w+=w<r.slidesPerGroupSkip?1:r.slidesPerGroup){const S=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[w+S]<"u"?(g||f>=u[w]&&f<u[w+S])&&(h=w,I=u[w+S]-u[w]):(g||f>=u[w])&&(h=w,I=u[u.length-1]-u[u.length-2])}let p=null,y=null;r.rewind&&(e.isBeginning?y=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const b=(f-u[h])/I,C=h<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:h+C):e.slideTo(h)),e.swipeDirection==="prev"&&(b>1-r.longSwipesRatio?e.slideTo(h+C):y!==null&&b<0&&Math.abs(b)>r.longSwipesRatio?e.slideTo(y):e.slideTo(h))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(h+C):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:h+C),e.swipeDirection==="prev"&&e.slideTo(y!==null?y:h))}}function Ai(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Bo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Ro(){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 zo(t){const e=this;xt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Vo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Pi=(t,e)=>{const i=je(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ai,!0):t[u]("observerUpdate",Ai,!0),o[d]("load",t.onLoad,{capture:!0})};function Fo(){const t=this,{params:e}=t;t.onTouchStart=Lo.bind(t),t.onTouchMove=jo.bind(t),t.onTouchEnd=No.bind(t),t.onDocumentTouchStart=Vo.bind(t),e.cssMode&&(t.onScroll=Ro.bind(t)),t.onClick=Bo.bind(t),t.onLoad=zo.bind(t),Pi(t,"on")}function Ho(){Pi(this,"off")}var Uo={attachEvents:Fo,detachEvents:Ho};const Mi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Go(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=Mi(t,n),c=Mi(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 y=n[p]&&n[p].enabled,b=d[p]&&d[p].enabled;y&&!b&&t[p].disable(),!y&&b&&t[p].enable()});const m=d.direction&&d.direction!==n.direction,f=n.loop&&(d.slidesPerView!==n.slidesPerView||m),g=n.loop;m&&i&&t.changeDirection(),Ce(t.params,d);const h=t.params.enabled,I=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!h?t.disable():!v&&h&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&I?(t.loopCreate(e),t.updateSlides()):g&&!I&&t.loopDestroy()),t.emit("breakpoint",d)}function $o(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Te(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var Wo={setBreakpoint:Go,getBreakpoint:$o};function qo(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 Yo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=qo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),o.classList.add(...e),t.emitContainerClasses()}function Xo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Jo={addClasses:Yo,removeClasses:Xo};function Ko(){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 Qo={checkOverflow:Ko},Gt={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 Zo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Ce(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)){Ce(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Ce(e,n)}}const $t={eventsEmitter:Xn,update:so,translate:vo,transition:go,slide:Co,loop:_o,grabCursor:Mo,events:Uo,breakpoints:Wo,checkOverflow:Qo,classes:Jo},Wt={};let qt=class Ge{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=Ce({},i),e&&!i.el&&(i.el=e);const r=je();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const m=Ce({},i,{el:v});c.push(new Ge(m))}),c}const s=this;s.__swiper__=!0,s.support=Ii(),s.device=ki({userAgent:i.userAgent}),s.browser=Wn(),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:Zo(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Ce({},Gt,d);return s.params=Ce({},u,Wt,i),s.originalParams=Ce({},s.params),s.passedParams=Ce({},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=Be(i,`.${n.slideClass}, swiper-slide`),l=wt(o[0]);return wt(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=Be(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,m;for(let f=u+1;f<l.length;f+=1)l[f]&&!m&&(v+=Math.ceil(l[f].swiperSlideSize),c+=1,v>d&&(m=!0));for(let f=u-1;f>=0;f-=1)l[f]&&!m&&(v+=l[f].swiperSlideSize,c+=1,v>d&&(m=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&xt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Be(n,o())[0];return!r&&i.params.createElements&&(r=pt("div",i.params.wrapperClass),n.append(r),Be(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Xe(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Xe(n,"direction")==="rtl"),wrongRTL:Xe(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?xt(i,l):l.addEventListener("load",r=>{xt(i,r.target)})}),Ut(i),i.initialized=!0,Ut(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,On(n)),n.destroyed=!0),null}static extendDefaults(e){Ce(Wt,e)}static get extendedDefaults(){return Wt}static get defaults(){return Gt}static installModule(e){Ge.prototype.__modules__||(Ge.prototype.__modules__=[]);const i=Ge.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ge.installModule(i)),Ge):(Ge.installModule(e),Ge)}};Object.keys($t).forEach(t=>{Object.keys($t[t]).forEach(e=>{qt.prototype[e]=$t[t][e]})}),qt.use([qn,Yn]);const Oi=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function tt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function rt(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:tt(e[n])&&tt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:rt(t[n],e[n]):t[n]=e[n]})}function Li(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function ji(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Ni(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Bi(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function el(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function tl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:v,navigation:m,scrollbar:f,virtual:g,thumbs:h}=e;let I,p,y,b,C,w,S,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(I=!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&&(y=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&f&&!f.el&&(b=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(C=!0);const k=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?w=!0:!c.loop&&n.loop?S=!0:M=!0),u.forEach(x=>{if(tt(c[x])&&tt(n[x]))Object.assign(c[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&k(x);else{const T=n[x];(T===!0||T===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?T===!1&&k(x):c[x]=n[x]}}),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),I&&h.init()&&h.update(!0),p&&(e.controller.control=c.controller.control),y&&(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()),b&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),f.init(),f.updateSize(),f.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)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||M)&&e.loopDestroy(),(S||M)&&e.loopCreate(),e.update()}function il(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};rt(i,Gt),i._emitClasses=!0,i.init=!1;const l={},r=Oi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?tt(t[d])?(i[d]={},o[d]={},rt(i[d],t[d]),rt(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function nl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Li(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),ji(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Ni(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function ol(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Oi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(tt(t[d])&&tt(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const ll=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 Et(){return Et=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},Et.apply(this,arguments)}function Ri(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function zi(t){const e=[];return a.Children.toArray(t).forEach(i=>{Ri(i)?e.push(i):i.props&&i.props.children&&zi(i.props.children).forEach(n=>e.push(n))}),e}function sl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(Ri(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=zi(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 al(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function vt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const Yt=a.createContext(null),Vi=()=>a.useContext(Yt),rl=a.createContext(null),it=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,m]=a.useState(null),[f,g]=a.useState(!1),h=a.useRef(!1),I=a.useRef(null),p=a.useRef(null),y=a.useRef(null),b=a.useRef(null),C=a.useRef(null),w=a.useRef(null),S=a.useRef(null),M=a.useRef(null),{params:k,passedParams:x,rest:T,events:_}=il(s),{slides:E,slots:D}=sl(l),P=()=>{g(!f)};Object.assign(k.on,{_containerClasses(j,B){c(B)}});const L=()=>{Object.assign(k.on,_),d=!0;const j={...k};if(delete j.wrapperClass,p.current=new qt(j),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=E;const B={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};rt(p.current.params.virtual,B),rt(p.current.originalParams.virtual,B)}};I.current||L(),p.current&&p.current.on("_beforeBreakpoint",P);const z=()=>{d||!_||!p.current||Object.keys(_).forEach(j=>{p.current.on(j,_[j])})},G=()=>{!_||!p.current||Object.keys(_).forEach(j=>{p.current.off(j,_[j])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),a.useEffect(()=>{!h.current&&p.current&&(p.current.emitSlidesClasses(),h.current=!0)}),vt(()=>{if(e&&(e.current=I.current),!!I.current)return p.current.destroyed&&L(),nl({el:I.current,nextEl:C.current,prevEl:w.current,paginationEl:S.current,scrollbarEl:M.current,swiper:p.current},k),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),vt(()=>{z();const j=ol(x,y.current,E,b.current,B=>B.key);return y.current=x,b.current=E,j.length&&p.current&&!p.current.destroyed&&tl({swiper:p.current,slides:E,passedParams:x,changedParams:j,nextEl:C.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:S.current}),()=>{G()}}),vt(()=>{ll(p.current)},[v]);function F(){return k.virtual?al(p.current,E,v):E.map((j,B)=>a.cloneElement(j,{swiper:p.current,swiperSlideIndex:B}))}return a.createElement(n,Et({ref:I,className:Bi(`${u}${i?` ${i}`:""}`)},T),a.createElement(rl.Provider,{value:p.current},D["container-start"],a.createElement(o,{className:el(k.wrapperClass)},D["wrapper-start"],F(),D["wrapper-end"]),Li(k)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:w,className:"swiper-button-prev"}),a.createElement("div",{ref:C,className:"swiper-button-next"})),Ni(k)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),ji(k)&&a.createElement("div",{ref:S,className:"swiper-pagination"}),D["container-end"]))});it.displayName="Swiper";const ze=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[m,f]=a.useState("swiper-slide"),[g,h]=a.useState(!1);function I(C,w,S){w===v.current&&f(S)}vt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",I),()=>{l&&l.off("_slideClass",I)}}}),vt(()=>{l&&v.current&&!l.destroyed&&f(l.getSlideClasses(v.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(p):n,b=()=>{h(!0)};return a.createElement(i,Et({ref:v,className:Bi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:b},c),r&&a.createElement(Yt.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},y(),s&&!g&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement(Yt.Provider,{value:p},y(),s&&!g&&a.createElement("div",{className:"swiper-lazy-preloader"})))});ze.displayName="SwiperSlide";const dl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",cl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const m=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?u.current=f:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=he.debounce(()=>{e?.()},300);return ai.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:dl,alt:"close",className:"modal-icon"})),i))),u.current)};var Ct=a.memo(cl);const ul=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},pl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,m]=a.useState(!1),f=Number(i?.lineClamp||2),g=a.useRef(null),h=a.useRef(null),I=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?ul(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,y;((p=h?.current)===null||p===void 0?void 0:p.offsetHeight)>((y=g?.current)===null||y===void 0?void 0:y.offsetHeight)&&s?m(!0):m(!1),h.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:g,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:h,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??I},u?r||"show less":l||"show more"))};var It=a.memo(pl);const vl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState();return a.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),a.useEffect(()=>{d(i)},[i]),a.useRef(null),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}}))});var De=a.memo(vl);const fl=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:m,onClick:f,schema:g,isDefault:h,bottom_image:I,tipText:p,isPost:y,viewTime:b,rec:C,swiper:w,commodityStyles:S,buttonStyle:M,index:k}=t,x=be(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:T}=re(),{popupDetailData:_,bffEventReport:E,isPreview:D,bffFbReport:P}=re(),{jumpToWeb:L,productView:z}=Le(),G=a.useRef(null),[F,j]=a.useState(!1),B=y?C:_,O=y?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,A=y?(i=B?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=B?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,q=y?k:_?.index,R=()=>{O?.link&&(L(B,O,A,q),y||z(B,O,A,b||G.current,q),window.location.href=window.getJointUtmLink(O.link))};a.useEffect(()=>{y||P?.({eventName:"ProductView"})},[y,P]),a.useEffect(()=>{const W=()=>{G.current=new Date};return W(),window.addEventListener("pageshow",W),()=>{window.removeEventListener("pageshow",W)}},[]);const H=a.useMemo(()=>{var W,oe,ne,X,de;return O?.currency&&O?.price?`${(ne=(oe=(W=O?.currency)===null||W===void 0?void 0:W.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&ne!==void 0?ne:""}${(de=(X=O?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&de!==void 0?de:""}`:"$7,000"},[O?.price,O?.currency]),Q=D?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:W})=>{var oe,ne,X;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:S?.collection,hidden:!!O&&(!O?.collection||O?.collection==="")},(oe=O?.collection)!==null&&oe!==void 0?oe:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:S?.title,hidden:!!O&&!O?.title},(ne=O?.title)!==null&&ne!==void 0?ne:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:S?.price,hidden:!!O&&!O?.price},H),a.createElement("div",{hidden:!!O&&(!O?.info||O?.info==="")},a.createElement(It,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>j(!0),isPost:W,text:(X=O?.info)!==null&&X!==void 0?X:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var he=require("lodash"),nn=require("uuid"),on=require("pako"),a=require("react"),si=require("qs"),ln=require("eventemitter3"),Y=require("@emotion/css"),sn=require("@ant-design/pro-components"),an=require("react-dom");function rn(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 ai=rn(an);function be(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 Se(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const dn=/:\w+/g;var ri=(t,e)=>Se(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:m}=e[o];let f=s;d&&Object.entries(d).forEach(([g,h])=>{f=f.replace(dn,I=>I===g?h:I)}),c&&(f+=c),n[l]=u;try{const g=yield fetch(f,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(m)}).then(h=>h.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const di="SXP_TOKEN_INFO",cn=(t,e)=>Se(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(di);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(di,JSON.stringify(s))}}return s});function mt(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 un=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},pn=()=>{const t=nn.v4();return t?.replaceAll?t.replaceAll("-",""):un(32)};function ci(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=on.inflate(n,{to:"string"});return JSON.parse(o)}let _t=null;const vn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class fn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,_t)return _t;_t=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?vn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let ye=null;const mn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{ye||(ye=new fn),n&&ye.setApiUrl(n),ye.setAppId(t),ye.setTenantId(e),ye.setEnv(i)},getDetail:t=>{if(!ye)return;const e=ye.getTenantId(),i=ye.getAppId(),n=ye.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Se(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=ci((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield ri(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>Se(void 0,void 0,void 0,function*(){if(!ye)return;const e=ye.getTenantId(),i=ye.getAppId(),n=ye.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Se(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=ci((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Se(void 0,void 0,void 0,function*(){if(!ye)return;const e=yield cn(ye,t),i=mt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");he.isEmpty(n)&&(n=mt(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 He(){return a.useContext(yi)}function hn(){return a.useContext(bi)}const At="feRealSessionIdKey",ui=()=>{const t=pn();return`${Date.now()}${t}`},gn=()=>{let t=yn();return t||(t=ui(),window.sessionStorage.setItem(At,t)),t},bn=()=>{const t=ui();window.sessionStorage.setItem(At,t)},yn=()=>window.sessionStorage.getItem(At),pi="SXP_FAKE_USER_ID",vi="FAKE_USER_STATE",wn=()=>{let t=window.localStorage.getItem(pi);return he.isEmpty(t)&&(t=mt(36,62),window.localStorage.setItem(pi,t)),t},Sn=()=>{const t=window.localStorage.getItem(vi);return he.isEmpty(t)&&window.localStorage.setItem(vi,"true"),he.isEmpty(t)};function Ie(t,e){const{appDomain:i}=re();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Ue=new ln;var Oe;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Oe||(Oe={}));const fi=a.createContext({rtcList:[],tagList:[]});var Pt;(function(t){t[t.BFF=5]="BFF"})(Pt||(Pt={}));const mi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Tn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:m=!1,isShowTag:f=!0})=>{const[g,h]=a.useState([]),[I,p]=a.useState([]),[y,b]=a.useState(!1),[C,w]=a.useState({rtc:"",requestId:""}),S=a.useRef(null),M=a.useRef(!1),[k,x]=a.useState(),[T,_]=a.useState(),[E,D]=a.useState(v),[A,j]=a.useState([]),[z,H]=a.useState(0),[F,L]=a.useState(!1),[B,O]=a.useState(null),P=a.useRef();a.useEffect(()=>{const V=G=>{P.current=G};return Ue.on(Oe.CHANGE_THEME_TAG,V),()=>{Ue.off(Oe.CHANGE_THEME_TAG,V)}},[]),a.useEffect(()=>{D(v)},[v]);const q=a.useMemo(()=>e?.find(V=>V.type===Pt.BFF),[e]),R=a.useCallback((V,G)=>{if(!q)return;const ee=q.url,fe=wn();if(G?.query){const ve=si.stringify(G.query);V=`${V}?${ve}`}return G.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ee}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},q.headers),{"x-user-id":fe}),G.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ee}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":fe},q.headers),method:G.method,body:JSON.stringify(G.body)}).then(ve=>ve.json()).catch(ve=>Promise.reject(ve))},[q]),U=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){var G,ee,fe,ve,ge;if(V={maxSize:(G=V?.maxSize)!==null&&G!==void 0?G:o,defaultSize:(ee=V?.defaultSize)!==null&&ee!==void 0?ee:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const xe=(ge=(ve=(fe=i?.split("&"))===null||fe===void 0?void 0:fe.filter(Ne=>{const $e=Ne.split("=")[0];return mi.includes($e)}))===null||ve===void 0?void 0:ve.join("&"))!==null&&ge!==void 0?ge:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(xe)})}const ce=yield R?.("/recommend/list",{method:"GET",query:V});if(ce?.success)return V?.hashTag||w({rtc:ce.data.rtc,requestId:ce.data.requestId}),ce?.data}),[R,i,o,l]),Q=a.useCallback(()=>Se(void 0,void 0,void 0,function*(){var V,G;if(g.length<=0)return;const ee=yield U({hashTag:T?.hashTag,"itemFilter.itemId":T?.itemId,"itemFilter.itemType":T?.itemType,themeTag:P.current});h(g.concat((V=ee?.recList)!==null&&V!==void 0?V:[])),j(A.concat((G=ee?.recList)!==null&&G!==void 0?G:[]))}),[U,g,T,A]),te=a.useCallback(({userInfo:V,eventInfo:G})=>{if(!n)return;V||(V={});const ee=gn(),fe=Object.assign({sessionID:ee,rtc:C.rtc,requestId:C.requestId},G),ve=Object.entries(V).map(([ce,xe])=>({name:ce,value:xe})),ge=Object.entries(fe).map(([ce,xe])=>xe&&{name:ce,value:xe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",fe),console.log("========= \u7ED3\u675F ========="),R?.("/event/report",{method:"POST",body:{userInfo:ve,eventInfo:ge},type:"beacon"})},[R,C,n]),se=a.useCallback(V=>{var G,{eventName:ee,actionSource:fe="website",eventSourceUrl:ve=(G=window?.location)===null||G===void 0?void 0:G.href,externalId:ge}=V;if(!(!n||!m))return R?.("/fb/events",{method:"POST",body:{eventName:ee,actionSource:fe,eventSourceUrl:ve,"userData.externalId":ge},type:"beacon"})},[R,n,m]),W=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){const G=yield R?.("/recommend/like",{method:"POST",body:V});return G?.success}),[R]),oe=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){const G=yield R?.("/recommend/unlike",{method:"POST",body:V});return G?.success}),[R]),ne=a.useCallback(V=>Se(void 0,void 0,void 0,function*(){const G=yield R?.("/customform",{method:"POST",body:V});return G?.success}),[R]),X=a.useCallback(()=>Se(void 0,void 0,void 0,function*(){var V,G,ee,fe,ve;if(!(!i||!f))try{const ge=(ee=(G=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(xe=>{const Ne=xe.split("=")[0];return mi.includes(Ne)}))===null||G===void 0?void 0:G.join("&"))!==null&&ee!==void 0?ee:"",ce=yield R?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ge)}});p((ve=(fe=ce?.data)===null||fe===void 0?void 0:fe.tags)!==null&&ve!==void 0?ve:[])}catch(ge){console.log("e",ge)}}),[R,i,f]),de=a.useCallback((V,G,ee,fe)=>{var ve,ge,ce,xe,Ne,$e,dt,nt,ct,We,ut,Je;const we=ee?.bindCta,ot=((ve=G?.video)===null||ve===void 0?void 0:ve.bindProduct)||((ge=G?.video)===null||ge===void 0?void 0:ge.bindProducts)&&((xe=(ce=G?.video)===null||ce===void 0?void 0:ce.bindProducts)===null||xe===void 0?void 0:xe.length)>0;let lt="";F?lt="hashTagPage":!((Ne=G?.video)===null||Ne===void 0)&&Ne.url?lt="videoPage":!((dt=($e=G?.video)===null||$e===void 0?void 0:$e.imgUrls)===null||dt===void 0)&&dt.length&&(lt="imagePage"),te?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(nt=we?.itemId)!==null&&nt!==void 0?nt:"",ctaName:(ct=we?.title)!==null&&ct!==void 0?ct:"",contentTags:JSON.stringify(we?.tags),position:fe+"",contentId:(ut=(We=G?.video)===null||We===void 0?void 0:We.itemId)!==null&&ut!==void 0?ut:"",productId:ot?ee?.itemId:"",traceInfo:(Je=we?.traceInfo)!==null&&Je!==void 0?Je:"",fromKName:lt})})},[te,F]);a.useEffect(()=>{b(!0),X(),U().then(V=>{var G,ee;h((G=V?.recList)!==null&&G!==void 0?G:[]),j((ee=V?.recList)!==null&&ee!==void 0?ee:[])}).finally(()=>{b(!1),M.current=!0})},[]),a.useEffect(()=>{M.current&&(b(!0),X(),U().then(V=>{var G,ee;h((G=V?.recList)!==null&&G!==void 0?G:[]),j((ee=V?.recList)!==null&&ee!==void 0?ee:[])}).finally(()=>{b(!1)}))},[U,X]);const Ae=Ie("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(fi.Provider,{value:{rtcList:g,setRtcList:h,mutateLike:W,mutateUnlike:oe,submitForm:ne,popupDetailData:k,loadVideos:Q,setPopupDetailData:x,getRecommendVideos:U,bffEventReport:te,utmVal:i,isPreview:r,loading:y,sxpParameter:s,waterFallData:T,setWaterFallData:_,ctaEvent:de,swiperRef:S,openHashtag:E,setOpenHashtag:D,cacheRtcList:A,setCacheRtcList:j,cacheActiveIndex:z,setCacheActiveIndex:H,isFromHashtag:F,setIsFromHashtag:L,appDomain:d,hashTagSize:u,loadingImage:c??Ae,isOpenHashTag:v,tagList:I,setLoading:b,videoRef:B,setVideoRef:O,bffFbReport:se}},t({rtcList:g,mutateLike:W,mutateUnlike:oe,submitForm:ne,tagList:I}))};var hi=a.memo(Tn);function re(){return a.useContext(fi)}var gi;(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"})(gi||(gi={}));const bi=a.createContext({$store:{},options:[],configs:[]}),xn=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=He(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var m;e||he.isEqual(d,l?.dataSource)||u((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=a.useCallback(()=>Se(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield ri("",d);s(m),v(m,f)}),[d]),v=(m,f)=>{const g=[];Object.entries(m).forEach(([h,I])=>{Object.keys(I).forEach(p=>{const y={label:`${f[h]} - ${p}`,value:`{{ ${h}.${p} }}`};g.push(y)})}),o(g)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(bi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var En=a.memo(xn);const ht={id:mt(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},Mt={id:"",duration:0,name:"none"},yi=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[ht],redoStack:[],popup:Mt,setPopup:()=>{}}),wi=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[ht],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,m]=a.useState([ht]),[f,g]=a.useState([[ht]]),[h,I]=a.useState([]),[p,y]=a.useState(Mt);typeof window<"u"&&(window.sxpPopup=(M,k)=>{y(Object.assign(Object.assign(Object.assign({},Mt),{id:M}),k))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{g([u.pointData]),I([])},[u.type]);const b=a.useCallback(M=>{const k=he.cloneDeep(u);k&&(k.dataSource=M,c?.(k))},[u]),[C,w]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return he.cloneDeep(u)},getPageInfoData(){return C},initPageInfoData(M){M&&w(M)}}));const S=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(yi.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:b,prePiontData:v,setPrePiontData:m,pageInfoData:C,setPageInfoData:M=>w(Object.assign(Object.assign({},C),M)),undoStack:f,redoStack:h,setRedoStack:I,setUndoStack:g,getCurPageConf:S,popup:p,setPopup:y}},a.createElement(En,{isSsr:i,enable:o},t))});var Cn=Object.freeze({__proto__:null,EditorCore:wi}),In=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ie=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var kn={fontOptions:ie},Ot,Dn=[{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:ie,initialValue:(Ot=ie?.[0])===null||Ot===void 0?void 0:Ot.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Le(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=re(),o=a.useCallback((r,s,d,u)=>{var c,v,m,f,g,h,I,p,y,b,C,w,S,M;let k="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((m=r?.video)===null||m===void 0)&&m.bindProduct)?k="pdpPage":n?k="hashTagPage":!((f=r?.video)===null||f===void 0)&&f.url?k="videoPage":!((g=r?.video)===null||g===void 0)&&g.imgUrls&&(!((I=(h=r?.video)===null||h===void 0?void 0:h.imgUrls)===null||I===void 0)&&I.length)?k="imagePage":r?.product&&(k="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(y=s?.title)!==null&&y!==void 0?y:"",price:s?.price?s?.price+"":"0",productCollection:(b=s?.collection)!==null&&b!==void 0?b:"",fromKName:k,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(w=(C=r?.video)===null||C===void 0?void 0:C.itemId)!==null&&w!==void 0?w:"",ctatId:(S=d?.itemId)!==null&&S!==void 0?S:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,m,f,g;let h="";e&&(!((m=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||m===void 0)&&m.length||!((f=r?.video)===null||f===void 0)&&f.bindProduct)?h="pdpPage":r?.product&&(h="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:h,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(g=r?.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 _n=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,isExternalLink:u,isPopup:c,onClick:v,onClose:m}=t,f=be(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose"]);const{submitForm:g,popupDetailData:h}=re(),{jumpToWeb:I}=Le(),p=a.useRef(),[y,b]=a.useState(!1),C=a.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),w=a.useMemo(()=>{if(d===void 0){const M=he.cloneDeep(e)||C;return M?.map(k=>Object.assign(Object.assign({},k),{title:void 0,fieldProps:{placeholder:k?.title}}))}else return he.cloneDeep(e)||C},[d,e,C]),S=he.debounce(()=>Se(void 0,void 0,void 0,function*(){var M,k,x,T,_,E;const D=yield(M=p?.current)===null||M===void 0?void 0:M.getFieldsValue();if(!D)return;const A=(x=(k=Object.keys(D))===null||k===void 0?void 0:k.map(z=>{var H;return{name:z,value:(H=D[z])!==null&&H!==void 0?H:""}}))===null||x===void 0?void 0:x.filter(z=>z?.value);if(!A||!A?.length)return;b(!0);const j=yield g?.({attributes:A});if(b(!1),j){if(u){const z=h,H=(T=z?.video)===null||T===void 0?void 0:T.bindProduct,F=(E=(_=z?.video)===null||_===void 0?void 0:_.bindProduct)===null||E===void 0?void 0:E.bindCta,L=h?.index;I(z,H,F,L)}c||m?.(),v?.()}}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${Y.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:Y.css(Object.assign({},i))},f),a.createElement("div",{className:"pb-appoint-form-container"},a.createElement(sn.BetaSchemaForm,{columns:w,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:p,className:"panel-reset"}))),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:S,className:"pb-appoint-form-btn",style:{color:r,background:l}},y?a.createElement(a.Fragment,null,"loading..."):s)))};var An=a.memo(_n);function Ee(t,e){return t.extend=e,t}const Pn=Ee(An,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Dn,bindableProps:[],interactionRender:In},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 Lt,jt,Mn=[{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:ie,name:["fontFamily"],initialValue:(Lt=ie?.[0])===null||Lt===void 0?void 0:Lt.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:ie,initialValue:(jt=ie?.[0])===null||jt===void 0?void 0:jt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Si(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Nt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Si(e[i])&&Si(t[i])&&Object.keys(e[i]).length>0&&Nt(t[i],e[i])})}const Ti={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 je(){const t=typeof document<"u"?document:{};return Nt(t,Ti),t}const On={document:Ti,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 Te(){const t=typeof window<"u"?window:{};return Nt(t,On),t}function Ye(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Ln(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function st(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function ke(){return Date.now()}function jn(t){const e=Te();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Nn(t,e){e===void 0&&(e="x");const i=Te();let n,o,l;const r=jn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function gt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Bn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ce(){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&&!Bn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(gt(t[s])&&gt(n[s])?n[s].__swiper__?t[s]=n[s]:Ce(t[s],n[s]):!gt(t[s])&&gt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Ce(t[s],n[s])):t[s]=n[s])}}}return t}function bt(t,e,i){t.style.setProperty(e,i)}function xi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Te(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(m,f)=>u==="next"&&m>=f||u==="prev"&&m<=f,v=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/d,1),0),f=.5-Math.cos(m*Math.PI)/2;let g=l+f*(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 Be(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function yt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Ye(e)),i}function Rn(t){const e=Te(),i=je(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function zn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Vn(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 Xe(t,e){return Te().getComputedStyle(t,null).getPropertyValue(e)}function wt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ei(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 Bt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Rt(t,e,i){const n=Te();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 Re(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Fn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Te();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,s=ke(),d;const u=[];function c(b){let M=0,k=0,x=0,T=0;return"detail"in b&&(k=b.detail),"wheelDelta"in b&&(k=-b.wheelDelta/120),"wheelDeltaY"in b&&(k=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(M=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(M=k,k=0),x=M*10,T=k*10,"deltaY"in b&&(T=b.deltaY),"deltaX"in b&&(x=b.deltaX),b.shiftKey&&!x&&(x=T,T=0),(x||T)&&b.deltaMode&&(b.deltaMode===1?(x*=40,T*=40):(x*=800,T*=800)),x&&!M&&(M=x<1?-1:1),T&&!k&&(k=T<1?-1:1),{spinX:M,spinY:k,pixelX:x,pixelY:T}}function v(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ke()-s<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&ke()-s<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",b.raw)),s=new l.Date().getTime(),!1)}function g(b){const C=e.params.mousewheel;if(b.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 h(b){let C=b,w=!0;if(!e.enabled||b.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 k=M&&M.contains(C.target);if(!e.mouseEntered&&!k&&!S.releaseOnEdges)return!0;C.originalEvent&&(C=C.originalEvent);let x=0;const T=e.rtlTranslate?-1:1,_=c(C);if(S.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))x=-_.pixelX*T;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))x=-_.pixelY;else return!0;else x=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*T:-_.pixelY;if(x===0)return!0;S.invert&&(x=-x);let E=e.getTranslate()+x*S.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),w=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),w&&e.params.nested&&C.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:ke(),delta:Math.abs(x),direction:Math.sign(x),raw:b};u.length>=2&&u.shift();const A=u.length?u[u.length-1]:void 0;if(u.push(D),A?(D.direction!==A.direction||D.delta>A.delta||D.time>A.time+150)&&f(D):f(D),g(D))return!0}else{const D={time:ke(),delta:Math.abs(x),direction:Math.sign(x)},A=d&&D.time<d.time+500&&D.delta<=d.delta&&D.direction===d.direction;if(!A){d=void 0;let j=e.getTranslate()+x*S.sensitivity;const z=e.isBeginning,H=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,L=u[0];if(u.push(D),F&&(D.delta>F.delta||D.direction!==F.direction))u.splice(0);else if(u.length>=15&&D.time-L.time<500&&L.delta-D.delta>=1&&D.delta<=6){const B=x>0?.8:.2;d=D,u.splice(0),r=st(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=st(()=>{d=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(A||o("scroll",C),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),S.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return C.preventDefault?C.preventDefault():C.returnValue=!1,!1}function I(b){let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget)),C[b]("mouseenter",v),C[b]("mouseleave",m),C[b]("wheel",h)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function y(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&y(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&y()}),Object.assign(e.mousewheel,{enable:p,disable:y})}function Ci(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Be(t.el,`.${n[o]}`)[0];l||(l=pt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function at(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function St(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,y){const{bulletActiveClass:b}=e.params.pagination;p&&(p=p[`${y==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${b}-${y}`),p=p[`${y==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${b}-${y}-${y}`)))}function c(p){const y=p.target.closest(at(e.params.pagination.bulletClass));if(!y)return;p.preventDefault();const b=wt(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function v(){const p=e.rtl,y=e.params.pagination;if(d())return;let b=e.pagination.el;b=Re(b);let C,w;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?(w=e.previousRealIndex||0,C=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(C=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,C=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let x,T,_;if(y.dynamicBullets&&(r=Rt(k[0],e.isHorizontal()?"width":"height",!0),b.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${r*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&w!==void 0&&(s+=C-(w||0),s>y.dynamicMainBullets-1?s=y.dynamicMainBullets-1:s<0&&(s=0)),x=Math.max(C-s,0),T=x+(Math.min(k.length,y.dynamicMainBullets)-1),_=(T+x)/2),k.forEach(E=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(A=>`${y.bulletActiveClass}${A}`)].map(A=>typeof A=="string"&&A.includes(" ")?A.split(" "):A).flat();E.classList.remove(...D)}),b.length>1)k.forEach(E=>{const D=wt(E);D===C?E.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),y.dynamicBullets&&(D>=x&&D<=T&&E.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),D===x&&u(E,"prev"),D===T&&u(E,"next"))});else{const E=k[C];if(E&&E.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&k.forEach((D,A)=>{D.setAttribute("part",A===C?"bullet-active":"bullet")}),y.dynamicBullets){const D=k[x],A=k[T];for(let j=x;j<=T;j+=1)k[j]&&k[j].classList.add(...`${y.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(A,"next")}}if(y.dynamicBullets){const E=Math.min(k.length,y.dynamicMainBullets+4),D=(r*E-r)/2-_*r,A=p?"right":"left";k.forEach(j=>{j.style[e.isHorizontal()?A:"top"]=`${D}px`})}}b.forEach((k,x)=>{if(y.type==="fraction"&&(k.querySelectorAll(at(y.currentClass)).forEach(T=>{T.textContent=y.formatFractionCurrent(C+1)}),k.querySelectorAll(at(y.totalClass)).forEach(T=>{T.textContent=y.formatFractionTotal(M)})),y.type==="progressbar"){let T;y.progressbarOpposite?T=e.isHorizontal()?"vertical":"horizontal":T=e.isHorizontal()?"horizontal":"vertical";const _=(C+1)/M;let E=1,D=1;T==="horizontal"?E=_:D=_,k.querySelectorAll(at(y.progressbarFillClass)).forEach(A=>{A.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${D})`,A.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(k.innerHTML=y.renderCustom(e,C+1,M),x===0&&o("paginationRender",k)):(x===0&&o("paginationRender",k),o("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](y.lockClass)})}function m(){const p=e.params.pagination;if(d())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=Re(b);let C="";if(p.type==="bullets"){let w=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>y&&(w=y);for(let S=0;S<w;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=[],b.forEach(w=>{p.type!=="custom"&&(w.innerHTML=C||""),p.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(at(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",b[0])}function f(){e.params.pagination=Ci(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let y;typeof p.el=="string"&&e.isElement&&(y=e.el.querySelector(p.el)),!y&&typeof p.el=="string"&&(y=[...document.querySelectorAll(p.el)]),y||(y=p.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(p.el)],y.length>1&&(y=y.filter(b=>Ei(b,".swiper")[0]===e.el)[0])),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=Re(y),y.forEach(b=>{p.type==="bullets"&&p.clickable&&b.classList.add(...(p.clickableClass||"").split(" ")),b.classList.add(p.modifierClass+p.type),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(b.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&b.classList.add(p.progressbarOppositeClass),p.clickable&&b.addEventListener("click",c),e.enabled||b.classList.add(p.lockClass)}))}function g(){const p=e.params.pagination;if(d())return;let y=e.pagination.el;y&&(y=Re(y),y.forEach(b=>{b.classList.remove(p.hiddenClass),b.classList.remove(p.modifierClass+p.type),b.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(b.classList.remove(...(p.clickableClass||"").split(" ")),b.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:y}=e.pagination;y=Re(y),y.forEach(b=>{b.classList.remove(p.horizontalClass,p.verticalClass),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(f(),m(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{m(),v()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Re(p),p.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,y)=>{const b=y.target,C=Re(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&C&&C.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const w=C[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),C.forEach(S=>S.classList.toggle(e.params.pagination.hiddenClass))}});const h=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Re(p),p.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),v()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Re(p),p.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:h,disable:I,render:m,update:v,init:f,destroy:g})}function Hn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=je();let r=!1,s=null,d=null,u,c,v,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E,rtlTranslate:D}=e,{dragEl:A,el:j}=E,z=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=c,L=(v-c)*H;D?(L=-L,L>0?(F=c-L,L=0):-L+c>v&&(F=v+L)):L<0?(F=c+L,L=0):L+c>v&&(F=v-L),e.isHorizontal()?(A.style.transform=`translate3d(${L}px, 0, 0)`,A.style.width=`${F}px`):(A.style.transform=`translate3d(0px, ${L}px, 0)`,A.style.height=`${F}px`),z.hide&&(clearTimeout(s),j.style.opacity=1,s=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function g(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:E}=e,{dragEl:D,el:A}=E;D.style.width="",D.style.height="",v=e.isHorizontal()?A.offsetWidth:A.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,m>=1?A.style.display="none":A.style.display="",e.params.scrollbar.hide&&(A.style.opacity=0),e.params.watchOverflow&&e.enabled&&E.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(E){return e.isHorizontal()?E.clientX:E.clientY}function p(E){const{scrollbar:D,rtlTranslate:A}=e,{el:j}=D;let z;z=(I(E)-Rn(j)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),z=Math.max(Math.min(z,1),0),A&&(z=1-z);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function y(E){const D=e.params.scrollbar,{scrollbar:A,wrapperEl:j}=e,{el:z,dragEl:H}=A;r=!0,u=E.target===H?I(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),j.style.transitionDuration="100ms",H.style.transitionDuration="100ms",p(E),clearTimeout(d),z.style.transitionDuration="0ms",D.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",E)}function b(E){const{scrollbar:D,wrapperEl:A}=e,{el:j,dragEl:z}=D;r&&(E.preventDefault?E.preventDefault():E.returnValue=!1,p(E),A.style.transitionDuration="0ms",j.style.transitionDuration="0ms",z.style.transitionDuration="0ms",o("scrollbarDragMove",E))}function C(E){const D=e.params.scrollbar,{scrollbar:A,wrapperEl:j}=e,{el:z}=A;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),D.hide&&(clearTimeout(d),d=st(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",E),D.snapOnRelease&&e.slideToClosest())}function w(E){const{scrollbar:D,params:A}=e,j=D.el;if(!j)return;const z=j,H=A.passiveListeners?{passive:!1,capture:!1}:!1,F=A.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const L=E==="on"?"addEventListener":"removeEventListener";z[L]("pointerdown",y,H),l[L]("pointermove",b,H),l[L]("pointerup",C,F)}function S(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function k(){const{scrollbar:E,el:D}=e;e.params.scrollbar=Ci(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const A=e.params.scrollbar;if(!A.el)return;let j;if(typeof A.el=="string"&&e.isElement&&(j=e.el.querySelector(A.el)),!j&&typeof A.el=="string"){if(j=l.querySelectorAll(A.el),!j.length)return}else j||(j=A.el);e.params.uniqueNavElements&&typeof A.el=="string"&&j.length>1&&D.querySelectorAll(A.el).length===1&&(j=D.querySelector(A.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?A.horizontalClass:A.verticalClass);let z;j&&(z=j.querySelector(at(e.params.scrollbar.dragClass)),z||(z=pt("div",e.params.scrollbar.dragClass),j.append(z))),Object.assign(E,{el:j,dragEl:z}),A.draggable&&S(),j&&j.classList[e.enabled?"remove":"add"](...Ye(e.params.scrollbar.lockClass))}function x(){const E=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Ye(e.isHorizontal()?E.horizontalClass:E.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const E=e.params.scrollbar;let{el:D}=e.scrollbar;D=Re(D),D.forEach(A=>{A.classList.remove(E.horizontalClass,E.verticalClass),A.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(k(),h(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{h()}),n("setTranslate",()=>{f()}),n("setTransition",(E,D)=>{g(D)}),n("enable disable",()=>{const{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...Ye(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const T=()=>{e.el.classList.remove(...Ye(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Ye(e.params.scrollbar.scrollbarDisabledClass)),k(),h(),f()},_=()=>{e.el.classList.add(...Ye(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Ye(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:T,disable:_,updateSize:h,setTranslate:f,init:k,destroy:x})}function Tt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),m,f,g,h,I,p,y;function b(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!y&&T())}const C=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const F=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/d),s=requestAnimationFrame(()=>{C()})},w=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},S=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),C();let L=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const B=w();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(L=B,d=B,u=B),c=L;const O=e.params.speed,P=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,O,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,O,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return L>0?(clearTimeout(r),r=setTimeout(()=>{P()},L)):requestAnimationFrame(()=>{P()}),L},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,S(),o("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},x=(F,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):T()};if(e.autoplay.paused=!0,L){I&&(c=e.params.autoplay.delay),I=!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())},T=()=>{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 F=je();F.visibilityState==="hidden"&&(p=!0,x(!0)),F.visibilityState==="visible"&&T()},E=F=>{F.pointerType==="mouse"&&(p=!0,y=!0,!(e.animating||e.autoplay.paused)&&x(!0))},D=F=>{F.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&T())},A=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",D))},j=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",D)},z=()=>{je().addEventListener("visibilitychange",_)},H=()=>{je().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(A(),z(),M())}),n("destroy",()=>{j(),H(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(g||p)&&T()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():x(!0,!0)}),n("beforeTransitionStart",(F,L,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?x(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}f=!0,g=!1,p=!1,h=setTimeout(()=>{p=!0,g=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(h),clearTimeout(r),e.params.autoplay.disableOnInteraction){g=!1,f=!1;return}g&&e.params.cssMode&&T(),g=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:M,stop:k,pause:x,resume:T})}function Un(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:ke()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:m,snapGrid:f,touchEventsData:g}=e,I=ke()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const k=g.velocities.pop(),x=g.velocities.pop(),T=k.position-x.position,_=k.time-x.time;e.velocity=T/_,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(_>150||ke()-k.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 y=e.velocity*p;let b=e.translate+y;m&&(b=-b);let C=!1,w;const S=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(b<e.maxTranslate())c.freeMode.momentumBounce?(b+e.maxTranslate()<-S&&(b=e.maxTranslate()-S),w=e.maxTranslate(),C=!0,g.allowMomentumBounce=!0):b=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(b>e.minTranslate())c.freeMode.momentumBounce?(b-e.minTranslate()>S&&(b=e.minTranslate()+S),w=e.minTranslate(),C=!0,g.allowMomentumBounce=!0):b=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let k;for(let x=0;x<f.length;x+=1)if(f[x]>-b){k=x;break}Math.abs(f[k]-b)<Math.abs(f[k-1]-b)||e.swipeDirection==="next"?b=f[k]:b=f[k-1],b=-b}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-b-e.translate)/e.velocity):p=Math.abs((b-e.translate)/e.velocity),c.freeMode.sticky){const k=Math.abs((m?-b:b)-e.translate),x=e.slidesSizesGrid[e.activeIndex];k<x?p=c.speed:k<2*x?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&C?(e.updateProgress(w),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Bt(v,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(w),Bt(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Bt(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||I>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let zt;function Gn(){const t=Te(),e=je();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ii(){return zt||(zt=Gn()),zt}let Vt;function $n(t){let{userAgent:e}=t===void 0?{}:t;const i=Ii(),n=Te(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let g=o==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&h.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!f&&(r.os="android",r.android=!0),(c||m||v)&&(r.os="ios",r.ios=!0),r}function ki(t){return t===void 0&&(t={}),Vt||(Vt=$n(t)),Vt}let Ft;function Wn(){const t=Te(),e=ki();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function qn(){return Ft||(Ft=Wn()),Ft}function Yn(t){let{swiper:e,on:i,emit:n}=t;const o=Te();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:m,height:f}=e;let g=m,h=f;v.forEach(I=>{let{contentBoxSize:p,contentRect:y,target:b}=I;b&&b!==e.el||(g=y?y.width:(p[0]||p).inlineSize,h=y?y.height:(p[0]||p).blockSize)}),(g!==m||h!==f)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function Xn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Te(),s=function(c,v){v===void 0&&(v={});const m=r.MutationObserver||r.WebkitMutationObserver,f=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const h=function(){o("observerUpdate",g[0])};r.requestAnimationFrame?r.requestAnimationFrame(h):r.setTimeout(h,0)});f.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(f)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ei(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 Jn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.apply(n,i)})}),t}};function Kn(){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(Xe(n,"padding-left")||0,10)-parseInt(Xe(n,"padding-right")||0,10),i=i-parseInt(Xe(n,"padding-top")||0,10)-parseInt(Xe(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 Qn(){const t=this;function e(T,_){return parseFloat(T.getPropertyValue(t.getDirectionLabel(_))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Be(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let m=[];const f=[],g=[];let h=i.slidesOffsetBefore;typeof h=="function"&&(h=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,y=t.slidesGrid.length;let b=i.spaceBetween,C=-h,w=0,S=0;if(typeof l>"u")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*l:typeof b=="string"&&(b=parseFloat(b)),t.virtualSize=-b,c.forEach(T=>{r?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(bt(n,"--swiper-centered-offset-before",""),bt(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 k;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(T=>typeof i.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<v;T+=1){k=0;let _;if(c[T]&&(_=c[T]),M&&t.grid.updateSlide(T,_,c),!(c[T]&&Xe(_,"display")==="none")){if(i.slidesPerView==="auto"){x&&(c[T].style[t.getDirectionLabel("width")]="");const E=getComputedStyle(_),D=_.style.transform,A=_.style.webkitTransform;if(D&&(_.style.transform="none"),A&&(_.style.webkitTransform="none"),i.roundLengths)k=t.isHorizontal()?Rt(_,"width",!0):Rt(_,"height",!0);else{const j=e(E,"width"),z=e(E,"padding-left"),H=e(E,"padding-right"),F=e(E,"margin-left"),L=e(E,"margin-right"),B=E.getPropertyValue("box-sizing");if(B&&B==="border-box")k=j+F+L;else{const{clientWidth:O,offsetWidth:P}=_;k=j+z+H+F+L+(P-O)}}D&&(_.style.transform=D),A&&(_.style.webkitTransform=A),i.roundLengths&&(k=Math.floor(k))}else k=(l-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),c[T]&&(c[T].style[t.getDirectionLabel("width")]=`${k}px`);c[T]&&(c[T].swiperSlideSize=k),g.push(k),i.centeredSlides?(C=C+k/2+w/2+b,w===0&&T!==0&&(C=C-l/2-b),T===0&&(C=C-l/2-b),Math.abs(C)<1/1e3&&(C=0),i.roundLengths&&(C=Math.floor(C)),S%i.slidesPerGroup===0&&m.push(C),f.push(C)):(i.roundLengths&&(C=Math.floor(C)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup===0&&m.push(C),f.push(C),C=C+k+b),t.virtualSize+=k+b,w=k,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+I,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+b}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),M&&t.grid.updateWrapperSize(k,m),!i.centeredSlides){const T=[];for(let _=0;_<m.length;_+=1){let E=m[_];i.roundLengths&&(E=Math.floor(E)),m[_]<=t.virtualSize-l&&T.push(E)}m=T,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(d&&i.loop){const T=g[0]+b;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),E=T*i.slidesPerGroup;for(let D=0;D<_;D+=1)m.push(m[m.length-1]+E)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+T),f.push(f[f.length-1]+T),t.virtualSize+=T}if(m.length===0&&(m=[0]),b!==0){const T=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((_,E)=>!i.cssMode||i.loop?!0:E!==c.length-1).forEach(_=>{_.style[T]=`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let T=0;g.forEach(E=>{T+=E+(b||0)}),T-=b;const _=T-l;m=m.map(E=>E<=0?-h:E>_?_+I:E)}if(i.centerInsufficientSlides){let T=0;if(g.forEach(_=>{T+=_+(b||0)}),T-=b,T<l){const _=(l-T)/2;m.forEach((E,D)=>{m[D]=E-_}),f.forEach((E,D)=>{f[D]=E+_})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){bt(n,"--swiper-centered-offset-before",`${-m[0]}px`),bt(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const T=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(E=>E+T),t.slidesGrid=t.slidesGrid.map(E=>E+_)}if(v!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==y&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const T=`${i.containerModifierClass}backface-hidden`,_=t.el.classList.contains(T);v<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(T):_&&t.el.classList.remove(T)}}function Zn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function eo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function to(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),n.forEach(d=>{d.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),f=-(r-c),g=f+e.slidesSizesGrid[d],h=f>=0&&f<=e.size-e.slidesSizesGrid[d];(f>=0&&f<e.size-1||g>1&&g<=e.size||f<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),h&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-m:m}}function io(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],f=e.slidesGrid[v],g=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(t);h>=m?s=(h-m)/g:s=(h+g-f)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function no(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Be(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Vn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=zn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const xt=(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()}},Ht=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Ut=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Ht(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Ht(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Ht(t,r)};function oo(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 lo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=f=>{let g=f-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof d>"u"&&(d=oo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,d);u=f+Math.floor((d-f)/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 m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(d);else if(v){const f=e.slides.filter(h=>h.column===d)[0];let g=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(f),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[d]){const f=e.slides[d].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=d}else m=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:d}),e.initialized&&Ut(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function so(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var ao={updateSize:Kn,updateSlides:Qn,updateAutoHeight:Zn,updateSlidesOffset:eo,updateSlidesProgress:to,updateProgress:io,updateSlidesClasses:no,updateActiveIndex:lo,updateClickedSlide:so};function ro(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=Nn(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function co(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function uo(){return-this.snapGrid[0]}function po(){return-this.snapGrid[this.snapGrid.length-1]}function vo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return xi({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(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var fo={getTranslate:ro,setTranslate:co,minTranslate:uo,maxTranslate:po,translateTo:vo};function mo(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 Di(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function ho(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Di({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function go(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Di({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var bo={setTransition:mo,transitionStart:ho,transitionEnd:go};function yo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:m,wrapperEl:f,enabled:g}=l;if(l.animating&&s.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const h=Math.min(l.params.slidesPerGroupSkip,r);let I=h+Math.floor((r-h)/l.params.slidesPerGroup);I>=d.length&&(I=d.length-1);const p=-d[I];if(s.normalizeSlideIndex)for(let b=0;b<u.length;b+=1){const C=-Math.floor(p*100),w=Math.floor(u[b]*100),S=Math.floor(u[b+1]*100);typeof u[b+1]<"u"?C>=w&&C<S-(S-w)/2?r=b:C>=w&&C<S&&(r=b+1):C>=w&&(r=b)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let y;if(r>v?y="next":r<v?y="prev":y="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),y!=="reset"&&(l.transitionStart(i,y),l.transitionEnd(i,y)),!1;if(s.cssMode){const b=l.isHorizontal(),C=m?p:-p;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[b?"scrollLeft":"scrollTop"]=C})):f[b?"scrollLeft":"scrollTop"]=C,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return xi({swiper:l,targetPosition:C,side:b?"left":"top"}),!0;f.scrollTo({[b?"left":"top"]:C,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,y),e===0?l.transitionEnd(i,y):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(C){!l||l.destroyed||C.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,y))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function wo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const m=r*o.params.grid.rows;s=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const m=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-d+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function So(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function To(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const f=m(v),g=l.map(p=>m(p));let h=l[g.indexOf(f)-1];if(typeof h>"u"&&o.cssMode){let p;l.forEach((y,b)=>{f>=y&&(p=b)}),typeof p<"u"&&(h=l[p>0?p-1:p])}let I=0;if(typeof h<"u"&&(I=r.indexOf(h),I<0&&(I=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,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(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function xo(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 Eo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Co(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Be(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Be(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Io={slideTo:yo,slideToLoop:wo,slideNext:So,slidePrev:To,slideReset:xo,slideToClosest:Eo,slideToClickedSlide:Co};function ko(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Be(n,`.${i.slideClass}, swiper-slide`).forEach((v,m)=>{v.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const m=e.isElement?pt("swiper-slide",[i.slideBlankClass]):pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else yt("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 yt("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 Do(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:m,params:f}=d,{centeredSlides:g}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):f.centeredSlides&&d.snapIndex<f.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 h=f.slidesPerView;h==="auto"?h=d.slidesPerViewDynamic():(h=Math.ceil(parseFloat(f.slidesPerView,10)),g&&h%2===0&&(h=h+1));const I=f.slidesPerGroupAuto?h:f.slidesPerGroup;let p=I;p%I!==0&&(p+=I-p%I),p+=f.loopAdditionalSlides,d.loopedSlides=p;const y=d.grid&&f.grid&&f.grid.rows>1;u.length<h+p?yt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&f.grid.fill==="row"&&yt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],C=[];let w=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(D=>D.classList.contains(f.slideActiveClass))[0]):w=l;const S=n==="next"||!n,M=n==="prev"||!n;let k=0,x=0;const T=y?Math.ceil(u.length/f.grid.rows):u.length,E=(y?u[l].column:l)+(g&&typeof o>"u"?-h/2+.5:0);if(E<p){k=Math.max(p-E,I);for(let D=0;D<p-E;D+=1){const A=D-Math.floor(D/T)*T;if(y){const j=T-A-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===j&&b.push(z)}else b.push(T-A-1)}}else if(E+h>T-p){x=Math.max(E-(T-p*2),I);for(let D=0;D<x;D+=1){const A=D-Math.floor(D/T)*T;y?u.forEach((j,z)=>{j.column===A&&C.push(z)}):C.push(A)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&b.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),S&&C.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.append(u[D]),u[D].swiperLoopMoveDOM=!1}),d.recalcSlides(),f.slidesPerView==="auto"?d.updateSlides():y&&(b.length>0&&M||C.length>0&&S)&&d.slides.forEach((D,A)=>{d.grid.updateSlide(A,D,d.slides)}),f.watchSlidesProgress&&d.updateSlidesOffset(),i){if(b.length>0&&M){if(typeof e>"u"){const D=d.slidesGrid[w],j=d.slidesGrid[w+k]-D;s?d.setTranslate(d.translate-j):(d.slideTo(w+Math.ceil(k),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else if(o){const D=y?b.length/f.grid.rows:b.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[w],j=d.slidesGrid[w-x]-D;s?d.setTranslate(d.translate-j):(d.slideTo(w-x,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else{const D=y?C.length/f.grid.rows:C.length;d.slideTo(d.activeIndex-D,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(A=>{!A.destroyed&&A.params.loop&&A.loopFix({...D,slideTo:A.params.slidesPerView===f.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===f.slidesPerView?i:!1})}d.emit("loopFix")}function _o(){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 Ao={loopCreate:ko,loopFix:Do,loopDestroy:_o};function Po(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 Mo(){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 Oo={setGrabCursor:Po,unsetGrabCursor:Mo};function Lo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===je()||n===Te())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 _i(t,e,i){const n=Te(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function jo(t){const e=this,i=je();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"){_i(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?Lo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const f=r.currentX,g=r.currentY;if(!_i(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=f,r.startY=g,o.touchStartTime=ke(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let h=!0;d.matches(o.focusableElements)&&(h=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const I=h&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||I)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function No(t){const e=je(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(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=ke());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 m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let S;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(S=Math.atan2(Math.abs(f),Math.abs(m))*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()?m:f,h=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(r?1:-1),h=Math.abs(h)*(r?1:-1)),l.diff=g,g*=o.touchRatio,r&&(g=-g,h=-h);const I=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=h>0?"prev":"next";const p=i.params.loop&&!o.cssMode,y=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&y&&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 b;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&p&&y&&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,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),g>0?(p&&y&&!b&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(C=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**w))):g<0&&(p&&y&&!b&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(C=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**w))),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 Bo(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(w=>w.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=ke(),m=v-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=ke(),st(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(r.followFinger?f=d?e.translate:-e.translate:f=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const g=f>=-e.maxTranslate()&&!e.params.loop;let h=0,I=e.slidesSizesGrid[0];for(let w=0;w<u.length;w+=w<r.slidesPerGroupSkip?1:r.slidesPerGroup){const S=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[w+S]<"u"?(g||f>=u[w]&&f<u[w+S])&&(h=w,I=u[w+S]-u[w]):(g||f>=u[w])&&(h=w,I=u[u.length-1]-u[u.length-2])}let p=null,y=null;r.rewind&&(e.isBeginning?y=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const b=(f-u[h])/I,C=h<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:h+C):e.slideTo(h)),e.swipeDirection==="prev"&&(b>1-r.longSwipesRatio?e.slideTo(h+C):y!==null&&b<0&&Math.abs(b)>r.longSwipesRatio?e.slideTo(y):e.slideTo(h))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(h+C):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:h+C),e.swipeDirection==="prev"&&e.slideTo(y!==null?y:h))}}function Ai(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Ro(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function zo(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Vo(t){const e=this;xt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Fo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Pi=(t,e)=>{const i=je(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ai,!0):t[u]("observerUpdate",Ai,!0),o[d]("load",t.onLoad,{capture:!0})};function Ho(){const t=this,{params:e}=t;t.onTouchStart=jo.bind(t),t.onTouchMove=No.bind(t),t.onTouchEnd=Bo.bind(t),t.onDocumentTouchStart=Fo.bind(t),e.cssMode&&(t.onScroll=zo.bind(t)),t.onClick=Ro.bind(t),t.onLoad=Vo.bind(t),Pi(t,"on")}function Uo(){Pi(this,"off")}var Go={attachEvents:Ho,detachEvents:Uo};const Mi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function $o(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=Mi(t,n),c=Mi(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 y=n[p]&&n[p].enabled,b=d[p]&&d[p].enabled;y&&!b&&t[p].disable(),!y&&b&&t[p].enable()});const m=d.direction&&d.direction!==n.direction,f=n.loop&&(d.slidesPerView!==n.slidesPerView||m),g=n.loop;m&&i&&t.changeDirection(),Ce(t.params,d);const h=t.params.enabled,I=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!h?t.disable():!v&&h&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&I?(t.loopCreate(e),t.updateSlides()):g&&!I&&t.loopDestroy()),t.emit("breakpoint",d)}function Wo(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Te(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var qo={setBreakpoint:$o,getBreakpoint:Wo};function Yo(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 Xo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Yo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),o.classList.add(...e),t.emitContainerClasses()}function Jo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Ko={addClasses:Xo,removeClasses:Jo};function Qo(){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 Zo={checkOverflow:Qo},Gt={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 el(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Ce(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)){Ce(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Ce(e,n)}}const $t={eventsEmitter:Jn,update:ao,translate:fo,transition:bo,slide:Io,loop:Ao,grabCursor:Oo,events:Go,breakpoints:qo,checkOverflow:Zo,classes:Ko},Wt={};let qt=class Ge{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=Ce({},i),e&&!i.el&&(i.el=e);const r=je();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const m=Ce({},i,{el:v});c.push(new Ge(m))}),c}const s=this;s.__swiper__=!0,s.support=Ii(),s.device=ki({userAgent:i.userAgent}),s.browser=qn(),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:el(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Ce({},Gt,d);return s.params=Ce({},u,Wt,i),s.originalParams=Ce({},s.params),s.passedParams=Ce({},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=Be(i,`.${n.slideClass}, swiper-slide`),l=wt(o[0]);return wt(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=Be(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,m;for(let f=u+1;f<l.length;f+=1)l[f]&&!m&&(v+=Math.ceil(l[f].swiperSlideSize),c+=1,v>d&&(m=!0));for(let f=u-1;f>=0;f-=1)l[f]&&!m&&(v+=l[f].swiperSlideSize,c+=1,v>d&&(m=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&xt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Be(n,o())[0];return!r&&i.params.createElements&&(r=pt("div",i.params.wrapperClass),n.append(r),Be(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Xe(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Xe(n,"direction")==="rtl"),wrongRTL:Xe(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?xt(i,l):l.addEventListener("load",r=>{xt(i,r.target)})}),Ut(i),i.initialized=!0,Ut(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,Ln(n)),n.destroyed=!0),null}static extendDefaults(e){Ce(Wt,e)}static get extendedDefaults(){return Wt}static get defaults(){return Gt}static installModule(e){Ge.prototype.__modules__||(Ge.prototype.__modules__=[]);const i=Ge.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ge.installModule(i)),Ge):(Ge.installModule(e),Ge)}};Object.keys($t).forEach(t=>{Object.keys($t[t]).forEach(e=>{qt.prototype[e]=$t[t][e]})}),qt.use([Yn,Xn]);const Oi=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function tt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function rt(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:tt(e[n])&&tt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:rt(t[n],e[n]):t[n]=e[n]})}function Li(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function ji(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Ni(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Bi(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 tl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function il(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:v,navigation:m,scrollbar:f,virtual:g,thumbs:h}=e;let I,p,y,b,C,w,S,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(I=!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&&(y=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&f&&!f.el&&(b=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(C=!0);const k=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?w=!0:!c.loop&&n.loop?S=!0:M=!0),u.forEach(x=>{if(tt(c[x])&&tt(n[x]))Object.assign(c[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&k(x);else{const T=n[x];(T===!0||T===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?T===!1&&k(x):c[x]=n[x]}}),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),I&&h.init()&&h.update(!0),p&&(e.controller.control=c.controller.control),y&&(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()),b&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),f.init(),f.updateSize(),f.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)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||M)&&e.loopDestroy(),(S||M)&&e.loopCreate(),e.update()}function nl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};rt(i,Gt),i._emitClasses=!0,i.init=!1;const l={},r=Oi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?tt(t[d])?(i[d]={},o[d]={},rt(i[d],t[d]),rt(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function ol(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Li(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),ji(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Ni(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function ll(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Oi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(tt(t[d])&&tt(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const sl=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 Et(){return Et=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},Et.apply(this,arguments)}function Ri(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function zi(t){const e=[];return a.Children.toArray(t).forEach(i=>{Ri(i)?e.push(i):i.props&&i.props.children&&zi(i.props.children).forEach(n=>e.push(n))}),e}function al(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(Ri(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=zi(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 rl(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function vt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const Yt=a.createContext(null),Vi=()=>a.useContext(Yt),dl=a.createContext(null),it=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,m]=a.useState(null),[f,g]=a.useState(!1),h=a.useRef(!1),I=a.useRef(null),p=a.useRef(null),y=a.useRef(null),b=a.useRef(null),C=a.useRef(null),w=a.useRef(null),S=a.useRef(null),M=a.useRef(null),{params:k,passedParams:x,rest:T,events:_}=nl(s),{slides:E,slots:D}=al(l),A=()=>{g(!f)};Object.assign(k.on,{_containerClasses(L,B){c(B)}});const j=()=>{Object.assign(k.on,_),d=!0;const L={...k};if(delete L.wrapperClass,p.current=new qt(L),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=E;const B={cache:!1,slides:E,renderExternal:m,renderExternalUpdate:!1};rt(p.current.params.virtual,B),rt(p.current.originalParams.virtual,B)}};I.current||j(),p.current&&p.current.on("_beforeBreakpoint",A);const z=()=>{d||!_||!p.current||Object.keys(_).forEach(L=>{p.current.on(L,_[L])})},H=()=>{!_||!p.current||Object.keys(_).forEach(L=>{p.current.off(L,_[L])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",A)}),a.useEffect(()=>{!h.current&&p.current&&(p.current.emitSlidesClasses(),h.current=!0)}),vt(()=>{if(e&&(e.current=I.current),!!I.current)return p.current.destroyed&&j(),ol({el:I.current,nextEl:C.current,prevEl:w.current,paginationEl:S.current,scrollbarEl:M.current,swiper:p.current},k),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),vt(()=>{z();const L=ll(x,y.current,E,b.current,B=>B.key);return y.current=x,b.current=E,L.length&&p.current&&!p.current.destroyed&&il({swiper:p.current,slides:E,passedParams:x,changedParams:L,nextEl:C.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:S.current}),()=>{H()}}),vt(()=>{sl(p.current)},[v]);function F(){return k.virtual?rl(p.current,E,v):E.map((L,B)=>a.cloneElement(L,{swiper:p.current,swiperSlideIndex:B}))}return a.createElement(n,Et({ref:I,className:Bi(`${u}${i?` ${i}`:""}`)},T),a.createElement(dl.Provider,{value:p.current},D["container-start"],a.createElement(o,{className:tl(k.wrapperClass)},D["wrapper-start"],F(),D["wrapper-end"]),Li(k)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:w,className:"swiper-button-prev"}),a.createElement("div",{ref:C,className:"swiper-button-next"})),Ni(k)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),ji(k)&&a.createElement("div",{ref:S,className:"swiper-pagination"}),D["container-end"]))});it.displayName="Swiper";const ze=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[m,f]=a.useState("swiper-slide"),[g,h]=a.useState(!1);function I(C,w,S){w===v.current&&f(S)}vt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",I),()=>{l&&l.off("_slideClass",I)}}}),vt(()=>{l&&v.current&&!l.destroyed&&f(l.getSlideClasses(v.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(p):n,b=()=>{h(!0)};return a.createElement(i,Et({ref:v,className:Bi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:b},c),r&&a.createElement(Yt.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},y(),s&&!g&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement(Yt.Provider,{value:p},y(),s&&!g&&a.createElement("div",{className:"swiper-lazy-preloader"})))});ze.displayName="SwiperSlide";const cl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",ul=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const m=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?u.current=f:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=he.debounce(()=>{e?.()},300);return ai.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:cl,alt:"close",className:"modal-icon"})),i))),u.current)};var Ct=a.memo(ul);const pl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},vl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,m]=a.useState(!1),f=Number(i?.lineClamp||2),g=a.useRef(null),h=a.useRef(null),I=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?pl(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,y;((p=h?.current)===null||p===void 0?void 0:p.offsetHeight)>((y=g?.current)===null||y===void 0?void 0:y.offsetHeight)&&s?m(!0):m(!1),h.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:g,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:h,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??I},u?r||"show less":l||"show more"))};var It=a.memo(vl);const fl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState();return a.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),a.useEffect(()=>{d(i)},[i]),a.useRef(null),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}}))});var De=a.memo(fl);const ml=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:m,onClick:f,schema:g,isDefault:h,bottom_image:I,tipText:p,isPost:y,viewTime:b,rec:C,swiper:w,commodityStyles:S,buttonStyle:M,index:k}=t,x=be(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:T}=re(),{popupDetailData:_,bffEventReport:E,isPreview:D,bffFbReport:A}=re(),{jumpToWeb:j,productView:z}=Le(),H=a.useRef(null),[F,L]=a.useState(!1),B=y?C:_,O=y?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,P=y?(i=B?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=B?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,q=y?k:_?.index,R=()=>{O?.link&&(j(B,O,P,q),y||z(B,O,P,b||H.current,q),window.location.href=window.getJointUtmLink(O.link))};a.useEffect(()=>{y||A?.({eventName:"ProductView"})},[y,A]),a.useEffect(()=>{const W=()=>{H.current=new Date};return W(),window.addEventListener("pageshow",W),()=>{window.removeEventListener("pageshow",W)}},[]);const U=a.useMemo(()=>{var W,oe,ne,X,de;return O?.currency&&O?.price?`${(ne=(oe=(W=O?.currency)===null||W===void 0?void 0:W.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&ne!==void 0?ne:""}${(de=(X=O?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&de!==void 0?de:""}`:"$7,000"},[O?.price,O?.currency]),Q=D?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:W})=>{var oe,ne,X;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:S?.collection,hidden:!!O&&(!O?.collection||O?.collection==="")},(oe=O?.collection)!==null&&oe!==void 0?oe:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:S?.title,hidden:!!O&&!O?.title},(ne=O?.title)!==null&&ne!==void 0?ne:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:S?.price,hidden:!!O&&!O?.price},U),a.createElement("div",{hidden:!!O&&(!O?.info||O?.info==="")},a.createElement(It,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>L(!0),isPost:W,text:(X=O?.info)!==null&&X!==void 0?X:`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})))},se=()=>{var W;return a.createElement(a.Fragment,null,(h||O?.link)&&a.createElement("button",{onClick:R,className:"pb-commondity-btn",style:M},(W=A?.enTitle)!==null&&W!==void 0?W:"Purchase on Website"))};return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:Y.css(Object.assign({},v))},x),O&&((r=O?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:Q,modules:[St,Tt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:w?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:w?.delay*1e3}},(s=O?.homePage)===null||s===void 0?void 0:s.map(W=>a.createElement(ze,{key:W},a.createElement("div",{style:{overflow:"hidden",width:Q,height:Q}},a.createElement(De,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:W}))))),!(!((d=O?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:Y.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:Y.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=T?.bottom_image)!==null&&u!==void 0?u:I,alt:""})),a.createElement("div",{className:"pb-commondity-content"},te({isPost:y}))),se(),a.createElement(Ct,{visible:F,onClose:()=>j(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},te({isPost:!1})),se()))};var ml=a.memo(fl);const hl=Ee(ml,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Pn},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 gl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],bl=[{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"]}],Fi="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 yl=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}},wl=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:d}=t,u=be(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick"]);const{popupDetailData:c}=re(),{jumpToWeb:v}=Le(),m=typeof o=="string"?o:yl(o),f=()=>{var g,h,I;if(r){const p=c,y=(g=p?.video)===null||g===void 0?void 0:g.bindProduct,b=(I=(h=p?.video)===null||h===void 0?void 0:h.bindProduct)===null||I===void 0?void 0:I.bindCta,C=c?.index;v(p,y,b,C)}l||s?.(),d?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${Y.css(Object.assign({},n))}`},u),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:m??Fi})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",onClick:f},i))};var Sl=a.memo(wl);const Tl=Ee(Sl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:bl,bindableProps:[],interactionRender:gl},defaulSetting:{props:{icon:Fi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Xt,Jt,xl=[{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:ie,name:["fontFamily"],initialValue:(Xt=ie?.[0])===null||Xt===void 0?void 0:Xt.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:ie,initialValue:(Jt=ie?.[0])===null||Jt===void 0?void 0:Jt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const El=t=>{var e,i,n,o,l,r,s,d,u,c,v,m,{style:f,isDefault:g,rec:h,viewTime:I,isPost:p,bottom_image:y,tipText:b,swiper:C,commodityStyles:w,buttonStyle:S,index:M}=t,k=be(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:x}=re(),{popupDetailData:T,bffEventReport:_,isPreview:E,swiperRef:D,bffFbReport:P}=re(),{jumpToWeb:L,productView:z}=Le(),G=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[F,j]=a.useState(!1),B=a.useRef(null),O=p?h:T,A=p?O?.product:(e=O?.video)===null||e===void 0?void 0:e.bindProduct,q=p?(i=O?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=O?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,R=p?M:T?.index,H=()=>{A?.link&&(L(O,A,q,R),p||z(O,A,q,I||B.current,R),window.location.href=window.getJointUtmLink(A.link))};a.useEffect(()=>{p||P?.({eventName:"ProductView"})},[p,P]),a.useEffect(()=>{const W=()=>{B.current=new Date};return W(),window.addEventListener("pageshow",W),()=>{window.removeEventListener("pageshow",W)}},[]);const Q=a.useMemo(()=>{var W,oe,ne,X,de;return A?.currency&&A?.price?`${(ne=(oe=(W=A?.currency)===null||W===void 0?void 0:W.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&ne!==void 0?ne:""}${(de=(X=A?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&de!==void 0?de:""}`:"\xA3102,300.00"},[A?.price,A?.currency]),te=E?375:(l=f?.width)!==null&&l!==void 0?l:window.innerWidth,se=({isPost:W})=>a.createElement("div",{hidden:!!A&&(!A?.info||A?.info==="")},a.createElement(It,{isPost:W,onClick:()=>j(!0),className:"pb-commondityDiroNew-info",style:w?.info,foldText:b?.foldText,unfoldText:b?.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 a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:G,className:Y.css(Object.assign({},f))},k),A&&((r=A?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:te,modules:[St,Tt],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(W=>a.createElement(ze,{key:W},a.createElement("div",{style:{overflow:"hidden",width:te,height:te}},a.createElement(De,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:W}))))),!(!((d=A?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:Y.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:Y.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=x?.bottom_image)!==null&&u!==void 0?u:y,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:w?.title},(c=A?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!A&&(!A?.collection||A?.collection===""),style:w?.collection},A?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.price,style:w?.price},Q),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.taxInfo,style:w?.taxInfo},(v=A?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!A||A?.link)&&a.createElement("button",{onClick:H,className:"pb-commondityDiroNew-btn",style:S},(m=q?.enTitle)!==null&&m!==void 0?m:"Shop now"),se({isPost:p}))),a.createElement(Ct,{visible:F,onClose:()=>j(!1)},se({isPost:!1})))};var Cl=a.memo(El);const Il=Ee(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:xl},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 Kt,Qt,_e=[{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:ie,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Kt=ie?.[0])===null||Kt===void 0?void 0:Kt.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:ie,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Qt=ie?.[0])===null||Qt===void 0?void 0:Qt.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Hi(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Dl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;be(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Hi(d),{popup:c}=He(),{setPopupDetailData:v,ctaEvent:m}=re(),{jumpToWeb:f}=Le();a.useEffect(()=>{var h,I;if(u&&d?.current){const p=(I=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&I!==void 0?I:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,m,s]);const g=he.throttle(()=>{var h,I,p,y,b,C,w,S;const M=(I=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&I!==void 0?I:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((y=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||y===void 0)&&y.link){const k=(b=e?.video)===null||b===void 0?void 0:b.bindCta,x=(C=e?.video)===null||C===void 0?void 0:C.bindProduct;f(e,x,k,s),window.location.href=window.getJointUtmLink((S=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||S===void 0?void 0:S.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:g},i)};var ft=a.memo(Dl),_l={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Al=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:I}=re(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:I?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ft,Object.assign({isExternalLink:g,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},h),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:_l["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Pl=a.memo(Al);const Ml=Ee(Pl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:kl,bindableProps:[],settingRender:_e},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 Ol=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ll=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,m=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:f}=re(),g=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ft,Object.assign({isExternalLink:v,rec:d,className:Y.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var jl=a.memo(Ll);const Nl=Ee(jl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ol,settingRender:_e?.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 Bl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Rl=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:m}=t,f=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:h}=re(),{jumpToWeb:I}=Le(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,y=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,b=()=>{p?.link&&(I(u,y,p,m),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ft,Object.assign({index:m,rec:u,className:Y.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},f,{onClick:b}),a.createElement("div",{className:Y.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(De,{className:Y.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})),a.createElement("div",{className:Y.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Bl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var zl=a.memo(Rl);const Vl=Ee(zl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:_e?.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 Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ul=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:I}=re(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:I?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ft,Object.assign({isExternalLink:g,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},h),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Hl["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Gl=a.memo(Ul);const $l=Ee(Gl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Fl,settingRender:_e,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 Wl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Yl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:I}=re(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:I?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ft,Object.assign({isExternalLink:g,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},h),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ql["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop now")))};var Xl=a.memo(Yl);const Jl=Ee(Xl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Wl,bindableProps:[],settingRender:_e},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 Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ql=({children:t,isPadding:e=!0})=>a.createElement(it,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Hn,Fn,Vn],style:{padding:e?"0 12px 0 20px":0}},t);var kt=a.memo(Ql);const Zl=({src:t,rec:e,item:i,index:n})=>{const o=a.useRef(null),l=Hi(o),{ctaEvent:r}=re();return a.useEffect(()=>{l&&t&&o?.current&&r?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,r,i,n]),a.createElement("div",{ref:o,hidden:!t,className:Y.css({width:"100%",height:"100%"})},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var Zt=a.memo(Zl),es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const ts=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=be(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:g,sxpParameter:h}=re(),{popup:I}=He(),{jumpToWeb:p}=Le(),[y,b]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=he.throttle(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,v),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:v})),c?w?.link&&(p(r,w,w.bindCta,v),window.location.href=window.getJointUtmLink(w.link)):s?.()},I?.duration);return a.createElement(kt,{isPadding:!!r},y?.map(w=>{var S,M,k,x,T,_;return a.createElement(ze,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>C(w)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Zt,{src:(k=(M=(S=w?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:h?.bottom_image)!==null&&k!==void 0?k:d,rec:r,item:w,index:v})),a.createElement("div",{className:Y.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:es["two-line-ellipsis"],style:u?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=w?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var is=a.memo(ts);const ns=Ee(is,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Kl,bindableProps:[],settingRender:_e},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 os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ls={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=be(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:f}=re(),{ctaEvent:g,setPopupDetailData:h}=re(),{popup:I}=He(),[p,y]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:b}=Le(),C=he.throttle(w=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,v),h?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:v})),c?w?.link&&(b(r,w,w.bindCta,v),window.location.href=window.getJointUtmLink(w.link)):s?.()},I?.duration);return a.createElement(kt,{isPadding:!!r},p?.map(w=>{var S,M,k,x,T,_;return a.createElement(ze,Object.assign({hidden:r&&!w?.bindCta,key:w.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>C(w)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Zt,{src:(k=(M=(S=w?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&k!==void 0?k:d,rec:r,item:w,index:v})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ls["two-line-ellipsis"],style:u?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=w?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var as=a.memo(ss);const rs=Ee(as,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:os,settingRender:_e,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 ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],cs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=be(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:g,sxpParameter:h}=re(),{popup:I}=He(),{jumpToWeb:p}=Le(),[y,b]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=he.throttle(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,v),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:v})),c?w?.link&&(p(r,w,w.bindCta,v),window.location.href=window.getJointUtmLink(w.link)):s?.()},I?.duration);return a.createElement(kt,{isPadding:!!r},y?.map(w=>{var S,M,k,x,T,_;return a.createElement(ze,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>C(w)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Zt,{src:(k=(M=(S=w?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:h?.bottom_image)!==null&&k!==void 0?k:d,rec:r,item:w,index:v})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:cs["tow-line-ellipsis"],style:u?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=w?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop now")))}))};var ps=a.memo(us);const vs=Ee(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ds,bindableProps:[],settingRender:_e},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 ei,ti,fs=[{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:ie,name:["fontFamily"],initialValue:(ei=ie?.[0])===null||ei===void 0?void 0:ei.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:ie,initialValue:(ti=ie?.[0])===null||ti===void 0?void 0:ti.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 ms=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=re();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Ui=a.memo(ms),hs=null,gs="3d989325-e7d6-4a74-8a97-98febdf5b567",bs=null,ys=null,ws={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"},Ss=[{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}],Ts="Handbags",xs={productUserId:hs,requestId:gs,channel:bs,rtc:ys,tag:ws,recList:Ss,hashTag:Ts};const Es=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=re(),[m,f]=a.useState(!1),g=a.useRef(null),h=a.useRef(null),I=a.useRef(null),p=a.useRef(null),[y,b]=a.useState(""),C=a.useMemo(()=>{var x,T,_,E,D,P,L,z,G,F,j,B;return!((x=e?.video)===null||x===void 0)&&x.cover?(T=e?.video)===null||T===void 0?void 0:T.cover:!((_=e?.video)===null||_===void 0)&&_.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((P=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||P===void 0)&&P.length?(z=(L=e?.video)===null||L===void 0?void 0:L.imgUrls)===null||z===void 0?void 0:z[0]:!((F=(G=e?.product)===null||G===void 0?void 0:G.homePage)===null||F===void 0)&&F.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]),w=a.useMemo(()=>{var x,T;return((x=e?.product)===null||x===void 0?void 0:x.title)||((T=e?.video)===null||T===void 0?void 0:T.title)||null},[e]),S=a.useMemo(()=>{var x,T,_,E,D,P,L,z,G;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((T=e?.product)===null||T===void 0)&&T.price)?`${(P=(D=(E=(_=e?.product)===null||_===void 0?void 0:_.currency)===null||E===void 0?void 0:E.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&P!==void 0?P:""}${(G=(z=(L=e?.product)===null||L===void 0?void 0:L.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:null},[e]);a.useEffect(()=>{const x=new IntersectionObserver(T=>{T.forEach(_=>{if(_.isIntersecting){if(h.current===null||C==="")return;m&&y?g.current.setSrc(y):g.current.setSrc(C),x.unobserve(h.current)}})});return x.observe(h.current),()=>{x.disconnect()}},[C,m,y]);const M=(x,T,_)=>{const E=x/T;return _/E};a.useEffect(()=>{const x=I?.current;x===null||C===""||!m||(x.src=C,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const T=p?.current;if(!T)return;const _=T.getContext("2d"),E=window?.innerWidth/2,D=M(x.videoWidth,x.videoHeight,E);T.height=D,T.width=E,_?.drawImage(x,0,0,T.width,T.height),b(T.toDataURL()),x.remove(),T.remove()})},[C,m]);const k=()=>{o(),d?.(n),setTimeout(()=>{var x;(x=s?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:h,className:"list-content-listItem",key:i,onClick:k,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},m&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(De,{loading:"lazy",className:"list-content-listItem-picture-img",ref:g})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${S?"list-content-listItem-info-nowrap":""}`,style:l?.title},w&&w),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!S},S)))};function Cs(t){var e,i,n,o,l,r,s,d,u,c,v,m,{reportTagsView:f}=t,g=be(t,["reportTagsView"]);const{waterFallData:h,getRecommendVideos:I,hashTagSize:p,loadingImage:y,isOpenHashTag:b}=re(),[C,w]=a.useState(),[S,M]=a.useState(),[k,x]=a.useState(!1),T=a.useRef(null),[_,E]=a.useState(!1);a.useCallback(()=>{_||(E(!0),h&&I?.({hashTag:h?.hashTag,"itemFilter.itemId":h?.itemId,"itemFilter.itemType":h?.itemType}).then(P=>{var L;w(C?.concat((L=P?.recList)!==null&&L!==void 0?L:[])),E(!1)}))},[h,I,C,_]),a.useEffect(()=>{var P,L;if(x(!0),h&&I?.({hashTag:h?.hashTag,"itemFilter.itemId":h?.itemId,"itemFilter.itemType":h?.itemType,defaultSize:p,maxSize:p}).then(z=>{var G,F;M(z),w((F=(G=z?.recList)===null||G===void 0?void 0:G.filter(j=>j?.video!==null||j?.product!==null))!==null&&F!==void 0?F:[]),x(!1)}),b){const z=xs;M(z),w((L=(P=z?.recList)===null||P===void 0?void 0:P.filter(G=>G?.video!==null||G?.product!==null))!==null&&L!==void 0?L:[]),x(!1)}},[h,I,p,b]);const D=()=>{var P,L;!((P=S?.tag)===null||P===void 0)&&P.link&&(f(),window.location.href=(L=S?.tag)===null||L===void 0?void 0:L.link)};return a.createElement(a.Fragment,null,k?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:y,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:T},a.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),a.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"),a.createElement("div",{className:"list-content"},C?.map((P,L)=>a.createElement(Es,Object.assign({key:L,index:L,rec:P,list:C,reportTagsView:f},g)))),a.createElement("div",{hidden:!_,style:{textAlign:"center"}},"loading..."),a.createElement("div",{hidden:!(!((r=S?.tag)===null||r===void 0)&&r.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}})),a.createElement("div",{className:"list-bottom",hidden:!(!((c=S?.tag)===null||c===void 0)&&c.link),style:g?.buttonBgStyle}),a.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"})},a.createElement("button",{className:"list-btn",style:g?.buttonStyle,onClick:D},((m=S?.tag)===null||m===void 0?void 0:m.linkTitle)||"Shop the collection"))))}var Is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ks=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:g}=re();a.useRef(null);const h=a.useRef(null),[I,p]=a.useState();a.useEffect(()=>{const S=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?h.current=M:(h.current=document.createElement("div"),h.current.setAttribute("id","water-fall"),S?.appendChild(h.current))},[]);const y=()=>{const S=he.isEqual(c,s);!S&&s&&s?.length&&d?.(s),w(),r?.(void 0),m?.(!1),setTimeout(()=>{var M,k;S||(k=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||k===void 0||k.slideTo(u,0,!1),n?.(!1)},0)},[b,C]=a.useState();a.useEffect(()=>{i&&C(i)},[i]);const w=a.useCallback(()=>{var S,M,k,x,T,_;const E=b?.rec;if(!E)return;let D="";f?D="hashTagPage":!((S=E?.video)===null||S===void 0)&&S.url?D="videoPage":!((k=(M=E?.video)===null||M===void 0?void 0:M.imgUrls)===null||k===void 0)&&k.length&&(D="imagePage"),g?.({eventInfo:{contentId:(x=E?.video)===null||x===void 0?void 0:x.itemId,position:u+"",contentTags:JSON.stringify((T=E?.video)===null||T===void 0?void 0:T.tags),traceInfo:(_=E?.video)===null||_===void 0?void 0:_.traceInfo,hashTags:JSON.stringify([b?.hashTag]),fromKName:D,fromKPage:location?.href,timeOnSite:Math.floor((new Date-I)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[b,g,I,f,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const S=()=>{p(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),h.current?ai.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Ui,{icon:Is,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:y}),a.createElement(Cs,Object.assign({reportTagsView:w},t))),h.current):null};var Gi=a.memo(ks);const Ds=t=>a.createElement(Gi,Object.assign({},t));var _s=a.memo(Ds);const As=Ee(_s,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:fs,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 ii=Object.freeze({__proto__:null,Appoint:Nl,AppointForm:An,Commodity:Ml,CommodityDetail:hl,CommodityDetailDiroNew:Il,CommodityDiro:$l,CommodityDiroNew:Jl,HashTag:As,Link:Vl,MultiCommodity:rs,MultiCommodityDiro:ns,MultiCommodityDiroNew:vs,Prompt:Tl});const Ps="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Ms="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Os=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=be(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=re(),[c,v]=a.useState(e),m=Ie(Ms),f=Ie(Ps),g=he.debounce(()=>Se(void 0,void 0,void 0,function*(){var h,I,p,y,b,C,w,S,M,k,x,T,_,E,D,P,L,z,G,F;if(c){v(!1);const j=(p=yield d?.({videoItemId:(I=(h=o.video)===null||h===void 0?void 0:h.itemId)!==null&&I!==void 0?I:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(b=(y=o.video)===null||y===void 0?void 0:y.itemId)!==null&&b!==void 0?b:"",contentName:(w=(C=o.video)===null||C===void 0?void 0:C.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((M=(S=o.video)===null||S===void 0?void 0:S.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((k=o.video)===null||k===void 0)&&k.url?"video":"image",traceInfo:(x=o.video)===null||x===void 0?void 0:x.traceInfo}}),j||v(!0)}else{v(!0);const j=(T=yield s?.({content:JSON.stringify(o)}))!==null&&T!==void 0?T:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(E=(_=o.video)===null||_===void 0?void 0:_.itemId)!==null&&E!==void 0?E:"",contentName:(P=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((z=(L=o.video)===null||L===void 0?void 0:L.tags)!==null&&z!==void 0?z:[]),position:l+"",contentFormat:!((G=o.video)===null||G===void 0)&&G.url?"video":"image",traceInfo:(F=o.video)===null||F===void 0?void 0:F.traceInfo}}),j||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:g}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||f,alt:"icon"}))};var $i=a.memo(Os);const Ls=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:m,openHashtag:f,bffFbReport:g}=re(),h=a.useRef(0),[I,p]=a.useState(!1),[y,b]=a.useState(!0),{isActive:C}=Vi(),w=a.useRef(null),[S,M]=a.useState(""),k=`pb-cache-video-${e}`,x=a.useRef(null),T=a.useMemo(()=>r?.mode==="2",[r]),_=a.useMemo(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),E=a.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||S},[S,t]),D=a.useMemo(()=>T?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[T]),P=a.useMemo(()=>r?.bgWay==="1",[r]),L=a.useMemo(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const z=a.useCallback(()=>{s&&s?.play()},[s]),G=Ie("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=a.useCallback(()=>{var R,H,Q,te,se,W,oe,ne,X;if(!s)return;p(!0),u(!1);const de=n[e];if(de&&s?.duration()){h.current=s?.currentTime()||0;const Ae=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=((H=s?.currentTime())!==null&&H!==void 0?H:0).toFixed(2),U=y?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(te=(Q=de.video)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",contentName:(W=(se=de.video)===null||se===void 0?void 0:se.title)!==null&&W!==void 0?W:"",playType:U,startTime:V,videoDuration:Ae,contentTags:JSON.stringify((ne=(oe=de.video)===null||oe===void 0?void 0:oe.tags)!==null&&ne!==void 0?ne:[]),position:e+"",contentFormat:"video",traceInfo:(X=de.video)===null||X===void 0?void 0:X.traceInfo}}),b(!1)}},[c,n,e,y,s]),j=a.useCallback(()=>{var R;if(!s||S||!T)return;const H=document.getElementById("player-container-id_html5_api");if(!H||(H.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!w||!w.current||P))return;const Q=()=>{const te=H,se=w?.current,W=se.getContext("2d"),oe=window?.innerWidth,ne=window?.innerHeight;se.height=ne,se.width=oe,W?.drawImage(te,0,0,se.width,se.height),M(se.toDataURL())};Q(),setTimeout(()=>{Q()},500)},[s,P,t,S,T]),B=a.useCallback(()=>{s&&j()},[s,j]);a.useCallback(()=>{p(!0)},[]);const O=a.useCallback(R=>()=>{if(!s||!I)return;const H=s?.paused();switch(R){case"start":if(!H)return;s?.play(),u(!1);break;case"pause":if(H)return;s?.pause(),u(!0);break;default:H?s?.play():s?.pause(),u(!H);break}},[I,s]),A=a.useCallback(()=>{var R,H,Q,te,se,W,oe,ne,X;if(!s||l!==e)return;const de=n[e],Ae=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=((H=s?.currentTime())!==null&&H!==void 0?H:0).toFixed(2);if(s?.duration()){const U=(s?.currentTime()-h.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(te=(Q=de.video)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",contentName:(W=(se=de.video)===null||se===void 0?void 0:se.title)!==null&&W!==void 0?W:"",endTime:V,videoDuration:Ae,playDuration:U,contentTags:JSON.stringify((ne=(oe=de.video)===null||oe===void 0?void 0:oe.tags)!==null&&ne!==void 0?ne:[]),position:e+"",contentFormat:"video",traceInfo:(X=de.video)===null||X===void 0?void 0:X.traceInfo}})}},[n,e,c,s,l]);a.useEffect(()=>{if(!C||!s)return;const R=t.video.url;if(!R)return;s?.src(R),u(!1);const H=document.querySelector(`#${k}`),Q=document.querySelector("#player-container-id"),te=document.querySelector("#player-container-id-copy");if(!(!Q&&!te))return H?.appendChild(Q||te),s?.on("loadedmetadata",B),s?.on("loadeddata",j),s?.on("playing",F),s?.on("pause",A),s?.on("ended",z),()=>{te?.appendChild(Q),s?.off("loadedmetadata",B),s?.off("loadeddata",j),s?.off("playing",F),s?.off("pause",A),s?.off("ended",z)}},[C,k,t,s]),a.useEffect(()=>{!s||!I||(C?(g?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[C,I,s]),a.useEffect(()=>{if(!C||!s)return;!s?.paused()&&f?s?.pause():f||s?.play()},[f,C,s]),a.useEffect(()=>{if(!C)return;const R=()=>{O("start")(),g?.({eventName:"ViewContent"})},H=O("pause");return Ue.on(Oe.PAGE_DID_SHOW,R),Ue.on(Oe.PAGE_DID_HIDE,H),()=>{Ue.off(Oe.PAGE_DID_SHOW,R),Ue.off(Oe.PAGE_DID_HIDE,H)}},[O,C]);const q=a.useMemo(()=>!v?.placeholder_image||I?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[I,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const R=()=>{var H;l===e&&(!((H=t?.video)===null||H===void 0)&&H.url)&&s&&!d&&O("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,O,d]),t.video?a.createElement(a.Fragment,null,T?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:O(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},L)},!P&&a.createElement(De,{src:E,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},D)}),a.createElement("canvas",{ref:w,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:_,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:x,id:k,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:G}))),q):a.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:O()},a.createElement("div",{className:"n-full-screen",ref:x,id:k,style:{width:"100%",height:"100%"}}),q,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:G}))):null};var js=a.memo(Ls);const Ns=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Wi=a.memo(Ns);const Bs=({imageUrl:t})=>{const[e,i]=a.useState(!0);He(),a.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Ie("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=a.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return a.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},a.createElement("img",{src:t||n}))},qi=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},(!o||!s)&&a.createElement(De,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(De,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Rs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Vi(),{sxpParameter:v,openHashtag:m}=re(),[f,g]=a.useState(!1);return a.useEffect(()=>{f&&c?(u?.current&&u.current.swiper.autoplay.start(),m?l(n):r(o)):(g(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,m,o,r,f]),a.createElement(it,{ref:u,defaultValue:0,direction:"horizontal",modules:[St,Tt],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(h=>a.createElement(ze,{key:h},a.createElement(qi,{src:h,height:i,imgUrlsPostConfig:s}))))};var zs=a.memo(Rs);const Vs=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:m}=re(),f=g=>{v?m?.(!0):c?.(n),d?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(kt,null,t?.map((g,h)=>a.createElement(ze,{key:h,hidden:r?!1:h>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(g)},`#${g}`))))};var Yi=a.memo(Vs),Fs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Dt(t){return a.memo(function(e){const{$store:i}=mn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=he.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=be(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,g)=>{var h,I;if(g){const p=(I=(h=he.get(i,g))!==null&&h!==void 0?h:e[v])!==null&&I!==void 0?I:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=he.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Hs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=He(),l=a.useMemo(()=>{var r,s,d,u,c,v,m,f,g,h,I,p,y,b,C,w,S,M,k,x,T,_,E,D,P,L,z,G,F,j,B;if(!t?.video)return null;let O=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?O="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?O="\u5546\u54C1CTA":O=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const A=i?.[O];if(((v=A?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=A?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((h=A?.item)===null||h===void 0?void 0:h.type)==="CommodityDiroNew"&&!(!((I=t?.video)===null||I===void 0)&&I.bindProduct)||((p=A?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((b=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||b===void 0)&&b.length)||((C=A?.item)===null||C===void 0?void 0:C.type)==="MultiCommodityDiro"&&!(!((S=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||S===void 0)&&S.length)||((M=A?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((x=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||x===void 0)&&x.length))return null;if(A&&n){const q=n[(T=A?.item)===null||T===void 0?void 0:T.type],R=Dt(q),H=(_=q?.extend)===null||_===void 0?void 0:_.defaulSetting,Q=((P=(D=(E=A?.item)===null||E===void 0?void 0:E.event)===null||D===void 0?void 0:D.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return a.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},H?.style),(L=A?.item)===null||L===void 0?void 0:L.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},H?.textStyle),(z=A?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(G=A?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&F!==void 0?F:[]},H?.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:Q,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var Xi=a.memo(Hs);const Ji=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,a.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})},(s=t?.content)!==null&&s!==void 0?s:"")))},ni="FOR U",Us=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ni),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u,waterFallData:c}=re(),v=a.useMemo(()=>[ni,...t],[t]),m=f=>()=>{if(f===i)return;let g;f!==ni&&(g=f),d?.(!0),o?.({themeTag:g}).then(h=>{var I,p,y,b;Ue.emit(Oe.CHANGE_THEME_TAG,g),l?.((I=h?.recList)!==null&&I!==void 0?I:[]),r?.((p=h?.recList)!==null&&p!==void 0?p:[]),e?.(0),s?.(0),(b=(y=u?.current)===null||y===void 0?void 0:y.swiper)===null||b===void 0||b.slideTo(0)}).finally(()=>{d?.(!1)}),n(f)};return c||t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},v.map(f=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${f===i?"clc-sxp-tagbar-list-item-active":""}`,key:f,onClick:m(f)},f))))};var Ki=a.memo(Us);const Qi=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:m=[],licenseUrl:f})=>{var g,h,I,p,y,b,C;const{schema:w}=He(),[S,M]=a.useState(0),k=a.useRef(0),[x,T]=a.useState(!1),[_,E]=a.useState(!0),D=a.useRef(),P=a.useRef(),[L,z]=a.useState(!1),[G,F]=a.useState(!1),{loadVideos:j,bffEventReport:B,loading:O,setPopupDetailData:A,ctaEvent:q,swiperRef:R,waterFallData:H,setOpenHashtag:Q,appDomain:te,openHashtag:se,loadingImage:W,isFromHashtag:oe,popupDetailData:ne,bffFbReport:X}=re(),[de,Ae]=a.useState(null),V=a.useRef(),{productView:U}=Le(),ee=a.useMemo(()=>r.length>0&&!O&&wn(),[r,O]),fe=a.useCallback(()=>{if(r.length<=0)return;ve();const N=location.search.slice(1),K=si.parse(N.replace(/\+/g,"%2B"));for(const Z in K)K[Z]=K[Z].replace(/%2B/g,"+");const $=Z=>{var le;return(le=K[Z])!==null&&le!==void 0?le:""};B?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:$("utm_source"),utmMedium:$("utm_medium"),utmCampaign:$("utm_campaign"),utmId:$("utm_id"),utmContent:$("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),X?.({eventName:"PageView"}),T(!0)},[B,r.length,X]),ve=()=>{D.current=new Date,P.current=new Date,gn()},ge=a.useRef();a.useEffect(()=>{if(!ge.current&&!de&&V?.current){ge.current=!0;const N=TCPlayer("player-container-id",{licenseUrl:f,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});N?.ready(()=>{Ae(N)})}},[de,f]),a.useEffect(()=>{x||fe()},[fe,x]),a.useEffect(()=>{var N;const K=r?.findIndex($=>{var Z,le,ue,J,ae,pe,me,Pe,Me;return s==="\u591A\u5546\u54C1CTA"?((Z=$?.video)===null||Z===void 0?void 0:Z.bindProducts)&&((ue=(le=$?.video)===null||le===void 0?void 0:le.bindProducts)===null||ue===void 0?void 0:ue.length)>0:s==="\u5546\u54C1CTA"?(J=$?.video)===null||J===void 0?void 0:J.bindProduct:((pe=(ae=$?.video)===null||ae===void 0?void 0:ae.bindCta)===null||pe===void 0?void 0:pe.itemId)===s&&(((me=$?.video)===null||me===void 0?void 0:me.url)||((Me=(Pe=$?.video)===null||Pe===void 0?void 0:Pe.imgUrls)===null||Me===void 0?void 0:Me.length))})||0;(N=R?.current)===null||N===void 0||N.swiper.slideTo(K)},[s,R]),a.useEffect(()=>{const N=r?.[S],K=()=>{var $,Z,le,ue,J,ae,pe,me,Pe,Me,Ke,Qe,Ze,et,qe;if(document.visibilityState==="hidden"){Ue.emit(Oe.PAGE_DID_HIDE,N),We(N),Je(N);let Ve="";ne&&(!((Z=($=N?.video)===null||$===void 0?void 0:$.bindProducts)===null||Z===void 0)&&Z.length||!((le=N?.video)===null||le===void 0)&&le.bindProduct)?Ve="pdpPage":ne&&o?.[(ae=(J=(ue=N.video)===null||ue===void 0?void 0:ue.bindCta)===null||J===void 0?void 0:J.itemId)!==null&&ae!==void 0?ae:""].item.type==="Appoint"?Ve="formPage":oe?Ve="hashTagPage":!((pe=N?.video)===null||pe===void 0)&&pe.url?Ve="videoPage":!((me=N?.video)===null||me===void 0)&&me.imgUrls&&(!((Me=(Pe=N?.video)===null||Pe===void 0?void 0:Pe.imgUrls)===null||Me===void 0)&&Me.length)?Ve="imagePage":N?.product&&(Ve="productPage"),B?.({eventInfo:{sessionDuration:Math.floor((new Date-D.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ke=N?.video)===null||Ke===void 0?void 0:Ke.itemId,productId:(Qe=N?.product)===null||Qe===void 0?void 0:Qe.itemId,position:S+"",fromKName:Ve,fromKPage:location?.href,ctatId:(qe=(et=(Ze=N.video)===null||Ze===void 0?void 0:Ze.bindCta)===null||et===void 0?void 0:et.itemId)!==null&&qe!==void 0?qe:""}})}else document.visibilityState==="visible"&&(fe(),we(S),Ue.emit(Oe.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[S,B,D,r,fe,ne,oe,o]);const ce=a.useMemo(()=>{let N=0;return t?.logoUrl&&t?.isShowLogo&&(N+=45),m.length>0&&(N+=45,H&&(N-=45)),i-N},[t,i,m,H]),xe=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ne=a.useCallback((N,K)=>{var $,Z,le,ue;return!(($=N.video)===null||$===void 0)&&$.url?a.createElement(js,{rec:N,index:K,muted:_,data:r,height:ce,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:de}):!((Z=N.video)===null||Z===void 0)&&Z.imgUrls?a.createElement(zs,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:ce,rec:N,index:K,onReportViewImageEnd:We,onViewImageStartEvent:we,imgUrlsPostConfig:t?.imgUrlsPost}):N.product&&Array.isArray(t?.productPost)&&((le=t?.productPost)===null||le===void 0?void 0:le.length)>0?(ue=t?.productPost)===null||ue===void 0?void 0:ue.map((J,ae)=>{var pe,me,Pe,Me,Ke,Qe,Ze,et;const qe=l[(pe=J?.item)===null||pe===void 0?void 0:pe.type],Ve=Dt(qe),Fe=(me=qe?.extend)===null||me===void 0?void 0:me.defaulSetting;return a.createElement(Ve,Object.assign({key:`${K}${ae}`,textStyle:Object.assign(Object.assign({},Fe?.textStyle),(Pe=J?.item)===null||Pe===void 0?void 0:Pe.textStyle),bindDatas:(Ke=(Me=J?.item)===null||Me===void 0?void 0:Me.bindDatas)!==null&&Ke!==void 0?Ke:[]},Fe?.props,(Qe=J?.item)===null||Qe===void 0?void 0:Qe.props,{event:((Ze=J?.item)===null||Ze===void 0?void 0:Ze.event)||{},schema:w,id:J?.id,viewTime:P.current,rec:N,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},Fe?.style),(et=J?.item)===null||et===void 0?void 0:et.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,ce,_,S,t?.productPost,P,d,l,w,de]),$e=a.useCallback(N=>{F(N)},[]),dt=a.useMemo(()=>G?{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"},[G]),nt=a.useCallback((N,K)=>{var $,Z,le,ue,J,ae,pe;return N.video?a.createElement(a.Fragment,null,(($=N.video)===null||$===void 0?void 0:$.title)&&!G&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(Ji,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(Xi,{rec:N,index:K,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(It,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(le=(Z=N.video)===null||Z===void 0?void 0:Z.title)!==null&&le!==void 0?le:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:$e}),a.createElement(Yi,{index:S,tags:(J=(ue=N?.video)===null||ue===void 0?void 0:ue.hashTags)!==null&&J!==void 0?J:[],itemId:(ae=N?.video)===null||ae===void 0?void 0:ae.itemId,itemType:!((pe=N.video)===null||pe===void 0)&&pe.itemId?"VIDEO":null,rec:N,hashTagStyle:v})))):null},[e,S,o,l,d,u,v,t,$e,G,dt]),ct=a.useCallback((N,K)=>{var $,Z;if(!t?.isShowLike)return;let le=($=t?.likeIconY)!==null&&$!==void 0?$:400;return H&&le<40&&(le+=40),N.video?a.createElement($i,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{top:le,right:(Z=t?.likeIconX)!==null&&Z!==void 0?Z:0},position:K}):null},[t,H]),We=N=>{var K,$,Z,le,ue,J;if(!(!((K=N.video)===null||K===void 0)&&K.url)&&(!(($=N.video)===null||$===void 0)&&$.imgUrls)){const ae=Date.now(),pe=(ae-k.current)/1e3;B?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(le=(Z=N.video)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",contentName:(ue=N.video.title)!==null&&ue!==void 0?ue:"",imageEndTime:`${ae}`,playDuration:`${pe}`,contentTags:JSON.stringify((J=N.video.tags)!==null&&J!==void 0?J:[]),position:S+"",contentFormat:"image",traceInfo:N.video.traceInfo}})}},ut=N=>{var K,$,Z,le,ue,J,ae,pe;P.current=new Date;const me=r[N.previousIndex];me&&(N.previousIndex-N.activeIndex<0?(B?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:($=(K=me.video)===null||K===void 0?void 0:K.itemId)!==null&&$!==void 0?$:"",productId:(le=(Z=me.product)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",requestId:null}}),We(me)):(B?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(J=(ue=me.video)===null||ue===void 0?void 0:ue.itemId)!==null&&J!==void 0?J:"",productId:(pe=(ae=me.product)===null||ae===void 0?void 0:ae.itemId)!==null&&pe!==void 0?pe:"",requestId:null}}),We(me)),Je(me))},Je=N=>{var K,$,Z;!(!((K=N?.video)===null||K===void 0)&&K.url)&&!(!(($=N?.video)===null||$===void 0)&&$.imgUrls)&&N?.product&&(U(N,N.product,(Z=N?.product)===null||Z===void 0?void 0:Z.bindCta,P.current,S),X?.({eventName:"ProductView"}))};a.useEffect(()=>{const N=r[S];se&&Je(N)},[se,r,S]);const we=N=>{var K,$,Z,le,ue,J;const ae=r[N];if(!(!((K=ae?.video)===null||K===void 0)&&K.url)&&(!(($=ae?.video)===null||$===void 0)&&$.imgUrls)){const pe=Date.now();k.current=pe,B?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(le=(Z=ae.video)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",contentName:(ue=ae.video.title)!==null&&ue!==void 0?ue:"",imageStartTime:`${pe}`,contentTags:JSON.stringify((J=ae.video.tags)!==null&&J!==void 0?J:[]),position:N+"",contentFormat:"image",traceInfo:ae.video.traceInfo}}),X?.({eventName:"ViewContent"})}},ot=a.useMemo(()=>{const N=r?.map((K,$)=>S===$||$-1===S||$+1===S?K:null);return H?N:N.concat([{loading:!0}])},[r,S,H]),lt=a.useMemo(()=>O?a.createElement("div",{style:{height:ce,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:W,alt:"loading...",style:{objectFit:"contain"}})):ot?.map((N,K)=>a.createElement(ze,{key:K,virtualIndex:K},N&&a.createElement(a.Fragment,null,N?.loading?a.createElement("div",{style:{height:ce,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:W,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,Ne(N,K),nt(N,K),ct(N,K))))),[n,r,ce,O,nt,Ne,ot,W]),en=Ie("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),tn=Ie("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},H&&a.createElement(Ui,{icon:Fs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Q?.(!0)}}),xe,a.createElement(Ki,{tagList:m,setActiveIndex:M}),ee?a.createElement(Bs,{imageUrl:t?.swipeTipIcon}):null,a.createElement(it,{ref:R,onSlideChange:()=>{R.current.swiper.allowTouchMove=!1,setTimeout(()=>{R.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:N=>{M(N.activeIndex),!se&&(ut(N),!H&&N?.activeIndex+2>=r?.length&&(L||(z(!0),j?.(Math.ceil(S/10)+1).then(()=>{z(!1)}))))},direction:"vertical",height:ce},a.createElement(Wi,{style:{position:"fixed",right:(g=t?.muteIconX)!==null&&g!==void 0?g:0,visibility:!((I=(h=r?.[S])===null||h===void 0?void 0:h.video)===null||I===void 0)&&I.url?"visible":"hidden",bottom:(p=t?.muteIconY)!==null&&p!==void 0?p:23,zIndex:999},defaultValue:_,activeIcon:t?.unMuteIcon?t?.unMuteIcon:en,unactiveIcon:t?.muteIcon?t?.muteIcon:tn,onChange:E}),lt),a.createElement(Gi,Object.assign({},(C=(b=(y=t?.hashTag)===null||y===void 0?void 0:y[0])===null||b===void 0?void 0:b.item)===null||C===void 0?void 0:C.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:V,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},Gs=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(it,{defaultValue:0,direction:"horizontal",modules:[St,Tt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(ze,{key:r},a.createElement(qi,{src:r,height:i,imgUrlsPostConfig:n}))));var $s=a.memo(Gs);const Ws=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:m,waterFallData:f,openHashtag:g}=re(),h=a.useRef(0),[I,p]=a.useState(!1),[y,b]=a.useState(!0),C=a.useRef(null),[w,S]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var j;(j=c.current)===null||j===void 0||j.play()},[]),k=Ie("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=a.useCallback(()=>{var j,B,O,A,q,R,H,Q,te,se,W,oe,ne;u(!1);const X=n[e];if(X&&(!((j=c?.current)===null||j===void 0)&&j.duration)){h.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const de=((A=(O=c.current)===null||O===void 0?void 0:O.duration)!==null&&A!==void 0?A:0).toFixed(2),Ae=((R=(q=c.current)===null||q===void 0?void 0:q.currentTime)!==null&&R!==void 0?R:0).toFixed(2),V=y?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Q=(H=X.video)===null||H===void 0?void 0:H.itemId)!==null&&Q!==void 0?Q:"",contentName:(se=(te=X.video)===null||te===void 0?void 0:te.title)!==null&&se!==void 0?se:"",playType:V,startTime:Ae,videoDuration:de,contentTags:JSON.stringify((oe=(W=X.video)===null||W===void 0?void 0:W.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(ne=X.video)===null||ne===void 0?void 0:ne.traceInfo}}),b(!1)}},[v,n,e,y]),T=a.useCallback(()=>{p(!0)},[]),_=a.useCallback(j=>()=>{var B,O,A,q,R;if(!I)return;const H=(B=c.current)===null||B===void 0?void 0:B.paused;switch(j){case"start":if(!H)return;(O=c.current)===null||O===void 0||O.play(),u(!1);break;case"pause":if(H)return;(A=c.current)===null||A===void 0||A.pause(),u(!0);break;default:H?(q=c.current)===null||q===void 0||q.play():(R=c.current)===null||R===void 0||R.pause(),u(!H);break}},[I]),E=a.useCallback(()=>{var j,B,O,A,q,R,H,Q,te,se,W,oe,ne;const X=n[e],de=((B=(j=c.current)===null||j===void 0?void 0:j.duration)!==null&&B!==void 0?B:0).toFixed(2),Ae=((A=(O=c.current)===null||O===void 0?void 0:O.currentTime)!==null&&A!==void 0?A:0).toFixed(2);if(!((q=c?.current)===null||q===void 0)&&q.duration){const V=(((R=c?.current)===null||R===void 0?void 0:R.currentTime)-h.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Q=(H=X.video)===null||H===void 0?void 0:H.itemId)!==null&&Q!==void 0?Q:"",contentName:(se=(te=X.video)===null||te===void 0?void 0:te.title)!==null&&se!==void 0?se:"",endTime:Ae,videoDuration:de,playDuration:V,contentTags:JSON.stringify((oe=(W=X.video)===null||W===void 0?void 0:W.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(ne=X.video)===null||ne===void 0?void 0:ne.traceInfo}})}},[n,e,v]),D=a.useMemo(()=>r?.mode==="2",[r]),P=a.useMemo(()=>{var j;return r?.mode==="2"?`translateY(-${50+((j=r?.offsetTop)!==null&&j!==void 0?j:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),L=a.useMemo(()=>{var j;return((j=t?.video)===null||j===void 0?void 0:j.cover)||w},[w,t]),z=a.useCallback(()=>{if(!C||!c||!c.current||!C.current)return;const j=c?.current,B=C?.current,O=B.getContext("2d"),A=window?.innerWidth,q=window?.innerHeight;B.height=q,B.width=A,O?.drawImage(j,0,0,B.width,B.height),S(B.toDataURL())},[]);a.useEffect(()=>{var j,B,O,A;if(c.current){if(u(!1),!c.current.src){const q=t.video.url;if(q.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(q),R.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=q;else c.current.src=q;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(j=c.current)===null||j===void 0||j.addEventListener("loadedmetadata",T),(B=c.current)===null||B===void 0||B.addEventListener("canplay",T),(O=c.current)===null||O===void 0||O.addEventListener("playing",x),(A=c.current)===null||A===void 0||A.addEventListener("loadeddata",z),()=>{var q,R,H,Q;(q=c.current)===null||q===void 0||q.removeEventListener("loadedmetadata",T),(R=c.current)===null||R===void 0||R.removeEventListener("canplay",T),(H=c.current)===null||H===void 0||H.removeEventListener("playing",x),(Q=c.current)===null||Q===void 0||Q.removeEventListener("loadeddata",z)}}},[T,x,t.video,z]);const G=a.useMemo(()=>!m?.placeholder_image||I?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[I,m?.placeholder_image]);a.useEffect(()=>{const j=()=>{var B,O;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((O=c?.current)===null||O===void 0)&&O.src)&&!d&&_("pause")()};return window.addEventListener("beforeunload",j),()=>{window.removeEventListener("beforeunload",j)}},[l,e,t,c,_,d]);const F=a.useMemo(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t.video?a.createElement(a.Fragment,null,D?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(De,{src:L,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),a.createElement("canvas",{ref:C,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))),G):a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M}),G,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))):null};var qs=a.memo(Ws);const oi={};Object.values(ii).forEach(t=>{oi[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:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let S=0;return e?.logoUrl&&e?.isShowLogo&&(S+=45),c.length>0&&(S+=45),s-S},[e,s,c]),m=(S,M)=>{var k,x,T,_;if(!((k=S.video)===null||k===void 0)&&k.url)return a.createElement(qs,{rec:S,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((x=S.video)===null||x===void 0)&&x.imgUrls)return a.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)&&((T=e?.productPost)===null||T===void 0?void 0:T.length)>0)return(_=e?.productPost)===null||_===void 0?void 0:_.map((E,D)=>{var P,L,z,G,F,j,B,O;const A=oi[(P=E?.item)===null||P===void 0?void 0:P.type],q=Dt(A),R=(L=A?.extend)===null||L===void 0?void 0:L.defaulSetting;return a.createElement(q,Object.assign({key:`${M}${D}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(z=E?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(G=E?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&F!==void 0?F:[]},R?.props,(j=E?.item)===null||j===void 0?void 0:j.props,{event:((B=E?.item)===null||B===void 0?void 0:B.event)||{},id:E?.id,rec:S,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(O=E?.item)===null||O===void 0?void 0:O.style),{width:d,height:v,overflow:"auto"}),index:M}))})},f=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),g=(S,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(Xi,{rec:S,index:M,tempMap:o,resolver:oi})):null,h=(S,M)=>{var k,x,T,_,E,D,P;return S.video?a.createElement(a.Fragment,null,((k=S.video)===null||k===void 0?void 0:k.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(Ji,{nudge:n}),g(S,M),a.createElement("div",null,a.createElement(It,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(T=(x=S.video)===null||x===void 0?void 0:x.title)!==null&&T!==void 0?T:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement(Yi,{index:M,tags:(E=(_=S?.video)===null||_===void 0?void 0:_.hashTags)!==null&&E!==void 0?E:[],itemId:(D=S?.video)===null||D===void 0?void 0:D.itemId,itemType:!((P=S.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:S,hashTagStyle:r}))):null},I=Ie(Xs,u),p=Ie(Ys,u),y=(S,M)=>{var k,x,T,_;if(!e?.isShowLike)return;let E=(k=e?.likeIconY)!==null&&k!==void 0?k:400;return E<40&&(E+=40),S.video?a.createElement($i,{key:S.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:I,unActicveIcon:(T=e?.unlikeIcon)!==null&&T!==void 0?T:p,position:M,active:S.isCollected,recData:S,className:"clc-sxp-like-button",style:{top:E,right:(_=e?.likeIconX)!==null&&_!==void 0?_:0}}):null},b=Ie("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),C=Ie("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),w=(S,M)=>{var k,x,T,_;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},f,a.createElement(Ki,{tagList:c}),a.createElement(Wi,{style:{position:"absolute",right:(k=e?.muteIconX)!==null&&k!==void 0?k:0,visibility:!((T=(x=t?.[M])===null||x===void 0?void 0:x.video)===null||T===void 0)&&T.url?"visible":"hidden",bottom:(_=e?.muteIconY)!==null&&_!==void 0?_:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:b,unactiveIcon:e?.muteIcon?e?.muteIcon:C}),m(S,M),h(S,M),y(S,M))};return a.createElement("div",{className:Y.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)=>w(S,M)))};var Ks=a.memo(Js);const Qs=()=>{const{schema:t,resolver:e,popup:i}=He(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=re(),{productView:r}=Le(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var m,f,g,h;if(!i||i?.id===""||!s||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;d(Object.assign(Object.assign({},i),{id:""}));const I=o,p=(f=I?.video)===null||f===void 0?void 0:f.bindProduct,y=(h=(g=I?.video)===null||g===void 0?void 0:g.bindProduct)===null||h===void 0?void 0:h.bindCta;p&&y&&r(I,p,y,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var m,f,g;return(g=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||g===void 0?void 0:g.map((h,I)=>{var p,y,b,C,w,S,M,k,x,T,_,E,D,P;if(h?.id===i?.id){const L=e[(p=h?.item)===null||p===void 0?void 0:p.type],z=Dt(L),G=((C=(b=(y=h?.item)===null||y===void 0?void 0:y.event)===null||b===void 0?void 0:b.onClick)===null||C===void 0?void 0:C.linkType)==="externalLink",F=((M=(S=(w=h?.item)===null||w===void 0?void 0:w.event)===null||S===void 0?void 0:S.onClick)===null||M===void 0?void 0:M.linkType)==="popup",j=(k=L?.extend)===null||k===void 0?void 0:k.defaulSetting;return a.createElement(z,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},j?.style),(x=h?.item)===null||x===void 0?void 0:x.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},j?.textStyle),(T=h?.item)===null||T===void 0?void 0:T.textStyle),bindDatas:(E=(_=h?.item)===null||_===void 0?void 0:_.bindDatas)!==null&&E!==void 0?E:[]},j?.props,(D=h?.item)===null||D===void 0?void 0:D.props,{event:((P=h?.item)===null||P===void 0?void 0:P.event)||{},schema:t,id:h?.id,isExternalLink:G,isPopup:F,onClose:c}))}else return a.createElement(a.Fragment,null)})},[t,i,e,c]);return a.createElement(Ct,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},li={};Object.values(ii).forEach(t=>{li[t.extend.type]=t});const Zs=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var d,u,c,v,m,f,g,h,I;const p=a.useMemo(()=>{var y;return location?.search?(y=location?.search)===null||y===void 0?void 0:y.replace("?",""):""},[]);return a.createElement(wi,{resolver:li,enableDataSource:!1,schema:t?.data,utmVal:p},a.createElement(hi,{utmVal:p,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(f=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(I=(h=(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||I===void 0?void 0:I.isShowTag,render:({rtcList:y,tagList:b})=>{var C;return a.createElement(a.Fragment,null,a.createElement(Qi,Object.assign({},(C=t?.data)===null||C===void 0?void 0:C.sxpPageConf,{tagList:b,data:y,resolver:li,licenseUrl:r})),a.createElement(Qs,null))}}))};var ea=a.memo(Zs);const Zi=a.createContext({}),ta=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(Zi.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function ia(){return a.useContext(Zi)}exports.DiyPortalPreview=Ks,exports.EditorDataProvider=ta,exports.Modal=Ct,exports.SxpDataSourceProvider=hi,exports.SxpPageCore=ea,exports.SxpPageRender=Qi,exports.core=En,exports.default=fn,exports.defaultSetting=In,exports.materials=ii,exports.useEditorDataProvider=ia;
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:S?.info})))},se=()=>{var W;return a.createElement(a.Fragment,null,(h||O?.link)&&a.createElement("button",{onClick:R,className:"pb-commondity-btn",style:M},(W=P?.enTitle)!==null&&W!==void 0?W:"Purchase on Website"))};return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:Y.css(Object.assign({},v))},x),O&&((r=O?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:Q,modules:[St,Tt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:w?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:w?.delay*1e3}},(s=O?.homePage)===null||s===void 0?void 0:s.map(W=>a.createElement(ze,{key:W},a.createElement("div",{style:{overflow:"hidden",width:Q,height:Q}},a.createElement(De,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:W}))))),!(!((d=O?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:Y.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:Y.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=T?.bottom_image)!==null&&u!==void 0?u:I,alt:""})),a.createElement("div",{className:"pb-commondity-content"},te({isPost:y}))),se(),a.createElement(Ct,{visible:F,onClose:()=>L(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},te({isPost:!1})),se()))};var hl=a.memo(ml);const gl=Ee(hl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Mn},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 bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],yl=[{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"]}],Fi="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 wl=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}},Sl=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:d}=t,u=be(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick"]);const{popupDetailData:c}=re(),{jumpToWeb:v}=Le(),m=typeof o=="string"?o:wl(o),f=()=>{var g,h,I;if(r){const p=c,y=(g=p?.video)===null||g===void 0?void 0:g.bindProduct,b=(I=(h=p?.video)===null||h===void 0?void 0:h.bindProduct)===null||I===void 0?void 0:I.bindCta,C=c?.index;v(p,y,b,C)}l||s?.(),d?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${Y.css(Object.assign({},n))}`},u),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:m??Fi})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",onClick:f},i))};var Tl=a.memo(Sl);const xl=Ee(Tl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:yl,bindableProps:[],interactionRender:bl},defaulSetting:{props:{icon:Fi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Xt,Jt,El=[{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:ie,name:["fontFamily"],initialValue:(Xt=ie?.[0])===null||Xt===void 0?void 0:Xt.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:ie,initialValue:(Jt=ie?.[0])===null||Jt===void 0?void 0:Jt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Cl=t=>{var e,i,n,o,l,r,s,d,u,c,v,m,{style:f,isDefault:g,rec:h,viewTime:I,isPost:p,bottom_image:y,tipText:b,swiper:C,commodityStyles:w,buttonStyle:S,index:M}=t,k=be(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:x}=re(),{popupDetailData:T,bffEventReport:_,isPreview:E,swiperRef:D,bffFbReport:A}=re(),{jumpToWeb:j,productView:z}=Le(),H=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[F,L]=a.useState(!1),B=a.useRef(null),O=p?h:T,P=p?O?.product:(e=O?.video)===null||e===void 0?void 0:e.bindProduct,q=p?(i=O?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=O?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,R=p?M:T?.index,U=()=>{P?.link&&(j(O,P,q,R),p||z(O,P,q,I||B.current,R),window.location.href=window.getJointUtmLink(P.link))};a.useEffect(()=>{p||A?.({eventName:"ProductView"})},[p,A]),a.useEffect(()=>{const W=()=>{B.current=new Date};return W(),window.addEventListener("pageshow",W),()=>{window.removeEventListener("pageshow",W)}},[]);const Q=a.useMemo(()=>{var W,oe,ne,X,de;return P?.currency&&P?.price?`${(ne=(oe=(W=P?.currency)===null||W===void 0?void 0:W.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&ne!==void 0?ne:""}${(de=(X=P?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&de!==void 0?de:""}`:"\xA3102,300.00"},[P?.price,P?.currency]),te=E?375:(l=f?.width)!==null&&l!==void 0?l:window.innerWidth,se=({isPost:W})=>a.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},a.createElement(It,{isPost:W,onClick:()=>L(!0),className:"pb-commondityDiroNew-info",style:w?.info,foldText:b?.foldText,unfoldText:b?.unfoldText,text:P?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
6
+ Made in Italy`}));return a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:H,className:Y.css(Object.assign({},f))},k),P&&((r=P?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:te,modules:[St,Tt],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=P?.homePage)===null||s===void 0?void 0:s.map(W=>a.createElement(ze,{key:W},a.createElement("div",{style:{overflow:"hidden",width:te,height:te}},a.createElement(De,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:W}))))),!(!((d=P?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:Y.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:Y.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=x?.bottom_image)!==null&&u!==void 0?u:y,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:w?.title},(c=P?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!P&&(!P?.collection||P?.collection===""),style:w?.collection},P?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!P&&!P?.price,style:w?.price},Q),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!P&&!P?.taxInfo,style:w?.taxInfo},(v=P?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!P||P?.link)&&a.createElement("button",{onClick:U,className:"pb-commondityDiroNew-btn",style:S},(m=q?.enTitle)!==null&&m!==void 0?m:"Shop now"),se({isPost:p}))),a.createElement(Ct,{visible:F,onClose:()=>L(!1)},se({isPost:!1})))};var Il=a.memo(Cl);const kl=Ee(Il,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:El},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 Kt,Qt,_e=[{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:ie,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Kt=ie?.[0])===null||Kt===void 0?void 0:Kt.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:ie,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Qt=ie?.[0])===null||Qt===void 0?void 0:Qt.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"]}]}],Dl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Hi(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const _l=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;be(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Hi(d),{popup:c}=He(),{setPopupDetailData:v,ctaEvent:m}=re(),{jumpToWeb:f}=Le();a.useEffect(()=>{var h,I;if(u&&d?.current){const p=(I=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&I!==void 0?I:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,m,s]);const g=he.throttle(()=>{var h,I,p,y,b,C,w,S;const M=(I=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&I!==void 0?I:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((y=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||y===void 0)&&y.link){const k=(b=e?.video)===null||b===void 0?void 0:b.bindCta,x=(C=e?.video)===null||C===void 0?void 0:C.bindProduct;f(e,x,k,s),window.location.href=window.getJointUtmLink((S=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||S===void 0?void 0:S.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:g},i)};var ft=a.memo(_l),Al={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Pl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:I}=re(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:I?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ft,Object.assign({isExternalLink:g,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},h),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Al["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Ml=a.memo(Pl);const Ol=Ee(Ml,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Dl,bindableProps:[],settingRender:_e},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 Ll=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const jl=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,m=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:f}=re(),g=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ft,Object.assign({isExternalLink:v,rec:d,className:Y.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var Nl=a.memo(jl);const Bl=Ee(Nl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ll,settingRender:_e?.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 Rl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const zl=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:m}=t,f=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:h}=re(),{jumpToWeb:I}=Le(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,y=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,b=()=>{p?.link&&(I(u,y,p,m),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ft,Object.assign({index:m,rec:u,className:Y.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},f,{onClick:b}),a.createElement("div",{className:Y.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(De,{className:Y.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})),a.createElement("div",{className:Y.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Rl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Vl=a.memo(zl);const Fl=Ee(Vl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:_e?.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 Hl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ul={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Gl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:I}=re(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:I?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ft,Object.assign({isExternalLink:g,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},h),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Ul["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var $l=a.memo(Gl);const Wl=Ee($l,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Hl,settingRender:_e,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 ql=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Xl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:g}=t,h=be(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:I}=re(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:I?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ft,Object.assign({isExternalLink:g,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},h),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Yl["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop now")))};var Jl=a.memo(Xl);const Kl=Ee(Jl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:ql,bindableProps:[],settingRender:_e},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 Ql=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Zl=({children:t,isPadding:e=!0})=>a.createElement(it,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Un,Hn,Fn],style:{padding:e?"0 12px 0 20px":0}},t);var kt=a.memo(Zl);const es=({src:t,rec:e,item:i,index:n})=>{const o=a.useRef(null),l=Hi(o),{ctaEvent:r}=re();return a.useEffect(()=>{l&&t&&o?.current&&r?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,r,i,n]),a.createElement("div",{ref:o,hidden:!t,className:Y.css({width:"100%",height:"100%"})},a.createElement(De,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var Zt=a.memo(es),ts={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const is=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=be(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:g,sxpParameter:h}=re(),{popup:I}=He(),{jumpToWeb:p}=Le(),[y,b]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=he.throttle(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,v),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:v})),c?w?.link&&(p(r,w,w.bindCta,v),window.location.href=window.getJointUtmLink(w.link)):s?.()},I?.duration);return a.createElement(kt,{isPadding:!!r},y?.map(w=>{var S,M,k,x,T,_;return a.createElement(ze,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>C(w)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Zt,{src:(k=(M=(S=w?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:h?.bottom_image)!==null&&k!==void 0?k:d,rec:r,item:w,index:v})),a.createElement("div",{className:Y.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ts["two-line-ellipsis"],style:u?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=w?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var ns=a.memo(is);const os=Ee(ns,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ql,bindableProps:[],settingRender:_e},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 ls=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ss={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const as=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=be(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:f}=re(),{ctaEvent:g,setPopupDetailData:h}=re(),{popup:I}=He(),[p,y]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:b}=Le(),C=he.throttle(w=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,v),h?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:v})),c?w?.link&&(b(r,w,w.bindCta,v),window.location.href=window.getJointUtmLink(w.link)):s?.()},I?.duration);return a.createElement(kt,{isPadding:!!r},p?.map(w=>{var S,M,k,x,T,_;return a.createElement(ze,Object.assign({hidden:r&&!w?.bindCta,key:w.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>C(w)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Zt,{src:(k=(M=(S=w?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&k!==void 0?k:d,rec:r,item:w,index:v})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ss["two-line-ellipsis"],style:u?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=w?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var rs=a.memo(as);const ds=Ee(rs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:ls,settingRender:_e,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 cs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],us={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const ps=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=be(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:g,sxpParameter:h}=re(),{popup:I}=He(),{jumpToWeb:p}=Le(),[y,b]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=he.throttle(w=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,v),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:v})),c?w?.link&&(p(r,w,w.bindCta,v),window.location.href=window.getJointUtmLink(w.link)):s?.()},I?.duration);return a.createElement(kt,{isPadding:!!r},y?.map(w=>{var S,M,k,x,T,_;return a.createElement(ze,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>C(w)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Zt,{src:(k=(M=(S=w?.homePage)===null||S===void 0?void 0:S[0])!==null&&M!==void 0?M:h?.bottom_image)!==null&&k!==void 0?k:d,rec:r,item:w,index:v})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:us["tow-line-ellipsis"],style:u?.title},(x=w?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=w?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop now")))}))};var vs=a.memo(ps);const fs=Ee(vs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:cs,bindableProps:[],settingRender:_e},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 ei,ti,ms=[{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:ie,name:["fontFamily"],initialValue:(ei=ie?.[0])===null||ei===void 0?void 0:ei.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:ie,initialValue:(ti=ie?.[0])===null||ti===void 0?void 0:ti.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 hs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=re();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Ui=a.memo(hs),gs=null,bs="3d989325-e7d6-4a74-8a97-98febdf5b567",ys=null,ws=null,Ss={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"},Ts=[{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}],xs="Handbags",Es={productUserId:gs,requestId:bs,channel:ys,rtc:ws,tag:Ss,recList:Ts,hashTag:xs};const Cs=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=re(),[m,f]=a.useState(!1),g=a.useRef(null),h=a.useRef(null),I=a.useRef(null),p=a.useRef(null),[y,b]=a.useState(""),C=a.useMemo(()=>{var x,T,_,E,D,A,j,z,H,F,L,B;return!((x=e?.video)===null||x===void 0)&&x.cover?(T=e?.video)===null||T===void 0?void 0:T.cover:!((_=e?.video)===null||_===void 0)&&_.url?(f(!0),(E=e?.video)===null||E===void 0?void 0:E.url):!((A=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||A===void 0)&&A.length?(z=(j=e?.video)===null||j===void 0?void 0:j.imgUrls)===null||z===void 0?void 0:z[0]:!((F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0)&&F.length?(B=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||B===void 0?void 0:B[0]:v?.bottom_image||""},[e,v?.bottom_image]),w=a.useMemo(()=>{var x,T;return((x=e?.product)===null||x===void 0?void 0:x.title)||((T=e?.video)===null||T===void 0?void 0:T.title)||null},[e]),S=a.useMemo(()=>{var x,T,_,E,D,A,j,z,H;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((T=e?.product)===null||T===void 0)&&T.price)?`${(A=(D=(E=(_=e?.product)===null||_===void 0?void 0:_.currency)===null||E===void 0?void 0:E.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&A!==void 0?A:""}${(H=(z=(j=e?.product)===null||j===void 0?void 0:j.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);a.useEffect(()=>{const x=new IntersectionObserver(T=>{T.forEach(_=>{if(_.isIntersecting){if(h.current===null||C==="")return;m&&y?g.current.setSrc(y):g.current.setSrc(C),x.unobserve(h.current)}})});return x.observe(h.current),()=>{x.disconnect()}},[C,m,y]);const M=(x,T,_)=>{const E=x/T;return _/E};a.useEffect(()=>{const x=I?.current;x===null||C===""||!m||(x.src=C,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const T=p?.current;if(!T)return;const _=T.getContext("2d"),E=window?.innerWidth/2,D=M(x.videoWidth,x.videoHeight,E);T.height=D,T.width=E,_?.drawImage(x,0,0,T.width,T.height),b(T.toDataURL()),x.remove(),T.remove()})},[C,m]);const k=()=>{o(),d?.(n),setTimeout(()=>{var x;(x=s?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:h,className:"list-content-listItem",key:i,onClick:k,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},m&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(De,{loading:"lazy",className:"list-content-listItem-picture-img",ref:g})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${S?"list-content-listItem-info-nowrap":""}`,style:l?.title},w&&w),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!S},S)))};function Is(t){var e,i,n,o,l,r,s,d,u,c,v,m,{reportTagsView:f}=t,g=be(t,["reportTagsView"]);const{waterFallData:h,getRecommendVideos:I,hashTagSize:p,loadingImage:y,isOpenHashTag:b}=re(),[C,w]=a.useState(),[S,M]=a.useState(),[k,x]=a.useState(!1),T=a.useRef(null),[_,E]=a.useState(!1);a.useCallback(()=>{_||(E(!0),h&&I?.({hashTag:h?.hashTag,"itemFilter.itemId":h?.itemId,"itemFilter.itemType":h?.itemType}).then(A=>{var j;w(C?.concat((j=A?.recList)!==null&&j!==void 0?j:[])),E(!1)}))},[h,I,C,_]),a.useEffect(()=>{var A,j;if(x(!0),h&&I?.({hashTag:h?.hashTag,"itemFilter.itemId":h?.itemId,"itemFilter.itemType":h?.itemType,defaultSize:p,maxSize:p}).then(z=>{var H,F;M(z),w((F=(H=z?.recList)===null||H===void 0?void 0:H.filter(L=>L?.video!==null||L?.product!==null))!==null&&F!==void 0?F:[]),x(!1)}),b){const z=Es;M(z),w((j=(A=z?.recList)===null||A===void 0?void 0:A.filter(H=>H?.video!==null||H?.product!==null))!==null&&j!==void 0?j:[]),x(!1)}},[h,I,p,b]);const D=()=>{var A,j;!((A=S?.tag)===null||A===void 0)&&A.link&&(f(),window.location.href=(j=S?.tag)===null||j===void 0?void 0:j.link)};return a.createElement(a.Fragment,null,k?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:y,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:T},a.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),a.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"),a.createElement("div",{className:"list-content"},C?.map((A,j)=>a.createElement(Cs,Object.assign({key:j,index:j,rec:A,list:C,reportTagsView:f},g)))),a.createElement("div",{hidden:!_,style:{textAlign:"center"}},"loading..."),a.createElement("div",{hidden:!(!((r=S?.tag)===null||r===void 0)&&r.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}})),a.createElement("div",{className:"list-bottom",hidden:!(!((c=S?.tag)===null||c===void 0)&&c.link),style:g?.buttonBgStyle}),a.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"})},a.createElement("button",{className:"list-btn",style:g?.buttonStyle,onClick:D},((m=S?.tag)===null||m===void 0?void 0:m.linkTitle)||"Shop the collection"))))}var ks="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ds=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:g}=re();a.useRef(null);const h=a.useRef(null),[I,p]=a.useState();a.useEffect(()=>{const S=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?h.current=M:(h.current=document.createElement("div"),h.current.setAttribute("id","water-fall"),S?.appendChild(h.current))},[]);const y=()=>{const S=he.isEqual(c,s);!S&&s&&s?.length&&d?.(s),w(),r?.(void 0),m?.(!1),setTimeout(()=>{var M,k;S||(k=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||k===void 0||k.slideTo(u,0,!1),n?.(!1)},0)},[b,C]=a.useState();a.useEffect(()=>{i&&C(i)},[i]);const w=a.useCallback(()=>{var S,M,k,x,T,_;const E=b?.rec;if(!E)return;let D="";f?D="hashTagPage":!((S=E?.video)===null||S===void 0)&&S.url?D="videoPage":!((k=(M=E?.video)===null||M===void 0?void 0:M.imgUrls)===null||k===void 0)&&k.length&&(D="imagePage"),g?.({eventInfo:{contentId:(x=E?.video)===null||x===void 0?void 0:x.itemId,position:u+"",contentTags:JSON.stringify((T=E?.video)===null||T===void 0?void 0:T.tags),traceInfo:(_=E?.video)===null||_===void 0?void 0:_.traceInfo,hashTags:JSON.stringify([b?.hashTag]),fromKName:D,fromKPage:location?.href,timeOnSite:Math.floor((new Date-I)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[b,g,I,f,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const S=()=>{p(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),h.current?ai.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Ui,{icon:ks,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:y}),a.createElement(Is,Object.assign({reportTagsView:w},t))),h.current):null};var Gi=a.memo(Ds);const _s=t=>a.createElement(Gi,Object.assign({},t));var As=a.memo(_s);const Ps=Ee(As,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ms,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 ii=Object.freeze({__proto__:null,Appoint:Bl,AppointForm:Pn,Commodity:Ol,CommodityDetail:gl,CommodityDetailDiroNew:kl,CommodityDiro:Wl,CommodityDiroNew:Kl,HashTag:Ps,Link:Fl,MultiCommodity:ds,MultiCommodityDiro:os,MultiCommodityDiroNew:fs,Prompt:xl});const Ms="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Os="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ls=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=be(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=re(),[c,v]=a.useState(e),m=Ie(Os),f=Ie(Ms),g=he.debounce(()=>Se(void 0,void 0,void 0,function*(){var h,I,p,y,b,C,w,S,M,k,x,T,_,E,D,A,j,z,H,F;if(c){v(!1);const L=(p=yield d?.({videoItemId:(I=(h=o.video)===null||h===void 0?void 0:h.itemId)!==null&&I!==void 0?I:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(b=(y=o.video)===null||y===void 0?void 0:y.itemId)!==null&&b!==void 0?b:"",contentName:(w=(C=o.video)===null||C===void 0?void 0:C.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((M=(S=o.video)===null||S===void 0?void 0:S.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((k=o.video)===null||k===void 0)&&k.url?"video":"image",traceInfo:(x=o.video)===null||x===void 0?void 0:x.traceInfo}}),L||v(!0)}else{v(!0);const L=(T=yield s?.({content:JSON.stringify(o)}))!==null&&T!==void 0?T:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(E=(_=o.video)===null||_===void 0?void 0:_.itemId)!==null&&E!==void 0?E:"",contentName:(A=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&A!==void 0?A:"",contentTags:JSON.stringify((z=(j=o.video)===null||j===void 0?void 0:j.tags)!==null&&z!==void 0?z:[]),position:l+"",contentFormat:!((H=o.video)===null||H===void 0)&&H.url?"video":"image",traceInfo:(F=o.video)===null||F===void 0?void 0:F.traceInfo}}),L||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:g}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||f,alt:"icon"}))};var $i=a.memo(Ls);const js=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:m,openHashtag:f,bffFbReport:g}=re(),h=a.useRef(0),[I,p]=a.useState(!1),[y,b]=a.useState(!0),{isActive:C}=Vi(),w=a.useRef(null),[S,M]=a.useState(""),k=`pb-cache-video-${e}`,x=a.useRef(null),T=a.useMemo(()=>r?.mode==="2",[r]),_=a.useMemo(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),E=a.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||S},[S,t]),D=a.useMemo(()=>T?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[T]),A=a.useMemo(()=>r?.bgWay==="1",[r]),j=a.useMemo(()=>A&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,A]);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const z=a.useCallback(()=>{s&&s?.play()},[s]),H=Ie("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=a.useCallback(()=>{var R,U,Q,te,se,W,oe,ne,X;if(!s)return;p(!0),u(!1);const de=n[e];if(de&&s?.duration()){h.current=s?.currentTime()||0;const Ae=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2),G=y?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(te=(Q=de.video)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",contentName:(W=(se=de.video)===null||se===void 0?void 0:se.title)!==null&&W!==void 0?W:"",playType:G,startTime:V,videoDuration:Ae,contentTags:JSON.stringify((ne=(oe=de.video)===null||oe===void 0?void 0:oe.tags)!==null&&ne!==void 0?ne:[]),position:e+"",contentFormat:"video",traceInfo:(X=de.video)===null||X===void 0?void 0:X.traceInfo}}),b(!1)}},[c,n,e,y,s]),L=a.useCallback(()=>{var R;if(!s||S||!T)return;const U=document.getElementById("player-container-id_html5_api");if(!U||(U.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!w||!w.current||A))return;const Q=()=>{const te=U,se=w?.current,W=se.getContext("2d"),oe=window?.innerWidth,ne=window?.innerHeight;se.height=ne,se.width=oe,W?.drawImage(te,0,0,se.width,se.height),M(se.toDataURL())};Q(),setTimeout(()=>{Q()},500)},[s,A,t,S,T]),B=a.useCallback(()=>{s&&L()},[s,L]);a.useCallback(()=>{p(!0)},[]);const O=a.useCallback(R=>()=>{if(!s||!I)return;const U=s?.paused();switch(R){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}},[I,s]),P=a.useCallback(()=>{var R,U,Q,te,se,W,oe,ne,X;if(!s||l!==e)return;const de=n[e],Ae=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2);if(s?.duration()){const G=(s?.currentTime()-h.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(te=(Q=de.video)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",contentName:(W=(se=de.video)===null||se===void 0?void 0:se.title)!==null&&W!==void 0?W:"",endTime:V,videoDuration:Ae,playDuration:G,contentTags:JSON.stringify((ne=(oe=de.video)===null||oe===void 0?void 0:oe.tags)!==null&&ne!==void 0?ne:[]),position:e+"",contentFormat:"video",traceInfo:(X=de.video)===null||X===void 0?void 0:X.traceInfo}})}},[n,e,c,s,l]);a.useEffect(()=>{if(!C||!s)return;const R=t.video.url;if(!R)return;s?.src(R),u(!1);const U=document.querySelector(`#${k}`),Q=document.querySelector("#player-container-id"),te=document.querySelector("#player-container-id-copy");if(!(!Q&&!te))return U?.appendChild(Q||te),s?.on("loadedmetadata",B),s?.on("loadeddata",L),s?.on("playing",F),s?.on("pause",P),s?.on("ended",z),()=>{te?.appendChild(Q),s?.off("loadedmetadata",B),s?.off("loadeddata",L),s?.off("playing",F),s?.off("pause",P),s?.off("ended",z)}},[C,k,t,s]),a.useEffect(()=>{!s||!I||(C?(g?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[C,I,s]),a.useEffect(()=>{if(!C||!s)return;!s?.paused()&&f?s?.pause():f||s?.play()},[f,C,s]),a.useEffect(()=>{if(!C)return;const R=()=>{O("start")(),g?.({eventName:"ViewContent"})},U=O("pause");return Ue.on(Oe.PAGE_DID_SHOW,R),Ue.on(Oe.PAGE_DID_HIDE,U),()=>{Ue.off(Oe.PAGE_DID_SHOW,R),Ue.off(Oe.PAGE_DID_HIDE,U)}},[O,C]);const q=a.useMemo(()=>!v?.placeholder_image||I?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[I,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const R=()=>{var U;l===e&&(!((U=t?.video)===null||U===void 0)&&U.url)&&s&&!d&&O("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,O,d]),t.video?a.createElement(a.Fragment,null,T?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:O(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!A&&a.createElement(De,{src:E,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},D)}),a.createElement("canvas",{ref:w,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:_,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:x,id:k,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))),q):a.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:O()},a.createElement("div",{className:"n-full-screen",ref:x,id:k,style:{width:"100%",height:"100%"}}),q,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))):null};var Ns=a.memo(js);const Bs=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Wi=a.memo(Bs);const Rs=({imageUrl:t})=>{const[e,i]=a.useState(!0);He(),a.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Ie("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=a.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return a.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},a.createElement("img",{src:t||n}))},qi=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},(!o||!s)&&a.createElement(De,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(De,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},zs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Vi(),{sxpParameter:v,openHashtag:m}=re(),[f,g]=a.useState(!1);return a.useEffect(()=>{f&&c?(u?.current&&u.current.swiper.autoplay.start(),m?l(n):r(o)):(g(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,m,o,r,f]),a.createElement(it,{ref:u,defaultValue:0,direction:"horizontal",modules:[St,Tt],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(h=>a.createElement(ze,{key:h},a.createElement(qi,{src:h,height:i,imgUrlsPostConfig:s}))))};var Vs=a.memo(zs);const Fs=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:m}=re(),f=g=>{v?m?.(!0):c?.(n),d?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(kt,null,t?.map((g,h)=>a.createElement(ze,{key:h,hidden:r?!1:h>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(g)},`#${g}`))))};var Yi=a.memo(Fs),Hs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Dt(t){return a.memo(function(e){const{$store:i}=hn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=he.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=be(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,g)=>{var h,I;if(g){const p=(I=(h=he.get(i,g))!==null&&h!==void 0?h:e[v])!==null&&I!==void 0?I:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=he.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Us=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=He(),l=a.useMemo(()=>{var r,s,d,u,c,v,m,f,g,h,I,p,y,b,C,w,S,M,k,x,T,_,E,D,A,j,z,H,F,L,B;if(!t?.video)return null;let O=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?O="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?O="\u5546\u54C1CTA":O=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const P=i?.[O];if(((v=P?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=P?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((h=P?.item)===null||h===void 0?void 0:h.type)==="CommodityDiroNew"&&!(!((I=t?.video)===null||I===void 0)&&I.bindProduct)||((p=P?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((b=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||b===void 0)&&b.length)||((C=P?.item)===null||C===void 0?void 0:C.type)==="MultiCommodityDiro"&&!(!((S=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||S===void 0)&&S.length)||((M=P?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((x=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||x===void 0)&&x.length))return null;if(P&&n){const q=n[(T=P?.item)===null||T===void 0?void 0:T.type],R=Dt(q),U=(_=q?.extend)===null||_===void 0?void 0:_.defaulSetting,Q=((A=(D=(E=P?.item)===null||E===void 0?void 0:E.event)===null||D===void 0?void 0:D.onClick)===null||A===void 0?void 0:A.linkType)==="externalLink";return a.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},U?.style),(j=P?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},U?.textStyle),(z=P?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=P?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},U?.props,(L=P?.item)===null||L===void 0?void 0:L.props,{event:((B=P?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:P?.id,key:P?.id,recData:t,isExternalLink:Q,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var Xi=a.memo(Us);const Ji=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,a.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})},(s=t?.content)!==null&&s!==void 0?s:"")))},ni="FOR U",Gs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ni),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u,waterFallData:c}=re(),v=a.useMemo(()=>[ni,...t],[t]),m=f=>()=>{if(f===i)return;let g;f!==ni&&(g=f),d?.(!0),o?.({themeTag:g}).then(h=>{var I,p,y,b;Ue.emit(Oe.CHANGE_THEME_TAG,g),l?.((I=h?.recList)!==null&&I!==void 0?I:[]),r?.((p=h?.recList)!==null&&p!==void 0?p:[]),e?.(0),s?.(0),(b=(y=u?.current)===null||y===void 0?void 0:y.swiper)===null||b===void 0||b.slideTo(0)}).finally(()=>{d?.(!1)}),n(f)};return c||t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},v.map(f=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${f===i?"clc-sxp-tagbar-list-item-active":""}`,key:f,onClick:m(f)},f))))};var Ki=a.memo(Gs);const Qi=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:m=[],licenseUrl:f})=>{var g,h,I,p,y,b,C;const{schema:w}=He(),[S,M]=a.useState(0),k=a.useRef(0),[x,T]=a.useState(!1),[_,E]=a.useState(!0),D=a.useRef(),A=a.useRef(),[j,z]=a.useState(!1),[H,F]=a.useState(!1),{loadVideos:L,bffEventReport:B,loading:O,setPopupDetailData:P,ctaEvent:q,swiperRef:R,waterFallData:U,setOpenHashtag:Q,appDomain:te,openHashtag:se,loadingImage:W,isFromHashtag:oe,popupDetailData:ne,bffFbReport:X}=re(),[de,Ae]=a.useState(null),V=a.useRef(),{productView:G}=Le(),ee=a.useMemo(()=>r.length>0&&!O&&Sn(),[r,O]),fe=a.useCallback(()=>{if(r.length<=0)return;ve();const N=location.search.slice(1),K=si.parse(N.replace(/\+/g,"%2B"));for(const Z in K)K[Z]=K[Z].replace(/%2B/g,"+");const $=Z=>{var le;return(le=K[Z])!==null&&le!==void 0?le:""};B?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:$("utm_source"),utmMedium:$("utm_medium"),utmCampaign:$("utm_campaign"),utmId:$("utm_id"),utmContent:$("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),X?.({eventName:"PageView"}),T(!0)},[B,r.length,X]),ve=()=>{D.current=new Date,A.current=new Date,bn()},ge=a.useRef();a.useEffect(()=>{if(!ge.current&&!de&&V?.current){ge.current=!0;const N=TCPlayer("player-container-id",{licenseUrl:f,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});N?.ready(()=>{Ae(N)})}},[de,f]),a.useEffect(()=>{x||fe()},[fe,x]),a.useEffect(()=>{var N;const K=r?.findIndex($=>{var Z,le,ue,J,ae,pe,me,Pe,Me;return s==="\u591A\u5546\u54C1CTA"?((Z=$?.video)===null||Z===void 0?void 0:Z.bindProducts)&&((ue=(le=$?.video)===null||le===void 0?void 0:le.bindProducts)===null||ue===void 0?void 0:ue.length)>0:s==="\u5546\u54C1CTA"?(J=$?.video)===null||J===void 0?void 0:J.bindProduct:((pe=(ae=$?.video)===null||ae===void 0?void 0:ae.bindCta)===null||pe===void 0?void 0:pe.itemId)===s&&(((me=$?.video)===null||me===void 0?void 0:me.url)||((Me=(Pe=$?.video)===null||Pe===void 0?void 0:Pe.imgUrls)===null||Me===void 0?void 0:Me.length))})||0;(N=R?.current)===null||N===void 0||N.swiper.slideTo(K)},[s,R]),a.useEffect(()=>{const N=r?.[S],K=()=>{var $,Z,le,ue,J,ae,pe,me,Pe,Me,Ke,Qe,Ze,et,qe;if(document.visibilityState==="hidden"){Ue.emit(Oe.PAGE_DID_HIDE,N),We(N),Je(N);let Ve="";ne&&(!((Z=($=N?.video)===null||$===void 0?void 0:$.bindProducts)===null||Z===void 0)&&Z.length||!((le=N?.video)===null||le===void 0)&&le.bindProduct)?Ve="pdpPage":ne&&o?.[(ae=(J=(ue=N.video)===null||ue===void 0?void 0:ue.bindCta)===null||J===void 0?void 0:J.itemId)!==null&&ae!==void 0?ae:""].item.type==="Appoint"?Ve="formPage":oe?Ve="hashTagPage":!((pe=N?.video)===null||pe===void 0)&&pe.url?Ve="videoPage":!((me=N?.video)===null||me===void 0)&&me.imgUrls&&(!((Me=(Pe=N?.video)===null||Pe===void 0?void 0:Pe.imgUrls)===null||Me===void 0)&&Me.length)?Ve="imagePage":N?.product&&(Ve="productPage"),B?.({eventInfo:{sessionDuration:Math.floor((new Date-D.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ke=N?.video)===null||Ke===void 0?void 0:Ke.itemId,productId:(Qe=N?.product)===null||Qe===void 0?void 0:Qe.itemId,position:S+"",fromKName:Ve,fromKPage:location?.href,ctatId:(qe=(et=(Ze=N.video)===null||Ze===void 0?void 0:Ze.bindCta)===null||et===void 0?void 0:et.itemId)!==null&&qe!==void 0?qe:""}})}else document.visibilityState==="visible"&&(fe(),we(S),Ue.emit(Oe.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[S,B,D,r,fe,ne,oe,o]);const ce=a.useMemo(()=>{let N=0;return t?.logoUrl&&t?.isShowLogo&&(N+=45),m.length>0&&(N+=45,U&&(N-=45)),i-N},[t,i,m,U]),xe=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ne=a.useCallback((N,K)=>{var $,Z,le,ue;return!(($=N.video)===null||$===void 0)&&$.url?a.createElement(Ns,{rec:N,index:K,muted:_,data:r,height:ce,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:de}):!((Z=N.video)===null||Z===void 0)&&Z.imgUrls?a.createElement(Vs,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:ce,rec:N,index:K,onReportViewImageEnd:We,onViewImageStartEvent:we,imgUrlsPostConfig:t?.imgUrlsPost}):N.product&&Array.isArray(t?.productPost)&&((le=t?.productPost)===null||le===void 0?void 0:le.length)>0?(ue=t?.productPost)===null||ue===void 0?void 0:ue.map((J,ae)=>{var pe,me,Pe,Me,Ke,Qe,Ze,et;const qe=l[(pe=J?.item)===null||pe===void 0?void 0:pe.type],Ve=Dt(qe),Fe=(me=qe?.extend)===null||me===void 0?void 0:me.defaulSetting;return a.createElement(Ve,Object.assign({key:`${K}${ae}`,textStyle:Object.assign(Object.assign({},Fe?.textStyle),(Pe=J?.item)===null||Pe===void 0?void 0:Pe.textStyle),bindDatas:(Ke=(Me=J?.item)===null||Me===void 0?void 0:Me.bindDatas)!==null&&Ke!==void 0?Ke:[]},Fe?.props,(Qe=J?.item)===null||Qe===void 0?void 0:Qe.props,{event:((Ze=J?.item)===null||Ze===void 0?void 0:Ze.event)||{},schema:w,id:J?.id,viewTime:A.current,rec:N,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},Fe?.style),(et=J?.item)===null||et===void 0?void 0:et.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,ce,_,S,t?.productPost,A,d,l,w,de]),$e=a.useCallback(N=>{F(N)},[]),dt=a.useMemo(()=>H?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[H]),nt=a.useCallback((N,K)=>{var $,Z,le,ue,J,ae,pe;return N.video?a.createElement(a.Fragment,null,(($=N.video)===null||$===void 0?void 0:$.title)&&!H&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(Ji,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(Xi,{rec:N,index:K,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(It,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(le=(Z=N.video)===null||Z===void 0?void 0:Z.title)!==null&&le!==void 0?le:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:$e}),a.createElement(Yi,{index:S,tags:(J=(ue=N?.video)===null||ue===void 0?void 0:ue.hashTags)!==null&&J!==void 0?J:[],itemId:(ae=N?.video)===null||ae===void 0?void 0:ae.itemId,itemType:!((pe=N.video)===null||pe===void 0)&&pe.itemId?"VIDEO":null,rec:N,hashTagStyle:v})))):null},[e,S,o,l,d,u,v,t,$e,H,dt]),ct=a.useCallback((N,K)=>{var $,Z;if(!t?.isShowLike)return;let le=($=t?.likeIconY)!==null&&$!==void 0?$:400;return U&&le<40&&(le+=40),N.video?a.createElement($i,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{top:le,right:(Z=t?.likeIconX)!==null&&Z!==void 0?Z:0},position:K}):null},[t,U]),We=N=>{var K,$,Z,le,ue,J;if(!(!((K=N.video)===null||K===void 0)&&K.url)&&(!(($=N.video)===null||$===void 0)&&$.imgUrls)){const ae=Date.now(),pe=(ae-k.current)/1e3;B?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(le=(Z=N.video)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",contentName:(ue=N.video.title)!==null&&ue!==void 0?ue:"",imageEndTime:`${ae}`,playDuration:`${pe}`,contentTags:JSON.stringify((J=N.video.tags)!==null&&J!==void 0?J:[]),position:S+"",contentFormat:"image",traceInfo:N.video.traceInfo}})}},ut=N=>{var K,$,Z,le,ue,J,ae,pe;A.current=new Date;const me=r[N.previousIndex];me&&(N.previousIndex-N.activeIndex<0?(B?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:($=(K=me.video)===null||K===void 0?void 0:K.itemId)!==null&&$!==void 0?$:"",productId:(le=(Z=me.product)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",requestId:null}}),We(me)):(B?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(J=(ue=me.video)===null||ue===void 0?void 0:ue.itemId)!==null&&J!==void 0?J:"",productId:(pe=(ae=me.product)===null||ae===void 0?void 0:ae.itemId)!==null&&pe!==void 0?pe:"",requestId:null}}),We(me)),Je(me))},Je=N=>{var K,$,Z;!(!((K=N?.video)===null||K===void 0)&&K.url)&&!(!(($=N?.video)===null||$===void 0)&&$.imgUrls)&&N?.product&&(G(N,N.product,(Z=N?.product)===null||Z===void 0?void 0:Z.bindCta,A.current,S),X?.({eventName:"ProductView"}))};a.useEffect(()=>{const N=r[S];se&&Je(N)},[se,r,S]);const we=N=>{var K,$,Z,le,ue,J;const ae=r[N];if(!(!((K=ae?.video)===null||K===void 0)&&K.url)&&(!(($=ae?.video)===null||$===void 0)&&$.imgUrls)){const pe=Date.now();k.current=pe,B?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(le=(Z=ae.video)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",contentName:(ue=ae.video.title)!==null&&ue!==void 0?ue:"",imageStartTime:`${pe}`,contentTags:JSON.stringify((J=ae.video.tags)!==null&&J!==void 0?J:[]),position:N+"",contentFormat:"image",traceInfo:ae.video.traceInfo}}),X?.({eventName:"ViewContent"})}},ot=a.useMemo(()=>{const N=r?.map((K,$)=>S===$||$-1===S||$+1===S?K:null);return U?N:N.concat([{loading:!0}])},[r,S,U]),lt=a.useMemo(()=>O?a.createElement("div",{style:{height:ce,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:W,alt:"loading...",style:{objectFit:"contain"}})):ot?.map((N,K)=>a.createElement(ze,{key:K,virtualIndex:K},N&&a.createElement(a.Fragment,null,N?.loading?a.createElement("div",{style:{height:ce,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:W,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,Ne(N,K),nt(N,K),ct(N,K))))),[n,r,ce,O,nt,Ne,ot,W]),en=Ie("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),tn=Ie("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&a.createElement(Ui,{icon:Hs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Q?.(!0)}}),xe,a.createElement(Ki,{tagList:m,setActiveIndex:M}),ee?a.createElement(Rs,{imageUrl:t?.swipeTipIcon}):null,a.createElement(it,{ref:R,onSlideChange:()=>{R.current.swiper.allowTouchMove=!1,setTimeout(()=>{R.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:N=>{M(N.activeIndex),!se&&(ut(N),!U&&N?.activeIndex+2>=r?.length&&(j||(z(!0),L?.(Math.ceil(S/10)+1).then(()=>{z(!1)}))))},direction:"vertical",height:ce},a.createElement(Wi,{style:{position:"fixed",right:(g=t?.muteIconX)!==null&&g!==void 0?g:0,visibility:!((I=(h=r?.[S])===null||h===void 0?void 0:h.video)===null||I===void 0)&&I.url?"visible":"hidden",bottom:(p=t?.muteIconY)!==null&&p!==void 0?p:23,zIndex:999},defaultValue:_,activeIcon:t?.unMuteIcon?t?.unMuteIcon:en,unactiveIcon:t?.muteIcon?t?.muteIcon:tn,onChange:E}),lt),a.createElement(Gi,Object.assign({},(C=(b=(y=t?.hashTag)===null||y===void 0?void 0:y[0])===null||b===void 0?void 0:b.item)===null||C===void 0?void 0:C.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:V,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},$s=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(it,{defaultValue:0,direction:"horizontal",modules:[St,Tt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(ze,{key:r},a.createElement(qi,{src:r,height:i,imgUrlsPostConfig:n}))));var Ws=a.memo($s);const qs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:m,waterFallData:f,openHashtag:g}=re(),h=a.useRef(0),[I,p]=a.useState(!1),[y,b]=a.useState(!0),C=a.useRef(null),[w,S]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var L;(L=c.current)===null||L===void 0||L.play()},[]),k=Ie("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=a.useCallback(()=>{var L,B,O,P,q,R,U,Q,te,se,W,oe,ne;u(!1);const X=n[e];if(X&&(!((L=c?.current)===null||L===void 0)&&L.duration)){h.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const de=((P=(O=c.current)===null||O===void 0?void 0:O.duration)!==null&&P!==void 0?P:0).toFixed(2),Ae=((R=(q=c.current)===null||q===void 0?void 0:q.currentTime)!==null&&R!==void 0?R:0).toFixed(2),V=y?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Q=(U=X.video)===null||U===void 0?void 0:U.itemId)!==null&&Q!==void 0?Q:"",contentName:(se=(te=X.video)===null||te===void 0?void 0:te.title)!==null&&se!==void 0?se:"",playType:V,startTime:Ae,videoDuration:de,contentTags:JSON.stringify((oe=(W=X.video)===null||W===void 0?void 0:W.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(ne=X.video)===null||ne===void 0?void 0:ne.traceInfo}}),b(!1)}},[v,n,e,y]),T=a.useCallback(()=>{p(!0)},[]),_=a.useCallback(L=>()=>{var B,O,P,q,R;if(!I)return;const U=(B=c.current)===null||B===void 0?void 0:B.paused;switch(L){case"start":if(!U)return;(O=c.current)===null||O===void 0||O.play(),u(!1);break;case"pause":if(U)return;(P=c.current)===null||P===void 0||P.pause(),u(!0);break;default:U?(q=c.current)===null||q===void 0||q.play():(R=c.current)===null||R===void 0||R.pause(),u(!U);break}},[I]),E=a.useCallback(()=>{var L,B,O,P,q,R,U,Q,te,se,W,oe,ne;const X=n[e],de=((B=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&B!==void 0?B:0).toFixed(2),Ae=((P=(O=c.current)===null||O===void 0?void 0:O.currentTime)!==null&&P!==void 0?P:0).toFixed(2);if(!((q=c?.current)===null||q===void 0)&&q.duration){const V=(((R=c?.current)===null||R===void 0?void 0:R.currentTime)-h.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Q=(U=X.video)===null||U===void 0?void 0:U.itemId)!==null&&Q!==void 0?Q:"",contentName:(se=(te=X.video)===null||te===void 0?void 0:te.title)!==null&&se!==void 0?se:"",endTime:Ae,videoDuration:de,playDuration:V,contentTags:JSON.stringify((oe=(W=X.video)===null||W===void 0?void 0:W.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(ne=X.video)===null||ne===void 0?void 0:ne.traceInfo}})}},[n,e,v]),D=a.useMemo(()=>r?.mode==="2",[r]),A=a.useMemo(()=>{var L;return r?.mode==="2"?`translateY(-${50+((L=r?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),j=a.useMemo(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||w},[w,t]),z=a.useCallback(()=>{if(!C||!c||!c.current||!C.current)return;const L=c?.current,B=C?.current,O=B.getContext("2d"),P=window?.innerWidth,q=window?.innerHeight;B.height=q,B.width=P,O?.drawImage(L,0,0,B.width,B.height),S(B.toDataURL())},[]);a.useEffect(()=>{var L,B,O,P;if(c.current){if(u(!1),!c.current.src){const q=t.video.url;if(q.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(q),R.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=q;else c.current.src=q;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(L=c.current)===null||L===void 0||L.addEventListener("loadedmetadata",T),(B=c.current)===null||B===void 0||B.addEventListener("canplay",T),(O=c.current)===null||O===void 0||O.addEventListener("playing",x),(P=c.current)===null||P===void 0||P.addEventListener("loadeddata",z),()=>{var q,R,U,Q;(q=c.current)===null||q===void 0||q.removeEventListener("loadedmetadata",T),(R=c.current)===null||R===void 0||R.removeEventListener("canplay",T),(U=c.current)===null||U===void 0||U.removeEventListener("playing",x),(Q=c.current)===null||Q===void 0||Q.removeEventListener("loadeddata",z)}}},[T,x,t.video,z]);const H=a.useMemo(()=>!m?.placeholder_image||I?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[I,m?.placeholder_image]);a.useEffect(()=>{const L=()=>{var B,O;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((O=c?.current)===null||O===void 0)&&O.src)&&!d&&_("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[l,e,t,c,_,d]);const F=a.useMemo(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t.video?a.createElement(a.Fragment,null,D?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(De,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),a.createElement("canvas",{ref:C,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:A,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))),H):a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:E,onEnded:M}),H,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))):null};var Ys=a.memo(qs);const oi={};Object.values(ii).forEach(t=>{oi[t.extend.type]=t});const Xs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Js="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ks=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let S=0;return e?.logoUrl&&e?.isShowLogo&&(S+=45),c.length>0&&(S+=45),s-S},[e,s,c]),m=(S,M)=>{var k,x,T,_;if(!((k=S.video)===null||k===void 0)&&k.url)return a.createElement(Ys,{rec:S,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((x=S.video)===null||x===void 0)&&x.imgUrls)return a.createElement(Ws,{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)&&((T=e?.productPost)===null||T===void 0?void 0:T.length)>0)return(_=e?.productPost)===null||_===void 0?void 0:_.map((E,D)=>{var A,j,z,H,F,L,B,O;const P=oi[(A=E?.item)===null||A===void 0?void 0:A.type],q=Dt(P),R=(j=P?.extend)===null||j===void 0?void 0:j.defaulSetting;return a.createElement(q,Object.assign({key:`${M}${D}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(z=E?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=E?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},R?.props,(L=E?.item)===null||L===void 0?void 0:L.props,{event:((B=E?.item)===null||B===void 0?void 0:B.event)||{},id:E?.id,rec:S,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(O=E?.item)===null||O===void 0?void 0:O.style),{width:d,height:v,overflow:"auto"}),index:M}))})},f=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),g=(S,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(Xi,{rec:S,index:M,tempMap:o,resolver:oi})):null,h=(S,M)=>{var k,x,T,_,E,D,A;return S.video?a.createElement(a.Fragment,null,((k=S.video)===null||k===void 0?void 0:k.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(Ji,{nudge:n}),g(S,M),a.createElement("div",null,a.createElement(It,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(T=(x=S.video)===null||x===void 0?void 0:x.title)!==null&&T!==void 0?T:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement(Yi,{index:M,tags:(E=(_=S?.video)===null||_===void 0?void 0:_.hashTags)!==null&&E!==void 0?E:[],itemId:(D=S?.video)===null||D===void 0?void 0:D.itemId,itemType:!((A=S.video)===null||A===void 0)&&A.itemId?"VIDEO":null,rec:S,hashTagStyle:r}))):null},I=Ie(Js,u),p=Ie(Xs,u),y=(S,M)=>{var k,x,T,_;if(!e?.isShowLike)return;let E=(k=e?.likeIconY)!==null&&k!==void 0?k:400;return E<40&&(E+=40),S.video?a.createElement($i,{key:S.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:I,unActicveIcon:(T=e?.unlikeIcon)!==null&&T!==void 0?T:p,position:M,active:S.isCollected,recData:S,className:"clc-sxp-like-button",style:{top:E,right:(_=e?.likeIconX)!==null&&_!==void 0?_:0}}):null},b=Ie("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),C=Ie("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),w=(S,M)=>{var k,x,T,_;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},f,a.createElement(Ki,{tagList:c}),a.createElement(Wi,{style:{position:"absolute",right:(k=e?.muteIconX)!==null&&k!==void 0?k:0,visibility:!((T=(x=t?.[M])===null||x===void 0?void 0:x.video)===null||T===void 0)&&T.url?"visible":"hidden",bottom:(_=e?.muteIconY)!==null&&_!==void 0?_:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:b,unactiveIcon:e?.muteIcon?e?.muteIcon:C}),m(S,M),h(S,M),y(S,M))};return a.createElement("div",{className:Y.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)=>w(S,M)))};var Qs=a.memo(Ks);const Zs=()=>{const{schema:t,resolver:e,popup:i}=He(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=re(),{productView:r}=Le(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var m,f,g,h;if(!i||i?.id===""||!s||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;d(Object.assign(Object.assign({},i),{id:""}));const I=o,p=(f=I?.video)===null||f===void 0?void 0:f.bindProduct,y=(h=(g=I?.video)===null||g===void 0?void 0:g.bindProduct)===null||h===void 0?void 0:h.bindCta;p&&y&&r(I,p,y,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var m,f,g;return(g=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||g===void 0?void 0:g.map((h,I)=>{var p,y,b,C,w,S,M,k,x,T,_,E,D,A;if(h?.id===i?.id){const j=e[(p=h?.item)===null||p===void 0?void 0:p.type],z=Dt(j),H=((C=(b=(y=h?.item)===null||y===void 0?void 0:y.event)===null||b===void 0?void 0:b.onClick)===null||C===void 0?void 0:C.linkType)==="externalLink",F=((M=(S=(w=h?.item)===null||w===void 0?void 0:w.event)===null||S===void 0?void 0:S.onClick)===null||M===void 0?void 0:M.linkType)==="popup",L=(k=j?.extend)===null||k===void 0?void 0:k.defaulSetting;return a.createElement(z,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},L?.style),(x=h?.item)===null||x===void 0?void 0:x.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},L?.textStyle),(T=h?.item)===null||T===void 0?void 0:T.textStyle),bindDatas:(E=(_=h?.item)===null||_===void 0?void 0:_.bindDatas)!==null&&E!==void 0?E:[]},L?.props,(D=h?.item)===null||D===void 0?void 0:D.props,{event:((A=h?.item)===null||A===void 0?void 0:A.event)||{},schema:t,id:h?.id,isExternalLink:H,isPopup:F,onClose:c}))}else return a.createElement(a.Fragment,null)})},[t,i,e,c]);return a.createElement(Ct,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},li={};Object.values(ii).forEach(t=>{li[t.extend.type]=t});const ea=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var d,u,c,v,m,f,g,h,I;const p=a.useMemo(()=>{var y;return location?.search?(y=location?.search)===null||y===void 0?void 0:y.replace("?",""):""},[]);return a.createElement(wi,{resolver:li,enableDataSource:!1,schema:t?.data,utmVal:p},a.createElement(hi,{utmVal:p,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(f=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(I=(h=(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||I===void 0?void 0:I.isShowTag,render:({rtcList:y,tagList:b})=>{var C;return a.createElement(a.Fragment,null,a.createElement(Qi,Object.assign({},(C=t?.data)===null||C===void 0?void 0:C.sxpPageConf,{tagList:b,data:y,resolver:li,licenseUrl:r})),a.createElement(Zs,null))}}))};var ta=a.memo(ea);const Zi=a.createContext({}),ia=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(Zi.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function na(){return a.useContext(Zi)}exports.DiyPortalPreview=Qs,exports.EditorDataProvider=ia,exports.Modal=Ct,exports.SxpDataSourceProvider=hi,exports.SxpPageCore=ta,exports.SxpPageRender=Qi,exports.core=Cn,exports.default=mn,exports.defaultSetting=kn,exports.materials=ii,exports.useEditorDataProvider=na;
7
7
  //# sourceMappingURL=index.min.cjs.map