pb-sxp-ui 1.0.87 → 1.0.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.min.js CHANGED
@@ -1,7 +1,6 @@
1
- import{isEmpty as Nt,isEqual as Fi,cloneDeep as At,debounce as ti,throttle as Bt,get as Vi}from"lodash";import{v4 as Rn}from"uuid";import Hn from"pako";import v,{useContext as Pt,useMemo as ee,createContext as Ot,memo as fe,useState as $,useRef as Z,useEffect as te,useCallback as oe,forwardRef as zt,useImperativeHandle as Ri,useLayoutEffect as Un}from"react";import ii from"qs";import Gn from"eventemitter3";import{css as ne}from"@emotion/css";import{BetaSchemaForm as $n}from"@ant-design/pro-components";import*as Hi from"react-dom";function Me(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 Fe(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(d){try{c(n.next(d))}catch(p){r(p)}}function a(d){try{c(n.throw(d))}catch(p){r(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Wn=/:\w+/g;var Ui=(t,e)=>Fe(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:a,name:c,queryString:d,headers:p,body:m}=e[o];let y=s;a&&Object.entries(a).forEach(([b,T])=>{y=y.replace(Wn,_=>_===b?T:_)}),d&&(y+=d),n[l]=c;try{const b=yield fetch(y,{method:r,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(T=>T.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const Gi="SXP_TOKEN_INFO",Yn=(t,e)=>Fe(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Gi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Gi,JSON.stringify(s))}}return s});function Ft(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 qn=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},Xn=()=>{const t=Rn();return t?.replaceAll?t.replaceAll("-",""):qn(32)};function $i(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Hn.inflate(n,{to:"string"});return JSON.parse(o)}let ni=null;const Jn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Kn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,ni)return ni;ni=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Jn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let je=null;const Qn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{je||(je=new Kn),n&&je.setApiUrl(n),je.setAppId(t),je.setTenantId(e),je.setEnv(i)},getDetail:t=>{if(!je)return;const e=je.getTenantId(),i=je.getAppId(),n=je.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Fe(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),a=$i((l=s?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:c}=yield Ui(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=a,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>Fe(void 0,void 0,void 0,function*(){if(!je)return;const e=je.getTenantId(),i=je.getAppId(),n=je.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Fe(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=$i((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Fe(void 0,void 0,void 0,function*(){if(!je)return;const e=yield Yn(je,t),i=Ft(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Nt(n)&&(n=Ft(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 lt(){return Pt(nn)}function Zn(){return Pt(tn)}const oi="feRealSessionIdKey",Wi=()=>{const t=Xn();return`${Date.now()}${t}`},eo=()=>{let t=io();return t||(t=Wi(),window.sessionStorage.setItem(oi,t)),t},to=()=>{const t=Wi();window.sessionStorage.setItem(oi,t)},io=()=>window.sessionStorage.getItem(oi),Yi="SXP_FAKE_USER_ID",qi="FAKE_USER_STATE",Xi="AGREE_POLICY",Ji=()=>{let t=window.localStorage.getItem(Yi);return Nt(t)&&(t=Ft(36,62),window.localStorage.setItem(Yi,t)),t},no=()=>{const t=window.localStorage.getItem(qi);return Nt(t)&&window.localStorage.setItem(qi,"true"),Nt(t)};function Xe(t,e){const{appDomain:i}=we();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const st=new Gn;var Ze;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ze||(Ze={}));const Ki=Ot({rtcList:[],tagList:[]});var li;(function(t){t[t.BFF=5]="BFF"})(li||(li={}));const Qi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Vt="FOR U",oo=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:a,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:m=!1,consentHeight:y,consentWidth:b,isShowTag:T=!0,isOpenConsent:_=!1,globalConfig:u,isEditor:g=!1})=>{const[f,E]=$([]),[k,h]=$([]),[O,C]=$(!1),[x,w]=$({rtc:"",requestId:""}),D=Z(null),S=Z(!1),[I,P]=$(()=>!!window.localStorage.getItem(Xi)),[M,N]=$(),[R,V]=$(),[j,z]=$(p),[L,F]=$([]),[B,G]=$(0),[H,le]=$(!1),[he,ye]=$(null),Y=Z(),q=Z(),[X,Q]=$(Vt),J=ee(()=>{var U,W,ae,xe;return((xe=(ae=(W=(U=u?.consent)===null||U===void 0?void 0:U[0])===null||W===void 0?void 0:W.item)===null||ae===void 0?void 0:ae.props)===null||xe===void 0?void 0:xe.privacy_necessity)&&!I&&!g||_},[I,u,_,g]);te(()=>{const U=W=>{Y.current=W};return st.on(Ze.CHANGE_THEME_TAG,U),()=>{st.off(Ze.CHANGE_THEME_TAG,U)}},[]),te(()=>{z(p)},[p]);const Ie=ee(()=>e?.find(U=>U.type===li.BFF),[e]),se=oe((U,W)=>{if(!Ie)return;const ae=Ie.url,xe=Ji();if(W?.query){const ge=ii.stringify(W.query);U=`${U}?${ge}`}return W.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ae}/api/v1${U}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Ie.headers),{"x-user-id":xe}),W.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ae}/api/v1${U}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":xe},Ie.headers),method:W.method,body:JSON.stringify(W.body)}).then(ge=>ge.json()).catch(ge=>Promise.reject(ge))},[Ie]),Ae=oe(U=>Fe(void 0,void 0,void 0,function*(){var W,ae,xe,ge,ke;if(U={maxSize:(W=U?.maxSize)!==null&&W!==void 0?W:o,defaultSize:(ae=U?.defaultSize)!==null&&ae!==void 0?ae:l,"itemFilter.itemId":U?.["itemFilter.itemId"],"itemFilter.itemType":U?.["itemFilter.itemType"],hashTag:U?.hashTag,traceInfo:U?.traceInfo,themeTag:U?.themeTag},i){const De=(ke=(ge=(xe=i?.split("&"))===null||xe===void 0?void 0:xe.filter(ot=>{const rt=ot.split("=")[0];return Qi.includes(rt)}))===null||ge===void 0?void 0:ge.join("&"))!==null&&ke!==void 0?ke:"";U=Object.assign(Object.assign({},U),{channel:decodeURIComponent(De)})}const Ee=yield se?.("/recommend/list",{method:"GET",query:U});if(Ee?.success)return U?.hashTag||w({rtc:Ee.data.rtc,requestId:Ee.data.requestId}),Ee?.data}),[se,i,o,l]),Le=oe(()=>Fe(void 0,void 0,void 0,function*(){var U,W;if(f.length<=0)return;const ae=yield Ae({hashTag:R?.hashTag,"itemFilter.itemId":R?.itemId,"itemFilter.itemType":R?.itemType,themeTag:Y.current});E(f.concat((U=ae?.recList)!==null&&U!==void 0?U:[])),F(L.concat((W=ae?.recList)!==null&&W!==void 0?W:[]))}),[Ae,f,R,L]),Pe=oe(({userInfo:U,eventInfo:W})=>{if(!n)return;U||(U={});const ae=eo(),xe=Object.assign({sessionID:ae,rtc:x.rtc,requestId:x.requestId},W),ge=Object.entries(U).map(([Ee,De])=>({name:Ee,value:De})),ke=Object.entries(xe).map(([Ee,De])=>De&&{name:Ee,value:De}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",U),console.log("eventInfo:",xe),console.log("========= \u7ED3\u675F ========="),se?.("/event/report",{method:"POST",body:{userInfo:ge,eventInfo:ke},type:"beacon"})},[se,x,n]),ce=oe(U=>{var W,{eventName:ae,actionSource:xe="website",eventSourceUrl:ge=(W=window?.location)===null||W===void 0?void 0:W.href,externalId:ke}=U;if(!n||!m)return;const Ee=Ji();return se?.("/fb/events",{method:"POST",body:{eventName:ae,actionSource:xe,eventSourceUrl:ge,userData:{externalId:Ee}},type:"beacon"})},[se,n,m]),ve=oe(U=>Fe(void 0,void 0,void 0,function*(){const W=yield se?.("/recommend/like",{method:"POST",body:U});return W?.success}),[se]),Se=oe(U=>Fe(void 0,void 0,void 0,function*(){const W=yield se?.("/recommend/unlike",{method:"POST",body:U});return W?.success}),[se]),re=oe(U=>Fe(void 0,void 0,void 0,function*(){const W=yield se?.("/customform",{method:"POST",body:U});return W?.success}),[se]),Ne=oe(()=>Fe(void 0,void 0,void 0,function*(){var U,W,ae,xe,ge;if(!(!i||!T))try{const ke=(ae=(W=(U=i?.split("&"))===null||U===void 0?void 0:U.filter(De=>{const ot=De.split("=")[0];return Qi.includes(ot)}))===null||W===void 0?void 0:W.join("&"))!==null&&ae!==void 0?ae:"",Ee=yield se?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});h((ge=(xe=Ee?.data)===null||xe===void 0?void 0:xe.tags)!==null&&ge!==void 0?ge:[])}catch(ke){console.log("e",ke)}}),[se,i,T]),Ye=oe((U,W,ae,xe)=>{var ge,ke,Ee,De,ot,rt,_t,dt,kt,mt,Tt,ct;const He=ae?.bindCta,ei=((ge=W?.video)===null||ge===void 0?void 0:ge.bindProduct)||((ke=W?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((De=(Ee=W?.video)===null||Ee===void 0?void 0:Ee.bindProducts)===null||De===void 0?void 0:De.length)>0;let xt="";H?xt="hashTagPage":!((ot=W?.video)===null||ot===void 0)&&ot.url?xt="videoPage":!((_t=(rt=W?.video)===null||rt===void 0?void 0:rt.imgUrls)===null||_t===void 0)&&_t.length&&(xt="imagePage"),Pe?.({eventInfo:Object.assign(Object.assign({},U),{ctaId:(dt=He?.itemId)!==null&&dt!==void 0?dt:"",ctaName:(kt=He?.title)!==null&&kt!==void 0?kt:"",contentTags:JSON.stringify(He?.tags),position:xe+"",contentId:(Tt=(mt=W?.video)===null||mt===void 0?void 0:mt.itemId)!==null&&Tt!==void 0?Tt:"",productId:ei?ae?.itemId:"",traceInfo:(ct=He?.traceInfo)!==null&&ct!==void 0?ct:"",fromKName:xt})})},[Pe,H]),Qe=oe(()=>{var U,W;const ae=location.search.slice(1),xe=ii.parse(ae.replace(/\+/g,"%2B"));for(const Ee in xe)xe[Ee]=xe[Ee].replace(/%2B/g,"+");const ge=Ee=>{var De;return(De=xe[Ee])!==null&&De!==void 0?De:""},ke=new Date;q.current=ke,Pe?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:ge("utm_source"),utmMedium:ge("utm_medium"),utmCampaign:ge("utm_campaign"),utmId:ge("utm_id"),utmContent:ge("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:(W=(U=window?.location)===null||U===void 0?void 0:U.href)!==null&&W!==void 0?W:"",clSource:ge("cl_source")}})},[Pe]);te(()=>{Qe()},[]),te(()=>{J||(C(!0),Ne(),Ae().then(U=>{var W,ae;E((W=U?.recList)!==null&&W!==void 0?W:[]),F((ae=U?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{Pe({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),C(!1),S.current=!0}))},[J]),te(()=>{S.current&&(C(!0),Ne(),Ae().then(U=>{var W,ae;E((W=U?.recList)!==null&&W!==void 0?W:[]),F((ae=U?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{C(!1)}))},[Ae,Ne]);const ft=Xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(Ki.Provider,{value:{rtcList:f,setRtcList:E,mutateLike:ve,mutateUnlike:Se,submitForm:re,popupDetailData:M,loadVideos:Le,setPopupDetailData:N,getRecommendVideos:Ae,bffEventReport:Pe,utmVal:i,isPreview:r,loading:O,sxpParameter:s,waterFallData:R,setWaterFallData:V,ctaEvent:Ye,swiperRef:D,openHashtag:j,setOpenHashtag:z,cacheRtcList:L,setCacheRtcList:F,cacheActiveIndex:B,setCacheActiveIndex:G,isFromHashtag:H,setIsFromHashtag:le,appDomain:a,hashTagSize:c,loadingImage:d??ft,isOpenHashTag:p,tagList:k,setLoading:C,videoRef:he,setVideoRef:ye,bffFbReport:ce,isAgreePolicy:I,setIsAgreePolicy:P,curTime:q,h5EnterLink:Qe,themeTag:Y,isShowConsent:J,selectTag:X,setSelectTag:Q}},t({rtcList:f,mutateLike:ve,mutateUnlike:Se,submitForm:re,tagList:k}))};var Zi=fe(oo);function we(){return Pt(Ki)}var en;(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"})(en||(en={}));const tn=Ot({$store:{},options:[],configs:[]}),lo=({children:t,isSsr:e,enable:i})=>{const[n,o]=$([]),{schema:l}=lt(),[r,s]=$(l.__STORE__||{}),[a,c]=$([]);te(()=>{var m;e||Fi(a,l?.dataSource)||c((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const d=oe(()=>Fe(void 0,void 0,void 0,function*(){const{$store:m,idMapName:y}=yield Ui("",a);s(m),p(m,y)}),[a]),p=(m,y)=>{const b=[];Object.entries(m).forEach(([T,_])=>{Object.keys(_).forEach(u=>{const g={label:`${y[T]} - ${u}`,value:`{{ ${T}.${u} }}`};b.push(g)})}),o(b)};return te(()=>{e||d()},[d,e,l]),i?v.createElement(tn.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var so=fe(lo);const Rt={id:Ft(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},si={id:"",duration:0,name:"none"},nn=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Rt],redoStack:[],popup:si,setPopup:()=>{}}),on=zt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,a]=$(null),[c,d]=$(n||{pointData:[Rt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=$([Rt]),[y,b]=$([[Rt]]),[T,_]=$([]),[u,g]=$(si);typeof window<"u"&&(window.sxpPopup=(O,C)=>{g(Object.assign(Object.assign(Object.assign({},si),{id:O}),C))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(l?"&"+l:""):O+(l?"?"+l:"")),te(()=>{b([c.pointData]),_([])},[c.type]);const f=oe(O=>{const C=At(c);C&&(C.dataSource=O,d?.(C))},[c]),[E,k]=$();Ri(r,()=>({loadSchema(O){O&&(b([O.pointData]),d(O))},exportSchema(){return At(c)},getPageInfoData(){return E},initPageInfoData(O){O&&k(O)}}));const h=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(nn.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:a,setSchema:d,saveDataSource:f,prePiontData:p,setPrePiontData:m,pageInfoData:E,setPageInfoData:O=>k(Object.assign(Object.assign({},E),O)),undoStack:y,redoStack:T,setRedoStack:_,setUndoStack:b,getCurPageConf:h,popup:u,setPopup:g}},v.createElement(so,{isSsr:i,enable:o},t))});var ao=Object.freeze({__proto__:null,EditorCore:on}),ro=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const me=[{label:"defalut",value:"appFont"}],ai=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),co=ai&&ai!==""?JSON.parse(ai):[];var $e={fontOptions:[...me,...co]},ri,di,ci,uo=[{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:me,initialValue:(ri=me?.[0])===null||ri===void 0?void 0:ri.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:$e?.fontOptions,initialValue:(ci=(di=$e?.fontOptions)===null||di===void 0?void 0:di[0])===null||ci===void 0?void 0:ci.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Ue(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=we(),o=oe((s,a,c,d)=>{var p,m,y,b,T,_,u,g,f,E,k,h,O,C;let x="";e&&(!((m=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((y=s?.video)===null||y===void 0)&&y.bindProduct)?x="pdpPage":n?x="hashTagPage":!((b=s?.video)===null||b===void 0)&&b.url?x="videoPage":!((T=s?.video)===null||T===void 0)&&T.imgUrls&&(!((u=(_=s?.video)===null||_===void 0?void 0:_.imgUrls)===null||u===void 0)&&u.length)?x="imagePage":s?.product&&(x="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(g=a?.itemId)!==null&&g!==void 0?g:"",productName:(f=a?.title)!==null&&f!==void 0?f:"",price:a?.price?a?.price+"":"0",productCollection:(E=a?.collection)!==null&&E!==void 0?E:"",fromKName:x,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:d+"",contentId:(h=(k=s?.video)===null||k===void 0?void 0:k.itemId)!==null&&h!==void 0?h:"",ctatId:(O=c?.itemId)!==null&&O!==void 0?O:"",traceInfo:(C=a?.traceInfo)!==null&&C!==void 0?C:""}})},[t,e,n]),l=oe((s,a,c,d,p)=>{var m,y,b,T;let _="";e&&(!((y=(m=s?.video)===null||m===void 0?void 0:m.bindProducts)===null||y===void 0)&&y.length||!((b=s?.video)===null||b===void 0)&&b.bindProduct)?_="pdpPage":s?.product&&(_="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:_,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:p+"",contentId:(T=s?.video)===null||T===void 0?void 0:T.itemId,ctatId:c?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=oe((s,a,c,d)=>{a&&a===Vt&&t?.({eventInfo:{lastFeed:s,themeTags:c?`['${c}']`:"",hashTags:d?`['${d}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:l,backMainFeed:r}}const po=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:a,isExternalLink:c,isPopup:d,onClick:p,onClose:m,submitButtonStyle:y}=t,b=Me(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:T,popupDetailData:_}=we(),{jumpToWeb:u}=Ue(),g=Z(),[f,E]=$(!1),k=ee(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),h=ee(()=>{if(a===void 0){const C=At(e)||k;return C?.map(x=>Object.assign(Object.assign({},x),{title:void 0,fieldProps:{placeholder:x?.title}}))}else return At(e)||k},[a,e,k]),O=ti(()=>Fe(void 0,void 0,void 0,function*(){var C,x,w,D,S,I;const P=yield(C=g?.current)===null||C===void 0?void 0:C.getFieldsValue();if(!P)return;const M=(w=(x=Object.keys(P))===null||x===void 0?void 0:x.map(R=>{var V;return{name:R,value:(V=P[R])!==null&&V!==void 0?V:""}}))===null||w===void 0?void 0:w.filter(R=>R?.value);if(!M||!M?.length)return;E(!0);const N=yield T?.({attributes:M});if(E(!1),N){if(c){const R=_,V=(D=R?.video)===null||D===void 0?void 0:D.bindProduct,j=(I=(S=R?.video)===null||S===void 0?void 0:S.bindProduct)===null||I===void 0?void 0:I.bindCta,z=_?.index;u(R,V,j,z)}d||m?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${ne(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:ne(Object.assign({},i))},b),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement($n,{columns:h,submitter:!1,layout:a,autoFocusFirstInput:!1,size:"large",formRef:g,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{"aria-label":s,onClick:O,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},y)},f?v.createElement(v.Fragment,null,"loading..."):s)))};var vo=fe(po);function Ge(t,e){return t.extend=e,t}const fo=Ge(vo,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:uo,bindableProps:[],interactionRender:ro},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 ui,pi,mo=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:me,name:["fontFamily"],initialValue:(ui=me?.[0])===null||ui===void 0?void 0:ui.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:me,initialValue:(pi=me?.[0])===null||pi===void 0?void 0:pi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function ln(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function vi(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ln(e[i])&&ln(t[i])&&Object.keys(e[i]).length>0&&vi(t[i],e[i])})}const sn={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 et(){const t=typeof document<"u"?document:{};return vi(t,sn),t}const ho={document:sn,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 Ve(){const t=typeof window<"u"?window:{};return vi(t,ho),t}function pt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function go(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Et(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Je(){return Date.now()}function bo(t){const e=Ve();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function yo(t,e){e===void 0&&(e="x");const i=Ve();let n,o,l;const r=bo(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 Ht(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function wo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function We(){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&&!wo(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],a=Object.getOwnPropertyDescriptor(n,s);a!==void 0&&a.enumerable&&(Ht(t[s])&&Ht(n[s])?n[s].__swiper__?t[s]=n[s]:We(t[s],n[s]):!Ht(t[s])&&Ht(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:We(t[s],n[s])):t[s]=n[s])}}}return t}function Ut(t,e,i){t.style.setProperty(e,i)}function an(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Ve(),l=-e.translate;let r=null,s;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(m,y)=>c==="next"&&m>=y||c==="prev"&&m<=y,p=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/a,1),0),y=.5-Math.cos(m*Math.PI)/2;let b=l+y*(i-l);if(d(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),d(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function tt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Gt(t){try{console.warn(t);return}catch{}}function Mt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:pt(e)),i}function So(t){const e=Ve(),i=et(),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,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+a-r}}function To(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 xo(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 vt(t,e){return Ve().getComputedStyle(t,null).getPropertyValue(e)}function $t(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function rn(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 fi(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function mi(t,e,i){const n=Ve();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 it(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Eo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ve();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=Je(),a;const c=[];function d(f){let O=0,C=0,x=0,w=0;return"detail"in f&&(C=f.detail),"wheelDelta"in f&&(C=-f.wheelDelta/120),"wheelDeltaY"in f&&(C=-f.wheelDeltaY/120),"wheelDeltaX"in f&&(O=-f.wheelDeltaX/120),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(O=C,C=0),x=O*10,w=C*10,"deltaY"in f&&(w=f.deltaY),"deltaX"in f&&(x=f.deltaX),f.shiftKey&&!x&&(x=w,w=0),(x||w)&&f.deltaMode&&(f.deltaMode===1?(x*=40,w*=40):(x*=800,w*=800)),x&&!O&&(O=x<1?-1:1),w&&!C&&(C=w<1?-1:1),{spinX:O,spinY:C,pixelX:x,pixelY:w}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function y(f){return e.params.mousewheel.thresholdDelta&&f.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Je()-s<e.params.mousewheel.thresholdTime?!1:f.delta>=6&&Je()-s<60?!0:(f.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",f.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",f.raw)),s=new l.Date().getTime(),!1)}function b(f){const E=e.params.mousewheel;if(f.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function T(f){let E=f,k=!0;if(!e.enabled||f.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const h=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const C=O&&O.contains(E.target);if(!e.mouseEntered&&!C&&!h.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let x=0;const w=e.rtlTranslate?-1:1,D=d(E);if(h.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))x=-D.pixelX*w;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))x=-D.pixelY;else return!0;else x=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*w:-D.pixelY;if(x===0)return!0;h.invert&&(x=-x);let S=e.getTranslate()+x*h.sensitivity;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),k=e.params.loop?!0:!(S===e.minTranslate()||S===e.maxTranslate()),k&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Je(),delta:Math.abs(x),direction:Math.sign(x),raw:f};c.length>=2&&c.shift();const P=c.length?c[c.length-1]:void 0;if(c.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&y(I):y(I),b(I))return!0}else{const I={time:Je(),delta:Math.abs(x),direction:Math.sign(x)},P=a&&I.time<a.time+500&&I.delta<=a.delta&&I.direction===a.direction;if(!P){a=void 0;let M=e.getTranslate()+x*h.sensitivity;const N=e.isBeginning,R=e.isEnd;if(M>=e.minTranslate()&&(M=e.minTranslate()),M<=e.maxTranslate()&&(M=e.maxTranslate()),e.setTransition(0),e.setTranslate(M),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!N&&e.isBeginning||!R&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,c.length>=15&&c.shift();const V=c.length?c[c.length-1]:void 0,j=c[0];if(c.push(I),V&&(I.delta>V.delta||I.direction!==V.direction))c.splice(0);else if(c.length>=15&&I.time-j.time<500&&j.delta-I.delta>=1&&I.delta<=6){const z=x>0?.8:.2;a=I,c.splice(0),r=Et(()=>{e.slideToClosest(e.params.speed,!0,void 0,z)},0)}r||(r=Et(()=>{a=I,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(M===e.minTranslate()||M===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function _(f){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[f]("mouseenter",p),E[f]("mouseleave",m),E[f]("wheel",T)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(_("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(_("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:u,disable:g})}function dn(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=tt(t.el,`.${n[o]}`)[0];l||(l=Mt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function It(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Wt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,g){const{bulletActiveClass:f}=e.params.pagination;u&&(u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${f}-${g}`),u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${f}-${g}-${g}`)))}function d(u){const g=u.target.closest(It(e.params.pagination.bulletClass));if(!g)return;u.preventDefault();const f=$t(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===f)return;e.slideToLoop(f)}else e.slideTo(f)}function p(){const u=e.rtl,g=e.params.pagination;if(a())return;let f=e.pagination.el;f=it(f);let E,k;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,E=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let x,w,D;if(g.dynamicBullets&&(r=mi(C[0],e.isHorizontal()?"width":"height",!0),f.forEach(S=>{S.style[e.isHorizontal()?"width":"height"]=`${r*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&k!==void 0&&(s+=E-(k||0),s>g.dynamicMainBullets-1?s=g.dynamicMainBullets-1:s<0&&(s=0)),x=Math.max(E-s,0),w=x+(Math.min(C.length,g.dynamicMainBullets)-1),D=(w+x)/2),C.forEach(S=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${g.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();S.classList.remove(...I)}),f.length>1)C.forEach(S=>{const I=$t(S);I===E?S.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&S.setAttribute("part","bullet"),g.dynamicBullets&&(I>=x&&I<=w&&S.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),I===x&&c(S,"prev"),I===w&&c(S,"next"))});else{const S=C[E];if(S&&S.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&C.forEach((I,P)=>{I.setAttribute("part",P===E?"bullet-active":"bullet")}),g.dynamicBullets){const I=C[x],P=C[w];for(let M=x;M<=w;M+=1)C[M]&&C[M].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(I,"prev"),c(P,"next")}}if(g.dynamicBullets){const S=Math.min(C.length,g.dynamicMainBullets+4),I=(r*S-r)/2-D*r,P=u?"right":"left";C.forEach(M=>{M.style[e.isHorizontal()?P:"top"]=`${I}px`})}}f.forEach((C,x)=>{if(g.type==="fraction"&&(C.querySelectorAll(It(g.currentClass)).forEach(w=>{w.textContent=g.formatFractionCurrent(E+1)}),C.querySelectorAll(It(g.totalClass)).forEach(w=>{w.textContent=g.formatFractionTotal(O)})),g.type==="progressbar"){let w;g.progressbarOpposite?w=e.isHorizontal()?"vertical":"horizontal":w=e.isHorizontal()?"horizontal":"vertical";const D=(E+1)/O;let S=1,I=1;w==="horizontal"?S=D:I=D,C.querySelectorAll(It(g.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${S}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(C.innerHTML=g.renderCustom(e,E+1,O),x===0&&o("paginationRender",C)):(x===0&&o("paginationRender",C),o("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](g.lockClass)})}function m(){const u=e.params.pagination;if(a())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let f=e.pagination.el;f=it(f);let E="";if(u.type==="bullets"){let k=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>g&&(k=g);for(let h=0;h<k;h+=1)u.renderBullet?E+=u.renderBullet.call(e,h,u.bulletClass):E+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?E=u.renderFraction.call(e,u.currentClass,u.totalClass):E=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?E=u.renderProgressbar.call(e,u.progressbarFillClass):E=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],f.forEach(k=>{u.type!=="custom"&&(k.innerHTML=E||""),u.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(It(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",f[0])}function y(){e.params.pagination=dn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let g;typeof u.el=="string"&&e.isElement&&(g=e.el.querySelector(u.el)),!g&&typeof u.el=="string"&&(g=[...document.querySelectorAll(u.el)]),g||(g=u.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(u.el)],g.length>1&&(g=g.filter(f=>rn(f,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=it(g),g.forEach(f=>{u.type==="bullets"&&u.clickable&&f.classList.add(...(u.clickableClass||"").split(" ")),f.classList.add(u.modifierClass+u.type),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(f.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&f.classList.add(u.progressbarOppositeClass),u.clickable&&f.addEventListener("click",d),e.enabled||f.classList.add(u.lockClass)}))}function b(){const u=e.params.pagination;if(a())return;let g=e.pagination.el;g&&(g=it(g),g.forEach(f=>{f.classList.remove(u.hiddenClass),f.classList.remove(u.modifierClass+u.type),f.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(f.classList.remove(...(u.clickableClass||"").split(" ")),f.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(f=>f.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:g}=e.pagination;g=it(g),g.forEach(f=>{f.classList.remove(u.horizontalClass,u.verticalClass),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?_():(y(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=it(u),u.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,g)=>{const f=g.target,E=it(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!f.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&f===e.navigation.nextEl||e.navigation.prevEl&&f===e.navigation.prevEl))return;const k=E[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),E.forEach(h=>h.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),y(),m(),p()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:T,disable:_,render:m,update:p,init:y,destroy:b})}function Io(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=et();let r=!1,s=null,a=null,c,d,p,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S,rtlTranslate:I}=e,{dragEl:P,el:M}=S,N=e.params.scrollbar,R=e.params.loop?e.progressLoop:e.progress;let V=d,j=(p-d)*R;I?(j=-j,j>0?(V=d-j,j=0):-j+d>p&&(V=p+j)):j<0?(V=d+j,j=0):j+d>p&&(V=p-j),e.isHorizontal()?(P.style.transform=`translate3d(${j}px, 0, 0)`,P.style.width=`${V}px`):(P.style.transform=`translate3d(0px, ${j}px, 0)`,P.style.height=`${V}px`),N.hide&&(clearTimeout(s),M.style.opacity=1,s=setTimeout(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3))}function b(S){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S}=e,{dragEl:I,el:P}=S;I.style.width="",I.style.height="",p=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"?d=p*m:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${d}px`:I.style.height=`${d}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&S.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function _(S){return e.isHorizontal()?S.clientX:S.clientY}function u(S){const{scrollbar:I,rtlTranslate:P}=e,{el:M}=I;let N;N=(_(S)-So(M)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),N=Math.max(Math.min(N,1),0),P&&(N=1-N);const R=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(R),e.setTranslate(R),e.updateActiveIndex(),e.updateSlidesClasses()}function g(S){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:M}=e,{el:N,dragEl:R}=P;r=!0,c=S.target===R?_(S)-S.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),M.style.transitionDuration="100ms",R.style.transitionDuration="100ms",u(S),clearTimeout(a),N.style.transitionDuration="0ms",I.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",S)}function f(S){const{scrollbar:I,wrapperEl:P}=e,{el:M,dragEl:N}=I;r&&(S.preventDefault&&S.cancelable?S.preventDefault():S.returnValue=!1,u(S),P.style.transitionDuration="0ms",M.style.transitionDuration="0ms",N.style.transitionDuration="0ms",o("scrollbarDragMove",S))}function E(S){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:M}=e,{el:N}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),I.hide&&(clearTimeout(a),a=Et(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",S),I.snapOnRelease&&e.slideToClosest())}function k(S){const{scrollbar:I,params:P}=e,M=I.el;if(!M)return;const N=M,R=P.passiveListeners?{passive:!1,capture:!1}:!1,V=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;const j=S==="on"?"addEventListener":"removeEventListener";N[j]("pointerdown",g,R),l[j]("pointermove",f,R),l[j]("pointerup",E,V)}function h(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function C(){const{scrollbar:S,el:I}=e;e.params.scrollbar=dn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let M;if(typeof P.el=="string"&&e.isElement&&(M=e.el.querySelector(P.el)),!M&&typeof P.el=="string"){if(M=l.querySelectorAll(P.el),!M.length)return}else M||(M=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&M.length>1&&I.querySelectorAll(P.el).length===1&&(M=I.querySelector(P.el)),M.length>0&&(M=M[0]),M.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let N;M&&(N=M.querySelector(It(e.params.scrollbar.dragClass)),N||(N=Mt("div",e.params.scrollbar.dragClass),M.append(N))),Object.assign(S,{el:M,dragEl:N}),P.draggable&&h(),M&&M.classList[e.enabled?"remove":"add"](...pt(e.params.scrollbar.lockClass))}function x(){const S=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...pt(e.isHorizontal()?S.horizontalClass:S.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const S=e.params.scrollbar;let{el:I}=e.scrollbar;I=it(I),I.forEach(P=>{P.classList.remove(S.horizontalClass,S.verticalClass),P.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(C(),T(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{y()}),n("setTransition",(S,I)=>{b(I)}),n("enable disable",()=>{const{el:S}=e.scrollbar;S&&S.classList[e.enabled?"remove":"add"](...pt(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const w=()=>{e.el.classList.remove(...pt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...pt(e.params.scrollbar.scrollbarDisabledClass)),C(),T(),y()},D=()=>{e.el.classList.add(...pt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...pt(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:w,disable:D,updateSize:T,setTranslate:y,init:C,destroy:x})}function Yt(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,a=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),m,y,b,T,_,u,g;function f(V){!e||e.destroyed||!e.wrapperEl||V.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",f),!(g||V.detail&&V.detail.bySwiperTouchMove)&&w())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(c=d,m=!1);const V=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=V,o("autoplayTimeLeft",V,V/a),s=requestAnimationFrame(()=>{E()})},k=()=>{let V;return e.virtual&&e.params.virtual.enabled?V=e.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:V=e.slides[e.activeIndex],V?parseInt(V.getAttribute("data-swiper-autoplay"),10):void 0},h=V=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let j=typeof V>"u"?e.params.autoplay.delay:V;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const z=k();!Number.isNaN(z)&&z>0&&typeof V>"u"&&(j=z,a=z,c=z),d=j;const L=e.params.speed,F=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{h()})))};return j>0?(clearTimeout(r),r=setTimeout(()=>{F()},j)):requestAnimationFrame(()=>{F()}),j},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,h(),o("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},x=(V,j)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),V||(u=!0);const z=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",f):w()};if(e.autoplay.paused=!0,j){_&&(d=e.params.autoplay.delay),_=!1,z();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),z())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,h(d)):h(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const V=et();V.visibilityState==="hidden"&&(u=!0,x(!0)),V.visibilityState==="visible"&&w()},S=V=>{V.pointerType==="mouse"&&(u=!0,g=!0,!(e.animating||e.autoplay.paused)&&x(!0))},I=V=>{V.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&w())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",I))},M=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",I))},N=()=>{et().addEventListener("visibilitychange",D)},R=()=>{et().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(P(),N(),O())}),n("destroy",()=>{M(),R(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(b||u)&&w()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():x(!0,!0)}),n("beforeTransitionStart",(V,j,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?x(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}y=!0,b=!1,u=!1,T=setTimeout(()=>{u=!0,b=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){b=!1,y=!1;return}b&&e.params.cssMode&&w(),b=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(_=!0)}),Object.assign(e.autoplay,{start:O,stop:C,pause:x,resume:w})}function Co(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 a=e.getTranslate();e.setTranslate(a),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:a,touches:c}=e;a.velocities.length===0&&a.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Je()})}function s(a){let{currentPos:c}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:m,snapGrid:y,touchEventsData:b}=e,_=Je()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(b.velocities.length>1){const C=b.velocities.pop(),x=b.velocities.pop(),w=C.position-x.position,D=C.time-x.time;e.velocity=w/D,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Je()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,b.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const g=e.velocity*u;let f=e.translate+g;m&&(f=-f);let E=!1,k;const h=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(f<e.maxTranslate())d.freeMode.momentumBounce?(f+e.maxTranslate()<-h&&(f=e.maxTranslate()-h),k=e.maxTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(f>e.minTranslate())d.freeMode.momentumBounce?(f-e.minTranslate()>h&&(f=e.minTranslate()+h),k=e.minTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let C;for(let x=0;x<y.length;x+=1)if(y[x]>-f){C=x;break}Math.abs(y[C]-f)<Math.abs(y[C-1]-f)||e.swipeDirection==="next"?f=y[C]:f=y[C-1],f=-f}if(O&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-f-e.translate)/e.velocity):u=Math.abs((f-e.translate)/e.velocity),d.freeMode.sticky){const C=Math.abs((m?-f:f)-e.translate),x=e.slidesSizesGrid[e.activeIndex];C<x?u=d.speed:C<2*x?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&E?(e.updateProgress(k),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,fi(p,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(k),fi(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,fi(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||_>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let hi;function _o(){const t=Ve(),e=et();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function cn(){return hi||(hi=_o()),hi}let gi;function ko(t){let{userAgent:e}=t===void 0?{}:t;const i=cn(),n=Ve(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=o==="Win32";let b=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&b&&i.touch&&T.indexOf(`${s}x${a}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),b=!1),c&&!y&&(r.os="android",r.android=!0),(d||m||p)&&(r.os="ios",r.ios=!0),r}function un(t){return t===void 0&&(t={}),gi||(gi=ko(t)),gi}let bi;function Do(){const t=Ve(),e=un();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[a,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<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 Ao(){return bi||(bi=Do()),bi}function Po(t){let{swiper:e,on:i,emit:n}=t;const o=Ve();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{r=o.requestAnimationFrame(()=>{const{width:m,height:y}=e;let b=m,T=y;p.forEach(_=>{let{contentBoxSize:u,contentRect:g,target:f}=_;f&&f!==e.el||(b=g?g.width:(u[0]||u).inlineSize,T=g?g.height:(u[0]||u).blockSize)}),(b!==m||T!==y)&&s()})}),l.observe(e.el))},c=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function Oo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Ve(),s=function(d,p){p===void 0&&(p={});const m=r.MutationObserver||r.WebkitMutationObserver,y=new m(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const T=function(){o("observerUpdate",b[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});y.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(y)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=rn(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",c)}var Mo={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(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(n,i)})}),t}};function Lo(){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(vt(n,"padding-left")||0,10)-parseInt(vt(n,"padding-right")||0,10),i=i-parseInt(vt(n,"padding-top")||0,10)-parseInt(vt(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 jo(){const t=this;function e(w,D){return parseFloat(w.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=tt(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:d.length;let m=[];const y=[],b=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let _=i.slidesOffsetAfter;typeof _=="function"&&(_=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,g=t.slidesGrid.length;let f=i.spaceBetween,E=-T,k=0,h=0;if(typeof l>"u")return;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*l:typeof f=="string"&&(f=parseFloat(f)),t.virtualSize=-f,d.forEach(w=>{r?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ut(n,"--swiper-centered-offset-before",""),Ut(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let C;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<p;w+=1){C=0;let D;if(d[w]&&(D=d[w]),O&&t.grid.updateSlide(w,D,d),!(d[w]&&vt(D,"display")==="none")){if(i.slidesPerView==="auto"){x&&(d[w].style[t.getDirectionLabel("width")]="");const S=getComputedStyle(D),I=D.style.transform,P=D.style.webkitTransform;if(I&&(D.style.transform="none"),P&&(D.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?mi(D,"width",!0):mi(D,"height",!0);else{const M=e(S,"width"),N=e(S,"padding-left"),R=e(S,"padding-right"),V=e(S,"margin-left"),j=e(S,"margin-right"),z=S.getPropertyValue("box-sizing");if(z&&z==="border-box")C=M+V+j;else{const{clientWidth:L,offsetWidth:F}=D;C=M+N+R+V+j+(F-L)}}I&&(D.style.transform=I),P&&(D.style.webkitTransform=P),i.roundLengths&&(C=Math.floor(C))}else C=(l-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),d[w]&&(d[w].style[t.getDirectionLabel("width")]=`${C}px`);d[w]&&(d[w].swiperSlideSize=C),b.push(C),i.centeredSlides?(E=E+C/2+k/2+f,k===0&&w!==0&&(E=E-l/2-f),w===0&&(E=E-l/2-f),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),h%i.slidesPerGroup===0&&m.push(E),y.push(E)):(i.roundLengths&&(E=Math.floor(E)),(h-Math.min(t.params.slidesPerGroupSkip,h))%t.params.slidesPerGroup===0&&m.push(E),y.push(E),E=E+C+f),t.virtualSize+=C+f,k=C,h+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+_,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+f}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+f}px`),O&&t.grid.updateWrapperSize(C,m),!i.centeredSlides){const w=[];for(let D=0;D<m.length;D+=1){let S=m[D];i.roundLengths&&(S=Math.floor(S)),m[D]<=t.virtualSize-l&&w.push(S)}m=w,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const w=b[0]+f;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),S=w*i.slidesPerGroup;for(let I=0;I<D;I+=1)m.push(m[m.length-1]+S)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+w),y.push(y[y.length-1]+w),t.virtualSize+=w}if(m.length===0&&(m=[0]),f!==0){const w=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,S)=>!i.cssMode||i.loop?!0:S!==d.length-1).forEach(D=>{D.style[w]=`${f}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;b.forEach(S=>{w+=S+(f||0)}),w-=f;const D=w-l;m=m.map(S=>S<=0?-T:S>D?D+_:S)}if(i.centerInsufficientSlides){let w=0;b.forEach(S=>{w+=S+(f||0)}),w-=f;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(w+D<l){const S=(l-w-D)/2;m.forEach((I,P)=>{m[P]=I-S}),y.forEach((I,P)=>{y[P]=I+S})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:y,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ut(n,"--swiper-centered-offset-before",`${-m[0]}px`),Ut(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const w=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(S=>S+w),t.slidesGrid=t.slidesGrid.map(S=>S+D)}if(p!==c&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(w);p<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(w):D&&t.el.classList.remove(w)}}function No(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 Bo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const pn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function zo(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),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 a=0;a<n.length;a+=1){const c=n[a];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(r+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),y=-(r-d),b=y+e.slidesSizesGrid[a],T=y>=0&&y<=e.size-e.slidesSizesGrid[a],_=y>=0&&y<e.size-1||b>1&&b<=e.size||y<=0&&b>=e.size;_&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a)),pn(c,_,i.slideVisibleClass),pn(c,T,i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-m:m}}function Fo(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const a=l,c=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,r=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],y=e.slidesGrid[p],b=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?s=(T-m)/b:s=(T+b-y)/b,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&&!a&&e.emit("reachBeginning toEdge"),r&&!c&&e.emit("reachEnd toEdge"),(a&&!l||c&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}const yi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Vo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=p=>tt(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];let a,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=s(`[data-swiper-slide-index="${p}"]`)}else a=s(`[data-swiper-slide-index="${o}"]`);else r?(a=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(r||(d=xo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=To(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(p=>{yi(p,p===a,i.slideActiveClass),yi(p,p===d,i.slideNextClass),yi(p,p===c,i.slidePrevClass)}),t.emitSlidesClasses()}const qt=(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()}},wi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Si=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),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((a,c)=>r+n+c)),t.slides.forEach((a,c)=>{s.includes(a.column)&&wi(t,c)});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)&&wi(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)&&wi(t,r)};function Ro(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 Ho(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let a=t,c;const d=y=>{let b=y-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof a>"u"&&(a=Ro(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const y=Math.min(o.slidesPerGroupSkip,a);c=y+Math.floor((a-y)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),a===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(a);else if(p){const y=e.slides.filter(T=>T.column===a)[0];let b=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(y),0)),m=Math.floor(b/o.grid.rows)}else if(e.slides[a]){const y=e.slides[a].getAttribute("data-swiper-slide-index");y?m=parseInt(y,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&Si(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Uo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Go={updateSize:Lo,updateSlides:jo,updateAutoHeight:No,updateSlidesOffset:Bo,updateSlidesProgress:zo,updateProgress:Fo,updateSlidesClasses:Vo,updateActiveIndex:Ho,updateClickedSlide:Uo};function $o(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=yo(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Wo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,a=0;const c=0;i.isHorizontal()?s=n?-t:t:a=t,o.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-a:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${a}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Yo(){return-this.snapGrid[0]}function qo(){return-this.snapGrid[this.snapGrid.length-1]}function Xo(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 a=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>a?d=a:n&&t<c?d=c:d=t,l.updateProgress(d),r.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return an({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Jo={getTranslate:$o,setTranslate:Wo,minTranslate:Yo,maxTranslate:qo,translateTo:Xo};function Ko(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function vn(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 Qo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),vn({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Zo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),vn({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var el={setTransition:Ko,transitionStart:Qo,transitionEnd:Zo};function tl(t,e,i,n,o){t===void 0&&(t=0),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:a,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:m,wrapperEl:y,enabled:b}=l;if(!b&&!n&&!o||l.destroyed||l.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const T=Math.min(l.params.slidesPerGroupSkip,r);let _=T+Math.floor((r-T)/l.params.slidesPerGroup);_>=a.length&&(_=a.length-1);const u=-a[_];if(s.normalizeSlideIndex)for(let f=0;f<c.length;f+=1){const E=-Math.floor(u*100),k=Math.floor(c[f]*100),h=Math.floor(c[f+1]*100);typeof c[f+1]<"u"?E>=k&&E<h-(h-k)/2?r=f:E>=k&&E<h&&(r=f+1):E>=k&&(r=f)}if(l.initialized&&r!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==r))return!1;r!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let g;if(r>p?g="next":r<p?g="prev":g="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),g!=="reset"&&(l.transitionStart(i,g),l.transitionEnd(i,g)),!1;if(s.cssMode){const f=l.isHorizontal(),E=m?u:-u;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[f?"scrollLeft":"scrollTop"]=E})):y[f?"scrollLeft":"scrollTop"]=E,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return an({swiper:l,targetPosition:E,side:f?"left":"top"}),!0;y.scrollTo({[f?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,g),e===0?l.transitionEnd(i,g):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(E){!l||l.destroyed||E.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,g))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function il(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);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(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=a-s<d;if(c&&(p=p||s<Math.ceil(d/2)),n&&c&&o.params.slidesPerView!=="auto"&&!l&&(p=!1),p){const m=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function nl(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!c&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function ol(t,e,i){e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:a,animating:c}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const y=m(p),b=l.map(u=>m(u));let T=l[b.indexOf(y)-1];if(typeof T>"u"&&o.cssMode){let u;l.forEach((g,f)=>{y>=g&&(u=f)}),typeof u<"u"&&(T=l[u>0?u-1:u])}let _=0;if(typeof T<"u"&&(_=r.indexOf(T),_<0&&(_=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(_=_-n.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(_,t,e,i)}),!0;return n.slideTo(_,t,e,i)}function ll(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function sl(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];a-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];a-c<=(d-c)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function al(){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(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),Et(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),Et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var rl={slideTo:tl,slideToLoop:il,slideNext:nl,slidePrev:ol,slideReset:ll,slideToClosest:sl,slideToClickedSlide:al};function dl(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{tt(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.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,a=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const m=e.isElement?Mt("swiper-slide",[i.slideBlankClass]):Mt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const d=r-e.slides.length%r;c(d),e.recalcSlides(),e.updateSlides()}else Gt("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(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Gt("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 cl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:m,params:y}=a,{centeredSlides:b}=y;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):y.centeredSlides&&a.snapIndex<y.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=p,a.emit("loopFix");return}let T=y.slidesPerView;T==="auto"?T=a.slidesPerViewDynamic():(T=Math.ceil(parseFloat(y.slidesPerView,10)),b&&T%2===0&&(T=T+1));const _=y.slidesPerGroupAuto?T:y.slidesPerGroup;let u=_;u%_!==0&&(u+=_-u%_),u+=y.loopAdditionalSlides,a.loopedSlides=u;const g=a.grid&&y.grid&&y.grid.rows>1;c.length<T+u?Gt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&y.grid.fill==="row"&&Gt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],E=[];let k=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(c.filter(I=>I.classList.contains(y.slideActiveClass))[0]):k=l;const h=n==="next"||!n,O=n==="prev"||!n;let C=0,x=0;const w=g?Math.ceil(c.length/y.grid.rows):c.length,S=(g?c[l].column:l)+(b&&typeof o>"u"?-T/2+.5:0);if(S<u){C=Math.max(u-S,_);for(let I=0;I<u-S;I+=1){const P=I-Math.floor(I/w)*w;if(g){const M=w-P-1;for(let N=c.length-1;N>=0;N-=1)c[N].column===M&&f.push(N)}else f.push(w-P-1)}}else if(S+T>w-u){x=Math.max(S-(w-u*2),_);for(let I=0;I<x;I+=1){const P=I-Math.floor(I/w)*w;g?c.forEach((M,N)=>{M.column===P&&E.push(N)}):E.push(P)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),O&&f.forEach(I=>{c[I].swiperLoopMoveDOM=!0,m.prepend(c[I]),c[I].swiperLoopMoveDOM=!1}),h&&E.forEach(I=>{c[I].swiperLoopMoveDOM=!0,m.append(c[I]),c[I].swiperLoopMoveDOM=!1}),a.recalcSlides(),y.slidesPerView==="auto"?a.updateSlides():g&&(f.length>0&&O||E.length>0&&h)&&a.slides.forEach((I,P)=>{a.grid.updateSlide(P,I,a.slides)}),y.watchSlidesProgress&&a.updateSlidesOffset(),i){if(f.length>0&&O){if(typeof e>"u"){const I=a.slidesGrid[k],M=a.slidesGrid[k+C]-I;s?a.setTranslate(a.translate-M):(a.slideTo(k+Math.ceil(C),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-M,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-M))}else if(o){const I=g?f.length/y.grid.rows:f.length;a.slideTo(a.activeIndex+I,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(E.length>0&&h)if(typeof e>"u"){const I=a.slidesGrid[k],M=a.slidesGrid[k-x]-I;s?a.setTranslate(a.translate-M):(a.slideTo(k-x,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-M,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-M))}else{const I=g?E.length/y.grid.rows:E.length;a.slideTo(a.activeIndex-I,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=p,a.controller&&a.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===y.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...I,slideTo:a.controller.control.params.slidesPerView===y.slidesPerView?i:!1})}a.emit("loopFix")}function ul(){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 pl={loopCreate:dl,loopFix:cl,loopDestroy:ul};function vl(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 fl(){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 ml={setGrabCursor:vl,unsetGrabCursor:fl};function hl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===et()||n===Ve())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 fn(t,e,i){const n=Ve(),{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 gl(t){const e=this,i=et();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"){fn(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 a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(a=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?hl(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const y=r.currentX,b=r.currentY;if(!fn(e,n,y))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=y,r.startY=b,o.touchStartTime=Je(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;a.matches(o.focusableElements)&&(T=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const _=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||_)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function bl(t){const e=et(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(h=>h.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,p=c.pageY;if(a.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Je());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const m=l.currentX-l.startX,y=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let h;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+y*y>=25&&(h=Math.atan2(Math.abs(y),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?h>o.touchAngle:90-h>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let b=i.isHorizontal()?m:y,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=b,b*=o.touchRatio,r&&(b=-b,T=-T);const _=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const u=i.params.loop&&!o.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(h)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let f;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&_!==i.touchesDirection&&u&&g&&Math.abs(b)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let E=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),b>0?(u&&g&&!f&&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()&&(E=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**k))):b<0&&(u&&g&&!f&&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()&&(E=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**k))),E&&(a.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(b)>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 yl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(k=>k.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!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 p=Je(),m=p-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Je(),Et(()=>{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 y;if(r.followFinger?y=a?e.translate:-e.translate:y=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const b=y>=-e.maxTranslate()&&!e.params.loop;let T=0,_=e.slidesSizesGrid[0];for(let k=0;k<c.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const h=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof c[k+h]<"u"?(b||y>=c[k]&&y<c[k+h])&&(T=k,_=c[k+h]-c[k]):(b||y>=c[k])&&(T=k,_=c[c.length-1]-c[c.length-2])}let u=null,g=null;r.rewind&&(e.isBeginning?g=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const f=(y-c[T])/_,E=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(f>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?u:T+E):e.slideTo(T)),e.swipeDirection==="prev"&&(f>1-r.longSwipesRatio?e.slideTo(T+E):g!==null&&f<0&&Math.abs(f)>r.longSwipesRatio?e.slideTo(g):e.slideTo(T))}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(T+E):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:T+E),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:T))}}function mn(){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 wl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Sl(){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 Tl(t){const e=this;qt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function xl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const hn=(t,e)=>{const i=et(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;!o||typeof o=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[c](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",mn,!0):t[c]("observerUpdate",mn,!0),o[a]("load",t.onLoad,{capture:!0}))};function El(){const t=this,{params:e}=t;t.onTouchStart=gl.bind(t),t.onTouchMove=bl.bind(t),t.onTouchEnd=yl.bind(t),t.onDocumentTouchStart=xl.bind(t),e.cssMode&&(t.onScroll=Sl.bind(t)),t.onClick=wl.bind(t),t.onLoad=Tl.bind(t),hn(t,"on")}function Il(){hn(this,"off")}var Cl={attachEvents:El,detachEvents:Il};const gn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function _l(){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 a=(r in l?l[r]:void 0)||t.originalParams,c=gn(t,n),d=gn(t,a),p=t.params.grabCursor,m=a.grabCursor,y=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!m?t.unsetGrabCursor():!p&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(f=>{if(typeof a[f]>"u")return;const E=n[f]&&n[f].enabled,k=a[f]&&a[f].enabled;E&&!k&&t[f].disable(),!E&&k&&t[f].enable()});const b=a.direction&&a.direction!==n.direction,T=n.loop&&(a.slidesPerView!==n.slidesPerView||b),_=n.loop;b&&i&&t.changeDirection(),We(t.params,a);const u=t.params.enabled,g=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!u?t.disable():!y&&u&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(T?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&g?(t.loopCreate(e),t.updateSlides()):_&&!g&&t.loopDestroy()),t.emit("breakpoint",a)}function kl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Ve(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const a=parseFloat(s.substr(1));return{value:l*a,point:s}}return{value:s,point:s}});r.sort((s,a)=>parseInt(s.value,10)-parseInt(a.value,10));for(let s=0;s<r.length;s+=1){const{point:a,value:c}=r[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=a):c<=i.clientWidth&&(n=a)}return n||"max"}var Dl={setBreakpoint:_l,getBreakpoint:kl};function Al(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 Pl(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Al(["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 Ol(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Ml={addClasses:Pl,removeClasses:Ol};function Ll(){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 jl={checkOverflow:Ll},Ti={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 Nl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){We(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)){We(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),We(e,n)}}const xi={eventsEmitter:Mo,update:Go,translate:Jo,transition:el,slide:rl,loop:pl,grabCursor:ml,events:Cl,breakpoints:Dl,checkOverflow:jl,classes:Ml},Ei={};let Ii=class at{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=We({},i),e&&!i.el&&(i.el=e);const r=et();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const d=[];return r.querySelectorAll(i.el).forEach(p=>{const m=We({},i,{el:p});d.push(new at(m))}),d}const s=this;s.__swiper__=!0,s.support=cn(),s.device=un({userAgent:i.userAgent}),s.browser=Ao(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const a={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:Nl(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=We({},Ti,a);return s.params=We({},c,Ei,i),s.originalParams=We({},s.params),s.passedParams=We({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=tt(i,`.${n.slideClass}, swiper-slide`),l=$t(o[0]);return $t(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=tt(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:a,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,m;for(let y=c+1;y<l.length;y+=1)l[y]&&!m&&(p+=Math.ceil(l[y].swiperSlideSize),d+=1,p>a&&(m=!0));for(let y=c-1;y>=0;y-=1)l[y]&&!m&&(p+=l[y].swiperSlideSize,d+=1,p>a&&(m=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?r[p]+s[p]-r[c]<a:r[p]-r[c]<a)&&(d+=1);else for(let p=c-1;p>=0;p-=1)r[c]-r[p]<a&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&qt(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()):tt(n,o())[0];return!r&&i.params.createElements&&(r=Mt("div",i.params.wrapperClass),n.append(r),tt(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"||vt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||vt(n,"direction")==="rtl"),wrongRTL:vt(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?qt(i,l):l.addEventListener("load",r=>{qt(i,r.target)})}),Si(i),i.initialized=!0,Si(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params: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&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),go(n)),n.destroyed=!0),null}static extendDefaults(e){We(Ei,e)}static get extendedDefaults(){return Ei}static get defaults(){return Ti}static installModule(e){at.prototype.__modules__||(at.prototype.__modules__=[]);const i=at.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>at.installModule(i)),at):(at.installModule(e),at)}};Object.keys(xi).forEach(t=>{Object.keys(xi[t]).forEach(e=>{Ii.prototype[e]=xi[t][e]})}),Ii.use([Po,Oo]);const bn=["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 wt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Ct(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]:wt(e[n])&&wt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Ct(t[n],e[n]):t[n]=e[n]})}function yn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function wn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Sn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Tn(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 Bl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function zl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:a}=t;const c=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:d,pagination:p,navigation:m,scrollbar:y,virtual:b,thumbs:T}=e;let _,u,g,f,E,k,h,O;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(_=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(g=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&y&&!y.el&&(f=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const C=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),d[x].prevEl=void 0,d[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),d[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?k=!0:!d.loop&&n.loop?h=!0:O=!0),c.forEach(x=>{if(wt(d[x])&&wt(n[x]))Object.assign(d[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&C(x);else{const w=n[x];(w===!0||w===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?w===!1&&C(x):d[x]=n[x]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&b&&d.virtual.enabled?(b.slides=i,b.update(!0)):o.includes("virtual")&&b&&d.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),o.includes("children")&&i&&d.loop&&(O=!0),_&&T.init()&&T.update(!0),u&&(e.controller.control=d.controller.control),g&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),p.init(),p.render(),p.update()),f&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),y.init(),y.updateSize(),y.setTranslate()),E&&(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&&(d.navigation.nextEl=l),r&&(d.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),(k||O)&&e.loopDestroy(),(h||O)&&e.loopCreate(),e.update()}function Fl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};Ct(i,Ti),i._emitClasses=!0,i.init=!1;const l={},r=bn.map(a=>a.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?wt(t[a])?(i[a]={},o[a]={},Ct(i[a],t[a]),Ct(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function Vl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;yn(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),wn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Sn(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function Rl(t,e,i,n,o){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),c=i.map(o);a.join("")!==c.join("")&&r("children"),n.length!==i.length&&r("children")}return bn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(wt(t[a])&&wt(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?r(a):(c.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}),d.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const Hl=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 Xt(){return Xt=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},Xt.apply(this,arguments)}function xn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function En(t){const e=[];return v.Children.toArray(t).forEach(i=>{xn(i)?e.push(i):i.props&&i.props.children&&En(i.props.children).forEach(n=>e.push(n))}),e}function Ul(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(xn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=En(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Gl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<a;d+=1)d>=l&&d<=r&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function Lt(t,e){return typeof window>"u"?te(t,e):Un(t,e)}const Ci=Ot(null),In=()=>Pt(Ci),$l=Ot(null),St=zt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,a=!1;const[c,d]=$("swiper"),[p,m]=$(null),[y,b]=$(!1),T=Z(!1),_=Z(null),u=Z(null),g=Z(null),f=Z(null),E=Z(null),k=Z(null),h=Z(null),O=Z(null),{params:C,passedParams:x,rest:w,events:D}=Fl(s),{slides:S,slots:I}=Ul(l),P=()=>{b(!y)};Object.assign(C.on,{_containerClasses(j,z){d(z)}});const M=()=>{Object.assign(C.on,D),a=!0;const j={...C};if(delete j.wrapperClass,u.current=new Ii(j),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=S;const z={cache:!1,slides:S,renderExternal:m,renderExternalUpdate:!1};Ct(u.current.params.virtual,z),Ct(u.current.originalParams.virtual,z)}};_.current||M(),u.current&&u.current.on("_beforeBreakpoint",P);const N=()=>{a||!D||!u.current||Object.keys(D).forEach(j=>{u.current.on(j,D[j])})},R=()=>{!D||!u.current||Object.keys(D).forEach(j=>{u.current.off(j,D[j])})};te(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),te(()=>{!T.current&&u.current&&(u.current.emitSlidesClasses(),T.current=!0)}),Lt(()=>{if(e&&(e.current=_.current),!!_.current)return u.current.destroyed&&M(),Vl({el:_.current,nextEl:E.current,prevEl:k.current,paginationEl:h.current,scrollbarEl:O.current,swiper:u.current},C),r&&!u.current.destroyed&&r(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),Lt(()=>{N();const j=Rl(x,g.current,S,f.current,z=>z.key);return g.current=x,f.current=S,j.length&&u.current&&!u.current.destroyed&&zl({swiper:u.current,slides:S,passedParams:x,changedParams:j,nextEl:E.current,prevEl:k.current,scrollbarEl:O.current,paginationEl:h.current}),()=>{R()}}),Lt(()=>{Hl(u.current)},[p]);function V(){return C.virtual?Gl(u.current,S,p):S.map((j,z)=>v.cloneElement(j,{swiper:u.current,swiperSlideIndex:z}))}return v.createElement(n,Xt({ref:_,className:Tn(`${c}${i?` ${i}`:""}`)},w),v.createElement($l.Provider,{value:u.current},I["container-start"],v.createElement(o,{className:Bl(C.wrapperClass)},I["wrapper-start"],V(),I["wrapper-end"]),yn(C)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:k,className:"swiper-button-prev"}),v.createElement("div",{ref:E,className:"swiper-button-next"})),Sn(C)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),wn(C)&&v.createElement("div",{ref:h,className:"swiper-pagination"}),I["container-end"]))});St.displayName="Swiper";const nt=zt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Z(null),[m,y]=$("swiper-slide"),[b,T]=$(!1);function _(E,k,h){k===p.current&&y(h)}Lt(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&y("swiper-slide");return}return l.on("_slideClass",_),()=>{l&&l.off("_slideClass",_)}}}),Lt(()=>{l&&p.current&&!l.destroyed&&y(l.getSlideClasses(p.current))},[l]);const u={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(u):n,f=()=>{T(!0)};return v.createElement(i,Xt({ref:p,className:Tn(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:f},d),r&&v.createElement(Ci.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},g(),s&&!b&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&v.createElement(Ci.Provider,{value:u},g(),s&&!b&&v.createElement("div",{className:"swiper-lazy-preloader"})))});nt.displayName="SwiperSlide";const Wl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Yl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,a]=$(!1),c=Z(null);te(()=>{const m=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?c.current=y:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),m?.appendChild(c.current))},[]);const d=ee(()=>l?.id&&l?.id!==""||t,[t,l]);if(te(()=>{d?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[d,l]),!c.current)return null;const p=ti(()=>{e?.()},300);return Hi.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Wl,alt:"close",className:"modal-icon"})),i))),c.current)};var Jt=fe(Yl);const ql=(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(" ")+" "},Xl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:a})=>{const[c,d]=$(!1),[p,m]=$(!1),y=Number(i?.lineClamp||2),b=Z(null),T=Z(null),_=oe(()=>{d(!c)},[c,a]);return ee(()=>!c&&t.length>e?ql(t,e)+"...":t,[t,e,c]),te(()=>{var u,g;((u=T?.current)===null||u===void 0?void 0:u.offsetHeight)>((g=b?.current)===null||g===void 0?void 0:g.offsetHeight)&&s?m(!0):m(!1),T.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:T,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??_},c?r||"show less":l||"show more"))};var Kt=fe(Xl);const Jl=zt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,a]=$(),{swiperRef:c}=we();return Ri(e,()=>({setSrc:d=>{a(d)}})),te(()=>{var d,p;const m=(p=(d=c?.current)===null||d===void 0?void 0:d.swiper)===null||p===void 0?void 0:p.activeIndex;(m===0||m>0)&&a(i)},[i,c]),Z(null),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)},alt:"image"})):v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)},alt:"image"}))});var Re=fe(Jl);const Kl=t=>{var e,i,n,o,l,r,s,a,c,{content:d,style:p,bgImg:m,onClick:y,schema:b,isDefault:T,bottom_image:_,tipText:u,isPost:g,viewTime:f,rec:E,swiper:k,commodityStyles:h,buttonStyle:O,index:C}=t,x=Me(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:w}=we(),{popupDetailData:D,bffEventReport:S,isPreview:I,bffFbReport:P}=we(),{jumpToWeb:M,productView:N}=Ue(),R=Z(null),[V,j]=$(!1),z=g?E:D,L=g?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,F=g?(i=z?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=z?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,B=g?C:D?.index,G=()=>{L?.link&&(M(z,L,F,B),g||N(z,L,F,f||R.current,B),window.location.href=window.getJointUtmLink(L.link))};te(()=>{g||P?.({eventName:"ProductView"})},[g,P]),te(()=>{const q=()=>{R.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const H=ee(()=>{var q,X,Q,J,Ie;return L?.currency&&L?.price?`${(Q=(X=(q=L?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||X===void 0?void 0:X.toUpperCase())!==null&&Q!==void 0?Q:""}${(Ie=(J=L?.price)===null||J===void 0?void 0:J.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Ie!==void 0?Ie:""}`:"$7,000"},[L?.price,L?.currency]),le=I?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,he=({isPost:q})=>{var X,Q,J;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:Y(h?.collection),hidden:!!L&&(!L?.collection||L?.collection==="")},(X=L?.collection)!==null&&X!==void 0?X:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:Y(h?.title),hidden:!!L&&!L?.title},(Q=L?.title)!==null&&Q!==void 0?Q:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:Y(h?.price),hidden:!!L&&!L?.price},H),v.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},v.createElement(Kt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>j(!0),isPost:q,text:(J=L?.info)!==null&&J!==void 0?J:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ import{isEmpty as Ot,isEqual as Li,cloneDeep as It,debounce as Jt,throttle as Mt,get as ji}from"lodash";import{v4 as Bn}from"uuid";import zn from"pako";import v,{useContext as Ct,useMemo as te,memo as be,useEffect as Z,createContext as _t,useState as $,useRef as Q,useCallback as oe,forwardRef as Lt,useImperativeHandle as Ni,useLayoutEffect as Fn}from"react";import Kt from"qs";import Vn from"eventemitter3";import{css as ne}from"@emotion/css";import{BetaSchemaForm as Rn}from"@ant-design/pro-components";import*as Bi from"react-dom";function Oe(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 ze(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(d){try{c(n.next(d))}catch(p){r(p)}}function a(d){try{c(n.throw(d))}catch(p){r(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Hn=/:\w+/g;var zi=(t,e)=>ze(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:a,name:c,queryString:d,headers:p,body:m}=e[o];let y=s;a&&Object.entries(a).forEach(([b,T])=>{y=y.replace(Hn,_=>_===b?T:_)}),d&&(y+=d),n[l]=c;try{const b=yield fetch(y,{method:r,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(T=>T.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const Fi="SXP_TOKEN_INFO",Un=(t,e)=>ze(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Fi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Fi,JSON.stringify(s))}}return s});function jt(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 Gn=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},$n=()=>{const t=Bn();return t?.replaceAll?t.replaceAll("-",""):Gn(32)};function Vi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=zn.inflate(n,{to:"string"});return JSON.parse(o)}let Qt=null;const Wn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Yn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Qt)return Qt;Qt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Wn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Le=null;const qn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Le||(Le=new Yn),n&&Le.setApiUrl(n),Le.setAppId(t),Le.setTenantId(e),Le.setEnv(i)},getDetail:t=>{if(!Le)return;const e=Le.getTenantId(),i=Le.getAppId(),n=Le.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ze(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),a=Vi((l=s?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:c}=yield zi(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=a,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>ze(void 0,void 0,void 0,function*(){if(!Le)return;const e=Le.getTenantId(),i=Le.getAppId(),n=Le.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ze(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=Vi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>ze(void 0,void 0,void 0,function*(){if(!Le)return;const e=yield Un(Le,t),i=jt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Ot(n)&&(n=jt(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 st(){return Ct(Qi)}function Xn(){return Ct(Ki)}const Zt="feRealSessionIdKey",Ri=()=>{const t=$n();return`${Date.now()}${t}`},Jn=()=>{let t=Kn();return t||(t=Ri(),window.sessionStorage.setItem(Zt,t)),t},Hi=()=>{const t=Ri();window.sessionStorage.setItem(Zt,t)},Kn=()=>window.sessionStorage.getItem(Zt),Ui="SXP_FAKE_USER_ID",Gi="FAKE_USER_STATE",$i="AGREE_POLICY",Wi=()=>{let t=window.localStorage.getItem(Ui);return Ot(t)&&(t=jt(36,62),window.localStorage.setItem(Ui,t)),t},Qn=()=>{const t=window.localStorage.getItem(Gi);return Ot(t)&&window.localStorage.setItem(Gi,"true"),Ot(t)};function Xe(t,e){const{appDomain:i}=Se();return te(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const at=new Vn;var Ze;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ze||(Ze={}));const Zn=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:o,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:s}=Se(),a=te(()=>{const p=location.search.slice(1),m=Kt.parse(p.replace(/\+/g,"%2B"));for(const y in m)m[y]=m[y].replace(/%2B/g,"+");return m},[]),c=p=>{var m;return(m=a[p])!==null&&m!==void 0?m:null};Z(()=>{s?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),clSource:c("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const d=()=>{s?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem($i,"yes")};return v.createElement("div",{className:"consent-bg"},v.createElement("div",{className:"consent"},v.createElement("div",{className:"consent-col"},v.createElement("div",{className:"consent-title"},i??"Privacy Policy"),v.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),v.createElement("div",{className:"consent-col"},v.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:d},"Agree"),v.createElement("a",{className:"consent-policy",target:"_blank",href:o?`https://${o}`:void 0},l??"More information"))))};var eo=be(Zn);const Yi=_t({rtcList:[],tagList:[]});var ei;(function(t){t[t.BFF=5]="BFF"})(ei||(ei={}));const qi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Nt="FOR U",to=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:a,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:m=!1,consentHeight:y,consentWidth:b,isShowTag:T=!0,isOpenConsent:_=!1,globalConfig:u,isEditor:g=!1})=>{var f,E,k;const[h,O]=$([]),[C,w]=$([]),[S,D]=$(!1),[x,I]=$({rtc:"",requestId:""}),P=Q(null),L=Q(!1),[N,H]=$(()=>!!window.localStorage.getItem($i)),[F,B]=$(),[j,M]=$(),[V,z]=$(p),[R,U]=$([]),[se,we]=$(0),[ue,q]=$(!1),[K,J]=$(null),Y=Q(),ee=Q(),[Ie,Ae]=$(Nt),Me=te(()=>{var G,W,ae,Te;return((Te=(ae=(W=(G=u?.consent)===null||G===void 0?void 0:G[0])===null||W===void 0?void 0:W.item)===null||ae===void 0?void 0:ae.props)===null||Te===void 0?void 0:Te.privacy_necessity)&&!N&&!g||_},[N,u,_,g]);Z(()=>{const G=W=>{Y.current=W};return at.on(Ze.CHANGE_THEME_TAG,G),()=>{at.off(Ze.CHANGE_THEME_TAG,G)}},[]),Z(()=>{z(p)},[p]);const We=te(()=>e?.find(G=>G.type===ei.BFF),[e]),he=oe((G,W)=>{if(!We)return;const ae=We.url,Te=Wi();if(W?.query){const xe=Kt.stringify(W.query);G=`${G}?${xe}`}return W.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ae}/api/v1${G}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},We.headers),{"x-user-id":Te}),W.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ae}/api/v1${G}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Te},We.headers),method:W.method,body:JSON.stringify(W.body)}).then(xe=>xe.json()).catch(xe=>Promise.reject(xe))},[We]),pe=oe(G=>ze(void 0,void 0,void 0,function*(){var W,ae,Te,xe,ke;if(G={maxSize:(W=G?.maxSize)!==null&&W!==void 0?W:o,defaultSize:(ae=G?.defaultSize)!==null&&ae!==void 0?ae:l,"itemFilter.itemId":G?.["itemFilter.itemId"],"itemFilter.itemType":G?.["itemFilter.itemType"],hashTag:G?.hashTag,traceInfo:G?.traceInfo,themeTag:G?.themeTag},i){const De=(ke=(xe=(Te=i?.split("&"))===null||Te===void 0?void 0:Te.filter(lt=>{const pt=lt.split("=")[0];return qi.includes(pt)}))===null||xe===void 0?void 0:xe.join("&"))!==null&&ke!==void 0?ke:"";G=Object.assign(Object.assign({},G),{channel:decodeURIComponent(De)})}const Ee=yield he?.("/recommend/list",{method:"GET",query:G});if(Ee?.success)return G?.hashTag||I({rtc:Ee.data.rtc,requestId:Ee.data.requestId}),Ee?.data}),[he,i,o,l]),ge=oe(()=>ze(void 0,void 0,void 0,function*(){var G,W;if(h.length<=0)return;const ae=yield pe({hashTag:j?.hashTag,"itemFilter.itemId":j?.itemId,"itemFilter.itemType":j?.itemType,themeTag:Y.current});O(h.concat((G=ae?.recList)!==null&&G!==void 0?G:[])),U(R.concat((W=ae?.recList)!==null&&W!==void 0?W:[]))}),[pe,h,j,R]),me=oe(({userInfo:G,eventInfo:W})=>{if(!n)return;G||(G={});const ae=Jn(),Te=Object.assign({sessionID:ae,rtc:x.rtc,requestId:x.requestId},W),xe=Object.entries(G).map(([Ee,De])=>({name:Ee,value:De})),ke=Object.entries(Te).map(([Ee,De])=>De&&{name:Ee,value:De}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",G),console.log("eventInfo:",Te),console.log("========= \u7ED3\u675F ========="),he?.("/event/report",{method:"POST",body:{userInfo:xe,eventInfo:ke},type:"beacon"})},[he,x,n]),ve=oe(G=>{var W,{eventName:ae,actionSource:Te="website",eventSourceUrl:xe=(W=window?.location)===null||W===void 0?void 0:W.href,externalId:ke}=G;if(!n||!m)return;const Ee=Wi();return he?.("/fb/events",{method:"POST",body:{eventName:ae,actionSource:Te,eventSourceUrl:xe,userData:{externalId:Ee}},type:"beacon"})},[he,n,m]),Ye=oe(G=>ze(void 0,void 0,void 0,function*(){const W=yield he?.("/recommend/like",{method:"POST",body:G});return W?.success}),[he]),Re=oe(G=>ze(void 0,void 0,void 0,function*(){const W=yield he?.("/recommend/unlike",{method:"POST",body:G});return W?.success}),[he]),tt=oe(G=>ze(void 0,void 0,void 0,function*(){const W=yield he?.("/customform",{method:"POST",body:G});return W?.success}),[he]),je=oe(()=>ze(void 0,void 0,void 0,function*(){var G,W,ae,Te,xe;if(!(!i||!T))try{const ke=(ae=(W=(G=i?.split("&"))===null||G===void 0?void 0:G.filter(De=>{const lt=De.split("=")[0];return qi.includes(lt)}))===null||W===void 0?void 0:W.join("&"))!==null&&ae!==void 0?ae:"",Ee=yield he?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});w((xe=(Te=Ee?.data)===null||Te===void 0?void 0:Te.tags)!==null&&xe!==void 0?xe:[])}catch(ke){console.log("e",ke)}}),[he,i,T]),Qe=oe((G,W,ae,Te)=>{var xe,ke,Ee,De,lt,pt,xt,A,le,X,ce,fe;const re=ae?.bindCta,ie=((xe=W?.video)===null||xe===void 0?void 0:xe.bindProduct)||((ke=W?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((De=(Ee=W?.video)===null||Ee===void 0?void 0:Ee.bindProducts)===null||De===void 0?void 0:De.length)>0;let de="";ue?de="hashTagPage":!((lt=W?.video)===null||lt===void 0)&&lt.url?de="videoPage":!((xt=(pt=W?.video)===null||pt===void 0?void 0:pt.imgUrls)===null||xt===void 0)&&xt.length&&(de="imagePage"),me?.({eventInfo:Object.assign(Object.assign({},G),{ctaId:(A=re?.itemId)!==null&&A!==void 0?A:"",ctaName:(le=re?.title)!==null&&le!==void 0?le:"",contentTags:JSON.stringify(re?.tags),position:Te+"",contentId:(ce=(X=W?.video)===null||X===void 0?void 0:X.itemId)!==null&&ce!==void 0?ce:"",productId:ie?ae?.itemId:"",traceInfo:(fe=re?.traceInfo)!==null&&fe!==void 0?fe:"",fromKName:de})})},[me,ue]),Tt=oe(()=>{var G,W;const ae=location.search.slice(1),Te=Kt.parse(ae.replace(/\+/g,"%2B"));for(const Ee in Te)Te[Ee]=Te[Ee].replace(/%2B/g,"+");const xe=Ee=>{var De;return(De=Te[Ee])!==null&&De!==void 0?De:""},ke=new Date;ee.current=ke,me?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:xe("utm_source"),utmMedium:xe("utm_medium"),utmCampaign:xe("utm_campaign"),utmId:xe("utm_id"),utmContent:xe("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:(W=(G=window?.location)===null||G===void 0?void 0:G.href)!==null&&W!==void 0?W:"",clSource:xe("cl_source")}})},[me]);Z(()=>{Me||Tt()},[Me]),Z(()=>{Me||(D(!0),je(),pe().then(G=>{var W,ae;O((W=G?.recList)!==null&&W!==void 0?W:[]),U((ae=G?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{me({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),D(!1),L.current=!0}))},[Me]),Z(()=>{L.current&&(D(!0),je(),pe().then(G=>{var W,ae;O((W=G?.recList)!==null&&W!==void 0?W:[]),U((ae=G?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{D(!1)}))},[pe,je]);const Pt=Xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(Yi.Provider,{value:{rtcList:h,setRtcList:O,mutateLike:Ye,mutateUnlike:Re,submitForm:tt,popupDetailData:F,loadVideos:ge,setPopupDetailData:B,getRecommendVideos:pe,bffEventReport:me,utmVal:i,isPreview:r,loading:S,sxpParameter:s,waterFallData:j,setWaterFallData:M,ctaEvent:Qe,swiperRef:P,openHashtag:V,setOpenHashtag:z,cacheRtcList:R,setCacheRtcList:U,cacheActiveIndex:se,setCacheActiveIndex:we,isFromHashtag:ue,setIsFromHashtag:q,appDomain:a,hashTagSize:c,loadingImage:d??Pt,isOpenHashTag:p,tagList:C,setLoading:D,videoRef:K,setVideoRef:J,bffFbReport:ve,isAgreePolicy:N,setIsAgreePolicy:H,curTime:ee,h5EnterLink:Tt,themeTag:Y,isShowConsent:Me,selectTag:Ie,setSelectTag:Ae}},Me?v.createElement(eo,Object.assign({},(k=(E=(f=u?.consent)===null||f===void 0?void 0:f[0])===null||E===void 0?void 0:E.item)===null||k===void 0?void 0:k.props)):t({rtcList:h,mutateLike:Ye,mutateUnlike:Re,submitForm:tt,tagList:C}))};var Xi=be(to);function Se(){return Ct(Yi)}var Ji;(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"})(Ji||(Ji={}));const Ki=_t({$store:{},options:[],configs:[]}),io=({children:t,isSsr:e,enable:i})=>{const[n,o]=$([]),{schema:l}=st(),[r,s]=$(l.__STORE__||{}),[a,c]=$([]);Z(()=>{var m;e||Li(a,l?.dataSource)||c((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const d=oe(()=>ze(void 0,void 0,void 0,function*(){const{$store:m,idMapName:y}=yield zi("",a);s(m),p(m,y)}),[a]),p=(m,y)=>{const b=[];Object.entries(m).forEach(([T,_])=>{Object.keys(_).forEach(u=>{const g={label:`${y[T]} - ${u}`,value:`{{ ${T}.${u} }}`};b.push(g)})}),o(b)};return Z(()=>{e||d()},[d,e,l]),i?v.createElement(Ki.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var no=be(io);const Bt={id:jt(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},ti={id:"",duration:0,name:"none"},Qi=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Bt],redoStack:[],popup:ti,setPopup:()=>{}}),Zi=Lt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,a]=$(null),[c,d]=$(n||{pointData:[Bt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=$([Bt]),[y,b]=$([[Bt]]),[T,_]=$([]),[u,g]=$(ti);typeof window<"u"&&(window.sxpPopup=(O,C)=>{g(Object.assign(Object.assign(Object.assign({},ti),{id:O}),C))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(l?"&"+l:""):O+(l?"?"+l:"")),Z(()=>{b([c.pointData]),_([])},[c.type]);const f=oe(O=>{const C=It(c);C&&(C.dataSource=O,d?.(C))},[c]),[E,k]=$();Ni(r,()=>({loadSchema(O){O&&(b([O.pointData]),d(O))},exportSchema(){return It(c)},getPageInfoData(){return E},initPageInfoData(O){O&&k(O)}}));const h=te(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(Qi.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:a,setSchema:d,saveDataSource:f,prePiontData:p,setPrePiontData:m,pageInfoData:E,setPageInfoData:O=>k(Object.assign(Object.assign({},E),O)),undoStack:y,redoStack:T,setRedoStack:_,setUndoStack:b,getCurPageConf:h,popup:u,setPopup:g}},v.createElement(no,{isSsr:i,enable:o},t))});var oo=Object.freeze({__proto__:null,EditorCore:Zi}),lo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ye=[{label:"defalut",value:"appFont"}],ii=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),so=ii&&ii!==""?JSON.parse(ii):[];var Ge={fontOptions:[...ye,...so]},ni,oi,li,ao=[{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:ye,initialValue:(ni=ye?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ge?.fontOptions,initialValue:(li=(oi=Ge?.fontOptions)===null||oi===void 0?void 0:oi[0])===null||li===void 0?void 0:li.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function He(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=Se(),o=oe((s,a,c,d)=>{var p,m,y,b,T,_,u,g,f,E,k,h,O,C;let w="";e&&(!((m=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((y=s?.video)===null||y===void 0)&&y.bindProduct)?w="pdpPage":n?w="hashTagPage":!((b=s?.video)===null||b===void 0)&&b.url?w="videoPage":!((T=s?.video)===null||T===void 0)&&T.imgUrls&&(!((u=(_=s?.video)===null||_===void 0?void 0:_.imgUrls)===null||u===void 0)&&u.length)?w="imagePage":s?.product&&(w="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(g=a?.itemId)!==null&&g!==void 0?g:"",productName:(f=a?.title)!==null&&f!==void 0?f:"",price:a?.price?a?.price+"":"0",productCollection:(E=a?.collection)!==null&&E!==void 0?E:"",fromKName:w,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:d+"",contentId:(h=(k=s?.video)===null||k===void 0?void 0:k.itemId)!==null&&h!==void 0?h:"",ctatId:(O=c?.itemId)!==null&&O!==void 0?O:"",traceInfo:(C=a?.traceInfo)!==null&&C!==void 0?C:""}})},[t,e,n]),l=oe((s,a,c,d,p)=>{var m,y,b,T;let _="";e&&(!((y=(m=s?.video)===null||m===void 0?void 0:m.bindProducts)===null||y===void 0)&&y.length||!((b=s?.video)===null||b===void 0)&&b.bindProduct)?_="pdpPage":s?.product&&(_="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:_,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:p+"",contentId:(T=s?.video)===null||T===void 0?void 0:T.itemId,ctatId:c?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=oe((s,a,c,d)=>{a&&a===Nt&&t?.({eventInfo:{lastFeed:s,themeTags:c?`['${c}']`:"",hashTags:d?`['${d}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:l,backMainFeed:r}}const ro=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:a,isExternalLink:c,isPopup:d,onClick:p,onClose:m,submitButtonStyle:y}=t,b=Oe(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:T,popupDetailData:_}=Se(),{jumpToWeb:u}=He(),g=Q(),[f,E]=$(!1),k=te(()=>[{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"}],[]),h=te(()=>{if(a===void 0){const C=It(e)||k;return C?.map(w=>Object.assign(Object.assign({},w),{title:void 0,fieldProps:{placeholder:w?.title}}))}else return It(e)||k},[a,e,k]),O=Jt(()=>ze(void 0,void 0,void 0,function*(){var C,w,S,D,x,I;const P=yield(C=g?.current)===null||C===void 0?void 0:C.getFieldsValue();if(!P)return;const L=(S=(w=Object.keys(P))===null||w===void 0?void 0:w.map(H=>{var F;return{name:H,value:(F=P[H])!==null&&F!==void 0?F:""}}))===null||S===void 0?void 0:S.filter(H=>H?.value);if(!L||!L?.length)return;E(!0);const N=yield T?.({attributes:L});if(E(!1),N){if(c){const H=_,F=(D=H?.video)===null||D===void 0?void 0:D.bindProduct,B=(I=(x=H?.video)===null||x===void 0?void 0:x.bindProduct)===null||I===void 0?void 0:I.bindCta,j=_?.index;u(H,F,B,j)}d||m?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${ne(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:ne(Object.assign({},i))},b),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement(Rn,{columns:h,submitter:!1,layout:a,autoFocusFirstInput:!1,size:"large",formRef:g,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{"aria-label":s,onClick:O,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},y)},f?v.createElement(v.Fragment,null,"loading..."):s)))};var co=be(ro);function Ue(t,e){return t.extend=e,t}const uo=Ue(co,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:ao,bindableProps:[],interactionRender:lo},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 si,ai,po=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ye,name:["fontFamily"],initialValue:(si=ye?.[0])===null||si===void 0?void 0:si.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:ye,initialValue:(ai=ye?.[0])===null||ai===void 0?void 0:ai.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function en(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ri(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:en(e[i])&&en(t[i])&&Object.keys(e[i]).length>0&&ri(t[i],e[i])})}const tn={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 et(){const t=typeof document<"u"?document:{};return ri(t,tn),t}const vo={document:tn,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 Fe(){const t=typeof window<"u"?window:{};return ri(t,vo),t}function ct(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function fo(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function yt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Je(){return Date.now()}function mo(t){const e=Fe();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function ho(t,e){e===void 0&&(e="x");const i=Fe();let n,o,l;const r=mo(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 zt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function go(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function $e(){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&&!go(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],a=Object.getOwnPropertyDescriptor(n,s);a!==void 0&&a.enumerable&&(zt(t[s])&&zt(n[s])?n[s].__swiper__?t[s]=n[s]:$e(t[s],n[s]):!zt(t[s])&&zt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:$e(t[s],n[s])):t[s]=n[s])}}}return t}function Ft(t,e,i){t.style.setProperty(e,i)}function nn(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Fe(),l=-e.translate;let r=null,s;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(m,y)=>c==="next"&&m>=y||c==="prev"&&m<=y,p=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/a,1),0),y=.5-Math.cos(m*Math.PI)/2;let b=l+y*(i-l);if(d(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),d(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function it(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Vt(t){try{console.warn(t);return}catch{}}function kt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:ct(e)),i}function bo(t){const e=Fe(),i=et(),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,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+a-r}}function yo(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 wo(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 ut(t,e){return Fe().getComputedStyle(t,null).getPropertyValue(e)}function Rt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function on(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 di(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ci(t,e,i){const n=Fe();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 nt(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function So(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Fe();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=Je(),a;const c=[];function d(f){let O=0,C=0,w=0,S=0;return"detail"in f&&(C=f.detail),"wheelDelta"in f&&(C=-f.wheelDelta/120),"wheelDeltaY"in f&&(C=-f.wheelDeltaY/120),"wheelDeltaX"in f&&(O=-f.wheelDeltaX/120),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(O=C,C=0),w=O*10,S=C*10,"deltaY"in f&&(S=f.deltaY),"deltaX"in f&&(w=f.deltaX),f.shiftKey&&!w&&(w=S,S=0),(w||S)&&f.deltaMode&&(f.deltaMode===1?(w*=40,S*=40):(w*=800,S*=800)),w&&!O&&(O=w<1?-1:1),S&&!C&&(C=S<1?-1:1),{spinX:O,spinY:C,pixelX:w,pixelY:S}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function y(f){return e.params.mousewheel.thresholdDelta&&f.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Je()-s<e.params.mousewheel.thresholdTime?!1:f.delta>=6&&Je()-s<60?!0:(f.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",f.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",f.raw)),s=new l.Date().getTime(),!1)}function b(f){const E=e.params.mousewheel;if(f.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function T(f){let E=f,k=!0;if(!e.enabled||f.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const h=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const C=O&&O.contains(E.target);if(!e.mouseEntered&&!C&&!h.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let w=0;const S=e.rtlTranslate?-1:1,D=d(E);if(h.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))w=-D.pixelX*S;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))w=-D.pixelY;else return!0;else w=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*S:-D.pixelY;if(w===0)return!0;h.invert&&(w=-w);let x=e.getTranslate()+w*h.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),k=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),k&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Je(),delta:Math.abs(w),direction:Math.sign(w),raw:f};c.length>=2&&c.shift();const P=c.length?c[c.length-1]:void 0;if(c.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&y(I):y(I),b(I))return!0}else{const I={time:Je(),delta:Math.abs(w),direction:Math.sign(w)},P=a&&I.time<a.time+500&&I.delta<=a.delta&&I.direction===a.direction;if(!P){a=void 0;let L=e.getTranslate()+w*h.sensitivity;const N=e.isBeginning,H=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(),(!N&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,c.length>=15&&c.shift();const F=c.length?c[c.length-1]:void 0,B=c[0];if(c.push(I),F&&(I.delta>F.delta||I.direction!==F.direction))c.splice(0);else if(c.length>=15&&I.time-B.time<500&&B.delta-I.delta>=1&&I.delta<=6){const j=w>0?.8:.2;a=I,c.splice(0),r=yt(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}r||(r=yt(()=>{a=I,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function _(f){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[f]("mouseenter",p),E[f]("mouseleave",m),E[f]("wheel",T)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(_("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(_("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:u,disable:g})}function ln(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=it(t.el,`.${n[o]}`)[0];l||(l=kt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function wt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ht(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,g){const{bulletActiveClass:f}=e.params.pagination;u&&(u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${f}-${g}`),u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${f}-${g}-${g}`)))}function d(u){const g=u.target.closest(wt(e.params.pagination.bulletClass));if(!g)return;u.preventDefault();const f=Rt(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===f)return;e.slideToLoop(f)}else e.slideTo(f)}function p(){const u=e.rtl,g=e.params.pagination;if(a())return;let f=e.pagination.el;f=nt(f);let E,k;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,E=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let w,S,D;if(g.dynamicBullets&&(r=ci(C[0],e.isHorizontal()?"width":"height",!0),f.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&k!==void 0&&(s+=E-(k||0),s>g.dynamicMainBullets-1?s=g.dynamicMainBullets-1:s<0&&(s=0)),w=Math.max(E-s,0),S=w+(Math.min(C.length,g.dynamicMainBullets)-1),D=(S+w)/2),C.forEach(x=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${g.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();x.classList.remove(...I)}),f.length>1)C.forEach(x=>{const I=Rt(x);I===E?x.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),g.dynamicBullets&&(I>=w&&I<=S&&x.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),I===w&&c(x,"prev"),I===S&&c(x,"next"))});else{const x=C[E];if(x&&x.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&C.forEach((I,P)=>{I.setAttribute("part",P===E?"bullet-active":"bullet")}),g.dynamicBullets){const I=C[w],P=C[S];for(let L=w;L<=S;L+=1)C[L]&&C[L].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(I,"prev"),c(P,"next")}}if(g.dynamicBullets){const x=Math.min(C.length,g.dynamicMainBullets+4),I=(r*x-r)/2-D*r,P=u?"right":"left";C.forEach(L=>{L.style[e.isHorizontal()?P:"top"]=`${I}px`})}}f.forEach((C,w)=>{if(g.type==="fraction"&&(C.querySelectorAll(wt(g.currentClass)).forEach(S=>{S.textContent=g.formatFractionCurrent(E+1)}),C.querySelectorAll(wt(g.totalClass)).forEach(S=>{S.textContent=g.formatFractionTotal(O)})),g.type==="progressbar"){let S;g.progressbarOpposite?S=e.isHorizontal()?"vertical":"horizontal":S=e.isHorizontal()?"horizontal":"vertical";const D=(E+1)/O;let x=1,I=1;S==="horizontal"?x=D:I=D,C.querySelectorAll(wt(g.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(C.innerHTML=g.renderCustom(e,E+1,O),w===0&&o("paginationRender",C)):(w===0&&o("paginationRender",C),o("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](g.lockClass)})}function m(){const u=e.params.pagination;if(a())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let f=e.pagination.el;f=nt(f);let E="";if(u.type==="bullets"){let k=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>g&&(k=g);for(let h=0;h<k;h+=1)u.renderBullet?E+=u.renderBullet.call(e,h,u.bulletClass):E+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?E=u.renderFraction.call(e,u.currentClass,u.totalClass):E=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?E=u.renderProgressbar.call(e,u.progressbarFillClass):E=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],f.forEach(k=>{u.type!=="custom"&&(k.innerHTML=E||""),u.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(wt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",f[0])}function y(){e.params.pagination=ln(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let g;typeof u.el=="string"&&e.isElement&&(g=e.el.querySelector(u.el)),!g&&typeof u.el=="string"&&(g=[...document.querySelectorAll(u.el)]),g||(g=u.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(u.el)],g.length>1&&(g=g.filter(f=>on(f,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=nt(g),g.forEach(f=>{u.type==="bullets"&&u.clickable&&f.classList.add(...(u.clickableClass||"").split(" ")),f.classList.add(u.modifierClass+u.type),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(f.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&f.classList.add(u.progressbarOppositeClass),u.clickable&&f.addEventListener("click",d),e.enabled||f.classList.add(u.lockClass)}))}function b(){const u=e.params.pagination;if(a())return;let g=e.pagination.el;g&&(g=nt(g),g.forEach(f=>{f.classList.remove(u.hiddenClass),f.classList.remove(u.modifierClass+u.type),f.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(f.classList.remove(...(u.clickableClass||"").split(" ")),f.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(f=>f.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:g}=e.pagination;g=nt(g),g.forEach(f=>{f.classList.remove(u.horizontalClass,u.verticalClass),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?_():(y(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=nt(u),u.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,g)=>{const f=g.target,E=nt(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!f.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&f===e.navigation.nextEl||e.navigation.prevEl&&f===e.navigation.prevEl))return;const k=E[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),E.forEach(h=>h.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=nt(u),u.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),y(),m(),p()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=nt(u),u.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:T,disable:_,render:m,update:p,init:y,destroy:b})}function To(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=et();let r=!1,s=null,a=null,c,d,p,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:I}=e,{dragEl:P,el:L}=x,N=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=d,B=(p-d)*H;I?(B=-B,B>0?(F=d-B,B=0):-B+d>p&&(F=p+B)):B<0?(F=d+B,B=0):B+d>p&&(F=p-B),e.isHorizontal()?(P.style.transform=`translate3d(${B}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${B}px, 0)`,P.style.height=`${F}px`),N.hide&&(clearTimeout(s),L.style.opacity=1,s=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function b(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:I,el:P}=x;I.style.width="",I.style.height="",p=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"?d=p*m:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${d}px`:I.style.height=`${d}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function _(x){return e.isHorizontal()?x.clientX:x.clientY}function u(x){const{scrollbar:I,rtlTranslate:P}=e,{el:L}=I;let N;N=(_(x)-bo(L)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),N=Math.max(Math.min(N,1),0),P&&(N=1-N);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function g(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:L}=e,{el:N,dragEl:H}=P;r=!0,c=x.target===H?_(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),L.style.transitionDuration="100ms",H.style.transitionDuration="100ms",u(x),clearTimeout(a),N.style.transitionDuration="0ms",I.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function f(x){const{scrollbar:I,wrapperEl:P}=e,{el:L,dragEl:N}=I;r&&(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,u(x),P.style.transitionDuration="0ms",L.style.transitionDuration="0ms",N.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function E(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:L}=e,{el:N}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),I.hide&&(clearTimeout(a),a=yt(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),I.snapOnRelease&&e.slideToClosest())}function k(x){const{scrollbar:I,params:P}=e,L=I.el;if(!L)return;const N=L,H=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;const B=x==="on"?"addEventListener":"removeEventListener";N[B]("pointerdown",g,H),l[B]("pointermove",f,H),l[B]("pointerup",E,F)}function h(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function C(){const{scrollbar:x,el:I}=e;e.params.scrollbar=ln(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&&I.querySelectorAll(P.el).length===1&&(L=I.querySelector(P.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let N;L&&(N=L.querySelector(wt(e.params.scrollbar.dragClass)),N||(N=kt("div",e.params.scrollbar.dragClass),L.append(N))),Object.assign(x,{el:L,dragEl:N}),P.draggable&&h(),L&&L.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}function w(){const x=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...ct(e.isHorizontal()?x.horizontalClass:x.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:I}=e.scrollbar;I=nt(I),I.forEach(P=>{P.classList.remove(x.horizontalClass,x.verticalClass),P.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(C(),T(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{y()}),n("setTransition",(x,I)=>{b(I)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}),n("destroy",()=>{w()});const S=()=>{e.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),C(),T(),y()},D=()=>{e.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(e.scrollbar,{enable:S,disable:D,updateSize:T,setTranslate:y,init:C,destroy:w})}function Ut(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,a=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),m,y,b,T,_,u,g;function f(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",f),!(g||F.detail&&F.detail.bySwiperTouchMove)&&S())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(c=d,m=!1);const F=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/a),s=requestAnimationFrame(()=>{E()})},k=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},h=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let B=typeof F>"u"?e.params.autoplay.delay:F;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const j=k();!Number.isNaN(j)&&j>0&&typeof F>"u"&&(B=j,a=j,c=j),d=B;const M=e.params.speed,V=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(M,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,M,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(M,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,M,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{h()})))};return B>0?(clearTimeout(r),r=setTimeout(()=>{V()},B)):requestAnimationFrame(()=>{V()}),B},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,h(),o("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},w=(F,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(u=!0);const j=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",f):S()};if(e.autoplay.paused=!0,B){_&&(d=e.params.autoplay.delay),_=!1,j();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),j())},S=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,h(d)):h(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const F=et();F.visibilityState==="hidden"&&(u=!0,w(!0)),F.visibilityState==="visible"&&S()},x=F=>{F.pointerType==="mouse"&&(u=!0,g=!0,!(e.animating||e.autoplay.paused)&&w(!0))},I=F=>{F.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&S())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",I))},L=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",I))},N=()=>{et().addEventListener("visibilitychange",D)},H=()=>{et().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(P(),N(),O())}),n("destroy",()=>{L(),H(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(b||u)&&S()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():w(!0,!0)}),n("beforeTransitionStart",(F,B,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?w(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}y=!0,b=!1,u=!1,T=setTimeout(()=>{u=!0,b=!0,w(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){b=!1,y=!1;return}b&&e.params.cssMode&&S(),b=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(_=!0)}),Object.assign(e.autoplay,{start:O,stop:C,pause:w,resume:S})}function xo(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 a=e.getTranslate();e.setTranslate(a),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:a,touches:c}=e;a.velocities.length===0&&a.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Je()})}function s(a){let{currentPos:c}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:m,snapGrid:y,touchEventsData:b}=e,_=Je()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(b.velocities.length>1){const C=b.velocities.pop(),w=b.velocities.pop(),S=C.position-w.position,D=C.time-w.time;e.velocity=S/D,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Je()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,b.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const g=e.velocity*u;let f=e.translate+g;m&&(f=-f);let E=!1,k;const h=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(f<e.maxTranslate())d.freeMode.momentumBounce?(f+e.maxTranslate()<-h&&(f=e.maxTranslate()-h),k=e.maxTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(f>e.minTranslate())d.freeMode.momentumBounce?(f-e.minTranslate()>h&&(f=e.minTranslate()+h),k=e.minTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let C;for(let w=0;w<y.length;w+=1)if(y[w]>-f){C=w;break}Math.abs(y[C]-f)<Math.abs(y[C-1]-f)||e.swipeDirection==="next"?f=y[C]:f=y[C-1],f=-f}if(O&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-f-e.translate)/e.velocity):u=Math.abs((f-e.translate)/e.velocity),d.freeMode.sticky){const C=Math.abs((m?-f:f)-e.translate),w=e.slidesSizesGrid[e.activeIndex];C<w?u=d.speed:C<2*w?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&E?(e.updateProgress(k),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,di(p,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(k),di(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,di(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||_>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let ui;function Eo(){const t=Fe(),e=et();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function sn(){return ui||(ui=Eo()),ui}let pi;function Io(t){let{userAgent:e}=t===void 0?{}:t;const i=sn(),n=Fe(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=o==="Win32";let b=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&b&&i.touch&&T.indexOf(`${s}x${a}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),b=!1),c&&!y&&(r.os="android",r.android=!0),(d||m||p)&&(r.os="ios",r.ios=!0),r}function an(t){return t===void 0&&(t={}),pi||(pi=Io(t)),pi}let vi;function Co(){const t=Fe(),e=an();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[a,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<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 _o(){return vi||(vi=Co()),vi}function ko(t){let{swiper:e,on:i,emit:n}=t;const o=Fe();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{r=o.requestAnimationFrame(()=>{const{width:m,height:y}=e;let b=m,T=y;p.forEach(_=>{let{contentBoxSize:u,contentRect:g,target:f}=_;f&&f!==e.el||(b=g?g.width:(u[0]||u).inlineSize,T=g?g.height:(u[0]||u).blockSize)}),(b!==m||T!==y)&&s()})}),l.observe(e.el))},c=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function Do(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Fe(),s=function(d,p){p===void 0&&(p={});const m=r.MutationObserver||r.WebkitMutationObserver,y=new m(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const T=function(){o("observerUpdate",b[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});y.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(y)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=on(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",c)}var Ao={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(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(n,i)})}),t}};function Po(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(ut(n,"padding-left")||0,10)-parseInt(ut(n,"padding-right")||0,10),i=i-parseInt(ut(n,"padding-top")||0,10)-parseInt(ut(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 Oo(){const t=this;function e(S,D){return parseFloat(S.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=it(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:d.length;let m=[];const y=[],b=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let _=i.slidesOffsetAfter;typeof _=="function"&&(_=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,g=t.slidesGrid.length;let f=i.spaceBetween,E=-T,k=0,h=0;if(typeof l>"u")return;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*l:typeof f=="string"&&(f=parseFloat(f)),t.virtualSize=-f,d.forEach(S=>{r?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ft(n,"--swiper-centered-offset-before",""),Ft(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let C;const w=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(S=>typeof i.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S<p;S+=1){C=0;let D;if(d[S]&&(D=d[S]),O&&t.grid.updateSlide(S,D,d),!(d[S]&&ut(D,"display")==="none")){if(i.slidesPerView==="auto"){w&&(d[S].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(D),I=D.style.transform,P=D.style.webkitTransform;if(I&&(D.style.transform="none"),P&&(D.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?ci(D,"width",!0):ci(D,"height",!0);else{const L=e(x,"width"),N=e(x,"padding-left"),H=e(x,"padding-right"),F=e(x,"margin-left"),B=e(x,"margin-right"),j=x.getPropertyValue("box-sizing");if(j&&j==="border-box")C=L+F+B;else{const{clientWidth:M,offsetWidth:V}=D;C=L+N+H+F+B+(V-M)}}I&&(D.style.transform=I),P&&(D.style.webkitTransform=P),i.roundLengths&&(C=Math.floor(C))}else C=(l-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),d[S]&&(d[S].style[t.getDirectionLabel("width")]=`${C}px`);d[S]&&(d[S].swiperSlideSize=C),b.push(C),i.centeredSlides?(E=E+C/2+k/2+f,k===0&&S!==0&&(E=E-l/2-f),S===0&&(E=E-l/2-f),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),h%i.slidesPerGroup===0&&m.push(E),y.push(E)):(i.roundLengths&&(E=Math.floor(E)),(h-Math.min(t.params.slidesPerGroupSkip,h))%t.params.slidesPerGroup===0&&m.push(E),y.push(E),E=E+C+f),t.virtualSize+=C+f,k=C,h+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+_,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+f}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+f}px`),O&&t.grid.updateWrapperSize(C,m),!i.centeredSlides){const S=[];for(let D=0;D<m.length;D+=1){let x=m[D];i.roundLengths&&(x=Math.floor(x)),m[D]<=t.virtualSize-l&&S.push(x)}m=S,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const S=b[0]+f;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=S*i.slidesPerGroup;for(let I=0;I<D;I+=1)m.push(m[m.length-1]+x)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+S),y.push(y[y.length-1]+S),t.virtualSize+=S}if(m.length===0&&(m=[0]),f!==0){const S=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,x)=>!i.cssMode||i.loop?!0:x!==d.length-1).forEach(D=>{D.style[S]=`${f}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let S=0;b.forEach(x=>{S+=x+(f||0)}),S-=f;const D=S-l;m=m.map(x=>x<=0?-T:x>D?D+_:x)}if(i.centerInsufficientSlides){let S=0;b.forEach(x=>{S+=x+(f||0)}),S-=f;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(S+D<l){const x=(l-S-D)/2;m.forEach((I,P)=>{m[P]=I-x}),y.forEach((I,P)=>{y[P]=I+x})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:y,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ft(n,"--swiper-centered-offset-before",`${-m[0]}px`),Ft(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const S=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+S),t.slidesGrid=t.slidesGrid.map(x=>x+D)}if(p!==c&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const S=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(S);p<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(S):D&&t.el.classList.remove(S)}}function Mo(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 Lo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const rn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function jo(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),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 a=0;a<n.length;a+=1){const c=n[a];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(r+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),y=-(r-d),b=y+e.slidesSizesGrid[a],T=y>=0&&y<=e.size-e.slidesSizesGrid[a],_=y>=0&&y<e.size-1||b>1&&b<=e.size||y<=0&&b>=e.size;_&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a)),rn(c,_,i.slideVisibleClass),rn(c,T,i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-m:m}}function No(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const a=l,c=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,r=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],y=e.slidesGrid[p],b=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?s=(T-m)/b:s=(T+b-y)/b,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&&!a&&e.emit("reachBeginning toEdge"),r&&!c&&e.emit("reachEnd toEdge"),(a&&!l||c&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}const fi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Bo(){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=p=>it(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];let a,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=s(`[data-swiper-slide-index="${p}"]`)}else a=s(`[data-swiper-slide-index="${o}"]`);else r?(a=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(r||(d=wo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=yo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(p=>{fi(p,p===a,i.slideActiveClass),fi(p,p===d,i.slideNextClass),fi(p,p===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Gt=(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()}},mi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},hi=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((a,c)=>r+n+c)),t.slides.forEach((a,c)=>{s.includes(a.column)&&mi(t,c)});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)&&mi(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)&&mi(t,r)};function zo(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 Fo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let a=t,c;const d=y=>{let b=y-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof a>"u"&&(a=zo(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const y=Math.min(o.slidesPerGroupSkip,a);c=y+Math.floor((a-y)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),a===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(a);else if(p){const y=e.slides.filter(T=>T.column===a)[0];let b=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(y),0)),m=Math.floor(b/o.grid.rows)}else if(e.slides[a]){const y=e.slides[a].getAttribute("data-swiper-slide-index");y?m=parseInt(y,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&hi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Vo(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 Ro={updateSize:Po,updateSlides:Oo,updateAutoHeight:Mo,updateSlidesOffset:Lo,updateSlidesProgress:jo,updateProgress:No,updateSlidesClasses:Bo,updateActiveIndex:Fo,updateClickedSlide:Vo};function Ho(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=ho(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Uo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,a=0;const c=0;i.isHorizontal()?s=n?-t:t:a=t,o.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-a:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${a}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Go(){return-this.snapGrid[0]}function $o(){return-this.snapGrid[this.snapGrid.length-1]}function Wo(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 a=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>a?d=a:n&&t<c?d=c:d=t,l.updateProgress(d),r.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return nn({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Yo={getTranslate:Ho,setTranslate:Uo,minTranslate:Go,maxTranslate:$o,translateTo:Wo};function qo(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 dn(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 Xo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),dn({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Jo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),dn({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Ko={setTransition:qo,transitionStart:Xo,transitionEnd:Jo};function Qo(t,e,i,n,o){t===void 0&&(t=0),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:a,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:m,wrapperEl:y,enabled:b}=l;if(!b&&!n&&!o||l.destroyed||l.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const T=Math.min(l.params.slidesPerGroupSkip,r);let _=T+Math.floor((r-T)/l.params.slidesPerGroup);_>=a.length&&(_=a.length-1);const u=-a[_];if(s.normalizeSlideIndex)for(let f=0;f<c.length;f+=1){const E=-Math.floor(u*100),k=Math.floor(c[f]*100),h=Math.floor(c[f+1]*100);typeof c[f+1]<"u"?E>=k&&E<h-(h-k)/2?r=f:E>=k&&E<h&&(r=f+1):E>=k&&(r=f)}if(l.initialized&&r!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==r))return!1;r!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let g;if(r>p?g="next":r<p?g="prev":g="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),g!=="reset"&&(l.transitionStart(i,g),l.transitionEnd(i,g)),!1;if(s.cssMode){const f=l.isHorizontal(),E=m?u:-u;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[f?"scrollLeft":"scrollTop"]=E})):y[f?"scrollLeft":"scrollTop"]=E,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return nn({swiper:l,targetPosition:E,side:f?"left":"top"}),!0;y.scrollTo({[f?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,g),e===0?l.transitionEnd(i,g):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(E){!l||l.destroyed||E.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,g))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Zo(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);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(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=a-s<d;if(c&&(p=p||s<Math.ceil(d/2)),n&&c&&o.params.slidesPerView!=="auto"&&!l&&(p=!1),p){const m=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function el(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!c&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function tl(t,e,i){e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:a,animating:c}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const y=m(p),b=l.map(u=>m(u));let T=l[b.indexOf(y)-1];if(typeof T>"u"&&o.cssMode){let u;l.forEach((g,f)=>{y>=g&&(u=f)}),typeof u<"u"&&(T=l[u>0?u-1:u])}let _=0;if(typeof T<"u"&&(_=r.indexOf(T),_<0&&(_=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(_=_-n.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(_,t,e,i)}),!0;return n.slideTo(_,t,e,i)}function il(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function nl(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];a-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];a-c<=(d-c)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function ol(){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(it(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),yt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(it(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),yt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var ll={slideTo:Qo,slideToLoop:Zo,slideNext:el,slidePrev:tl,slideReset:il,slideToClosest:nl,slideToClickedSlide:ol};function sl(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{it(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.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,a=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const m=e.isElement?kt("swiper-slide",[i.slideBlankClass]):kt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const d=r-e.slides.length%r;c(d),e.recalcSlides(),e.updateSlides()}else Vt("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(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Vt("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 al(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:m,params:y}=a,{centeredSlides:b}=y;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):y.centeredSlides&&a.snapIndex<y.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=p,a.emit("loopFix");return}let T=y.slidesPerView;T==="auto"?T=a.slidesPerViewDynamic():(T=Math.ceil(parseFloat(y.slidesPerView,10)),b&&T%2===0&&(T=T+1));const _=y.slidesPerGroupAuto?T:y.slidesPerGroup;let u=_;u%_!==0&&(u+=_-u%_),u+=y.loopAdditionalSlides,a.loopedSlides=u;const g=a.grid&&y.grid&&y.grid.rows>1;c.length<T+u?Vt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&y.grid.fill==="row"&&Vt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],E=[];let k=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(c.filter(I=>I.classList.contains(y.slideActiveClass))[0]):k=l;const h=n==="next"||!n,O=n==="prev"||!n;let C=0,w=0;const S=g?Math.ceil(c.length/y.grid.rows):c.length,x=(g?c[l].column:l)+(b&&typeof o>"u"?-T/2+.5:0);if(x<u){C=Math.max(u-x,_);for(let I=0;I<u-x;I+=1){const P=I-Math.floor(I/S)*S;if(g){const L=S-P-1;for(let N=c.length-1;N>=0;N-=1)c[N].column===L&&f.push(N)}else f.push(S-P-1)}}else if(x+T>S-u){w=Math.max(x-(S-u*2),_);for(let I=0;I<w;I+=1){const P=I-Math.floor(I/S)*S;g?c.forEach((L,N)=>{L.column===P&&E.push(N)}):E.push(P)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),O&&f.forEach(I=>{c[I].swiperLoopMoveDOM=!0,m.prepend(c[I]),c[I].swiperLoopMoveDOM=!1}),h&&E.forEach(I=>{c[I].swiperLoopMoveDOM=!0,m.append(c[I]),c[I].swiperLoopMoveDOM=!1}),a.recalcSlides(),y.slidesPerView==="auto"?a.updateSlides():g&&(f.length>0&&O||E.length>0&&h)&&a.slides.forEach((I,P)=>{a.grid.updateSlide(P,I,a.slides)}),y.watchSlidesProgress&&a.updateSlidesOffset(),i){if(f.length>0&&O){if(typeof e>"u"){const I=a.slidesGrid[k],L=a.slidesGrid[k+C]-I;s?a.setTranslate(a.translate-L):(a.slideTo(k+Math.ceil(C),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-L,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-L))}else if(o){const I=g?f.length/y.grid.rows:f.length;a.slideTo(a.activeIndex+I,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(E.length>0&&h)if(typeof e>"u"){const I=a.slidesGrid[k],L=a.slidesGrid[k-w]-I;s?a.setTranslate(a.translate-L):(a.slideTo(k-w,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-L,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-L))}else{const I=g?E.length/y.grid.rows:E.length;a.slideTo(a.activeIndex-I,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=p,a.controller&&a.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===y.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...I,slideTo:a.controller.control.params.slidesPerView===y.slidesPerView?i:!1})}a.emit("loopFix")}function rl(){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 dl={loopCreate:sl,loopFix:al,loopDestroy:rl};function cl(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 ul(){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 pl={setGrabCursor:cl,unsetGrabCursor:ul};function vl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===et()||n===Fe())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 cn(t,e,i){const n=Fe(),{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 fl(t){const e=this,i=et();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"){cn(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 a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(a=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?vl(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const y=r.currentX,b=r.currentY;if(!cn(e,n,y))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=y,r.startY=b,o.touchStartTime=Je(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;a.matches(o.focusableElements)&&(T=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const _=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||_)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ml(t){const e=et(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(h=>h.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,p=c.pageY;if(a.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Je());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const m=l.currentX-l.startX,y=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let h;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+y*y>=25&&(h=Math.atan2(Math.abs(y),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?h>o.touchAngle:90-h>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let b=i.isHorizontal()?m:y,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=b,b*=o.touchRatio,r&&(b=-b,T=-T);const _=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const u=i.params.loop&&!o.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(h)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let f;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&_!==i.touchesDirection&&u&&g&&Math.abs(b)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let E=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),b>0?(u&&g&&!f&&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()&&(E=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**k))):b<0&&(u&&g&&!f&&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()&&(E=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**k))),E&&(a.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(b)>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 hl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(k=>k.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!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 p=Je(),m=p-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Je(),yt(()=>{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 y;if(r.followFinger?y=a?e.translate:-e.translate:y=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const b=y>=-e.maxTranslate()&&!e.params.loop;let T=0,_=e.slidesSizesGrid[0];for(let k=0;k<c.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const h=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof c[k+h]<"u"?(b||y>=c[k]&&y<c[k+h])&&(T=k,_=c[k+h]-c[k]):(b||y>=c[k])&&(T=k,_=c[c.length-1]-c[c.length-2])}let u=null,g=null;r.rewind&&(e.isBeginning?g=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const f=(y-c[T])/_,E=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(f>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?u:T+E):e.slideTo(T)),e.swipeDirection==="prev"&&(f>1-r.longSwipesRatio?e.slideTo(T+E):g!==null&&f<0&&Math.abs(f)>r.longSwipesRatio?e.slideTo(g):e.slideTo(T))}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(T+E):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:T+E),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:T))}}function un(){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 gl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function bl(){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 yl(t){const e=this;Gt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function wl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const pn=(t,e)=>{const i=et(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;!o||typeof o=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[c](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",un,!0):t[c]("observerUpdate",un,!0),o[a]("load",t.onLoad,{capture:!0}))};function Sl(){const t=this,{params:e}=t;t.onTouchStart=fl.bind(t),t.onTouchMove=ml.bind(t),t.onTouchEnd=hl.bind(t),t.onDocumentTouchStart=wl.bind(t),e.cssMode&&(t.onScroll=bl.bind(t)),t.onClick=gl.bind(t),t.onLoad=yl.bind(t),pn(t,"on")}function Tl(){pn(this,"off")}var xl={attachEvents:Sl,detachEvents:Tl};const vn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function El(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const a=(r in l?l[r]:void 0)||t.originalParams,c=vn(t,n),d=vn(t,a),p=t.params.grabCursor,m=a.grabCursor,y=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!m?t.unsetGrabCursor():!p&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(f=>{if(typeof a[f]>"u")return;const E=n[f]&&n[f].enabled,k=a[f]&&a[f].enabled;E&&!k&&t[f].disable(),!E&&k&&t[f].enable()});const b=a.direction&&a.direction!==n.direction,T=n.loop&&(a.slidesPerView!==n.slidesPerView||b),_=n.loop;b&&i&&t.changeDirection(),$e(t.params,a);const u=t.params.enabled,g=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!u?t.disable():!y&&u&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(T?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&g?(t.loopCreate(e),t.updateSlides()):_&&!g&&t.loopDestroy()),t.emit("breakpoint",a)}function Il(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Fe(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const a=parseFloat(s.substr(1));return{value:l*a,point:s}}return{value:s,point:s}});r.sort((s,a)=>parseInt(s.value,10)-parseInt(a.value,10));for(let s=0;s<r.length;s+=1){const{point:a,value:c}=r[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=a):c<=i.clientWidth&&(n=a)}return n||"max"}var Cl={setBreakpoint:El,getBreakpoint:Il};function _l(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 kl(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=_l(["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 Dl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Al={addClasses:kl,removeClasses:Dl};function Pl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ol={checkOverflow:Pl},gi={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 Ml(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){$e(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)){$e(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),$e(e,n)}}const bi={eventsEmitter:Ao,update:Ro,translate:Yo,transition:Ko,slide:ll,loop:dl,grabCursor:pl,events:xl,breakpoints:Cl,checkOverflow:Ol,classes:Al},yi={};let wi=class rt{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=$e({},i),e&&!i.el&&(i.el=e);const r=et();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const d=[];return r.querySelectorAll(i.el).forEach(p=>{const m=$e({},i,{el:p});d.push(new rt(m))}),d}const s=this;s.__swiper__=!0,s.support=sn(),s.device=an({userAgent:i.userAgent}),s.browser=_o(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const a={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:Ml(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=$e({},gi,a);return s.params=$e({},c,yi,i),s.originalParams=$e({},s.params),s.passedParams=$e({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=it(i,`.${n.slideClass}, swiper-slide`),l=Rt(o[0]);return Rt(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=it(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:a,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,m;for(let y=c+1;y<l.length;y+=1)l[y]&&!m&&(p+=Math.ceil(l[y].swiperSlideSize),d+=1,p>a&&(m=!0));for(let y=c-1;y>=0;y-=1)l[y]&&!m&&(p+=l[y].swiperSlideSize,d+=1,p>a&&(m=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?r[p]+s[p]-r[c]<a:r[p]-r[c]<a)&&(d+=1);else for(let p=c-1;p>=0;p-=1)r[c]-r[p]<a&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Gt(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()):it(n,o())[0];return!r&&i.params.createElements&&(r=kt("div",i.params.wrapperClass),n.append(r),it(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"||ut(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ut(n,"direction")==="rtl"),wrongRTL:ut(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?Gt(i,l):l.addEventListener("load",r=>{Gt(i,r.target)})}),hi(i),i.initialized=!0,hi(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&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),fo(n)),n.destroyed=!0),null}static extendDefaults(e){$e(yi,e)}static get extendedDefaults(){return yi}static get defaults(){return gi}static installModule(e){rt.prototype.__modules__||(rt.prototype.__modules__=[]);const i=rt.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>rt.installModule(i)),rt):(rt.installModule(e),rt)}};Object.keys(bi).forEach(t=>{Object.keys(bi[t]).forEach(e=>{wi.prototype[e]=bi[t][e]})}),wi.use([ko,Do]);const fn=["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 gt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function St(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]:gt(e[n])&&gt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:St(t[n],e[n]):t[n]=e[n]})}function mn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function hn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function gn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function bn(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 Ll(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function jl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:a}=t;const c=o.filter(w=>w!=="children"&&w!=="direction"&&w!=="wrapperClass"),{params:d,pagination:p,navigation:m,scrollbar:y,virtual:b,thumbs:T}=e;let _,u,g,f,E,k,h,O;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(_=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(g=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&y&&!y.el&&(f=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const C=w=>{e[w]&&(e[w].destroy(),w==="navigation"?(e.isElement&&(e[w].prevEl.remove(),e[w].nextEl.remove()),d[w].prevEl=void 0,d[w].nextEl=void 0,e[w].prevEl=void 0,e[w].nextEl=void 0):(e.isElement&&e[w].el.remove(),d[w].el=void 0,e[w].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?k=!0:!d.loop&&n.loop?h=!0:O=!0),c.forEach(w=>{if(gt(d[w])&&gt(n[w]))Object.assign(d[w],n[w]),(w==="navigation"||w==="pagination"||w==="scrollbar")&&"enabled"in n[w]&&!n[w].enabled&&C(w);else{const S=n[w];(S===!0||S===!1)&&(w==="navigation"||w==="pagination"||w==="scrollbar")?S===!1&&C(w):d[w]=n[w]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&b&&d.virtual.enabled?(b.slides=i,b.update(!0)):o.includes("virtual")&&b&&d.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),o.includes("children")&&i&&d.loop&&(O=!0),_&&T.init()&&T.update(!0),u&&(e.controller.control=d.controller.control),g&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),p.init(),p.render(),p.update()),f&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),y.init(),y.updateSize(),y.setTranslate()),E&&(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&&(d.navigation.nextEl=l),r&&(d.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),(k||O)&&e.loopDestroy(),(h||O)&&e.loopCreate(),e.update()}function Nl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};St(i,gi),i._emitClasses=!0,i.init=!1;const l={},r=fn.map(a=>a.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?gt(t[a])?(i[a]={},o[a]={},St(i[a],t[a]),St(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function Bl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;mn(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),hn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),gn(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function zl(t,e,i,n,o){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),c=i.map(o);a.join("")!==c.join("")&&r("children"),n.length!==i.length&&r("children")}return fn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(gt(t[a])&&gt(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?r(a):(c.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}),d.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const Fl=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 $t(){return $t=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},$t.apply(this,arguments)}function yn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function wn(t){const e=[];return v.Children.toArray(t).forEach(i=>{yn(i)?e.push(i):i.props&&i.props.children&&wn(i.props.children).forEach(n=>e.push(n))}),e}function Vl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(yn(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=wn(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=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<a;d+=1)d>=l&&d<=r&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function Dt(t,e){return typeof window>"u"?Z(t,e):Fn(t,e)}const Si=_t(null),Sn=()=>Ct(Si),Hl=_t(null),bt=Lt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,a=!1;const[c,d]=$("swiper"),[p,m]=$(null),[y,b]=$(!1),T=Q(!1),_=Q(null),u=Q(null),g=Q(null),f=Q(null),E=Q(null),k=Q(null),h=Q(null),O=Q(null),{params:C,passedParams:w,rest:S,events:D}=Nl(s),{slides:x,slots:I}=Vl(l),P=()=>{b(!y)};Object.assign(C.on,{_containerClasses(B,j){d(j)}});const L=()=>{Object.assign(C.on,D),a=!0;const B={...C};if(delete B.wrapperClass,u.current=new wi(B),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const j={cache:!1,slides:x,renderExternal:m,renderExternalUpdate:!1};St(u.current.params.virtual,j),St(u.current.originalParams.virtual,j)}};_.current||L(),u.current&&u.current.on("_beforeBreakpoint",P);const N=()=>{a||!D||!u.current||Object.keys(D).forEach(B=>{u.current.on(B,D[B])})},H=()=>{!D||!u.current||Object.keys(D).forEach(B=>{u.current.off(B,D[B])})};Z(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),Z(()=>{!T.current&&u.current&&(u.current.emitSlidesClasses(),T.current=!0)}),Dt(()=>{if(e&&(e.current=_.current),!!_.current)return u.current.destroyed&&L(),Bl({el:_.current,nextEl:E.current,prevEl:k.current,paginationEl:h.current,scrollbarEl:O.current,swiper:u.current},C),r&&!u.current.destroyed&&r(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),Dt(()=>{N();const B=zl(w,g.current,x,f.current,j=>j.key);return g.current=w,f.current=x,B.length&&u.current&&!u.current.destroyed&&jl({swiper:u.current,slides:x,passedParams:w,changedParams:B,nextEl:E.current,prevEl:k.current,scrollbarEl:O.current,paginationEl:h.current}),()=>{H()}}),Dt(()=>{Fl(u.current)},[p]);function F(){return C.virtual?Rl(u.current,x,p):x.map((B,j)=>v.cloneElement(B,{swiper:u.current,swiperSlideIndex:j}))}return v.createElement(n,$t({ref:_,className:bn(`${c}${i?` ${i}`:""}`)},S),v.createElement(Hl.Provider,{value:u.current},I["container-start"],v.createElement(o,{className:Ll(C.wrapperClass)},I["wrapper-start"],F(),I["wrapper-end"]),mn(C)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:k,className:"swiper-button-prev"}),v.createElement("div",{ref:E,className:"swiper-button-next"})),gn(C)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),hn(C)&&v.createElement("div",{ref:h,className:"swiper-pagination"}),I["container-end"]))});bt.displayName="Swiper";const ot=Lt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Q(null),[m,y]=$("swiper-slide"),[b,T]=$(!1);function _(E,k,h){k===p.current&&y(h)}Dt(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&y("swiper-slide");return}return l.on("_slideClass",_),()=>{l&&l.off("_slideClass",_)}}}),Dt(()=>{l&&p.current&&!l.destroyed&&y(l.getSlideClasses(p.current))},[l]);const u={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(u):n,f=()=>{T(!0)};return v.createElement(i,$t({ref:p,className:bn(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:f},d),r&&v.createElement(Si.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},g(),s&&!b&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&v.createElement(Si.Provider,{value:u},g(),s&&!b&&v.createElement("div",{className:"swiper-lazy-preloader"})))});ot.displayName="SwiperSlide";const Ul="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Gl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,a]=$(!1),c=Q(null);Z(()=>{const m=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?c.current=y:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),m?.appendChild(c.current))},[]);const d=te(()=>l?.id&&l?.id!==""||t,[t,l]);if(Z(()=>{d?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[d,l]),!c.current)return null;const p=Jt(()=>{e?.()},300);return Bi.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Ul,alt:"close",className:"modal-icon"})),i))),c.current)};var Wt=be(Gl);const $l=(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(" ")+" "},Wl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:a})=>{const[c,d]=$(!1),[p,m]=$(!1),y=Number(i?.lineClamp||2),b=Q(null),T=Q(null),_=oe(()=>{d(!c)},[c,a]);return te(()=>!c&&t.length>e?$l(t,e)+"...":t,[t,e,c]),Z(()=>{var u,g;((u=T?.current)===null||u===void 0?void 0:u.offsetHeight)>((g=b?.current)===null||g===void 0?void 0:g.offsetHeight)&&s?m(!0):m(!1),T.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:T,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??_},c?r||"show less":l||"show more"))};var Yt=be(Wl);const Yl=Lt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,a]=$(),{swiperRef:c}=Se();return Ni(e,()=>({setSrc:d=>{a(d)}})),Z(()=>{var d,p;const m=(p=(d=c?.current)===null||d===void 0?void 0:d.swiper)===null||p===void 0?void 0:p.activeIndex;(m===0||m>0)&&a(i)},[i,c]),Q(null),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)},alt:"image"})):v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)},alt:"image"}))});var Ve=be(Yl);const ql=t=>{var e,i,n,o,l,r,s,a,c,{content:d,style:p,bgImg:m,onClick:y,schema:b,isDefault:T,bottom_image:_,tipText:u,isPost:g,viewTime:f,rec:E,swiper:k,commodityStyles:h,buttonStyle:O,index:C}=t,w=Oe(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=Se(),{popupDetailData:D,bffEventReport:x,isPreview:I,bffFbReport:P}=Se(),{jumpToWeb:L,productView:N}=He(),H=Q(null),[F,B]=$(!1),j=g?E:D,M=g?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,V=g?(i=j?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=j?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,z=g?C:D?.index,R=()=>{M?.link&&(L(j,M,V,z),g||N(j,M,V,f||H.current,z),window.location.href=window.getJointUtmLink(M.link))};Z(()=>{g||P?.({eventName:"ProductView"})},[g,P]),Z(()=>{const K=()=>{H.current=new Date};return K(),window.addEventListener("pageshow",K),()=>{window.removeEventListener("pageshow",K)}},[]);const U=te(()=>{var K,J,Y,ee,Ie;return M?.currency&&M?.price?`${(Y=(J=(K=M?.currency)===null||K===void 0?void 0:K.split("-")[1])===null||J===void 0?void 0:J.toUpperCase())!==null&&Y!==void 0?Y:""}${(Ie=(ee=M?.price)===null||ee===void 0?void 0:ee.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Ie!==void 0?Ie:""}`:"$7,000"},[M?.price,M?.currency]),se=I?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,we=({isPost:K})=>{var J,Y,ee;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:q(h?.collection),hidden:!!M&&(!M?.collection||M?.collection==="")},(J=M?.collection)!==null&&J!==void 0?J:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:q(h?.title),hidden:!!M&&!M?.title},(Y=M?.title)!==null&&Y!==void 0?Y:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:q(h?.price),hidden:!!M&&!M?.price},U),v.createElement("div",{hidden:!!M&&(!M?.info||M?.info==="")},v.createElement(Yt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>B(!0),isPost:K,text:(ee=M?.info)!==null&&ee!==void 0?ee:`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:h?.info})))},ye=()=>{var q,X;return v.createElement(v.Fragment,null,(T||L?.link)&&v.createElement("button",{"aria-label":(q=F?.enTitle)!==null&&q!==void 0?q:"Purchase on Website",onClick:G,className:"pb-commondity-btn",style:O},(X=F?.enTitle)!==null&&X!==void 0?X:"Purchase on Website"))},Y=oe(q=>q?.lineClamp?Object.assign(Object.assign({},q),{overflow:"hidden",WebkitLineClamp:q?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):q,[]);return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:ne(Object.assign({},p))},x),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(St,{height:le,modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement(nt,{key:q},v.createElement("div",{style:{overflow:"hidden",width:le,height:le}},v.createElement(Re,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:q}))))),!(!((a=L?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:ne({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:ne({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:_,alt:"pdp image"})),v.createElement("div",{className:"pb-commondity-content"},he({isPost:g}))),ye(),v.createElement(Jt,{visible:V,onClose:()=>j(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},he({isPost:!1})),ye()))};var Ql=fe(Kl);const Zl=Ge(Ql,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:mo},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var es=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],_i,ki,ts=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:$e?.fontOptions,initialValue:(ki=(_i=$e?.fontOptions)===null||_i===void 0?void 0:_i[0])===null||ki===void 0?void 0:ki.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],Cn="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 is=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}},ns=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:a,submitButtonStyle:c}=t,d=Me(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=we(),{jumpToWeb:m}=Ue(),y=typeof o=="string"?o:is(o),b=()=>{var T,_,u;if(r){const g=p,f=(T=g?.video)===null||T===void 0?void 0:T.bindProduct,E=(u=(_=g?.video)===null||_===void 0?void 0:_.bindProduct)===null||u===void 0?void 0:u.bindCta,k=p?.index;m(g,f,E,k)}l||s?.(),a?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${ne(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:y??Cn,alt:"success image"})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:c,onClick:b},i))};var os=fe(ns);const ls=Ge(os,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:ts,bindableProps:[],interactionRender:es},defaulSetting:{props:{icon:Cn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Di,Ai,ss=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:me,name:["fontFamily"],initialValue:(Di=me?.[0])===null||Di===void 0?void 0:Di.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:me,initialValue:(Ai=me?.[0])===null||Ai===void 0?void 0:Ai.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const as=t=>{var e,i,n,o,l,r,s,a,c,d,p,m,y,{style:b,isDefault:T,rec:_,viewTime:u,isPost:g,bottom_image:f,tipText:E,swiper:k,commodityStyles:h,buttonStyle:O,index:C}=t,x=Me(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:w}=we(),{popupDetailData:D,bffEventReport:S,isPreview:I,swiperRef:P,bffFbReport:M}=we(),{jumpToWeb:N,productView:R}=Ue(),V=Z(null);Z(null),Z(null),$(!1),$(!1),$(!0);const[j,z]=$(!1),L=Z(null),F=g?_:D,B=g?F?.product:(e=F?.video)===null||e===void 0?void 0:e.bindProduct,G=g?(i=F?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=F?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,H=g?C:D?.index,le=()=>{B?.link&&(N(F,B,G,H),g||R(F,B,G,u||L.current,H),window.location.href=window.getJointUtmLink(B.link))};te(()=>{g||M?.({eventName:"ProductView"})},[g,M]),te(()=>{const X=()=>{L.current=new Date};return X(),window.addEventListener("pageshow",X),()=>{window.removeEventListener("pageshow",X)}},[]);const he=ee(()=>{var X,Q,J,Ie,se;return B?.currency&&B?.price?`${(J=(Q=(X=B?.currency)===null||X===void 0?void 0:X.split("-")[1])===null||Q===void 0?void 0:Q.toUpperCase())!==null&&J!==void 0?J:""}${(se=(Ie=B?.price)===null||Ie===void 0?void 0:Ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&se!==void 0?se:""}`:"\xA3102,300.00"},[B?.price,B?.currency]),ye=I?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,Y=({isPost:X})=>v.createElement("div",{hidden:!!B&&(!B?.info||B?.info==="")},v.createElement(Kt,{isPost:X,onClick:()=>z(!0),className:"pb-commondityDiroNew-info",style:h?.info,foldText:E?.foldText,unfoldText:E?.unfoldText,text:B?.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`})),q=oe(X=>X?.lineClamp?Object.assign(Object.assign({},X),{overflow:"hidden",WebkitLineClamp:X?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):X,[]);return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:V,className:ne(Object.assign({},b))},x),B&&((r=B?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(St,{height:ye,modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=B?.homePage)===null||s===void 0?void 0:s.map(X=>v.createElement(nt,{key:X},v.createElement("div",{style:{overflow:"hidden",width:ye,height:ye}},v.createElement(Re,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:X}))))),!(!((a=B?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:ne({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:ne({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:f,alt:"pdp image"})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:q(h?.title)},(d=B?.title)!==null&&d!==void 0?d:"Large Dior Toujours BagLarge"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!B&&(!B?.collection||B?.collection===""),style:q(h?.collection)},B?.collection||"Black Macrocannage CalfskinLarge")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!B&&!B?.price,style:q(h?.price)},he),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!B&&!B?.taxInfo,style:q(h?.taxInfo)},(p=B?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!B||B?.link)&&v.createElement("button",{"aria-label":(m=G?.enTitle)!==null&&m!==void 0?m:"Shop now",onClick:le,className:"pb-commondityDiroNew-btn",style:O},(y=G?.enTitle)!==null&&y!==void 0?y:"Shop now"),Y({isPost:g}))),v.createElement(Jt,{visible:j,onClose:()=>z(!1)},Y({isPost:!1})))};var rs=fe(as);const ds=Ge(rs,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:ss},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 Pi,Oi,Ke=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:me,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Pi=me?.[0])===null||Pi===void 0?void 0:Pi.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:me,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Oi=me?.[0])===null||Oi===void 0?void 0:Oi.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"]}]}],cs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function _n(t){const e=Z(null),[i,n]=$(!1);return te(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),te(()=>{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 us=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Me(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Z(null),c=_n(a),{popup:d}=lt(),{setPopupDetailData:p,ctaEvent:m}=we(),{jumpToWeb:y}=Ue();te(()=>{var T,_;if(c&&a?.current){const u=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,a,e,m,s]);const b=Bt(()=>{var T,_,u,g,f,E,k,h;const O=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((g=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||g===void 0)&&g.link){const C=(f=e?.video)===null||f===void 0?void 0:f.bindCta,x=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;y(e,x,C,s),window.location.href=window.getJointUtmLink((h=(k=e?.video)===null||k===void 0?void 0:k.bindProduct)===null||h===void 0?void 0:h.link)}}else o?.()},d?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:b},i)};var jt=fe(us),ps={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const vs=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(jt,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ps["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var fs=fe(vs);const ms=Ge(fs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:cs,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const gs=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:a,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,m=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:y}=we(),b=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(jt,Object.assign({isExternalLink:p,rec:a,className:ne(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=b?.icon)!==null&&i!==void 0?i:y?.bottom_image)!==null&&n!==void 0?n:c,alt:"cta image"})),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=b?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var bs=fe(gs);const ys=Ge(bs,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:hs,settingRender:Ke?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Ss=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:a,recData:c,bottom_image:d,ctaTempStyles:p,index:m}=t,y=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:b,bffEventReport:T}=we(),{jumpToWeb:_}=Ue(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,g=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,f=()=>{u?.link&&(_(c,g,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(jt,Object.assign({index:m,rec:c,className:ne(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},y,{onClick:f}),v.createElement("div",{className:ne(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&o!==void 0?o:d})),v.createElement("div",{className:ne({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ws["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Ts=fe(Ss);const xs=Ge(Ts,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ke?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Es=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Is={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Cs=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(jt,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Is["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var _s=fe(Cs);const ks=Ge(_s,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Es,settingRender:Ke,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var Ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],As={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Ps=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(jt,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:As["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop now")))};var Os=fe(Ps);const Ms=Ge(Os,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Ds,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Ls=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const js=({children:t,isPadding:e=!0})=>v.createElement(St,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Co,Io,Eo],style:{padding:e?"0 12px 0 20px":0}},t);var Qt=fe(js);const Ns=({src:t,rec:e,item:i,index:n,style:o})=>{const l=Z(null),r=_n(l),{ctaEvent:s}=we();return te(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),v.createElement("div",{ref:l,hidden:!t,className:ne({width:"100%",height:"100%"})},v.createElement(Re,{className:ne(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var Mi=fe(Ns),Bs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const zs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=we(),{popup:u}=lt(),{jumpToWeb:g}=Ue(),[f,E]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Bt(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(g(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(Qt,{isPadding:!!r},f?.map(h=>{var O,C,x,w,D,S,I;return v.createElement(nt,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Mi,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&x!==void 0?x:_?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Bs["two-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var Fs=fe(zs);const Vs=Ge(Fs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ls,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var Rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hs={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:b}=we(),{ctaEvent:T,setPopupDetailData:_}=we(),{popup:u}=lt(),[g,f]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Ue(),k=Bt(h=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),_?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(E(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(Qt,{isPadding:!!r},g?.map(h=>{var O,C,x,w,D,S,I;return v.createElement(nt,Object.assign({hidden:r&&!h?.bindCta,key:h.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Mi,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&x!==void 0?x:b?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Hs["two-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var Gs=fe(Us);const $s=Ge(Gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Rs,settingRender:Ke,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var Ws=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ys={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const qs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=we(),{popup:u}=lt(),{jumpToWeb:g}=Ue(),[f,E]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Bt(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(g(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(Qt,{isPadding:!!r},f?.map(h=>{var O,C,x,w,D,S,I;return v.createElement(nt,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Mi,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&x!==void 0?x:_?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Ys["tow-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Xs=fe(qs);const Js=Ge(Xs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Ws,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var Li,ji,Ks=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{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:me,name:["fontFamily"],initialValue:(Li=me?.[0])===null||Li===void 0?void 0:Li.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:me,initialValue:(ji=me?.[0])===null||ji===void 0?void 0:ji.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 Qs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=we();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var kn=fe(Qs),Zs=null,ea="3d989325-e7d6-4a74-8a97-98febdf5b567",ta=null,ia=null,na={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"},oa=[{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}],la="Handbags",Dn={productUserId:Zs,requestId:ea,channel:ta,rtc:ia,tag:na,recList:oa,hashTag:la};const sa=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:o,index:l,showBorder:r,list:s,reportTagsView:a,textStyles:c,space:d}=t,{swiperRef:p,setRtcList:m,setOpenHashtag:y,sxpParameter:b}=we(),[T,_]=$(!1);$(!1),$({height:1,width:1});const u=Z(null),g=Z(null);Z(null),Z(null);const[f,E]=$(""),k=ee(()=>{var S,I,P,M,N,R,V,j,z,L;return!((S=e?.video)===null||S===void 0)&&S.cover?(I=e?.video)===null||I===void 0?void 0:I.cover:!((M=(P=e?.video)===null||P===void 0?void 0:P.imgUrls)===null||M===void 0)&&M.length?(R=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||R===void 0?void 0:R[0]:!((j=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||j===void 0)&&j.length?(L=(z=e?.product)===null||z===void 0?void 0:z.homePage)===null||L===void 0?void 0:L[0]:b?.bottom_image||""},[e,b?.bottom_image]),h=ee(()=>{var S,I;return((S=e?.product)===null||S===void 0?void 0:S.title)||((I=e?.video)===null||I===void 0?void 0:I.title)||null},[e]),O=ee(()=>{var S;return i.transform?Number((S=i.transform)===null||S===void 0?void 0:S.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);ee(()=>O===void 0?!1:O<=r,[O,r]);const C=ee(()=>{var S,I,P,M,N,R,V,j,z;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((I=e?.product)===null||I===void 0)&&I.price)?`${(R=(N=(M=(P=e?.product)===null||P===void 0?void 0:P.currency)===null||M===void 0?void 0:M.split("-")[1])===null||N===void 0?void 0:N.toUpperCase())!==null&&R!==void 0?R:""}${(z=(j=(V=e?.product)===null||V===void 0?void 0:V.price)===null||j===void 0?void 0:j.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&z!==void 0?z:""}`:null},[e]);te(()=>{if(u.current===null||k==="")return;let S=null;T&&f?S=f:S=k,S&&u.current.setSrc(S)},[k,T,f]);const x=Z(),w=oe(S=>{setTimeout(()=>{var I;const P=(I=x?.current)===null||I===void 0?void 0:I.offsetHeight;n(P+56+d,l)},0)},[d,n,l,o,x]),D=()=>{a(),m?.(s),setTimeout(()=>{var S;(S=p?.current)===null||S===void 0||S.swiper.slideTo(l,0,!1),y?.(!1)},0)};return v.createElement("div",{ref:g,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:D},v.createElement("div",{className:"waterFallList-content-listItem-picture",ref:x},v.createElement(Re,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:w,ref:u})),v.createElement("div",{className:"waterFallList-content-listItem-info"},v.createElement("div",{className:`waterFallList-content-listItem-info-title ${C?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title)},h&&h),v.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!C,style:c.price},C)))};function aa(t){var e,i,n,o,l,r,s,a,c,d,p,m,y,b,T,_,u,g,f,E,{reportTagsView:k,showBanner:h}=t,O=Me(t,["reportTagsView","showBanner"]);const{waterFallData:C,getRecommendVideos:x,hashTagSize:w,loadingImage:D,isOpenHashTag:S}=we(),I=Z(null),[P,M]=$(0),[N,R]=$(),V=Z(null),[j,z]=$([]),L=Z(),F=[170,230,300],[B,G]=$(!1),[H,le]=$([]),he=Z(),ye=oe((ce,ve)=>Math.floor(Math.random()*(ve-ce+1))+ce,[]),Y=Z([]),[q,X]=$({width:0}),Q=ee(()=>{const ce=q.width||0;return ce>=1200?6:ce>=768&&ce<=1199?4:2},[q]),J=ee(()=>q.width/Q-2,[Q,q]),Ie=oe(()=>{var ce;const ve=(ce=L.current)!==null&&ce!==void 0?ce:[],Se=[];for(let re=0;re<H?.length;re++){const Ne=Math.floor(re/Q),Ye=re%Q+1;let Qe=0,ft=9999999999;if(Ne===0)Se[re]=re;else{for(let U=0;U<Se.length;U++)Y.current[Se[U]].top+Y.current[Se[U]].height<ft&&(Qe=U,ft=Y.current[Se[U]].top+Y.current[Se[U]].height);Se[Qe]=re}Y.current[re]===void 0&&(Y.current[re]={}),Ne===0?(Ye===1?Y.current[re].left=0:Y.current[re].left=Y.current[re-1].left+J+4,Y.current[re].top=0):(Y.current[re].left=Y.current[Qe].left,Y.current[re].top=ft),Y.current[re].height=Y.current[re].height||F[ye(0,2)],ve[re]={transform:`translate(${Y.current[re].left}px,${Y.current[re].top}px)`,width:`${J}px`,height:Y.current[re].height}}return z([...ve]),[...ve]},[J,Q,F,ye,H]),se=oe((ce,ve)=>{Y.current[ve]===void 0&&(Y.current[ve]={}),Y.current[ve].height=ce,L.current=Ie()},[Ie]);te(()=>{L.current=Ie()},[J,Q,H]),te(()=>{var ce,ve;if(G(!0),C&&x?.({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType,defaultSize:w,maxSize:w}).then(Se=>{var re,Ne;R(Se),le((Ne=(re=Se?.recList)===null||re===void 0?void 0:re.filter(Ye=>Ye?.video!==null||Ye?.product!==null))!==null&&Ne!==void 0?Ne:[]),G(!1)}),S){const Se=Dn;R(Se),le((ve=(ce=Se?.recList)===null||ce===void 0?void 0:ce.filter(re=>re?.video!==null||re?.product!==null))!==null&&ve!==void 0?ve:[]),G(!1)}},[C,x,w,S]);const Ae=oe(()=>{V.current!==null&&X({width:V.current.getBoundingClientRect().width})},[]);te(()=>{if(V.current===null)return;const ce=new ResizeObserver(ve=>{Ae()});return ce.observe(V.current),()=>{ce.disconnect()}},[Ae]),oe(()=>{G(!0),C&&x?.({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType}).then(ce=>{var ve,Se;le(H?.concat((Se=(ve=ce?.recList)===null||ve===void 0?void 0:ve.filter(re=>!re?.video))!==null&&Se!==void 0?Se:[])),G(!1)})},[C,x,H]);const Le=oe(()=>{M(I.current.scrollTop)},[]);te(()=>{var ce;return(ce=I?.current)===null||ce===void 0||ce.addEventListener("scroll",Le),()=>{var ve;(ve=I?.current)===null||ve===void 0||ve.removeEventListener("scroll",Le)}},[Le,I]);const Pe=()=>{var ce,ve;!((ce=N?.tag)===null||ce===void 0)&&ce.link&&(k(),window.location.href=(ve=N?.tag)===null||ve===void 0?void 0:ve.link)};return v.createElement(v.Fragment,null,B?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"waterFallList",ref:V},v.createElement("div",{className:"waterFallList-scroll",ref:I},h&&((e=N?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:Pe},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=N?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"waterFallList-info",style:(n=O?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=N?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=N?.tag)===null||l===void 0)&&l.link),className:"waterFallList-collection",style:Object.assign({},(r=O?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:Pe},((s=N?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"waterFallList-content"},H?.map((ce,ve)=>{var Se;return v.createElement(sa,Object.assign({key:ve,index:ve,rec:ce,list:H,showBorder:P+((Se=I?.current)===null||Se===void 0?void 0:Se.clientHeight),style:j[ve],sizeChange:se,unitWidth:J,reportTagsView:k},O))}),v.createElement("div",{hidden:!(!((a=N?.tag)===null||a===void 0)&&a.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((d=Y?.current[((c=Y?.current)===null||c===void 0?void 0:c.length)-1])===null||d===void 0?void 0:d.top)+((m=Y?.current[((p=Y?.current)===null||p===void 0?void 0:p.length)-1])===null||m===void 0?void 0:m.height))!==null&&y!==void 0?y:0}px)`,height:!((b=N?.tag)===null||b===void 0)&&b.link?((T=he?.current)===null||T===void 0?void 0:T.offsetHeight)||((_=O?.buttonBgStyle)===null||_===void 0?void 0:_.height)||"100px":0}}))),v.createElement("div",{className:"waterFallList-bottom",hidden:!(!((u=N?.tag)===null||u===void 0)&&u.link),style:O?.buttonBgStyle}),v.createElement("div",{ref:he,hidden:!(!((g=N?.tag)===null||g===void 0)&&g.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},O?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{"aria-label":((f=N?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:O?.buttonStyle,onClick:Pe},((E=N?.tag)===null||E===void 0?void 0:E.linkTitle)||"Shop the collection"))))}var ra="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const da=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:a,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=we(),[m,y]=$(!1),b=Z(null),T=Z(null),_=Z(null),u=Z(null),[g,f]=$(""),E=ee(()=>{var x,w,D,S,I,P,M,N,R,V;return!((x=e?.video)===null||x===void 0)&&x.cover?(w=e?.video)===null||w===void 0?void 0:w.cover:!((S=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||S===void 0)&&S.length?(P=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((N=(M=e?.product)===null||M===void 0?void 0:M.homePage)===null||N===void 0)&&N.length?(V=(R=e?.product)===null||R===void 0?void 0:R.homePage)===null||V===void 0?void 0:V[0]:p?.bottom_image||""},[e,p?.bottom_image]),k=ee(()=>{var x,w;return((x=e?.product)===null||x===void 0?void 0:x.title)||((w=e?.video)===null||w===void 0?void 0:w.title)||null},[e]),h=ee(()=>{var x,w,D,S,I,P,M,N,R;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((w=e?.product)===null||w===void 0)&&w.price)?`${(P=(I=(S=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||S===void 0?void 0:S.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(R=(N=(M=e?.product)===null||M===void 0?void 0:M.price)===null||N===void 0?void 0:N.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&R!==void 0?R:""}`:null},[e]);te(()=>{const x=new IntersectionObserver(w=>{w.forEach(D=>{if(D.isIntersecting){if(T.current===null||E==="")return;m&&g?b.current.setSrc(g):b.current.setSrc(E),x.unobserve(T.current)}})});return x.observe(T.current),()=>{x.disconnect()}},[E,m,g]);const O=(x,w,D)=>{const S=x/w;return D/S};te(()=>{const x=_?.current;x===null||E===""||!m||(x.src=E,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const w=u?.current;if(!w)return;const D=w.getContext("2d"),S=window?.innerWidth/2,I=O(x.videoWidth,x.videoHeight,S);w.height=I,w.width=S,D?.drawImage(x,0,0,w.width,w.height),f(w.toDataURL()),x.remove(),w.remove()})},[E,m]);const C=()=>{o(),a?.(n),setTimeout(()=>{var x;(x=s?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:T,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:r}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:_,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Re,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!h},h)))};function ca(t){var e,i,n,o,l,r,s,a,c,d,p,m,y,b,T,{reportTagsView:_,showBanner:u}=t,g=Me(t,["reportTagsView","showBanner"]);const{waterFallData:f,getRecommendVideos:E,hashTagSize:k,loadingImage:h,isOpenHashTag:O}=we(),[C,x]=$(),[w,D]=$(),[S,I]=$(!1),P=Z(null),[M,N]=$(!1);oe(()=>{M||(N(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType}).then(V=>{var j;x(C?.concat((j=V?.recList)!==null&&j!==void 0?j:[])),N(!1)}))},[f,E,C,M]),te(()=>{var V,j;if(I(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType,defaultSize:k,maxSize:k}).then(z=>{var L,F;D(z),x((F=(L=z?.recList)===null||L===void 0?void 0:L.filter(B=>B?.video!==null||B?.product!==null))!==null&&F!==void 0?F:[]),I(!1)}),O){const z=Dn;D(z),x((j=(V=z?.recList)===null||V===void 0?void 0:V.filter(L=>L?.video!==null||L?.product!==null))!==null&&j!==void 0?j:[]),I(!1)}},[f,E,k,O]);const R=()=>{var V,j;!((V=w?.tag)===null||V===void 0)&&V.link&&(_(),window.location.href=(j=w?.tag)===null||j===void 0?void 0:j.link)};return v.createElement(v.Fragment,null,S?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:h,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:P},u&&((e=w?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:R},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=w?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"list-info",style:(n=g?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=w?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=w?.tag)===null||l===void 0)&&l.link),className:"list-collection",onClick:R,style:Object.assign(Object.assign({},(r=g?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:g?.space})},((s=w?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},C?.map((V,j)=>v.createElement(da,Object.assign({key:j,index:j,rec:V,list:C,reportTagsView:_},g)))),v.createElement("div",{hidden:!M,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=w?.tag)===null||a===void 0)&&a.link),style:{height:!((c=w?.tag)===null||c===void 0)&&c.link?((d=g?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((p=g?.buttonStyle)===null||p===void 0?void 0:p.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((m=w?.tag)===null||m===void 0)&&m.link),style:g?.buttonBgStyle}),v.createElement("div",{hidden:!(!((y=w?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{"aria-label":((b=w?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection",className:"list-btn",style:g?.buttonStyle,onClick:R},((T=w?.tag)===null||T===void 0?void 0:T.linkTitle)||"Shop the collection"))))}const ua=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:a,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:y,bffEventReport:b,themeTag:T,selectTag:_}=we(),{backMainFeed:u}=Ue();Z(null);const g=Z(null),[f,E]=$();te(()=>{const x=document.getElementById("sxp-render"),w=document.getElementById("water-fall");w?g.current=w:(g.current=document.createElement("div"),g.current.setAttribute("id","water-fall"),x?.appendChild(g.current))},[]);const k=()=>{const x=Fi(d,s);!x&&s&&s?.length&&a?.(s),u("branch",_,void 0,i?.hashTag),C(),r?.(void 0),m?.(!1),setTimeout(()=>{var w,D;x||(D=(w=l?.current)===null||w===void 0?void 0:w.swiper)===null||D===void 0||D.slideTo(c,0,!1),n?.(!1)},0)},[h,O]=$();te(()=>{i&&O(i)},[i]);const C=oe(()=>{var x,w,D,S,I,P;const M=h?.rec;if(!M)return;let N="";y?N="hashTagPage":!((x=M?.video)===null||x===void 0)&&x.url?N="videoPage":!((D=(w=M?.video)===null||w===void 0?void 0:w.imgUrls)===null||D===void 0)&&D.length&&(N="imagePage"),b?.({eventInfo:{contentId:(S=M?.video)===null||S===void 0?void 0:S.itemId,position:c+"",contentTags:JSON.stringify((I=M?.video)===null||I===void 0?void 0:I.tags),traceInfo:(P=M?.video)===null||P===void 0?void 0:P.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:N,fromKPage:location?.href,timeOnSite:Math.floor((new Date-f)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,b,f,y,c]);return te(()=>{o&&E(new Date)},[o]),te(()=>{const x=()=>{E(new Date)};return window.addEventListener("pageshow",x),()=>{window.removeEventListener("pageshow",x)}},[]),g.current?Hi.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(kn,{icon:ra,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:k}),t?.openFixedSize===!0||t?.openFixedSize===void 0?v.createElement(ca,Object.assign({reportTagsView:C},t)):v.createElement(aa,Object.assign({reportTagsView:C},t))),g.current):null};var An=fe(ua);const pa=t=>v.createElement(An,Object.assign({},t));var va=fe(pa);const fa=Ge(va,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Ks,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var ma=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const Pn=t=>v.createElement(Pn,Object.assign({},t));var ha=fe(Pn);const ga=Ge(ha,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:ma},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Ni=Object.freeze({__proto__:null,Appoint:ys,AppointForm:fo,Commodity:ms,CommodityDetail:Zl,CommodityDetailDiroNew:ds,CommodityDiro:ks,CommodityDiroNew:Ms,Consent:ga,HashTag:fa,Link:xs,MultiCommodity:$s,MultiCommodityDiro:Vs,MultiCommodityDiroNew:Js,Prompt:ls});const ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ya="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",wa=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Me(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:a,bffEventReport:c}=we(),[d,p]=$(e),m=Xe(ya),y=Xe(ba),b=ti(()=>Fe(void 0,void 0,void 0,function*(){var T,_,u,g,f,E,k,h,O,C,x,w,D,S,I,P,M,N,R,V;if(d){p(!1);const j=(u=yield a?.({videoItemId:(_=(T=o?.video)===null||T===void 0?void 0:T.itemId)!==null&&_!==void 0?_:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(f=(g=o?.video)===null||g===void 0?void 0:g.itemId)!==null&&f!==void 0?f:"",contentName:(k=(E=o?.video)===null||E===void 0?void 0:E.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((O=(h=o?.video)===null||h===void 0?void 0:h.tags)!==null&&O!==void 0?O:[]),position:l+"",contentFormat:!((C=o?.video)===null||C===void 0)&&C.url?"video":"image",traceInfo:(x=o?.video)===null||x===void 0?void 0:x.traceInfo}}),j||p(!0)}else{p(!0);const j=(w=yield s?.({content:JSON.stringify(o)}))!==null&&w!==void 0?w:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(S=(D=o?.video)===null||D===void 0?void 0:D.itemId)!==null&&S!==void 0?S:"",contentName:(P=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((N=(M=o?.video)===null||M===void 0?void 0:M.tags)!==null&&N!==void 0?N:[]),position:l+"",contentFormat:!((R=o?.video)===null||R===void 0)&&R.url?"video":"image",traceInfo:(V=o?.video)===null||V===void 0?void 0:V.traceInfo}}),j||p(!1)}}),200);return v.createElement("button",Object.assign({},r,{"aria-label":"like",onClick:b}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||m:n||y,alt:"icon"}))};var On=fe(wa);const Sa=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[a,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:m,openHashtag:y,bffFbReport:b}=we(),T=Z(0),[_,u]=$(!1),[g,f]=$(!0),{isActive:E}=In(),k=Z(null),[h,O]=$(""),C=`pb-cache-video-${e}`,x=Z(null),w=ee(()=>r?.mode==="2",[r]),D=ee(()=>{var G;return r?.mode==="2"?`translateY(-${50+((G=r?.offsetTop)!==null&&G!==void 0?G:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),S=ee(()=>{var G;return((G=t?.video)===null||G===void 0?void 0:G.cover)||h},[h,t]),I=ee(()=>w?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[w]),P=ee(()=>r?.bgWay==="1",[r]),M=ee(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);te(()=>{s&&s?.muted(o)},[o,s]);const N=oe(()=>{s&&s?.play()},[s]),R=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),V=oe(()=>{var G,H,le,he,ye,Y,q,X,Q;if(!s)return;u(!0),c(!1);const J=n[e];if(J&&s?.duration()){T.current=s?.currentTime()||0;const Ie=((G=s?.duration())!==null&&G!==void 0?G:0).toFixed(2),se=((H=s?.currentTime())!==null&&H!==void 0?H:0).toFixed(2),Ae=g?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(he=(le=J?.video)===null||le===void 0?void 0:le.itemId)!==null&&he!==void 0?he:"",contentName:(Y=(ye=J?.video)===null||ye===void 0?void 0:ye.title)!==null&&Y!==void 0?Y:"",playType:Ae,startTime:se,videoDuration:Ie,contentTags:JSON.stringify((X=(q=J?.video)===null||q===void 0?void 0:q.tags)!==null&&X!==void 0?X:[]),position:e+"",contentFormat:"video",traceInfo:(Q=J?.video)===null||Q===void 0?void 0:Q.traceInfo}}),f(!1)}},[d,n,e,g,s]),j=oe(()=>{var G;if(!s||h||!w)return;const H=document.getElementById("player-container-id_html5_api");if(!H||(H.style.objectFit="contain",!((G=t?.video)===null||G===void 0)&&G.cover||!k||!k.current||P))return;const le=()=>{const he=H,ye=k?.current,Y=ye.getContext("2d"),q=window?.innerWidth,X=window?.innerHeight;ye.height=X,ye.width=q,Y?.drawImage(he,0,0,ye.width,ye.height),O(ye.toDataURL())};le(),setTimeout(()=>{le()},500)},[s,P,t,h,w]),z=oe(()=>{s&&j()},[s,j]);oe(()=>{u(!0)},[]);const L=oe(G=>()=>{if(!s||!_)return;const H=s?.paused();switch(G){case"start":if(!H)return;s?.play(),c(!1);break;case"pause":if(H)return;s?.pause(),c(!0);break;default:H?s?.play():s?.pause(),c(!H);break}},[_,s]),F=oe(()=>{var G,H,le,he,ye,Y,q,X,Q;if(!s||l!==e)return;const J=n[e],Ie=((G=s?.duration())!==null&&G!==void 0?G:0).toFixed(2),se=((H=s?.currentTime())!==null&&H!==void 0?H:0).toFixed(2);if(s?.duration()){const Ae=(s?.currentTime()-T.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(he=(le=J?.video)===null||le===void 0?void 0:le.itemId)!==null&&he!==void 0?he:"",contentName:(Y=(ye=J?.video)===null||ye===void 0?void 0:ye.title)!==null&&Y!==void 0?Y:"",endTime:se,videoDuration:Ie,playDuration:Ae,contentTags:JSON.stringify((X=(q=J?.video)===null||q===void 0?void 0:q.tags)!==null&&X!==void 0?X:[]),position:e+"",contentFormat:"video",traceInfo:(Q=J?.video)===null||Q===void 0?void 0:Q.traceInfo}})}},[n,e,d,s,l]);te(()=>{if(!E||!s)return;const G=t?.video.url;if(!G)return;s?.src(G),c(!1);const H=document.querySelector(`#${C}`),le=document.querySelector("#player-container-id"),he=document.querySelector("#player-container-id-copy");if(!(!le&&!he))return H?.appendChild(le||he),s?.on("loadedmetadata",z),s?.on("loadeddata",j),s?.on("playing",V),s?.on("pause",F),s?.on("ended",N),()=>{he?.appendChild(le),s?.off("loadedmetadata",z),s?.off("loadeddata",j),s?.off("playing",V),s?.off("pause",F),s?.off("ended",N)}},[E,C,t,s]),te(()=>{!s||!_||(E?(b?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[E,_,s]),te(()=>{if(!E||!s)return;!s?.paused()&&y?s?.pause():y||s?.play()},[y,E,s]),te(()=>{if(!E)return;const G=()=>{L("start")(),b?.({eventName:"ViewContent"})},H=L("pause");return st.on(Ze.PAGE_DID_SHOW,G),st.on(Ze.PAGE_DID_HIDE,H),()=>{st.off(Ze.PAGE_DID_SHOW,G),st.off(Ze.PAGE_DID_HIDE,H)}},[L,E]);const B=ee(()=>!p?.placeholder_image||_?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image,alt:"placeholder image"}),[_,p?.placeholder_image]);return te(()=>{if(!s)return;const G=()=>{var H;l===e&&(!((H=t?.video)===null||H===void 0)&&H.url)&&s&&!a&&L("pause")()};return window.addEventListener("beforeunload",G),()=>{window.removeEventListener("beforeunload",G)}},[l,e,t,s,L,a]),t?.video?v.createElement(v.Fragment,null,w?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},M)},!P&&v.createElement(Re,{src:S,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),v.createElement("canvas",{ref:k,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:x,id:C,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",alt:"pause",src:R}))),B):v.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},v.createElement("div",{className:"n-full-screen",ref:x,id:C,style:{width:"100%",height:"100%"}}),B,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:R,alt:"pause"}))):null};var Ta=fe(Sa);const xa=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=$(t),s=a=>{a.stopPropagation();const c=!l;r(c),n?.(c)};return v.createElement("button",{style:o,"aria-label":"toggle button",className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var Mn=fe(xa);const Ea=({imageUrl:t,style:e})=>{const[i,n]=$(!0);lt(),te(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},v.createElement("img",{src:t||o,alt:"finger swiper"}))},Ln=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:o}=t,l=ee(()=>n?.mode==="2",[n]),r=ee(()=>{var d;return n?.mode==="2"?`translateY(-${50+((d=n?.offsetTop)!==null&&d!==void 0?d:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=ee(()=>n?.bgWay==="1",[n]),c=ee(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!l||!a)&&v.createElement(Re,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s),onLoad:o}),l&&v.createElement(Re,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0}}))},Ia=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var a;const c=Z(),{isActive:d}=In(),{sxpParameter:p,openHashtag:m}=we(),[y,b]=$(!1);te(()=>{y&&d?(c?.current&&c.current.swiper.autoplay.start(),m?l(n):r(o)):c?.current&&c.current.swiper.autoplay.stop()},[n,d,l,m,o,r,y]);const T=oe(()=>{y||b(!0)},[y]);return v.createElement(St,{ref:c,defaultValue:0,direction:"horizontal",modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=s?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map((_,u)=>v.createElement(nt,{key:u},v.createElement(Ln,{src:!y&&u>0?"":_,height:i,imgUrlsPostConfig:s,onShowFirstImage:T}))))};var Ca=fe(Ia);const _a=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=$(!1),{setWaterFallData:a,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:m}=we(),y=b=>{p?m?.(!0):d?.(n),a?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),c?.(!0)};return ee(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Qt,null,t?.map((b,T)=>v.createElement(nt,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>y(b)},`#${b}`))))};var jn=fe(_a),ka="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 Zt(t){return fe(function(e){const{$store:i}=Zn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=Vi(i,d);return r=r.replace(a,p),p}})}),r},o=ee(()=>{var l,r,s;const{bindDatas:a}=e,c=Me(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:m}=d;m.replace(/{{\s*([\w.]+)\s*}}/g,(y,b)=>{var T,_;if(b){const u=(_=(T=Vi(i,b))!==null&&T!==void 0?T:e[p])!==null&&_!==void 0?_:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=At(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(r=c?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const Da=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=lt(),l=ee(()=>{var r,s,a,c,d,p,m,y,b,T,_,u,g,f,E,k,h,O,C,x,w,D,S,I,P,M,N,R,V,j,z;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?L="\u5546\u54C1CTA":L=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const F=i?.[L];if(((p=F?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((y=F?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((T=F?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((_=t?.video)===null||_===void 0)&&_.bindProduct)||((u=F?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((f=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||f===void 0)&&f.length)||((E=F?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiro"&&!(!((h=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||h===void 0)&&h.length)||((O=F?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((x=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||x===void 0)&&x.length))return null;if(F&&n){const B=n[(w=F?.item)===null||w===void 0?void 0:w.type],G=Zt(B),H=(D=B?.extend)===null||D===void 0?void 0:D.defaulSetting,le=((P=(I=(S=F?.item)===null||S===void 0?void 0:S.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return v.createElement(G,Object.assign({style:Object.assign(Object.assign(Object.assign({},H?.style),(M=F?.item)===null||M===void 0?void 0:M.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},H?.textStyle),(N=F?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(V=(R=F?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&V!==void 0?V:[]},H?.props,(j=F?.item)===null||j===void 0?void 0:j.props,{event:((z=F?.item)===null||z===void 0?void 0:z.event)||{},schema:o,id:F?.id,key:F?.id,recData:t,isExternalLink:le,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var Nn=fe(Da);const Bn=({nudge:t})=>{var e,i,n,o,l,r,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?v.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Aa=({tagList:t=[],setActiveIndex:e})=>{const{getRecommendVideos:i,setRtcList:n,setCacheRtcList:o,setCacheActiveIndex:l,setLoading:r,swiperRef:s,waterFallData:a,bffEventReport:c,selectTag:d,setSelectTag:p}=we(),{backMainFeed:m}=Ue(),y=ee(()=>[Vt,...t],[t]),b=T=>()=>{if(T===d)return;T!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${T}']`}}):m("theme",T,d);let _;T!==Vt&&(_=T),r?.(!0),i?.({themeTag:_}).then(u=>{var g,f,E,k;st.emit(Ze.CHANGE_THEME_TAG,_),n?.((g=u?.recList)!==null&&g!==void 0?g:[]),o?.((f=u?.recList)!==null&&f!==void 0?f:[]),e?.(0),l?.(0),(k=(E=s?.current)===null||E===void 0?void 0:E.swiper)===null||k===void 0||k.slideTo(0)}).finally(()=>{r?.(!1)}),p?.(T)};return a||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},y.map(T=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${T===d?"clc-sxp-tagbar-list-item-active":""}`,key:T,onClick:b(T)},T))))};var zn=fe(Aa);const Pa=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:o,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:s}=we(),a=ee(()=>{const p=location.search.slice(1),m=ii.parse(p.replace(/\+/g,"%2B"));for(const y in m)m[y]=m[y].replace(/%2B/g,"+");return m},[]),c=p=>{var m;return(m=a[p])!==null&&m!==void 0?m:null};te(()=>{s?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),clSource:c("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const d=()=>{s?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem(Xi,"yes")};return v.createElement("div",{className:"consent-bg"},v.createElement("div",{className:"consent"},v.createElement("div",{className:"consent-col"},v.createElement("div",{className:"consent-title"},i??"Privacy Policy"),v.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),v.createElement("div",{className:"consent-col"},v.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:d},"Agree"),v.createElement("a",{className:"consent-policy",target:"_blank",href:o?`https://${o}`:void 0},l??"More information"))))};var Oa=fe(Pa);const Fn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:a,nudge:c,_schema:d,hashTagStyle:p,tagList:m=[],licenseUrl:y})=>{var b,T,_,u,g,f,E,k,h,O,C,x,w;const{schema:D}=lt(),[S,I]=$(0),P=Z(0),[M,N]=$(!1),[R,V]=$(!0),j=Z(),[z,L]=$(!1),[F,B]=$(!1),{loadVideos:G,bffEventReport:H,loading:le,setPopupDetailData:he,ctaEvent:ye,swiperRef:Y,waterFallData:q,setOpenHashtag:X,appDomain:Q,openHashtag:J,loadingImage:Ie,isFromHashtag:se,popupDetailData:Ae,bffFbReport:Le,curTime:Pe,h5EnterLink:ce,isShowConsent:ve,selectTag:Se}=we(),{backMainFeed:re}=Ue(),[Ne,Ye]=$(null),Qe=Z(),{productView:ft}=Ue(),U=ee(()=>r.length>0&&!le&&no(),[r,le]),W=oe(()=>{if(r.length<=0)return;to();const A=new Date;j.current=A,M&&ce?.(),Le?.({eventName:"PageView"}),N(!0)},[r.length,Le,ce,M]),ae=Z();te(()=>{var A,de,K,ue;if(!ae.current&&!Ne&&Qe?.current&&r?.length>0){ae.current=!0;const be=TCPlayer("player-container-id",{licenseUrl:y,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:!((de=(A=r?.[0])===null||A===void 0?void 0:A.video)===null||de===void 0)&&de.url?[{src:(ue=(K=r?.[0])===null||K===void 0?void 0:K.video)===null||ue===void 0?void 0:ue.url}]:[]});be?.ready(()=>{Ye(be)})}},[Ne,y,r]),te(()=>{M||W()},[W,M]),te(()=>{var A;const de=r?.findIndex(K=>{var ue,be,Te,ie,pe,_e,Be,ze,Ce;return s==="\u591A\u5546\u54C1CTA"?((ue=K?.video)===null||ue===void 0?void 0:ue.bindProducts)&&((Te=(be=K?.video)===null||be===void 0?void 0:be.bindProducts)===null||Te===void 0?void 0:Te.length)>0:s==="\u5546\u54C1CTA"?(ie=K?.video)===null||ie===void 0?void 0:ie.bindProduct:((_e=(pe=K?.video)===null||pe===void 0?void 0:pe.bindCta)===null||_e===void 0?void 0:_e.itemId)===s&&(((Be=K?.video)===null||Be===void 0?void 0:Be.url)||((Ce=(ze=K?.video)===null||ze===void 0?void 0:ze.imgUrls)===null||Ce===void 0?void 0:Ce.length))})||0;(A=Y?.current)===null||A===void 0||A.swiper.slideTo(de)},[s,Y]),te(()=>{const A=r?.[S],de=()=>{var K,ue,be,Te,ie,pe,_e,Be,ze,Ce,Oe,ht,gt,bt,ut,Dt;const qe=!J&&!ve;if(document.visibilityState==="hidden"){qe&&(st.emit(Ze.PAGE_DID_HIDE,A),dt(A),mt(A));let yt="";Ae&&(!((ue=(K=A?.video)===null||K===void 0?void 0:K.bindProducts)===null||ue===void 0)&&ue.length||!((be=A?.video)===null||be===void 0)&&be.bindProduct)?yt="pdpPage":Ae&&((_e=o?.[(pe=(ie=(Te=A?.video)===null||Te===void 0?void 0:Te.bindCta)===null||ie===void 0?void 0:ie.itemId)!==null&&pe!==void 0?pe:""].item)===null||_e===void 0?void 0:_e.type)==="Appoint"?yt="formPage":se?yt="hashTagPage":!((Be=A?.video)===null||Be===void 0)&&Be.url?yt="videoPage":!((ze=A?.video)===null||ze===void 0)&&ze.imgUrls&&(!((Oe=(Ce=A?.video)===null||Ce===void 0?void 0:Ce.imgUrls)===null||Oe===void 0)&&Oe.length)?yt="imagePage":A?.product&&(yt="productPage"),H?.({eventInfo:{sessionDuration:Math.floor((new Date-Pe.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(ht=A?.video)===null||ht===void 0?void 0:ht.itemId,productId:(gt=A?.product)===null||gt===void 0?void 0:gt.itemId,position:S+"",fromKName:yt,fromKPage:location?.href,ctatId:(Dt=(ut=(bt=A?.video)===null||bt===void 0?void 0:bt.bindCta)===null||ut===void 0?void 0:ut.itemId)!==null&&Dt!==void 0?Dt:""}})}else document.visibilityState==="visible"&&(W(),qe&&(Tt(S),st.emit(Ze.PAGE_DID_SHOW,A),re("external",Se)))};return document.addEventListener("visibilitychange",de),()=>{document.removeEventListener("visibilitychange",de)}},[S,H,r,W,Ae,se,o,Pe,re,J,ve,Se]);const xe=ee(()=>{let A=0;return m.length>0&&(A+=45,q&&(A-=45)),A},[m,q]),ge=ee(()=>{let A=0;return t?.logoUrl&&t?.isShowLogo&&(A+=45),i-A-xe},[t,i,xe]),ke=ee(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ee=oe((A,de)=>{var K,ue,be,Te;return!((K=A?.video)===null||K===void 0)&&K.url?v.createElement(Ta,{rec:A,index:de,muted:R,data:r,height:ge,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:Ne}):!((ue=A?.video)===null||ue===void 0)&&ue.imgUrls?v.createElement(Ca,{key:A?.video.itemId,imgUrls:A?.video.imgUrls,width:n,height:ge,rec:A,index:de,onReportViewImageEnd:dt,onViewImageStartEvent:Tt,imgUrlsPostConfig:t?.imgUrlsPost}):A.product&&Array.isArray(t?.productPost)&&((be=t?.productPost)===null||be===void 0?void 0:be.length)>0?(Te=t?.productPost)===null||Te===void 0?void 0:Te.map((ie,pe)=>{var _e,Be,ze,Ce,Oe,ht,gt,bt;const ut=l[(_e=ie?.item)===null||_e===void 0?void 0:_e.type],Dt=Zt(ut),qe=(Be=ut?.extend)===null||Be===void 0?void 0:Be.defaulSetting;return v.createElement(Dt,Object.assign({key:`${de}${pe}`,textStyle:Object.assign(Object.assign({},qe?.textStyle),(ze=ie?.item)===null||ze===void 0?void 0:ze.textStyle),bindDatas:(Oe=(Ce=ie?.item)===null||Ce===void 0?void 0:Ce.bindDatas)!==null&&Oe!==void 0?Oe:[]},qe?.props,(ht=ie?.item)===null||ht===void 0?void 0:ht.props,{event:((gt=ie?.item)===null||gt===void 0?void 0:gt.event)||{},schema:D,id:ie?.id,viewTime:j.current,rec:A,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},qe?.style),(bt=ie?.item)===null||bt===void 0?void 0:bt.style),{height:"100%",overflow:"auto"}),index:de}))}):null},[n,r,ge,R,S,t?.productPost,j,a,l,D,Ne]),De=oe(A=>{B(A)},[]),ot=ee(()=>F?{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"},[F]),rt=oe((A,de)=>{var K,ue,be,Te,ie,pe,_e;return A?.video?v.createElement(v.Fragment,null,((K=A?.video)===null||K===void 0?void 0:K.title)&&!F&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Bn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Nn,{rec:A,index:de,tempMap:o,resolver:l})):null,v.createElement("div",null,v.createElement(Kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(be=(ue=A?.video)===null||ue===void 0?void 0:ue.title)!==null&&be!==void 0?be:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:De}),v.createElement(jn,{index:S,tags:(ie=(Te=A?.video)===null||Te===void 0?void 0:Te.hashTags)!==null&&ie!==void 0?ie:[],itemId:(pe=A?.video)===null||pe===void 0?void 0:pe.itemId,itemType:!((_e=A?.video)===null||_e===void 0)&&_e.itemId?"VIDEO":null,rec:A,hashTagStyle:p})))):null},[e,S,o,l,a,c,p,t,De,F,ot]),_t=oe((A,de)=>{var K,ue,be,Te;if(!t?.isShowLike)return;let ie=(K=t?.likeIconY)!==null&&K!==void 0?K:400;return q&&ie<40&&(ie+=40),A?.video?v.createElement(On,{key:A.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:A.isCollected,recData:A,className:"clc-sxp-like-button",style:{[(ue=t.likeIconXPosit)!==null&&ue!==void 0?ue:"right"]:(be=t.likeIconX)!==null&&be!==void 0?be:0,[(Te=t.likeIconYPosit)!==null&&Te!==void 0?Te:"bottom"]:ie},position:de}):null},[t,q]),dt=A=>{var de,K,ue,be,Te,ie;if(!(!((de=A?.video)===null||de===void 0)&&de.url)&&(!((K=A?.video)===null||K===void 0)&&K.imgUrls)){const pe=Date.now(),_e=(pe-P.current)/1e3;H?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(be=(ue=A?.video)===null||ue===void 0?void 0:ue.itemId)!==null&&be!==void 0?be:"",contentName:(Te=A?.video.title)!==null&&Te!==void 0?Te:"",imageEndTime:`${pe}`,playDuration:`${_e}`,contentTags:JSON.stringify((ie=A?.video.tags)!==null&&ie!==void 0?ie:[]),position:S+"",contentFormat:"image",traceInfo:A?.video.traceInfo}})}},kt=A=>{var de,K,ue,be,Te,ie,pe,_e,Be,ze;j.current=new Date;const Ce=r[A.previousIndex];if(!Ce)return;A.previousIndex-A.activeIndex<0?(H?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(K=(de=Ce?.video)===null||de===void 0?void 0:de.itemId)!==null&&K!==void 0?K:"",productId:(be=(ue=Ce?.product)===null||ue===void 0?void 0:ue.itemId)!==null&&be!==void 0?be:"",requestId:null}}),dt(Ce)):(H?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ie=(Te=Ce?.video)===null||Te===void 0?void 0:Te.itemId)!==null&&ie!==void 0?ie:"",productId:(_e=(pe=Ce.product)===null||pe===void 0?void 0:pe.itemId)!==null&&_e!==void 0?_e:"",requestId:null}}),dt(Ce)),mt(Ce);const Oe=r[A.activeIndex];!(!((Be=Oe?.video)===null||Be===void 0)&&Be.url)&&!(!((ze=Oe?.video)===null||ze===void 0)&&ze.imgUrls)&&Oe?.product&&Le?.({eventName:"ProductView"})},mt=A=>{var de,K,ue;!(!((de=A?.video)===null||de===void 0)&&de.url)&&!(!((K=A?.video)===null||K===void 0)&&K.imgUrls)&&A?.product&&ft(A,A.product,(ue=A?.product)===null||ue===void 0?void 0:ue.bindCta,j.current,S)};te(()=>{const A=r[S];J&&mt(A)},[J,r,S]);const Tt=A=>{var de,K,ue,be,Te,ie;const pe=r[A];if(!(!((de=pe?.video)===null||de===void 0)&&de.url)&&(!((K=pe?.video)===null||K===void 0)&&K.imgUrls)){const _e=Date.now();P.current=_e,H?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(be=(ue=pe?.video)===null||ue===void 0?void 0:ue.itemId)!==null&&be!==void 0?be:"",contentName:(Te=pe?.video.title)!==null&&Te!==void 0?Te:"",imageStartTime:`${_e}`,contentTags:JSON.stringify((ie=pe?.video.tags)!==null&&ie!==void 0?ie:[]),position:A+"",contentFormat:"image",traceInfo:pe?.video.traceInfo}}),Le?.({eventName:"ViewContent"})}},ct=ee(()=>{const A=r?.map((de,K)=>S===K||K-1===S||K+1===S?de:null);return q?A:A.concat([{loading:!0}])},[r,S,q]),He=ee(()=>le?v.createElement("div",{style:{height:ge,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:Ie,alt:"loading...",style:{objectFit:"contain"}})):ct?.map((A,de)=>v.createElement(nt,{key:de,virtualIndex:de},A&&v.createElement(v.Fragment,null,A?.loading?v.createElement("div",{style:{height:ge,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:Ie,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,Ee(A,de),rt(A,de),_t(A,de))))),[n,r,ge,le,rt,Ee,ct,Ie]),ei=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),xt=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},ve?v.createElement(Oa,Object.assign({},(_=(T=(b=t?.consent)===null||b===void 0?void 0:b[0])===null||T===void 0?void 0:T.item)===null||_===void 0?void 0:_.props)):v.createElement(v.Fragment,null,q&&v.createElement(kn,{icon:ka,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{X?.(!0)}}),ke,v.createElement(zn,{tagList:m,setActiveIndex:I}),U?v.createElement(Ea,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((u=t?.swipeTipOffset)!==null&&u!==void 0?u:0)}%`}}):null,v.createElement(St,{style:{marginTop:xe},ref:Y,onSlideChange:()=>{Y.current.swiper.allowTouchMove=!1,setTimeout(()=>{Y.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:A=>{I(A.activeIndex),!J&&(kt(A),!q&&A?.activeIndex+2>=r?.length&&(z||(L(!0),G?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:ge},v.createElement(Mn,{style:{position:"fixed",visibility:!((f=(g=r?.[S])===null||g===void 0?void 0:g.video)===null||f===void 0)&&f.url?"visible":"hidden",zIndex:999,[(E=t?.muteIconXPosit)!==null&&E!==void 0?E:"right"]:(k=t?.muteIconX)!==null&&k!==void 0?k:0,[(h=t?.muteIconYPosit)!==null&&h!==void 0?h:"bottom"]:(O=t?.muteIconY)!==null&&O!==void 0?O:23},defaultValue:R,activeIcon:t?.unMuteIcon?t?.unMuteIcon:ei,unactiveIcon:t?.muteIcon?t?.muteIcon:xt,onChange:V}),He)),v.createElement(An,Object.assign({},(w=(x=(C=t?.hashTag)===null||C===void 0?void 0:C[0])===null||x===void 0?void 0:x.item)===null||w===void 0?void 0:w.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:Qe,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},Ma=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>v.createElement(St,{defaultValue:0,direction:"horizontal",modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>v.createElement(nt,{key:r},v.createElement(Ln,{src:r,height:i,imgUrlsPostConfig:n}))));var La=fe(Ma);const ja=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[a,c]=$(!1),d=Z(null),{bffEventReport:p,sxpParameter:m,waterFallData:y,openHashtag:b}=we(),T=Z(0),[_,u]=$(!1),[g,f]=$(!0),E=Z(null),[k,h]=$("");te(()=>{d.current&&(d.current.muted=o)},[o]);const O=oe(()=>{var j;(j=d.current)===null||j===void 0||j.play()},[]),C=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=oe(()=>{var j,z,L,F,B,G,H,le,he,ye,Y,q,X;c(!1);const Q=n[e];if(Q&&(!((j=d?.current)===null||j===void 0)&&j.duration)){T.current=((z=d?.current)===null||z===void 0?void 0:z.currentTime)||0;const J=((F=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&F!==void 0?F:0).toFixed(2),Ie=((G=(B=d.current)===null||B===void 0?void 0:B.currentTime)!==null&&G!==void 0?G:0).toFixed(2),se=g?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(le=(H=Q?.video)===null||H===void 0?void 0:H.itemId)!==null&&le!==void 0?le:"",contentName:(ye=(he=Q?.video)===null||he===void 0?void 0:he.title)!==null&&ye!==void 0?ye:"",playType:se,startTime:Ie,videoDuration:J,contentTags:JSON.stringify((q=(Y=Q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(X=Q?.video)===null||X===void 0?void 0:X.traceInfo}}),f(!1)}},[p,n,e,g]),w=oe(()=>{u(!0)},[]),D=oe(j=>()=>{var z,L,F,B,G;if(!_)return;const H=(z=d.current)===null||z===void 0?void 0:z.paused;switch(j){case"start":if(!H)return;(L=d.current)===null||L===void 0||L.play(),c(!1);break;case"pause":if(H)return;(F=d.current)===null||F===void 0||F.pause(),c(!0);break;default:H?(B=d.current)===null||B===void 0||B.play():(G=d.current)===null||G===void 0||G.pause(),c(!H);break}},[_]),S=oe(()=>{var j,z,L,F,B,G,H,le,he,ye,Y,q,X;const Q=n[e],J=((z=(j=d.current)===null||j===void 0?void 0:j.duration)!==null&&z!==void 0?z:0).toFixed(2),Ie=((F=(L=d.current)===null||L===void 0?void 0:L.currentTime)!==null&&F!==void 0?F:0).toFixed(2);if(!((B=d?.current)===null||B===void 0)&&B.duration){const se=(((G=d?.current)===null||G===void 0?void 0:G.currentTime)-T.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(le=(H=Q?.video)===null||H===void 0?void 0:H.itemId)!==null&&le!==void 0?le:"",contentName:(ye=(he=Q?.video)===null||he===void 0?void 0:he.title)!==null&&ye!==void 0?ye:"",endTime:Ie,videoDuration:J,playDuration:se,contentTags:JSON.stringify((q=(Y=Q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(X=Q?.video)===null||X===void 0?void 0:X.traceInfo}})}},[n,e,p]),I=ee(()=>r?.mode==="2",[r]),P=ee(()=>{var j;return r?.mode==="2"?`translateY(-${50+((j=r?.offsetTop)!==null&&j!==void 0?j:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),M=ee(()=>{var j;return((j=t?.video)===null||j===void 0?void 0:j.cover)||k},[k,t]),N=oe(()=>{if(!E||!d||!d.current||!E.current)return;const j=d?.current,z=E?.current,L=z.getContext("2d"),F=window?.innerWidth,B=window?.innerHeight;z.height=B,z.width=F,L?.drawImage(j,0,0,z.width,z.height),h(z.toDataURL())},[]);te(()=>{var j,z,L,F;if(d.current){if(c(!1),!d.current.src){const B=t?.video.url;if(B.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const G=new window.Hls;G.loadSource(B),G.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=B;else d.current.src=B;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(j=d.current)===null||j===void 0||j.addEventListener("loadedmetadata",w),(z=d.current)===null||z===void 0||z.addEventListener("canplay",w),(L=d.current)===null||L===void 0||L.addEventListener("playing",x),(F=d.current)===null||F===void 0||F.addEventListener("loadeddata",N),()=>{var B,G,H,le;(B=d.current)===null||B===void 0||B.removeEventListener("loadedmetadata",w),(G=d.current)===null||G===void 0||G.removeEventListener("canplay",w),(H=d.current)===null||H===void 0||H.removeEventListener("playing",x),(le=d.current)===null||le===void 0||le.removeEventListener("loadeddata",N)}}},[w,x,t?.video,N]);const R=ee(()=>!m?.placeholder_image||_?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[_,m?.placeholder_image]);te(()=>{const j=()=>{var z,L;l===e&&(!((z=t?.video)===null||z===void 0)&&z.url)&&(!((L=d?.current)===null||L===void 0)&&L.src)&&!a&&D("pause")()};return window.addEventListener("beforeunload",j),()=>{window.removeEventListener("beforeunload",j)}},[l,e,t,d,D,a]);const V=ee(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?v.createElement(v.Fragment,null,I?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Re,{src:M,style:Object.assign({height:i,width:s,objectFit:"cover"},V)}),v.createElement("canvas",{ref:E,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C,alt:"video pause image"}))),R):v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:O}),R,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C,alt:"video pause image"}))):null};var Na=fe(ja);const Bi={};Object.values(Ni).forEach(t=>{Bi[t.extend.type]=t});const Ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",za="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Fa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:a=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let h=0;return e?.logoUrl&&e?.isShowLogo&&(h+=45),d.length>0&&(h+=45),s-h},[e,s,d]),m=(h,O)=>{var C,x,w,D;if(!((C=h?.video)===null||C===void 0)&&C.url)return v.createElement(Na,{rec:h,index:O,muted:!0,width:a,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((x=h?.video)===null||x===void 0)&&x.imgUrls)return v.createElement(La,{key:h?.video.itemId,imgUrls:h?.video.imgUrls,width:a,height:p,rec:h,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(h.product&&h.product&&Array.isArray(e?.productPost)&&((w=e?.productPost)===null||w===void 0?void 0:w.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((S,I)=>{var P,M,N,R,V,j,z,L;const F=Bi[(P=S?.item)===null||P===void 0?void 0:P.type],B=Zt(F),G=(M=F?.extend)===null||M===void 0?void 0:M.defaulSetting;return v.createElement(B,Object.assign({key:`${O}${I}`,textStyle:Object.assign(Object.assign({},G?.textStyle),(N=S?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(V=(R=S?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&V!==void 0?V:[]},G?.props,(j=S?.item)===null||j===void 0?void 0:j.props,{event:((z=S?.item)===null||z===void 0?void 0:z.event)||{},id:S?.id,rec:h,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},G?.style),(L=S?.item)===null||L===void 0?void 0:L.style),{width:a,height:p,overflow:"auto"}),index:O}))})},y=ee(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(h,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Nn,{rec:h,index:O,tempMap:o,resolver:Bi})):null,T=(h,O)=>{var C,x,w,D,S,I,P;return h?.video?v.createElement(v.Fragment,null,((C=h?.video)===null||C===void 0?void 0:C.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Bn,{nudge:n}),b(h,O),v.createElement("div",null,v.createElement(Kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(w=(x=h?.video)===null||x===void 0?void 0:x.title)!==null&&w!==void 0?w:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(jn,{index:O,tags:(S=(D=h?.video)===null||D===void 0?void 0:D.hashTags)!==null&&S!==void 0?S:[],itemId:(I=h?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=h?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:h,hashTagStyle:r}))):null},_=Xe(za,c),u=Xe(Ba,c),g=(h,O)=>{var C,x,w,D;if(!e?.isShowLike)return;let S=(C=e?.likeIconY)!==null&&C!==void 0?C:400;return S<40&&(S+=40),h?.video?v.createElement(On,{key:h.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:_,unActicveIcon:(w=e?.unlikeIcon)!==null&&w!==void 0?w:u,position:O,active:h.isCollected,recData:h,className:"clc-sxp-like-button",style:{top:S,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},f=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),E=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),k=(h,O)=>{var C,x,w,D;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,v.createElement(zn,{tagList:d}),v.createElement(Mn,{style:{position:"absolute",right:(C=e?.muteIconX)!==null&&C!==void 0?C:0,visibility:!((w=(x=t?.[O])===null||x===void 0?void 0:x.video)===null||w===void 0)&&w.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:f,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(h,O),T(h,O),g(h,O))};return v.createElement("div",{className:ne({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((h,O)=>k(h,O)))};var Va=fe(Fa);const Ra=()=>{const{schema:t,resolver:e,popup:i}=lt(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=we(),{productView:r}=Ue(),[s,a]=$(),c=Z(null);te(()=>{const m=()=>{c.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),te(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,a(i))},[i]);const d=()=>{var m,y,b,T;if(!i||i?.id===""||!s||new Date-c.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;a(Object.assign(Object.assign({},i),{id:""}));const _=o,u=(y=_?.video)===null||y===void 0?void 0:y.bindProduct,g=(T=(b=_?.video)===null||b===void 0?void 0:b.bindProduct)===null||T===void 0?void 0:T.bindCta;u&&g&&r(_,u,g,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var m,y,b;return(b=(y=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||y===void 0?void 0:y.popupList)===null||b===void 0?void 0:b.map((T,_)=>{var u,g,f,E,k,h,O,C,x,w,D,S,I,P,M;if(T?.id===i?.id){const N=e[(u=T?.item)===null||u===void 0?void 0:u.type],R=Zt(N),V=((E=(f=(g=T?.item)===null||g===void 0?void 0:g.event)===null||f===void 0?void 0:f.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",j=((O=(h=(k=T?.item)===null||k===void 0?void 0:k.event)===null||h===void 0?void 0:h.onClick)===null||O===void 0?void 0:O.linkType)==="popup",z=(C=N?.extend)===null||C===void 0?void 0:C.defaulSetting;return v.createElement(R,Object.assign({key:_,style:Object.assign(Object.assign(Object.assign({},z?.style),(x=T?.item)===null||x===void 0?void 0:x.style),{width:(w=window.innerWidth)!==null&&w!==void 0?w:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},z?.textStyle),(D=T?.item)===null||D===void 0?void 0:D.textStyle),bindDatas:(I=(S=T?.item)===null||S===void 0?void 0:S.bindDatas)!==null&&I!==void 0?I:[]},z?.props,(P=T?.item)===null||P===void 0?void 0:P.props,{event:((M=T?.item)===null||M===void 0?void 0:M.event)||{},schema:t,id:T?.id,isExternalLink:V,isPopup:j,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Jt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},zi={};Object.values(Ni).forEach(t=>{zi[t.extend.type]=t});const Ha=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var a,c,d,p,m,y,b,T,_,u,g;const f=ee(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return v.createElement(on,{resolver:zi,enableDataSource:!1,schema:t?.data,utmVal:f},v.createElement(Zi,{utmVal:f,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(y=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(_=(T=(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf)===null||T===void 0?void 0:T.globalConfig)===null||_===void 0?void 0:_.isShowTag,globalConfig:(g=(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf)===null||g===void 0?void 0:g.globalConfig,render:({rtcList:E,tagList:k})=>{var h;return v.createElement(v.Fragment,null,v.createElement(Fn,Object.assign({},(h=t?.data)===null||h===void 0?void 0:h.sxpPageConf,{tagList:k,data:E,resolver:zi,licenseUrl:r})),v.createElement(Ra,null))}}))};var Ua=fe(Ha);const Vn=Ot({}),Ga=({children:t,data:e})=>{var i,n,o,l,r,s,a,c,d,p,m,y,b;const[T,_]=$(!1),[u,g]=$(!1);return v.createElement(Vn.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,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_necessity,privacyPolicyTitle:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.privacy_policy_title,privacyPolicyUrl:(p=e?.sxp_parameter)===null||p===void 0?void 0:p.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.template,industry:(b=e?.sxp_parameter)===null||b===void 0?void 0:b.industry},appDomain:e?.appDomain,openHashtag:T,setOpenHashtag:_,openConsent:u,setOpenConsent:g}},t)};function $a(){return Pt(Vn)}export{Va as DiyPortalPreview,Ga as EditorDataProvider,Jt as Modal,Zi as SxpDataSourceProvider,Ua as SxpPageCore,Fn as SxpPageRender,ao as core,Qn as default,$e as defaultSetting,Ni as materials,$a as useEditorDataProvider};
7
- //# sourceMappingURL=index.min.js.map
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:h?.info})))},ue=()=>{var K,J;return v.createElement(v.Fragment,null,(T||M?.link)&&v.createElement("button",{"aria-label":(K=V?.enTitle)!==null&&K!==void 0?K:"Purchase on Website",onClick:R,className:"pb-commondity-btn",style:O},(J=V?.enTitle)!==null&&J!==void 0?J:"Purchase on Website"))},q=oe(K=>K?.lineClamp?Object.assign(Object.assign({},K),{overflow:"hidden",WebkitLineClamp:K?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):K,[]);return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:ne(Object.assign({},p))},w),M&&((r=M?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(bt,{height:se,modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=M?.homePage)===null||s===void 0?void 0:s.map(K=>v.createElement(ot,{key:K},v.createElement("div",{style:{overflow:"hidden",width:se,height:se}},v.createElement(Ve,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:K}))))),!(!((a=M?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:ne({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:ne({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=S?.bottom_image)!==null&&c!==void 0?c:_,alt:"pdp image"})),v.createElement("div",{className:"pb-commondity-content"},we({isPost:g}))),ue(),v.createElement(Wt,{visible:F,onClose:()=>B(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},we({isPost:!1})),ue()))};var Xl=be(ql);const Jl=Ue(Xl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:po},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ti,xi,Ql=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ge?.fontOptions,initialValue:(xi=(Ti=Ge?.fontOptions)===null||Ti===void 0?void 0:Ti[0])===null||xi===void 0?void 0:xi.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],Tn="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 Zl=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}},es=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:a,submitButtonStyle:c}=t,d=Oe(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=Se(),{jumpToWeb:m}=He(),y=typeof o=="string"?o:Zl(o),b=()=>{var T,_,u;if(r){const g=p,f=(T=g?.video)===null||T===void 0?void 0:T.bindProduct,E=(u=(_=g?.video)===null||_===void 0?void 0:_.bindProduct)===null||u===void 0?void 0:u.bindCta,k=p?.index;m(g,f,E,k)}l||s?.(),a?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${ne(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:y??Tn,alt:"success image"})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:c,onClick:b},i))};var ts=be(es);const is=Ue(ts,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Ql,bindableProps:[],interactionRender:Kl},defaulSetting:{props:{icon:Tn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Ei,Ii,ns=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ye,name:["fontFamily"],initialValue:(Ei=ye?.[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"},{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:ye,initialValue:(Ii=ye?.[0])===null||Ii===void 0?void 0:Ii.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const os=t=>{var e,i,n,o,l,r,s,a,c,d,p,m,y,{style:b,isDefault:T,rec:_,viewTime:u,isPost:g,bottom_image:f,tipText:E,swiper:k,commodityStyles:h,buttonStyle:O,index:C}=t,w=Oe(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:S}=Se(),{popupDetailData:D,bffEventReport:x,isPreview:I,swiperRef:P,bffFbReport:L}=Se(),{jumpToWeb:N,productView:H}=He(),F=Q(null);Q(null),Q(null),$(!1),$(!1),$(!0);const[B,j]=$(!1),M=Q(null),V=g?_:D,z=g?V?.product:(e=V?.video)===null||e===void 0?void 0:e.bindProduct,R=g?(i=V?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=V?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,U=g?C:D?.index,se=()=>{z?.link&&(N(V,z,R,U),g||H(V,z,R,u||M.current,U),window.location.href=window.getJointUtmLink(z.link))};Z(()=>{g||L?.({eventName:"ProductView"})},[g,L]),Z(()=>{const J=()=>{M.current=new Date};return J(),window.addEventListener("pageshow",J),()=>{window.removeEventListener("pageshow",J)}},[]);const we=te(()=>{var J,Y,ee,Ie,Ae;return z?.currency&&z?.price?`${(ee=(Y=(J=z?.currency)===null||J===void 0?void 0:J.split("-")[1])===null||Y===void 0?void 0:Y.toUpperCase())!==null&&ee!==void 0?ee:""}${(Ae=(Ie=z?.price)===null||Ie===void 0?void 0:Ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Ae!==void 0?Ae:""}`:"\xA3102,300.00"},[z?.price,z?.currency]),ue=I?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,q=({isPost:J})=>v.createElement("div",{hidden:!!z&&(!z?.info||z?.info==="")},v.createElement(Yt,{isPost:J,onClick:()=>j(!0),className:"pb-commondityDiroNew-info",style:h?.info,foldText:E?.foldText,unfoldText:E?.unfoldText,text:z?.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`})),K=oe(J=>J?.lineClamp?Object.assign(Object.assign({},J),{overflow:"hidden",WebkitLineClamp:J?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):J,[]);return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:F,className:ne(Object.assign({},b))},w),z&&((r=z?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(bt,{height:ue,modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=z?.homePage)===null||s===void 0?void 0:s.map(J=>v.createElement(ot,{key:J},v.createElement("div",{style:{overflow:"hidden",width:ue,height:ue}},v.createElement(Ve,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:J}))))),!(!((a=z?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:ne({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:ne({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=S?.bottom_image)!==null&&c!==void 0?c:f,alt:"pdp image"})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:K(h?.title)},(d=z?.title)!==null&&d!==void 0?d:"Large Dior Toujours BagLarge"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!z&&(!z?.collection||z?.collection===""),style:K(h?.collection)},z?.collection||"Black Macrocannage CalfskinLarge")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!z&&!z?.price,style:K(h?.price)},we),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!z&&!z?.taxInfo,style:K(h?.taxInfo)},(p=z?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!z||z?.link)&&v.createElement("button",{"aria-label":(m=R?.enTitle)!==null&&m!==void 0?m:"Shop now",onClick:se,className:"pb-commondityDiroNew-btn",style:O},(y=R?.enTitle)!==null&&y!==void 0?y:"Shop now"),q({isPost:g}))),v.createElement(Wt,{visible:B,onClose:()=>j(!1)},q({isPost:!1})))};var ls=be(os);const ss=Ue(ls,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:ns},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 Ci,_i,Ke=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ye,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Ci=ye?.[0])===null||Ci===void 0?void 0:Ci.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:ye,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(_i=ye?.[0])===null||_i===void 0?void 0:_i.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"]}]}],as=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function xn(t){const e=Q(null),[i,n]=$(!1);return Z(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),Z(()=>{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 rs=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Oe(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Q(null),c=xn(a),{popup:d}=st(),{setPopupDetailData:p,ctaEvent:m}=Se(),{jumpToWeb:y}=He();Z(()=>{var T,_;if(c&&a?.current){const u=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,a,e,m,s]);const b=Mt(()=>{var T,_,u,g,f,E,k,h;const O=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((g=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||g===void 0)&&g.link){const C=(f=e?.video)===null||f===void 0?void 0:f.bindCta,w=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;y(e,w,C,s),window.location.href=window.getJointUtmLink((h=(k=e?.video)===null||k===void 0?void 0:k.bindProduct)===null||h===void 0?void 0:h.link)}}else o?.()},d?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:b},i)};var At=be(rs),ds={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const cs=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Oe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=Se(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(At,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Ve,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ds["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var us=be(cs);const ps=Ue(us,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:as,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var vs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const fs=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:a,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,m=Oe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:y}=Se(),b=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(At,Object.assign({isExternalLink:p,rec:a,className:ne(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=b?.icon)!==null&&i!==void 0?i:y?.bottom_image)!==null&&n!==void 0?n:c,alt:"cta image"})),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=b?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var ms=be(fs);const hs=Ue(ms,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:vs,settingRender:Ke?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const bs=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:a,recData:c,bottom_image:d,ctaTempStyles:p,index:m}=t,y=Oe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:b,bffEventReport:T}=Se(),{jumpToWeb:_}=He(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,g=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,f=()=>{u?.link&&(_(c,g,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(At,Object.assign({index:m,rec:c,className:ne(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},y,{onClick:f}),v.createElement("div",{className:ne(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Ve,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&o!==void 0?o:d})),v.createElement("div",{className:ne({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:gs["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var ys=be(bs);const ws=Ue(ys,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ke?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Ss=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ts={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const xs=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Oe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=Se(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(At,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Ve,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Ts["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var Es=be(xs);const Is=Ue(Es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Ss,settingRender:Ke,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var Cs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],_s={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const ks=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Oe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=Se(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(At,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Ve,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:_s["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop now")))};var Ds=be(ks);const As=Ue(Ds,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Cs,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Ps=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Os=({children:t,isPadding:e=!0})=>v.createElement(bt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[xo,To,So],style:{padding:e?"0 12px 0 20px":0}},t);var qt=be(Os);const Ms=({src:t,rec:e,item:i,index:n,style:o})=>{const l=Q(null),r=xn(l),{ctaEvent:s}=Se();return Z(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),v.createElement("div",{ref:l,hidden:!t,className:ne({width:"100%",height:"100%"})},v.createElement(Ve,{className:ne(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var ki=be(Ms),Ls={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const js=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Oe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=Se(),{popup:u}=st(),{jumpToWeb:g}=He(),[f,E]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Mt(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(g(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(qt,{isPadding:!!r},f?.map(h=>{var O,C,w,S,D,x,I;return v.createElement(ot,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(ki,{src:(S=(w=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&w!==void 0?w:_?.bottom_image)!==null&&S!==void 0?S:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Ls["two-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(x=h?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var Ns=be(js);const Bs=Ue(Ns,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ps,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var zs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fs={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Vs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Oe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:b}=Se(),{ctaEvent:T,setPopupDetailData:_}=Se(),{popup:u}=st(),[g,f]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=He(),k=Mt(h=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),_?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(E(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(qt,{isPadding:!!r},g?.map(h=>{var O,C,w,S,D,x,I;return v.createElement(ot,Object.assign({hidden:r&&!h?.bindCta,key:h.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(ki,{src:(S=(w=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&w!==void 0?w:b?.bottom_image)!==null&&S!==void 0?S:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Fs["two-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(x=h?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var Rs=be(Vs);const Hs=Ue(Rs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:zs,settingRender:Ke,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var Us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const $s=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Oe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=Se(),{popup:u}=st(),{jumpToWeb:g}=He(),[f,E]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Mt(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(g(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(qt,{isPadding:!!r},f?.map(h=>{var O,C,w,S,D,x,I;return v.createElement(ot,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(ki,{src:(S=(w=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&w!==void 0?w:_?.bottom_image)!==null&&S!==void 0?S:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Gs["tow-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(x=h?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Ws=be($s);const Ys=Ue(Ws,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Us,bindableProps:[],settingRender:Ke},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var Di,Ai,qs=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{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:ye,name:["fontFamily"],initialValue:(Di=ye?.[0])===null||Di===void 0?void 0:Di.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:ye,initialValue:(Ai=ye?.[0])===null||Ai===void 0?void 0:Ai.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 Xs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=Se();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var En=be(Xs),Js=null,Ks="3d989325-e7d6-4a74-8a97-98febdf5b567",Qs=null,Zs=null,ea={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"},ta=[{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}],ia="Handbags",In={productUserId:Js,requestId:Ks,channel:Qs,rtc:Zs,tag:ea,recList:ta,hashTag:ia};const na=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:o,index:l,showBorder:r,list:s,reportTagsView:a,textStyles:c,space:d}=t,{swiperRef:p,setRtcList:m,setOpenHashtag:y,sxpParameter:b}=Se(),[T,_]=$(!1);$(!1),$({height:1,width:1});const u=Q(null),g=Q(null);Q(null),Q(null);const[f,E]=$(""),k=te(()=>{var x,I,P,L,N,H,F,B,j,M;return!((x=e?.video)===null||x===void 0)&&x.cover?(I=e?.video)===null||I===void 0?void 0:I.cover:!((L=(P=e?.video)===null||P===void 0?void 0:P.imgUrls)===null||L===void 0)&&L.length?(H=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||H===void 0?void 0:H[0]:!((B=(F=e?.product)===null||F===void 0?void 0:F.homePage)===null||B===void 0)&&B.length?(M=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||M===void 0?void 0:M[0]:b?.bottom_image||""},[e,b?.bottom_image]),h=te(()=>{var x,I;return((x=e?.product)===null||x===void 0?void 0:x.title)||((I=e?.video)===null||I===void 0?void 0:I.title)||null},[e]),O=te(()=>{var x;return i.transform?Number((x=i.transform)===null||x===void 0?void 0:x.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);te(()=>O===void 0?!1:O<=r,[O,r]);const C=te(()=>{var x,I,P,L,N,H,F,B,j;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((I=e?.product)===null||I===void 0)&&I.price)?`${(H=(N=(L=(P=e?.product)===null||P===void 0?void 0:P.currency)===null||L===void 0?void 0:L.split("-")[1])===null||N===void 0?void 0:N.toUpperCase())!==null&&H!==void 0?H:""}${(j=(B=(F=e?.product)===null||F===void 0?void 0:F.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&j!==void 0?j:""}`:null},[e]);Z(()=>{if(u.current===null||k==="")return;let x=null;T&&f?x=f:x=k,x&&u.current.setSrc(x)},[k,T,f]);const w=Q(),S=oe(x=>{setTimeout(()=>{var I;const P=(I=w?.current)===null||I===void 0?void 0:I.offsetHeight;n(P+56+d,l)},0)},[d,n,l,o,w]),D=()=>{a(),m?.(s),setTimeout(()=>{var x;(x=p?.current)===null||x===void 0||x.swiper.slideTo(l,0,!1),y?.(!1)},0)};return v.createElement("div",{ref:g,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:D},v.createElement("div",{className:"waterFallList-content-listItem-picture",ref:w},v.createElement(Ve,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:S,ref:u})),v.createElement("div",{className:"waterFallList-content-listItem-info"},v.createElement("div",{className:`waterFallList-content-listItem-info-title ${C?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title)},h&&h),v.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!C,style:c.price},C)))};function oa(t){var e,i,n,o,l,r,s,a,c,d,p,m,y,b,T,_,u,g,f,E,{reportTagsView:k,showBanner:h}=t,O=Oe(t,["reportTagsView","showBanner"]);const{waterFallData:C,getRecommendVideos:w,hashTagSize:S,loadingImage:D,isOpenHashTag:x}=Se(),I=Q(null),[P,L]=$(0),[N,H]=$(),F=Q(null),[B,j]=$([]),M=Q(),V=[170,230,300],[z,R]=$(!1),[U,se]=$([]),we=Q(),ue=oe((pe,ge)=>Math.floor(Math.random()*(ge-pe+1))+pe,[]),q=Q([]),[K,J]=$({width:0}),Y=te(()=>{const pe=K.width||0;return pe>=1200?6:pe>=768&&pe<=1199?4:2},[K]),ee=te(()=>K.width/Y-2,[Y,K]),Ie=oe(()=>{var pe;const ge=(pe=M.current)!==null&&pe!==void 0?pe:[],me=[];for(let ve=0;ve<U?.length;ve++){const Ye=Math.floor(ve/Y),Re=ve%Y+1;let tt=0,je=9999999999;if(Ye===0)me[ve]=ve;else{for(let Qe=0;Qe<me.length;Qe++)q.current[me[Qe]].top+q.current[me[Qe]].height<je&&(tt=Qe,je=q.current[me[Qe]].top+q.current[me[Qe]].height);me[tt]=ve}q.current[ve]===void 0&&(q.current[ve]={}),Ye===0?(Re===1?q.current[ve].left=0:q.current[ve].left=q.current[ve-1].left+ee+4,q.current[ve].top=0):(q.current[ve].left=q.current[tt].left,q.current[ve].top=je),q.current[ve].height=q.current[ve].height||V[ue(0,2)],ge[ve]={transform:`translate(${q.current[ve].left}px,${q.current[ve].top}px)`,width:`${ee}px`,height:q.current[ve].height}}return j([...ge]),[...ge]},[ee,Y,V,ue,U]),Ae=oe((pe,ge)=>{q.current[ge]===void 0&&(q.current[ge]={}),q.current[ge].height=pe,M.current=Ie()},[Ie]);Z(()=>{M.current=Ie()},[ee,Y,U]),Z(()=>{var pe,ge;if(R(!0),C&&w?.({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType,defaultSize:S,maxSize:S}).then(me=>{var ve,Ye;H(me),se((Ye=(ve=me?.recList)===null||ve===void 0?void 0:ve.filter(Re=>Re?.video!==null||Re?.product!==null))!==null&&Ye!==void 0?Ye:[]),R(!1)}),x){const me=In;H(me),se((ge=(pe=me?.recList)===null||pe===void 0?void 0:pe.filter(ve=>ve?.video!==null||ve?.product!==null))!==null&&ge!==void 0?ge:[]),R(!1)}},[C,w,S,x]);const Me=oe(()=>{F.current!==null&&J({width:F.current.getBoundingClientRect().width})},[]);Z(()=>{if(F.current===null)return;const pe=new ResizeObserver(ge=>{Me()});return pe.observe(F.current),()=>{pe.disconnect()}},[Me]),oe(()=>{R(!0),C&&w?.({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType}).then(pe=>{var ge,me;se(U?.concat((me=(ge=pe?.recList)===null||ge===void 0?void 0:ge.filter(ve=>!ve?.video))!==null&&me!==void 0?me:[])),R(!1)})},[C,w,U]);const We=oe(()=>{L(I.current.scrollTop)},[]);Z(()=>{var pe;return(pe=I?.current)===null||pe===void 0||pe.addEventListener("scroll",We),()=>{var ge;(ge=I?.current)===null||ge===void 0||ge.removeEventListener("scroll",We)}},[We,I]);const he=()=>{var pe,ge;!((pe=N?.tag)===null||pe===void 0)&&pe.link&&(k(),window.location.href=(ge=N?.tag)===null||ge===void 0?void 0:ge.link)};return v.createElement(v.Fragment,null,z?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"waterFallList",ref:F},v.createElement("div",{className:"waterFallList-scroll",ref:I},h&&((e=N?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:he},v.createElement(Ve,{className:ne({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=N?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"waterFallList-info",style:(n=O?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=N?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=N?.tag)===null||l===void 0)&&l.link),className:"waterFallList-collection",style:Object.assign({},(r=O?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:he},((s=N?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"waterFallList-content"},U?.map((pe,ge)=>{var me;return v.createElement(na,Object.assign({key:ge,index:ge,rec:pe,list:U,showBorder:P+((me=I?.current)===null||me===void 0?void 0:me.clientHeight),style:B[ge],sizeChange:Ae,unitWidth:ee,reportTagsView:k},O))}),v.createElement("div",{hidden:!(!((a=N?.tag)===null||a===void 0)&&a.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((d=q?.current[((c=q?.current)===null||c===void 0?void 0:c.length)-1])===null||d===void 0?void 0:d.top)+((m=q?.current[((p=q?.current)===null||p===void 0?void 0:p.length)-1])===null||m===void 0?void 0:m.height))!==null&&y!==void 0?y:0}px)`,height:!((b=N?.tag)===null||b===void 0)&&b.link?((T=we?.current)===null||T===void 0?void 0:T.offsetHeight)||((_=O?.buttonBgStyle)===null||_===void 0?void 0:_.height)||"100px":0}}))),v.createElement("div",{className:"waterFallList-bottom",hidden:!(!((u=N?.tag)===null||u===void 0)&&u.link),style:O?.buttonBgStyle}),v.createElement("div",{ref:we,hidden:!(!((g=N?.tag)===null||g===void 0)&&g.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},O?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{"aria-label":((f=N?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:O?.buttonStyle,onClick:he},((E=N?.tag)===null||E===void 0?void 0:E.linkTitle)||"Shop the collection"))))}var la="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const sa=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:a,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=Se(),[m,y]=$(!1),b=Q(null),T=Q(null),_=Q(null),u=Q(null),[g,f]=$(""),E=te(()=>{var w,S,D,x,I,P,L,N,H,F;return!((w=e?.video)===null||w===void 0)&&w.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((x=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||x===void 0)&&x.length?(P=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((N=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||N===void 0)&&N.length?(F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0?void 0:F[0]:p?.bottom_image||""},[e,p?.bottom_image]),k=te(()=>{var w,S;return((w=e?.product)===null||w===void 0?void 0:w.title)||((S=e?.video)===null||S===void 0?void 0:S.title)||null},[e]),h=te(()=>{var w,S,D,x,I,P,L,N,H;return!((w=e?.product)===null||w===void 0)&&w.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(P=(I=(x=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||x===void 0?void 0:x.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(H=(N=(L=e?.product)===null||L===void 0?void 0:L.price)===null||N===void 0?void 0:N.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);Z(()=>{const w=new IntersectionObserver(S=>{S.forEach(D=>{if(D.isIntersecting){if(T.current===null||E==="")return;m&&g?b.current.setSrc(g):b.current.setSrc(E),w.unobserve(T.current)}})});return w.observe(T.current),()=>{w.disconnect()}},[E,m,g]);const O=(w,S,D)=>{const x=w/S;return D/x};Z(()=>{const w=_?.current;w===null||E===""||!m||(w.src=E,w.currentTime=1,w.crossOrigin="anonymous",w.onloadeddata=()=>{const S=u?.current;if(!S)return;const D=S.getContext("2d"),x=window?.innerWidth/2,I=O(w.videoWidth,w.videoHeight,x);S.height=I,S.width=x,D?.drawImage(w,0,0,S.width,S.height),f(S.toDataURL()),w.remove(),S.remove()})},[E,m]);const C=()=>{o(),a?.(n),setTimeout(()=>{var w;(w=s?.current)===null||w===void 0||w.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:T,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:r}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:_,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Ve,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!h},h)))};function aa(t){var e,i,n,o,l,r,s,a,c,d,p,m,y,b,T,{reportTagsView:_,showBanner:u}=t,g=Oe(t,["reportTagsView","showBanner"]);const{waterFallData:f,getRecommendVideos:E,hashTagSize:k,loadingImage:h,isOpenHashTag:O}=Se(),[C,w]=$(),[S,D]=$(),[x,I]=$(!1),P=Q(null),[L,N]=$(!1);oe(()=>{L||(N(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType}).then(F=>{var B;w(C?.concat((B=F?.recList)!==null&&B!==void 0?B:[])),N(!1)}))},[f,E,C,L]),Z(()=>{var F,B;if(I(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType,defaultSize:k,maxSize:k}).then(j=>{var M,V;D(j),w((V=(M=j?.recList)===null||M===void 0?void 0:M.filter(z=>z?.video!==null||z?.product!==null))!==null&&V!==void 0?V:[]),I(!1)}),O){const j=In;D(j),w((B=(F=j?.recList)===null||F===void 0?void 0:F.filter(M=>M?.video!==null||M?.product!==null))!==null&&B!==void 0?B:[]),I(!1)}},[f,E,k,O]);const H=()=>{var F,B;!((F=S?.tag)===null||F===void 0)&&F.link&&(_(),window.location.href=(B=S?.tag)===null||B===void 0?void 0:B.link)};return v.createElement(v.Fragment,null,x?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:h,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:P},u&&((e=S?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:H},v.createElement(Ve,{className:ne({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=S?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"list-info",style:(n=g?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=S?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=S?.tag)===null||l===void 0)&&l.link),className:"list-collection",onClick:H,style:Object.assign(Object.assign({},(r=g?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:g?.space})},((s=S?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},C?.map((F,B)=>v.createElement(sa,Object.assign({key:B,index:B,rec:F,list:C,reportTagsView:_},g)))),v.createElement("div",{hidden:!L,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=S?.tag)===null||a===void 0)&&a.link),style:{height:!((c=S?.tag)===null||c===void 0)&&c.link?((d=g?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((p=g?.buttonStyle)===null||p===void 0?void 0:p.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((m=S?.tag)===null||m===void 0)&&m.link),style:g?.buttonBgStyle}),v.createElement("div",{hidden:!(!((y=S?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{"aria-label":((b=S?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection",className:"list-btn",style:g?.buttonStyle,onClick:H},((T=S?.tag)===null||T===void 0?void 0:T.linkTitle)||"Shop the collection"))))}const ra=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:a,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:y,bffEventReport:b,themeTag:T,selectTag:_}=Se(),{backMainFeed:u}=He();Q(null);const g=Q(null),[f,E]=$();Z(()=>{const w=document.getElementById("sxp-render"),S=document.getElementById("water-fall");S?g.current=S:(g.current=document.createElement("div"),g.current.setAttribute("id","water-fall"),w?.appendChild(g.current))},[]);const k=()=>{const w=Li(d,s);!w&&s&&s?.length&&a?.(s),u("branch",_,void 0,i?.hashTag),C(),r?.(void 0),m?.(!1),setTimeout(()=>{var S,D;w||(D=(S=l?.current)===null||S===void 0?void 0:S.swiper)===null||D===void 0||D.slideTo(c,0,!1),n?.(!1)},0)},[h,O]=$();Z(()=>{i&&O(i)},[i]);const C=oe(()=>{var w,S,D,x,I,P;const L=h?.rec;if(!L)return;let N="";y?N="hashTagPage":!((w=L?.video)===null||w===void 0)&&w.url?N="videoPage":!((D=(S=L?.video)===null||S===void 0?void 0:S.imgUrls)===null||D===void 0)&&D.length&&(N="imagePage"),b?.({eventInfo:{contentId:(x=L?.video)===null||x===void 0?void 0:x.itemId,position:c+"",contentTags:JSON.stringify((I=L?.video)===null||I===void 0?void 0:I.tags),traceInfo:(P=L?.video)===null||P===void 0?void 0:P.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:N,fromKPage:location?.href,timeOnSite:Math.floor((new Date-f)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,b,f,y,c]);return Z(()=>{o&&E(new Date)},[o]),Z(()=>{const w=()=>{E(new Date)};return window.addEventListener("pageshow",w),()=>{window.removeEventListener("pageshow",w)}},[]),g.current?Bi.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(En,{icon:la,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:k}),t?.openFixedSize===!0||t?.openFixedSize===void 0?v.createElement(aa,Object.assign({reportTagsView:C},t)):v.createElement(oa,Object.assign({reportTagsView:C},t))),g.current):null};var Cn=be(ra);const da=t=>v.createElement(Cn,Object.assign({},t));var ca=be(da);const ua=Ue(ca,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:qs,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 pa=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const _n=t=>v.createElement(_n,Object.assign({},t));var va=be(_n);const fa=Ue(va,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:pa},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Pi=Object.freeze({__proto__:null,Appoint:hs,AppointForm:uo,Commodity:ps,CommodityDetail:Jl,CommodityDetailDiroNew:ss,CommodityDiro:Is,CommodityDiroNew:As,Consent:fa,HashTag:ua,Link:ws,MultiCommodity:Hs,MultiCommodityDiro:Bs,MultiCommodityDiroNew:Ys,Prompt:is});const ma="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ha="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ga=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Oe(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:a,bffEventReport:c}=Se(),[d,p]=$(e),m=Xe(ha),y=Xe(ma),b=Jt(()=>ze(void 0,void 0,void 0,function*(){var T,_,u,g,f,E,k,h,O,C,w,S,D,x,I,P,L,N,H,F;if(d){p(!1);const B=(u=yield a?.({videoItemId:(_=(T=o?.video)===null||T===void 0?void 0:T.itemId)!==null&&_!==void 0?_:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(f=(g=o?.video)===null||g===void 0?void 0:g.itemId)!==null&&f!==void 0?f:"",contentName:(k=(E=o?.video)===null||E===void 0?void 0:E.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((O=(h=o?.video)===null||h===void 0?void 0:h.tags)!==null&&O!==void 0?O:[]),position:l+"",contentFormat:!((C=o?.video)===null||C===void 0)&&C.url?"video":"image",traceInfo:(w=o?.video)===null||w===void 0?void 0:w.traceInfo}}),B||p(!0)}else{p(!0);const B=(S=yield s?.({content:JSON.stringify(o)}))!==null&&S!==void 0?S:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(D=o?.video)===null||D===void 0?void 0:D.itemId)!==null&&x!==void 0?x:"",contentName:(P=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((N=(L=o?.video)===null||L===void 0?void 0:L.tags)!==null&&N!==void 0?N:[]),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}}),B||p(!1)}}),200);return v.createElement("button",Object.assign({},r,{"aria-label":"like",onClick:b}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||m:n||y,alt:"icon"}))};var kn=be(ga);const ba=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[a,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:m,openHashtag:y,bffFbReport:b}=Se(),T=Q(0),[_,u]=$(!1),[g,f]=$(!0),{isActive:E}=Sn(),k=Q(null),[h,O]=$(""),C=`pb-cache-video-${e}`,w=Q(null),S=te(()=>r?.mode==="2",[r]),D=te(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),x=te(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||h},[h,t]),I=te(()=>S?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[S]),P=te(()=>r?.bgWay==="1",[r]),L=te(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);Z(()=>{s&&s?.muted(o)},[o,s]);const N=oe(()=>{s&&s?.play()},[s]),H=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=oe(()=>{var R,U,se,we,ue,q,K,J,Y;if(!s)return;u(!0),c(!1);const ee=n[e];if(ee&&s?.duration()){T.current=s?.currentTime()||0;const Ie=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),Ae=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2),Me=g?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(we=(se=ee?.video)===null||se===void 0?void 0:se.itemId)!==null&&we!==void 0?we:"",contentName:(q=(ue=ee?.video)===null||ue===void 0?void 0:ue.title)!==null&&q!==void 0?q:"",playType:Me,startTime:Ae,videoDuration:Ie,contentTags:JSON.stringify((J=(K=ee?.video)===null||K===void 0?void 0:K.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(Y=ee?.video)===null||Y===void 0?void 0:Y.traceInfo}}),f(!1)}},[d,n,e,g,s]),B=oe(()=>{var R;if(!s||h||!S)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||!k||!k.current||P))return;const se=()=>{const we=U,ue=k?.current,q=ue.getContext("2d"),K=window?.innerWidth,J=window?.innerHeight;ue.height=J,ue.width=K,q?.drawImage(we,0,0,ue.width,ue.height),O(ue.toDataURL())};se(),setTimeout(()=>{se()},500)},[s,P,t,h,S]),j=oe(()=>{s&&B()},[s,B]);oe(()=>{u(!0)},[]);const M=oe(R=>()=>{if(!s||!_)return;const U=s?.paused();switch(R){case"start":if(!U)return;s?.play(),c(!1);break;case"pause":if(U)return;s?.pause(),c(!0);break;default:U?s?.play():s?.pause(),c(!U);break}},[_,s]),V=oe(()=>{var R,U,se,we,ue,q,K,J,Y;if(!s||l!==e)return;const ee=n[e],Ie=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),Ae=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2);if(s?.duration()){const Me=(s?.currentTime()-T.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(we=(se=ee?.video)===null||se===void 0?void 0:se.itemId)!==null&&we!==void 0?we:"",contentName:(q=(ue=ee?.video)===null||ue===void 0?void 0:ue.title)!==null&&q!==void 0?q:"",endTime:Ae,videoDuration:Ie,playDuration:Me,contentTags:JSON.stringify((J=(K=ee?.video)===null||K===void 0?void 0:K.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(Y=ee?.video)===null||Y===void 0?void 0:Y.traceInfo}})}},[n,e,d,s,l]);Z(()=>{if(!E||!s)return;const R=t?.video.url;if(!R)return;s?.src(R),c(!1);const U=document.querySelector(`#${C}`),se=document.querySelector("#player-container-id"),we=document.querySelector("#player-container-id-copy");if(!(!se&&!we))return U?.appendChild(se||we),s?.on("loadedmetadata",j),s?.on("loadeddata",B),s?.on("playing",F),s?.on("pause",V),s?.on("ended",N),()=>{we?.appendChild(se),s?.off("loadedmetadata",j),s?.off("loadeddata",B),s?.off("playing",F),s?.off("pause",V),s?.off("ended",N)}},[E,C,t,s]),Z(()=>{!s||!_||(E?(b?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[E,_,s]),Z(()=>{if(!E||!s)return;!s?.paused()&&y?s?.pause():y||s?.play()},[y,E,s]),Z(()=>{if(!E)return;const R=()=>{M("start")(),b?.({eventName:"ViewContent"})},U=M("pause");return at.on(Ze.PAGE_DID_SHOW,R),at.on(Ze.PAGE_DID_HIDE,U),()=>{at.off(Ze.PAGE_DID_SHOW,R),at.off(Ze.PAGE_DID_HIDE,U)}},[M,E]);const z=te(()=>!p?.placeholder_image||_?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image,alt:"placeholder image"}),[_,p?.placeholder_image]);return Z(()=>{if(!s)return;const R=()=>{var U;l===e&&(!((U=t?.video)===null||U===void 0)&&U.url)&&s&&!a&&M("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,M,a]),t?.video?v.createElement(v.Fragment,null,S?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:M(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},L)},!P&&v.createElement(Ve,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),v.createElement("canvas",{ref:k,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:w,id:C,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",alt:"pause",src:H}))),z):v.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:M()},v.createElement("div",{className:"n-full-screen",ref:w,id:C,style:{width:"100%",height:"100%"}}),z,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:H,alt:"pause"}))):null};var ya=be(ba);const wa=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=$(t),s=a=>{a.stopPropagation();const c=!l;r(c),n?.(c)};return v.createElement("button",{style:o,"aria-label":"toggle button",className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var Dn=be(wa);const Sa=({imageUrl:t,style:e})=>{const[i,n]=$(!0);st(),Z(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=te(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},v.createElement("img",{src:t||o,alt:"finger swiper"}))},An=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:o}=t,l=te(()=>n?.mode==="2",[n]),r=te(()=>{var d;return n?.mode==="2"?`translateY(-${50+((d=n?.offsetTop)!==null&&d!==void 0?d:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=te(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=te(()=>n?.bgWay==="1",[n]),c=te(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!l||!a)&&v.createElement(Ve,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s),onLoad:o}),l&&v.createElement(Ve,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0}}))},Ta=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var a;const c=Q(),{isActive:d}=Sn(),{sxpParameter:p,openHashtag:m}=Se(),[y,b]=$(!1);Z(()=>{y&&d?(c?.current&&c.current.swiper.autoplay.start(),m?l(n):r(o)):c?.current&&c.current.swiper.autoplay.stop()},[n,d,l,m,o,r,y]);const T=oe(()=>{y||b(!0)},[y]);return v.createElement(bt,{ref:c,defaultValue:0,direction:"horizontal",modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=s?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map((_,u)=>v.createElement(ot,{key:u},v.createElement(An,{src:!y&&u>0?"":_,height:i,imgUrlsPostConfig:s,onShowFirstImage:T}))))};var xa=be(Ta);const Ea=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=$(!1),{setWaterFallData:a,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:m}=Se(),y=b=>{p?m?.(!0):d?.(n),a?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),c?.(!0)};return te(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(qt,null,t?.map((b,T)=>v.createElement(ot,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>y(b)},`#${b}`))))};var Pn=be(Ea),Ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Xt(t){return be(function(e){const{$store:i}=Xn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=ji(i,d);return r=r.replace(a,p),p}})}),r},o=te(()=>{var l,r,s;const{bindDatas:a}=e,c=Oe(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:m}=d;m.replace(/{{\s*([\w.]+)\s*}}/g,(y,b)=>{var T,_;if(b){const u=(_=(T=ji(i,b))!==null&&T!==void 0?T:e[p])!==null&&_!==void 0?_:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=It(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(r=c?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const Ca=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=st(),l=te(()=>{var r,s,a,c,d,p,m,y,b,T,_,u,g,f,E,k,h,O,C,w,S,D,x,I,P,L,N,H,F,B,j;if(!t?.video)return null;let M=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?M="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?M="\u5546\u54C1CTA":M=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const V=i?.[M];if(((p=V?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((y=V?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((T=V?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((_=t?.video)===null||_===void 0)&&_.bindProduct)||((u=V?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((f=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||f===void 0)&&f.length)||((E=V?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiro"&&!(!((h=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||h===void 0)&&h.length)||((O=V?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((w=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||w===void 0)&&w.length))return null;if(V&&n){const z=n[(S=V?.item)===null||S===void 0?void 0:S.type],R=Xt(z),U=(D=z?.extend)===null||D===void 0?void 0:D.defaulSetting,se=((P=(I=(x=V?.item)===null||x===void 0?void 0:x.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return v.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},U?.style),(L=V?.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({},U?.textStyle),(N=V?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(F=(H=V?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},U?.props,(B=V?.item)===null||B===void 0?void 0:B.props,{event:((j=V?.item)===null||j===void 0?void 0:j.event)||{},schema:o,id:V?.id,key:V?.id,recData:t,isExternalLink:se,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var On=be(Ca);const Mn=({nudge:t})=>{var e,i,n,o,l,r,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?v.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},_a=({tagList:t=[],setActiveIndex:e})=>{const{getRecommendVideos:i,setRtcList:n,setCacheRtcList:o,setCacheActiveIndex:l,setLoading:r,swiperRef:s,waterFallData:a,bffEventReport:c,selectTag:d,setSelectTag:p}=Se(),{backMainFeed:m}=He(),y=te(()=>[Nt,...t],[t]),b=T=>()=>{if(T===d)return;T!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${T}']`}}):m("theme",T,d);let _;T!==Nt&&(_=T),r?.(!0),i?.({themeTag:_}).then(u=>{var g,f,E,k;at.emit(Ze.CHANGE_THEME_TAG,_),n?.((g=u?.recList)!==null&&g!==void 0?g:[]),o?.((f=u?.recList)!==null&&f!==void 0?f:[]),e?.(0),l?.(0),(k=(E=s?.current)===null||E===void 0?void 0:E.swiper)===null||k===void 0||k.slideTo(0)}).finally(()=>{r?.(!1)}),p?.(T)};return a||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},y.map(T=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${T===d?"clc-sxp-tagbar-list-item-active":""}`,key:T,onClick:b(T)},T))))};var Ln=be(_a);const jn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:a,nudge:c,_schema:d,hashTagStyle:p,tagList:m=[],licenseUrl:y})=>{var b,T,_,u,g,f,E,k,h,O;const{schema:C}=st(),[w,S]=$(0),D=Q(0);$(!1);const[x,I]=$(!0),P=Q(),[L,N]=$(!1),[H,F]=$(!1),{loadVideos:B,bffEventReport:j,loading:M,setPopupDetailData:V,ctaEvent:z,swiperRef:R,waterFallData:U,setOpenHashtag:se,appDomain:we,openHashtag:ue,loadingImage:q,isFromHashtag:K,popupDetailData:J,bffFbReport:Y,curTime:ee,h5EnterLink:Ie,isShowConsent:Ae,selectTag:Me}=Se(),{backMainFeed:We}=He(),[he,pe]=$(null),ge=Q(),{productView:me}=He(),ve=te(()=>r.length>0&&!M&&Qn(),[r,M]);Z(()=>{Hi()},[]),Z(()=>{if(r?.length>0){const A=new Date;P.current=A,Y?.({eventName:"PageView"})}},[r?.length]);const Ye=oe(()=>{if(Hi(),Ie?.(),r.length>0){const A=new Date;P.current=A,Y?.({eventName:"PageView"})}},[r.length,Y,Ie]),Re=Q();Z(()=>{var A,le,X,ce;if(!Re.current&&!he&&ge?.current&&r?.length>0){Re.current=!0;const fe=TCPlayer("player-container-id",{licenseUrl:y,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:!((le=(A=r?.[0])===null||A===void 0?void 0:A.video)===null||le===void 0)&&le.url?[{src:(ce=(X=r?.[0])===null||X===void 0?void 0:X.video)===null||ce===void 0?void 0:ce.url}]:[]});fe?.ready(()=>{pe(fe)})}},[he,y,r]),Z(()=>{var A;const le=r?.findIndex(X=>{var ce,fe,re,ie,de,_e,Ne,Be,Ce;return s==="\u591A\u5546\u54C1CTA"?((ce=X?.video)===null||ce===void 0?void 0:ce.bindProducts)&&((re=(fe=X?.video)===null||fe===void 0?void 0:fe.bindProducts)===null||re===void 0?void 0:re.length)>0:s==="\u5546\u54C1CTA"?(ie=X?.video)===null||ie===void 0?void 0:ie.bindProduct:((_e=(de=X?.video)===null||de===void 0?void 0:de.bindCta)===null||_e===void 0?void 0:_e.itemId)===s&&(((Ne=X?.video)===null||Ne===void 0?void 0:Ne.url)||((Ce=(Be=X?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||Ce===void 0?void 0:Ce.length))})||0;(A=R?.current)===null||A===void 0||A.swiper.slideTo(le)},[s,R]),Z(()=>{const A=r?.[w],le=()=>{var X,ce,fe,re,ie,de,_e,Ne,Be,Ce,Pe,vt,ft,mt,dt,Et;const qe=!ue&&!Ae;if(document.visibilityState==="hidden"){qe&&(at.emit(Ze.PAGE_DID_HIDE,A),Te(A),ke(A));let ht="";J&&(!((ce=(X=A?.video)===null||X===void 0?void 0:X.bindProducts)===null||ce===void 0)&&ce.length||!((fe=A?.video)===null||fe===void 0)&&fe.bindProduct)?ht="pdpPage":J&&((_e=o?.[(de=(ie=(re=A?.video)===null||re===void 0?void 0:re.bindCta)===null||ie===void 0?void 0:ie.itemId)!==null&&de!==void 0?de:""].item)===null||_e===void 0?void 0:_e.type)==="Appoint"?ht="formPage":K?ht="hashTagPage":!((Ne=A?.video)===null||Ne===void 0)&&Ne.url?ht="videoPage":!((Be=A?.video)===null||Be===void 0)&&Be.imgUrls&&(!((Pe=(Ce=A?.video)===null||Ce===void 0?void 0:Ce.imgUrls)===null||Pe===void 0)&&Pe.length)?ht="imagePage":A?.product&&(ht="productPage"),j?.({eventInfo:{sessionDuration:Math.floor((new Date-ee.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(vt=A?.video)===null||vt===void 0?void 0:vt.itemId,productId:(ft=A?.product)===null||ft===void 0?void 0:ft.itemId,position:w+"",fromKName:ht,fromKPage:location?.href,ctatId:(Et=(dt=(mt=A?.video)===null||mt===void 0?void 0:mt.bindCta)===null||dt===void 0?void 0:dt.itemId)!==null&&Et!==void 0?Et:""}})}else document.visibilityState==="visible"&&(Ye(),qe&&(Ee(w),at.emit(Ze.PAGE_DID_SHOW,A),We("external",Me)))};return document.addEventListener("visibilitychange",le),()=>{document.removeEventListener("visibilitychange",le)}},[w,j,r,Ye,J,K,o,ee,We,ue,Ae,Me]);const tt=te(()=>{let A=0;return m.length>0&&(A+=45,U&&(A-=45)),A},[m,U]),je=te(()=>{let A=0;return t?.logoUrl&&t?.isShowLogo&&(A+=45),i-A-tt},[t,i,tt]),Qe=te(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Tt=oe((A,le)=>{var X,ce,fe,re;return!((X=A?.video)===null||X===void 0)&&X.url?v.createElement(ya,{rec:A,index:le,muted:x,data:r,height:je,activeIndex:w,videoPostConfig:t?.videoPost,videoRef:he}):!((ce=A?.video)===null||ce===void 0)&&ce.imgUrls?v.createElement(xa,{key:A?.video.itemId,imgUrls:A?.video.imgUrls,width:n,height:je,rec:A,index:le,onReportViewImageEnd:Te,onViewImageStartEvent:Ee,imgUrlsPostConfig:t?.imgUrlsPost}):A.product&&Array.isArray(t?.productPost)&&((fe=t?.productPost)===null||fe===void 0?void 0:fe.length)>0?(re=t?.productPost)===null||re===void 0?void 0:re.map((ie,de)=>{var _e,Ne,Be,Ce,Pe,vt,ft,mt;const dt=l[(_e=ie?.item)===null||_e===void 0?void 0:_e.type],Et=Xt(dt),qe=(Ne=dt?.extend)===null||Ne===void 0?void 0:Ne.defaulSetting;return v.createElement(Et,Object.assign({key:`${le}${de}`,textStyle:Object.assign(Object.assign({},qe?.textStyle),(Be=ie?.item)===null||Be===void 0?void 0:Be.textStyle),bindDatas:(Pe=(Ce=ie?.item)===null||Ce===void 0?void 0:Ce.bindDatas)!==null&&Pe!==void 0?Pe:[]},qe?.props,(vt=ie?.item)===null||vt===void 0?void 0:vt.props,{event:((ft=ie?.item)===null||ft===void 0?void 0:ft.event)||{},schema:C,id:ie?.id,viewTime:P.current,rec:A,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},qe?.style),(mt=ie?.item)===null||mt===void 0?void 0:mt.style),{height:"100%",overflow:"auto"}),index:le}))}):null},[n,r,je,x,w,t?.productPost,P,a,l,C,he]),Pt=oe(A=>{F(A)},[]),G=te(()=>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]),W=oe((A,le)=>{var X,ce,fe,re,ie,de,_e;return A?.video?v.createElement(v.Fragment,null,((X=A?.video)===null||X===void 0?void 0:X.title)&&!H&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Mn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(On,{rec:A,index:le,tempMap:o,resolver:l})):null,v.createElement("div",null,v.createElement(Yt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(fe=(ce=A?.video)===null||ce===void 0?void 0:ce.title)!==null&&fe!==void 0?fe:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Pt}),v.createElement(Pn,{index:w,tags:(ie=(re=A?.video)===null||re===void 0?void 0:re.hashTags)!==null&&ie!==void 0?ie:[],itemId:(de=A?.video)===null||de===void 0?void 0:de.itemId,itemType:!((_e=A?.video)===null||_e===void 0)&&_e.itemId?"VIDEO":null,rec:A,hashTagStyle:p})))):null},[e,w,o,l,a,c,p,t,Pt,H,G]),ae=oe((A,le)=>{var X,ce,fe,re;if(!t?.isShowLike)return;let ie=(X=t?.likeIconY)!==null&&X!==void 0?X:400;return U&&ie<40&&(ie+=40),A?.video?v.createElement(kn,{key:A.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:A.isCollected,recData:A,className:"clc-sxp-like-button",style:{[(ce=t.likeIconXPosit)!==null&&ce!==void 0?ce:"right"]:(fe=t.likeIconX)!==null&&fe!==void 0?fe:0,[(re=t.likeIconYPosit)!==null&&re!==void 0?re:"bottom"]:ie},position:le}):null},[t,U]),Te=A=>{var le,X,ce,fe,re,ie;if(!(!((le=A?.video)===null||le===void 0)&&le.url)&&(!((X=A?.video)===null||X===void 0)&&X.imgUrls)){const de=Date.now(),_e=(de-D.current)/1e3;j?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(fe=(ce=A?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&fe!==void 0?fe:"",contentName:(re=A?.video.title)!==null&&re!==void 0?re:"",imageEndTime:`${de}`,playDuration:`${_e}`,contentTags:JSON.stringify((ie=A?.video.tags)!==null&&ie!==void 0?ie:[]),position:w+"",contentFormat:"image",traceInfo:A?.video.traceInfo}})}},xe=A=>{var le,X,ce,fe,re,ie,de,_e,Ne,Be;P.current=new Date;const Ce=r[A.previousIndex];if(!Ce)return;A.previousIndex-A.activeIndex<0?(j?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(X=(le=Ce?.video)===null||le===void 0?void 0:le.itemId)!==null&&X!==void 0?X:"",productId:(fe=(ce=Ce?.product)===null||ce===void 0?void 0:ce.itemId)!==null&&fe!==void 0?fe:"",requestId:null}}),Te(Ce)):(j?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ie=(re=Ce?.video)===null||re===void 0?void 0:re.itemId)!==null&&ie!==void 0?ie:"",productId:(_e=(de=Ce.product)===null||de===void 0?void 0:de.itemId)!==null&&_e!==void 0?_e:"",requestId:null}}),Te(Ce)),ke(Ce);const Pe=r[A.activeIndex];!(!((Ne=Pe?.video)===null||Ne===void 0)&&Ne.url)&&!(!((Be=Pe?.video)===null||Be===void 0)&&Be.imgUrls)&&Pe?.product&&Y?.({eventName:"ProductView"})},ke=A=>{var le,X,ce;!(!((le=A?.video)===null||le===void 0)&&le.url)&&!(!((X=A?.video)===null||X===void 0)&&X.imgUrls)&&A?.product&&me(A,A.product,(ce=A?.product)===null||ce===void 0?void 0:ce.bindCta,P.current,w)};Z(()=>{const A=r[w];ue&&ke(A)},[ue,r,w]);const Ee=A=>{var le,X,ce,fe,re,ie;const de=r[A];if(!(!((le=de?.video)===null||le===void 0)&&le.url)&&(!((X=de?.video)===null||X===void 0)&&X.imgUrls)){const _e=Date.now();D.current=_e,j?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(fe=(ce=de?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&fe!==void 0?fe:"",contentName:(re=de?.video.title)!==null&&re!==void 0?re:"",imageStartTime:`${_e}`,contentTags:JSON.stringify((ie=de?.video.tags)!==null&&ie!==void 0?ie:[]),position:A+"",contentFormat:"image",traceInfo:de?.video.traceInfo}}),Y?.({eventName:"ViewContent"})}},De=te(()=>{const A=r?.map((le,X)=>w===X||X-1===w||X+1===w?le:null);return U?A:A.concat([{loading:!0}])},[r,w,U]),lt=te(()=>M?v.createElement("div",{style:{height:je,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):De?.map((A,le)=>v.createElement(ot,{key:le,virtualIndex:le},A&&v.createElement(v.Fragment,null,A?.loading?v.createElement("div",{style:{height:je,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,Tt(A,le),W(A,le),ae(A,le))))),[n,r,je,M,W,Tt,De,q]),pt=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),xt=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&v.createElement(En,{icon:Ia,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{se?.(!0)}}),Qe,v.createElement(Ln,{tagList:m,setActiveIndex:S}),ve?v.createElement(Sa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((b=t?.swipeTipOffset)!==null&&b!==void 0?b:0)}%`}}):null,v.createElement(bt,{style:{marginTop:tt},ref:R,onSlideChange:()=>{R.current.swiper.allowTouchMove=!1,setTimeout(()=>{R.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:A=>{S(A.activeIndex),!ue&&(xe(A),!U&&A?.activeIndex+2>=r?.length&&(L||(N(!0),B?.(Math.ceil(w/10)+1).then(()=>{N(!1)}))))},direction:"vertical",height:je},v.createElement(Dn,{style:{position:"fixed",visibility:!((_=(T=r?.[w])===null||T===void 0?void 0:T.video)===null||_===void 0)&&_.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(g=t?.muteIconX)!==null&&g!==void 0?g:0,[(f=t?.muteIconYPosit)!==null&&f!==void 0?f:"bottom"]:(E=t?.muteIconY)!==null&&E!==void 0?E:23},defaultValue:x,activeIcon:t?.unMuteIcon?t?.unMuteIcon:pt,unactiveIcon:t?.muteIcon?t?.muteIcon:xt,onChange:I}),lt),v.createElement(Cn,Object.assign({},(O=(h=(k=t?.hashTag)===null||k===void 0?void 0:k[0])===null||h===void 0?void 0:h.item)===null||O===void 0?void 0:O.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:ge,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},ka=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>v.createElement(bt,{defaultValue:0,direction:"horizontal",modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>v.createElement(ot,{key:r},v.createElement(An,{src:r,height:i,imgUrlsPostConfig:n}))));var Da=be(ka);const Aa=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[a,c]=$(!1),d=Q(null),{bffEventReport:p,sxpParameter:m,waterFallData:y,openHashtag:b}=Se(),T=Q(0),[_,u]=$(!1),[g,f]=$(!0),E=Q(null),[k,h]=$("");Z(()=>{d.current&&(d.current.muted=o)},[o]);const O=oe(()=>{var B;(B=d.current)===null||B===void 0||B.play()},[]),C=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),w=oe(()=>{var B,j,M,V,z,R,U,se,we,ue,q,K,J;c(!1);const Y=n[e];if(Y&&(!((B=d?.current)===null||B===void 0)&&B.duration)){T.current=((j=d?.current)===null||j===void 0?void 0:j.currentTime)||0;const ee=((V=(M=d.current)===null||M===void 0?void 0:M.duration)!==null&&V!==void 0?V:0).toFixed(2),Ie=((R=(z=d.current)===null||z===void 0?void 0:z.currentTime)!==null&&R!==void 0?R:0).toFixed(2),Ae=g?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(se=(U=Y?.video)===null||U===void 0?void 0:U.itemId)!==null&&se!==void 0?se:"",contentName:(ue=(we=Y?.video)===null||we===void 0?void 0:we.title)!==null&&ue!==void 0?ue:"",playType:Ae,startTime:Ie,videoDuration:ee,contentTags:JSON.stringify((K=(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(J=Y?.video)===null||J===void 0?void 0:J.traceInfo}}),f(!1)}},[p,n,e,g]),S=oe(()=>{u(!0)},[]),D=oe(B=>()=>{var j,M,V,z,R;if(!_)return;const U=(j=d.current)===null||j===void 0?void 0:j.paused;switch(B){case"start":if(!U)return;(M=d.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if(U)return;(V=d.current)===null||V===void 0||V.pause(),c(!0);break;default:U?(z=d.current)===null||z===void 0||z.play():(R=d.current)===null||R===void 0||R.pause(),c(!U);break}},[_]),x=oe(()=>{var B,j,M,V,z,R,U,se,we,ue,q,K,J;const Y=n[e],ee=((j=(B=d.current)===null||B===void 0?void 0:B.duration)!==null&&j!==void 0?j:0).toFixed(2),Ie=((V=(M=d.current)===null||M===void 0?void 0:M.currentTime)!==null&&V!==void 0?V:0).toFixed(2);if(!((z=d?.current)===null||z===void 0)&&z.duration){const Ae=(((R=d?.current)===null||R===void 0?void 0:R.currentTime)-T.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(se=(U=Y?.video)===null||U===void 0?void 0:U.itemId)!==null&&se!==void 0?se:"",contentName:(ue=(we=Y?.video)===null||we===void 0?void 0:we.title)!==null&&ue!==void 0?ue:"",endTime:Ie,videoDuration:ee,playDuration:Ae,contentTags:JSON.stringify((K=(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(J=Y?.video)===null||J===void 0?void 0:J.traceInfo}})}},[n,e,p]),I=te(()=>r?.mode==="2",[r]),P=te(()=>{var B;return r?.mode==="2"?`translateY(-${50+((B=r?.offsetTop)!==null&&B!==void 0?B:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),L=te(()=>{var B;return((B=t?.video)===null||B===void 0?void 0:B.cover)||k},[k,t]),N=oe(()=>{if(!E||!d||!d.current||!E.current)return;const B=d?.current,j=E?.current,M=j.getContext("2d"),V=window?.innerWidth,z=window?.innerHeight;j.height=z,j.width=V,M?.drawImage(B,0,0,j.width,j.height),h(j.toDataURL())},[]);Z(()=>{var B,j,M,V;if(d.current){if(c(!1),!d.current.src){const z=t?.video.url;if(z.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(z),R.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=z;else d.current.src=z;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(B=d.current)===null||B===void 0||B.addEventListener("loadedmetadata",S),(j=d.current)===null||j===void 0||j.addEventListener("canplay",S),(M=d.current)===null||M===void 0||M.addEventListener("playing",w),(V=d.current)===null||V===void 0||V.addEventListener("loadeddata",N),()=>{var z,R,U,se;(z=d.current)===null||z===void 0||z.removeEventListener("loadedmetadata",S),(R=d.current)===null||R===void 0||R.removeEventListener("canplay",S),(U=d.current)===null||U===void 0||U.removeEventListener("playing",w),(se=d.current)===null||se===void 0||se.removeEventListener("loadeddata",N)}}},[S,w,t?.video,N]);const H=te(()=>!m?.placeholder_image||_?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[_,m?.placeholder_image]);Z(()=>{const B=()=>{var j,M;l===e&&(!((j=t?.video)===null||j===void 0)&&j.url)&&(!((M=d?.current)===null||M===void 0)&&M.src)&&!a&&D("pause")()};return window.addEventListener("beforeunload",B),()=>{window.removeEventListener("beforeunload",B)}},[l,e,t,d,D,a]);const F=te(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?v.createElement(v.Fragment,null,I?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Ve,{src:L,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),v.createElement("canvas",{ref:E,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C,alt:"video pause image"}))),H):v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O}),H,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C,alt:"video pause image"}))):null};var Pa=be(Aa);const Oi={};Object.values(Pi).forEach(t=>{Oi[t.extend.type]=t});const Oa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Ma="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",La=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:a=375,appDomain:c,tagList:d=[]})=>{const p=te(()=>{let h=0;return e?.logoUrl&&e?.isShowLogo&&(h+=45),d.length>0&&(h+=45),s-h},[e,s,d]),m=(h,O)=>{var C,w,S,D;if(!((C=h?.video)===null||C===void 0)&&C.url)return v.createElement(Pa,{rec:h,index:O,muted:!0,width:a,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((w=h?.video)===null||w===void 0)&&w.imgUrls)return v.createElement(Da,{key:h?.video.itemId,imgUrls:h?.video.imgUrls,width:a,height:p,rec:h,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(h.product&&h.product&&Array.isArray(e?.productPost)&&((S=e?.productPost)===null||S===void 0?void 0:S.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((x,I)=>{var P,L,N,H,F,B,j,M;const V=Oi[(P=x?.item)===null||P===void 0?void 0:P.type],z=Xt(V),R=(L=V?.extend)===null||L===void 0?void 0:L.defaulSetting;return v.createElement(z,Object.assign({key:`${O}${I}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(N=x?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(F=(H=x?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},R?.props,(B=x?.item)===null||B===void 0?void 0:B.props,{event:((j=x?.item)===null||j===void 0?void 0:j.event)||{},id:x?.id,rec:h,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(M=x?.item)===null||M===void 0?void 0:M.style),{width:a,height:p,overflow:"auto"}),index:O}))})},y=te(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(h,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(On,{rec:h,index:O,tempMap:o,resolver:Oi})):null,T=(h,O)=>{var C,w,S,D,x,I,P;return h?.video?v.createElement(v.Fragment,null,((C=h?.video)===null||C===void 0?void 0:C.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Mn,{nudge:n}),b(h,O),v.createElement("div",null,v.createElement(Yt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(S=(w=h?.video)===null||w===void 0?void 0:w.title)!==null&&S!==void 0?S:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(Pn,{index:O,tags:(x=(D=h?.video)===null||D===void 0?void 0:D.hashTags)!==null&&x!==void 0?x:[],itemId:(I=h?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=h?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:h,hashTagStyle:r}))):null},_=Xe(Ma,c),u=Xe(Oa,c),g=(h,O)=>{var C,w,S,D;if(!e?.isShowLike)return;let x=(C=e?.likeIconY)!==null&&C!==void 0?C:400;return x<40&&(x+=40),h?.video?v.createElement(kn,{key:h.position,activeIcon:(w=e?.likeIcon)!==null&&w!==void 0?w:_,unActicveIcon:(S=e?.unlikeIcon)!==null&&S!==void 0?S:u,position:O,active:h.isCollected,recData:h,className:"clc-sxp-like-button",style:{top:x,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},f=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),E=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),k=(h,O)=>{var C,w,S,D;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,v.createElement(Ln,{tagList:d}),v.createElement(Dn,{style:{position:"absolute",right:(C=e?.muteIconX)!==null&&C!==void 0?C:0,visibility:!((S=(w=t?.[O])===null||w===void 0?void 0:w.video)===null||S===void 0)&&S.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:f,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(h,O),T(h,O),g(h,O))};return v.createElement("div",{className:ne({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((h,O)=>k(h,O)))};var ja=be(La);const Na=()=>{const{schema:t,resolver:e,popup:i}=st(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=Se(),{productView:r}=He(),[s,a]=$(),c=Q(null);Z(()=>{const m=()=>{c.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),Z(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,a(i))},[i]);const d=()=>{var m,y,b,T;if(!i||i?.id===""||!s||new Date-c.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;a(Object.assign(Object.assign({},i),{id:""}));const _=o,u=(y=_?.video)===null||y===void 0?void 0:y.bindProduct,g=(T=(b=_?.video)===null||b===void 0?void 0:b.bindProduct)===null||T===void 0?void 0:T.bindCta;u&&g&&r(_,u,g,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=te(()=>{var m,y,b;return(b=(y=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||y===void 0?void 0:y.popupList)===null||b===void 0?void 0:b.map((T,_)=>{var u,g,f,E,k,h,O,C,w,S,D,x,I,P,L;if(T?.id===i?.id){const N=e[(u=T?.item)===null||u===void 0?void 0:u.type],H=Xt(N),F=((E=(f=(g=T?.item)===null||g===void 0?void 0:g.event)===null||f===void 0?void 0:f.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",B=((O=(h=(k=T?.item)===null||k===void 0?void 0:k.event)===null||h===void 0?void 0:h.onClick)===null||O===void 0?void 0:O.linkType)==="popup",j=(C=N?.extend)===null||C===void 0?void 0:C.defaulSetting;return v.createElement(H,Object.assign({key:_,style:Object.assign(Object.assign(Object.assign({},j?.style),(w=T?.item)===null||w===void 0?void 0:w.style),{width:(S=window.innerWidth)!==null&&S!==void 0?S:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},j?.textStyle),(D=T?.item)===null||D===void 0?void 0:D.textStyle),bindDatas:(I=(x=T?.item)===null||x===void 0?void 0:x.bindDatas)!==null&&I!==void 0?I:[]},j?.props,(P=T?.item)===null||P===void 0?void 0:P.props,{event:((L=T?.item)===null||L===void 0?void 0:L.event)||{},schema:t,id:T?.id,isExternalLink:F,isPopup:B,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Wt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Mi={};Object.values(Pi).forEach(t=>{Mi[t.extend.type]=t});const Ba=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var a,c,d,p,m,y,b,T,_,u,g;const f=te(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return v.createElement(Zi,{resolver:Mi,enableDataSource:!1,schema:t?.data,utmVal:f},v.createElement(Xi,{utmVal:f,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(y=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(_=(T=(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf)===null||T===void 0?void 0:T.globalConfig)===null||_===void 0?void 0:_.isShowTag,globalConfig:(g=(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf)===null||g===void 0?void 0:g.globalConfig,render:({rtcList:E,tagList:k})=>{var h;return v.createElement(v.Fragment,null,v.createElement(jn,Object.assign({},(h=t?.data)===null||h===void 0?void 0:h.sxpPageConf,{tagList:k,data:E,resolver:Mi,licenseUrl:r})),v.createElement(Na,null))}}))};var za=be(Ba);const Nn=_t({}),Fa=({children:t,data:e})=>{var i,n,o,l,r,s,a,c,d,p,m,y,b;const[T,_]=$(!1),[u,g]=$(!1);return v.createElement(Nn.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,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_necessity,privacyPolicyTitle:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.privacy_policy_title,privacyPolicyUrl:(p=e?.sxp_parameter)===null||p===void 0?void 0:p.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.template,industry:(b=e?.sxp_parameter)===null||b===void 0?void 0:b.industry},appDomain:e?.appDomain,openHashtag:T,setOpenHashtag:_,openConsent:u,setOpenConsent:g}},t)};function Va(){return Ct(Nn)}export{ja as DiyPortalPreview,Fa as EditorDataProvider,Wt as Modal,Xi as SxpDataSourceProvider,za as SxpPageCore,jn as SxpPageRender,oo as core,qn as default,Ge as defaultSetting,Pi as materials,Va as useEditorDataProvider};