pb-sxp-ui 1.0.45 → 1.0.47
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/LICENSE +21 -21
- package/README.md +111 -111
- package/dist/index.cjs +103 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +16 -2
- package/dist/index.js +103 -54
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +103 -54
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/DiyPortalPreview/index.js +5 -3
- package/es/core/components/SxpPageCore/index.d.ts +1 -0
- package/es/core/components/SxpPageCore/index.js +2 -2
- package/es/core/components/SxpPageRender/PictureGroup/Picture.js +8 -7
- package/es/core/components/SxpPageRender/VideoWidget/index.js +19 -18
- package/es/core/components/SxpPageRender/WaterFall/List.js +11 -9
- package/es/core/components/SxpPageRender/index.d.ts +3 -0
- package/es/core/components/SxpPageRender/index.js +3 -3
- package/es/materials/sxp/HashTag/index.d.ts +2 -0
- package/es/materials/sxp/HashTag/material.js +14 -0
- package/es/materials/sxp/HashTag/settingRender.js +28 -2
- package/es/materials/sxp/popup/CommodityDetail/index.js +4 -4
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/lib/core/components/DiyPortalPreview/index.js +5 -3
- package/lib/core/components/SxpPageCore/index.d.ts +1 -0
- package/lib/core/components/SxpPageCore/index.js +2 -2
- package/lib/core/components/SxpPageRender/PictureGroup/Picture.js +8 -7
- package/lib/core/components/SxpPageRender/VideoWidget/index.js +19 -18
- package/lib/core/components/SxpPageRender/WaterFall/List.js +11 -9
- package/lib/core/components/SxpPageRender/index.d.ts +3 -0
- package/lib/core/components/SxpPageRender/index.js +3 -3
- package/lib/materials/sxp/HashTag/index.d.ts +2 -0
- package/lib/materials/sxp/HashTag/material.js +14 -0
- package/lib/materials/sxp/HashTag/settingRender.js +28 -2
- package/lib/materials/sxp/popup/CommodityDetail/index.js +4 -4
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/package.json +115 -115
package/dist/index.min.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var pe=require("lodash"),en=require("uuid"),tn=require("pako"),a=require("react"),ni=require("qs"),X=require("@emotion/css"),nn=require("@ant-design/pro-components"),on=require("react-dom"),ln=require("eventemitter3"),oi=require("hls.js");function sn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var li=sn(on);function fe(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 he(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const an=/:\w+/g;var si=(t,e)=>he(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:m}=e[o];let f=s;d&&Object.entries(d).forEach(([w,b])=>{f=f.replace(an,k=>k===w?b:k)}),c&&(f+=c),n[l]=u;try{const w=yield fetch(f,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(m)}).then(b=>b.json());i[l]=w}catch(w){console.error("DataSource request error: ",w),i[l]={}}}return{$store:i,idMapName:n}});const ai="SXP_TOKEN_INFO",rn=(t,e)=>he(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(ai);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(ai,JSON.stringify(s))}}return s});function pt(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 dn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},cn=()=>{const t=en.v4();return t?.replaceAll?t.replaceAll("-",""):dn(32)};function ri(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=tn.inflate(n,{to:"string"});return JSON.parse(o)}let It=null;const un={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class pn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,It)return It;It=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?un[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let me=null;const vn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{me||(me=new pn),n&&me.setApiUrl(n),me.setAppId(t),me.setTenantId(e),me.setEnv(i)},getDetail:t=>{if(!me)return;const e=me.getTenantId(),i=me.getAppId(),n=me.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>he(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=ri((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield si(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>he(void 0,void 0,void 0,function*(){if(!me)return;const e=me.getTenantId(),i=me.getAppId(),n=me.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>he(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=ri((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>he(void 0,void 0,void 0,function*(){if(!me)return;const e=yield rn(me,t),i=pt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");pe.isEmpty(n)&&(n=pt(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 Ne(){return a.useContext(hi)}function fn(){return a.useContext(mi)}const Dt="feRealSessionIdKey",di=()=>{const t=cn();return`${Date.now()}${t}`},mn=()=>{let t=gn();return t||(t=di(),window.sessionStorage.setItem(Dt,t)),t},hn=()=>{const t=di();window.sessionStorage.setItem(Dt,t)},gn=()=>window.sessionStorage.getItem(Dt),ci="SXP_FAKE_USER_ID",ui="FAKE_USER_STATE",bn=()=>{let t=window.localStorage.getItem(ci);return pe.isEmpty(t)&&(t=pt(36,62),window.localStorage.setItem(ci,t)),t},yn=()=>{const t=window.localStorage.getItem(ui);return pe.isEmpty(t)&&window.localStorage.setItem(ui,"true"),pe.isEmpty(t)};function xe(t,e){const{appDomain:i}=se();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const pi=a.createContext({rtcList:[],tagList:[]});var kt;(function(t){t[t.BFF=5]="BFF"})(kt||(kt={}));const wn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Sn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1})=>{const[m,f]=a.useState([]),[w,b]=a.useState([]),[k,p]=a.useState(!1),[y,h]=a.useState({rtc:"",requestId:""}),I=a.useRef(null),g=a.useRef(!1),[D,M]=a.useState(),[E,S]=a.useState(),[T,_]=a.useState(v),[x,A]=a.useState([]),[O,N]=a.useState(0),[V,q]=a.useState(!1),[H,L]=a.useState(null);a.useEffect(()=>{_(v)},[v]);const z=a.useMemo(()=>e?.find(B=>B.type===kt.BFF),[e]),P=a.useCallback((B,R)=>{if(!z)return;const $=z.url,de=bn();if(R?.query){const ce=ni.stringify(R.query);B=`${B}?${ce}`}return R.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${$}/api/v1${B}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},z.headers),{"x-user-id":de}),R.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${$}/api/v1${B}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":de},z.headers),method:R.method,body:JSON.stringify(R.body)}).then(ce=>ce.json()).catch(ce=>Promise.reject(ce))},[z]),C=a.useCallback(B=>he(void 0,void 0,void 0,function*(){var R,$,de,ce;if(B={maxSize:o,defaultSize:(R=B?.defaultSize)!==null&&R!==void 0?R:l,"itemFilter.itemId":B?.["itemFilter.itemId"],"itemFilter.itemType":B?.["itemFilter.itemType"],hashTag:B?.hashTag,traceInfo:B?.traceInfo},i){const De=(ce=(de=($=i?.split("&"))===null||$===void 0?void 0:$.filter(ye=>{const we=ye.split("=")[0];return wn.includes(we)}))===null||de===void 0?void 0:de.join("&"))!==null&&ce!==void 0?ce:"";B=Object.assign(Object.assign({},B),{channel:decodeURIComponent(De)})}const ve=yield P?.("/recommend/list",{method:"GET",query:B});if(ve?.success)return B?.hashTag||h({rtc:ve.data.rtc,requestId:ve.data.requestId}),ve?.data}),[P,i,o,l]),F=a.useCallback(()=>he(void 0,void 0,void 0,function*(){var B,R;if(m.length<=0)return;const $=yield C({hashTag:E?.hashTag,"itemFilter.itemId":E?.itemId,"itemFilter.itemType":E?.itemType});f(m.concat((B=$?.recList)!==null&&B!==void 0?B:[])),A(x.concat((R=$?.recList)!==null&&R!==void 0?R:[]))}),[C,m,E,x]),U=a.useCallback(({userInfo:B,eventInfo:R})=>{if(!n)return;B||(B={});const $=mn(),de=Object.assign({sessionID:$,rtc:y.rtc,requestId:y.requestId},R),ce=Object.entries(B).map(([De,ye])=>({name:De,value:ye})),ve=Object.entries(de).map(([De,ye])=>ye&&{name:De,value:ye}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",B),console.log("eventInfo:",de),console.log("========= \u7ED3\u675F ========="),P?.("/event/report",{method:"POST",body:{userInfo:ce,eventInfo:ve},type:"beacon"})},[P,y,n]),W=a.useCallback(B=>he(void 0,void 0,void 0,function*(){const R=yield P?.("/recommend/like",{method:"POST",body:B});return R?.success}),[P]),Z=a.useCallback(B=>he(void 0,void 0,void 0,function*(){const R=yield P?.("/recommend/unlike",{method:"POST",body:B});return R?.success}),[P]),ie=a.useCallback(B=>he(void 0,void 0,void 0,function*(){const R=yield P?.("/customform",{method:"POST",body:B});return R?.success}),[P]),oe=a.useCallback(()=>he(void 0,void 0,void 0,function*(){var B,R;if(i)try{const $=yield P?.("/tag/list",{method:"GET",query:{channel:i}});b((R=(B=$?.data)===null||B===void 0?void 0:B.tags)!==null&&R!==void 0?R:[])}catch($){console.log("e",$)}}),[P,i]),Y=a.useCallback((B,R,$,de)=>{var ce,ve,De,ye,we,ot,Ke,Qe,lt,Ze,st,Re;const be=$?.bindCta,at=((ce=R?.video)===null||ce===void 0?void 0:ce.bindProduct)||((ve=R?.video)===null||ve===void 0?void 0:ve.bindProducts)&&((ye=(De=R?.video)===null||De===void 0?void 0:De.bindProducts)===null||ye===void 0?void 0:ye.length)>0;let Ge="";V?Ge="hashTagPage":!((we=R?.video)===null||we===void 0)&&we.url?Ge="videoPage":!((Ke=(ot=R?.video)===null||ot===void 0?void 0:ot.imgUrls)===null||Ke===void 0)&&Ke.length&&(Ge="imagePage"),U?.({eventInfo:Object.assign(Object.assign({},B),{ctaId:(Qe=be?.itemId)!==null&&Qe!==void 0?Qe:"",ctaName:(lt=be?.title)!==null&<!==void 0?lt:"",contentTags:JSON.stringify(be?.tags),position:de+"",contentId:(st=(Ze=R?.video)===null||Ze===void 0?void 0:Ze.itemId)!==null&&st!==void 0?st:"",productId:at?$?.itemId:"",traceInfo:(Re=be?.traceInfo)!==null&&Re!==void 0?Re:"",fromKName:Ge})})},[U,V]);a.useEffect(()=>{p(!0),oe(),C().then(B=>{var R,$;f((R=B?.recList)!==null&&R!==void 0?R:[]),A(($=B?.recList)!==null&&$!==void 0?$:[])}).finally(()=>{p(!1),g.current=!0})},[]),a.useEffect(()=>{g.current&&(p(!0),oe(),C().then(B=>{var R,$;f((R=B?.recList)!==null&&R!==void 0?R:[]),A(($=B?.recList)!==null&&$!==void 0?$:[])}).finally(()=>{p(!1)}))},[C,oe]);const ne=xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(pi.Provider,{value:{rtcList:m,setRtcList:f,mutateLike:W,mutateUnlike:Z,submitForm:ie,popupDetailData:D,loadVideos:F,setPopupDetailData:M,getRecommendVideos:C,bffEventReport:U,utmVal:i,isPreview:r,loading:k,sxpParameter:s,waterFallData:E,setWaterFallData:S,ctaEvent:Y,swiperRef:I,openHashtag:T,setOpenHashtag:_,cacheRtcList:x,setCacheRtcList:A,cacheActiveIndex:O,setCacheActiveIndex:N,isFromHashtag:V,setIsFromHashtag:q,appDomain:d,hashTagSize:u,loadingImage:c??ne,isOpenHashTag:v,tagList:w,setLoading:p,videoRef:H,setVideoRef:L}},t({rtcList:m,mutateLike:W,mutateUnlike:Z,submitForm:ie,tagList:w}))};var vi=a.memo(Sn);function se(){return a.useContext(pi)}var fi;(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"})(fi||(fi={}));const mi=a.createContext({$store:{},options:[],configs:[]}),Tn=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=Ne(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var m;e||pe.isEqual(d,l?.dataSource)||u((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=a.useCallback(()=>he(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield si("",d);s(m),v(m,f)}),[d]),v=(m,f)=>{const w=[];Object.entries(m).forEach(([b,k])=>{Object.keys(k).forEach(p=>{const y={label:`${f[b]} - ${p}`,value:`{{ ${b}.${p} }}`};w.push(y)})}),o(w)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(mi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var xn=a.memo(Tn);const vt={id:pt(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},_t={id:"",duration:0,name:"none"},hi=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[vt],redoStack:[],popup:_t,setPopup:()=>{}}),gi=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[vt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,m]=a.useState([vt]),[f,w]=a.useState([[vt]]),[b,k]=a.useState([]),[p,y]=a.useState(_t);typeof window<"u"&&(window.sxpPopup=(M,E)=>{y(Object.assign(Object.assign(Object.assign({},_t),{id:M}),E))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{w([u.pointData]),k([])},[u.type]);const h=a.useCallback(M=>{const E=pe.cloneDeep(u);E&&(E.dataSource=M,c?.(E))},[u]),[I,g]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(w([M.pointData]),c(M))},exportSchema(){return pe.cloneDeep(u)},getPageInfoData(){return I},initPageInfoData(M){M&&g(M)}}));const D=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(hi.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:h,prePiontData:v,setPrePiontData:m,pageInfoData:I,setPageInfoData:M=>g(Object.assign(Object.assign({},I),M)),undoStack:f,redoStack:b,setRedoStack:k,setUndoStack:w,getCurPageConf:D,popup:p,setPopup:y}},a.createElement(xn,{isSsr:i,enable:o},t))});var En=Object.freeze({__proto__:null,EditorCore:gi}),Cn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ee=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var In={fontOptions:ee},At,Dn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ee,initialValue:(At=ee?.[0])===null||At===void 0?void 0:At.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const kn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,onClick:u}=t,c=fe(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:v}=se(),m=a.useRef(),[f,w]=a.useState(!1),b=a.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),k=a.useMemo(()=>{if(d===void 0){const y=pe.cloneDeep(e)||b;return y?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return pe.cloneDeep(e)||b},[d,e,b]),p=pe.debounce(()=>he(void 0,void 0,void 0,function*(){var y,h,I;w(!0);const g=yield(y=m?.current)===null||y===void 0?void 0:y.getFieldsValue(),D=(I=(h=Object.keys(g))===null||h===void 0?void 0:h.map(E=>({name:E,value:g[E]})))===null||I===void 0?void 0:I.filter(E=>E?.value);if(!D||!D?.length)return;const M=yield v?.({attributes:D});w(!1),M&&(window?.sxpPopup(""),M&&u?.())}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${X.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:X.css(Object.assign({},i))},c),a.createElement("div",{className:"pb-appoint-form-container"},a.createElement(nn.BetaSchemaForm,{columns:k,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:m,className:"panel-reset"}))),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:p,className:"pb-appoint-form-btn",style:{color:r,background:l}},f?a.createElement(a.Fragment,null,"loading..."):s)))};var _n=a.memo(kn);function Se(t,e){return t.extend=e,t}const An=Se(_n,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Dn,bindableProps:[],interactionRender:Cn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Pt,Mt,Pn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Pt=ee?.[0])===null||Pt===void 0?void 0:Pt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(Mt=ee?.[0])===null||Mt===void 0?void 0:Mt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function bi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ot(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:bi(e[i])&&bi(t[i])&&Object.keys(e[i]).length>0&&Ot(t[i],e[i])})}const yi={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ae(){const t=typeof document<"u"?document:{};return Ot(t,yi),t}const Mn={document:yi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ge(){const t=typeof window<"u"?window:{};return Ot(t,Mn),t}function Fe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function On(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function et(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ee(){return Date.now()}function Ln(t){const e=ge();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function jn(t,e){e===void 0&&(e="x");const i=ge();let n,o,l;const r=Ln(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function ft(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Nn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Te(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Nn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(ft(t[s])&&ft(n[s])?n[s].__swiper__?t[s]=n[s]:Te(t[s],n[s]):!ft(t[s])&&ft(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Te(t[s],n[s])):t[s]=n[s])}}}return t}function mt(t,e,i){t.style.setProperty(e,i)}function wi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=ge(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(m,f)=>u==="next"&&m>=f||u==="prev"&&m<=f,v=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/d,1),0),f=.5-Math.cos(m*Math.PI)/2;let w=l+f*(i-l);if(c(w,i)&&(w=i),e.wrapperEl.scrollTo({[n]:w}),c(w,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:w})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function Pe(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function ht(t){try{console.warn(t);return}catch{}}function rt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Fe(e)),i}function Bn(t){const e=ge(),i=Ae(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function zn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Rn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function He(t,e){return ge().getComputedStyle(t,null).getPropertyValue(e)}function gt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Si(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Lt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function jt(t,e,i){const n=ge();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 Me(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ge();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=Ee(),d;const u=[];function c(h){let M=0,E=0,S=0,T=0;return"detail"in h&&(E=h.detail),"wheelDelta"in h&&(E=-h.wheelDelta/120),"wheelDeltaY"in h&&(E=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=E,E=0),S=M*10,T=E*10,"deltaY"in h&&(T=h.deltaY),"deltaX"in h&&(S=h.deltaX),h.shiftKey&&!S&&(S=T,T=0),(S||T)&&h.deltaMode&&(h.deltaMode===1?(S*=40,T*=40):(S*=800,T*=800)),S&&!M&&(M=S<1?-1:1),T&&!E&&(E=T<1?-1:1),{spinX:M,spinY:E,pixelX:S,pixelY:T}}function v(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ee()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ee()-s<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),s=new l.Date().getTime(),!1)}function w(h){const I=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&I.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&I.releaseOnEdges)return!0;return!1}function b(h){let I=h,g=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const D=e.params.mousewheel;e.params.cssMode&&I.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const E=M&&M.contains(I.target);if(!e.mouseEntered&&!E&&!D.releaseOnEdges)return!0;I.originalEvent&&(I=I.originalEvent);let S=0;const T=e.rtlTranslate?-1:1,_=c(I);if(D.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))S=-_.pixelX*T;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))S=-_.pixelY;else return!0;else S=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*T:-_.pixelY;if(S===0)return!0;D.invert&&(S=-S);let x=e.getTranslate()+S*D.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),g=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),g&&e.params.nested&&I.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const A={time:Ee(),delta:Math.abs(S),direction:Math.sign(S),raw:h};u.length>=2&&u.shift();const O=u.length?u[u.length-1]:void 0;if(u.push(A),O?(A.direction!==O.direction||A.delta>O.delta||A.time>O.time+150)&&f(A):f(A),w(A))return!0}else{const A={time:Ee(),delta:Math.abs(S),direction:Math.sign(S)},O=d&&A.time<d.time+500&&A.delta<=d.delta&&A.direction===d.direction;if(!O){d=void 0;let N=e.getTranslate()+S*D.sensitivity;const V=e.isBeginning,q=e.isEnd;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!V&&e.isBeginning||!q&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:A.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const H=u.length?u[u.length-1]:void 0,L=u[0];if(u.push(A),H&&(A.delta>H.delta||A.direction!==H.direction))u.splice(0);else if(u.length>=15&&A.time-L.time<500&&L.delta-A.delta>=1&&A.delta<=6){const z=S>0?.8:.2;d=A,u.splice(0),r=et(()=>{e.slideToClosest(e.params.speed,!0,void 0,z)},0)}r||(r=et(()=>{d=A,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",I),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),D.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return I.preventDefault?I.preventDefault():I.returnValue=!1,!1}function k(h){let I=e.el;e.params.mousewheel.eventsTarget!=="container"&&(I=document.querySelector(e.params.mousewheel.eventsTarget)),I[h]("mouseenter",v),I[h]("mouseleave",m),I[h]("wheel",b)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function y(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(k("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&y(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&y()}),Object.assign(e.mousewheel,{enable:p,disable:y})}function Ti(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Pe(t.el,`.${n[o]}`)[0];l||(l=rt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function tt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function bt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,y){const{bulletActiveClass:h}=e.params.pagination;p&&(p=p[`${y==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${h}-${y}`),p=p[`${y==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${h}-${y}-${y}`)))}function c(p){const y=p.target.closest(tt(e.params.pagination.bulletClass));if(!y)return;p.preventDefault();const h=gt(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function v(){const p=e.rtl,y=e.params.pagination;if(d())return;let h=e.pagination.el;h=Me(h);let I,g;const D=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(D/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(g=e.previousRealIndex||0,I=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(I=e.snapIndex,g=e.previousSnapIndex):(g=e.previousIndex||0,I=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const E=e.pagination.bullets;let S,T,_;if(y.dynamicBullets&&(r=jt(E[0],e.isHorizontal()?"width":"height",!0),h.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&g!==void 0&&(s+=I-(g||0),s>y.dynamicMainBullets-1?s=y.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(I-s,0),T=S+(Math.min(E.length,y.dynamicMainBullets)-1),_=(T+S)/2),E.forEach(x=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${y.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();x.classList.remove(...A)}),h.length>1)E.forEach(x=>{const A=gt(x);A===I?x.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),y.dynamicBullets&&(A>=S&&A<=T&&x.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),A===S&&u(x,"prev"),A===T&&u(x,"next"))});else{const x=E[I];if(x&&x.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&E.forEach((A,O)=>{A.setAttribute("part",O===I?"bullet-active":"bullet")}),y.dynamicBullets){const A=E[S],O=E[T];for(let N=S;N<=T;N+=1)E[N]&&E[N].classList.add(...`${y.bulletActiveClass}-main`.split(" "));u(A,"prev"),u(O,"next")}}if(y.dynamicBullets){const x=Math.min(E.length,y.dynamicMainBullets+4),A=(r*x-r)/2-_*r,O=p?"right":"left";E.forEach(N=>{N.style[e.isHorizontal()?O:"top"]=`${A}px`})}}h.forEach((E,S)=>{if(y.type==="fraction"&&(E.querySelectorAll(tt(y.currentClass)).forEach(T=>{T.textContent=y.formatFractionCurrent(I+1)}),E.querySelectorAll(tt(y.totalClass)).forEach(T=>{T.textContent=y.formatFractionTotal(M)})),y.type==="progressbar"){let T;y.progressbarOpposite?T=e.isHorizontal()?"vertical":"horizontal":T=e.isHorizontal()?"horizontal":"vertical";const _=(I+1)/M;let x=1,A=1;T==="horizontal"?x=_:A=_,E.querySelectorAll(tt(y.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${A})`,O.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(E.innerHTML=y.renderCustom(e,I+1,M),S===0&&o("paginationRender",E)):(S===0&&o("paginationRender",E),o("paginationUpdate",E)),e.params.watchOverflow&&e.enabled&&E.classList[e.isLocked?"add":"remove"](y.lockClass)})}function m(){const p=e.params.pagination;if(d())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=Me(h);let I="";if(p.type==="bullets"){let g=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&g>y&&(g=y);for(let D=0;D<g;D+=1)p.renderBullet?I+=p.renderBullet.call(e,D,p.bulletClass):I+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?I=p.renderFraction.call(e,p.currentClass,p.totalClass):I=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?I=p.renderProgressbar.call(e,p.progressbarFillClass):I=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(g=>{p.type!=="custom"&&(g.innerHTML=I||""),p.type==="bullets"&&e.pagination.bullets.push(...g.querySelectorAll(tt(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function f(){e.params.pagination=Ti(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let y;typeof p.el=="string"&&e.isElement&&(y=e.el.querySelector(p.el)),!y&&typeof p.el=="string"&&(y=[...document.querySelectorAll(p.el)]),y||(y=p.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(p.el)],y.length>1&&(y=y.filter(h=>Si(h,".swiper")[0]===e.el)[0])),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=Me(y),y.forEach(h=>{p.type==="bullets"&&p.clickable&&h.classList.add(...(p.clickableClass||"").split(" ")),h.classList.add(p.modifierClass+p.type),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(h.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&h.classList.add(p.progressbarOppositeClass),p.clickable&&h.addEventListener("click",c),e.enabled||h.classList.add(p.lockClass)}))}function w(){const p=e.params.pagination;if(d())return;let y=e.pagination.el;y&&(y=Me(y),y.forEach(h=>{h.classList.remove(p.hiddenClass),h.classList.remove(p.modifierClass+p.type),h.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(h.classList.remove(...(p.clickableClass||"").split(" ")),h.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:y}=e.pagination;y=Me(y),y.forEach(h=>{h.classList.remove(p.horizontalClass,p.verticalClass),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?k():(f(),m(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{m(),v()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Me(p),p.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,y)=>{const h=y.target,I=Me(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&I&&I.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const g=I[0].classList.contains(e.params.pagination.hiddenClass);o(g===!0?"paginationShow":"paginationHide"),I.forEach(D=>D.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Me(p),p.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),v()},k=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Me(p),p.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:b,disable:k,render:m,update:v,init:f,destroy:w})}function Fn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ae();let r=!1,s=null,d=null,u,c,v,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:A}=e,{dragEl:O,el:N}=x,V=e.params.scrollbar,q=e.params.loop?e.progressLoop:e.progress;let H=c,L=(v-c)*q;A?(L=-L,L>0?(H=c-L,L=0):-L+c>v&&(H=v+L)):L<0?(H=c+L,L=0):L+c>v&&(H=v-L),e.isHorizontal()?(O.style.transform=`translate3d(${L}px, 0, 0)`,O.style.width=`${H}px`):(O.style.transform=`translate3d(0px, ${L}px, 0)`,O.style.height=`${H}px`),V.hide&&(clearTimeout(s),N.style.opacity=1,s=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function w(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:A,el:O}=x;A.style.width="",A.style.height="",v=e.isHorizontal()?O.offsetWidth:O.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?A.style.width=`${c}px`:A.style.height=`${c}px`,m>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function k(x){return e.isHorizontal()?x.clientX:x.clientY}function p(x){const{scrollbar:A,rtlTranslate:O}=e,{el:N}=A;let V;V=(k(x)-Bn(N)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),V=Math.max(Math.min(V,1),0),O&&(V=1-V);const q=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*V;e.updateProgress(q),e.setTranslate(q),e.updateActiveIndex(),e.updateSlidesClasses()}function y(x){const A=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:V,dragEl:q}=O;r=!0,u=x.target===q?k(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),N.style.transitionDuration="100ms",q.style.transitionDuration="100ms",p(x),clearTimeout(d),V.style.transitionDuration="0ms",A.hide&&(V.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function h(x){const{scrollbar:A,wrapperEl:O}=e,{el:N,dragEl:V}=A;r&&(x.preventDefault?x.preventDefault():x.returnValue=!1,p(x),O.style.transitionDuration="0ms",N.style.transitionDuration="0ms",V.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function I(x){const A=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:V}=O;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),A.hide&&(clearTimeout(d),d=et(()=>{V.style.opacity=0,V.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),A.snapOnRelease&&e.slideToClosest())}function g(x){const{scrollbar:A,params:O}=e,N=A.el;if(!N)return;const V=N,q=O.passiveListeners?{passive:!1,capture:!1}:!1,H=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!V)return;const L=x==="on"?"addEventListener":"removeEventListener";V[L]("pointerdown",y,q),l[L]("pointermove",h,q),l[L]("pointerup",I,H)}function D(){!e.params.scrollbar.el||!e.scrollbar.el||g("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||g("off")}function E(){const{scrollbar:x,el:A}=e;e.params.scrollbar=Ti(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let N;if(typeof O.el=="string"&&e.isElement&&(N=e.el.querySelector(O.el)),!N&&typeof O.el=="string"){if(N=l.querySelectorAll(O.el),!N.length)return}else N||(N=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&N.length>1&&A.querySelectorAll(O.el).length===1&&(N=A.querySelector(O.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let V;N&&(V=N.querySelector(tt(e.params.scrollbar.dragClass)),V||(V=rt("div",e.params.scrollbar.dragClass),N.append(V))),Object.assign(x,{el:N,dragEl:V}),O.draggable&&D(),N&&N.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,A=e.scrollbar.el;A&&A.classList.remove(...Fe(e.isHorizontal()?x.horizontalClass:x.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:A}=e.scrollbar;A=Me(A),A.forEach(O=>{O.classList.remove(x.horizontalClass,x.verticalClass),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(E(),b(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{b()}),n("setTranslate",()=>{f()}),n("setTransition",(x,A)=>{w(A)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const T=()=>{e.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),E(),b(),f()},_=()=>{e.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:T,disable:_,updateSize:b,setTranslate:f,init:E,destroy:S})}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,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),m,f,w,b,k,p,y;function h(H){!e||e.destroyed||!e.wrapperEl||H.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!y&&T())}const I=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const H=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=H,o("autoplayTimeLeft",H,H/d),s=requestAnimationFrame(()=>{I()})},g=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:H=e.slides[e.activeIndex],H?parseInt(H.getAttribute("data-swiper-autoplay"),10):void 0},D=H=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),I();let L=typeof H>"u"?e.params.autoplay.delay:H;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const z=g();!Number.isNaN(z)&&z>0&&typeof H>"u"&&(L=z,d=z,u=z),c=L;const P=e.params.speed,C=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,P,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,P,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{D()})))};return L>0?(clearTimeout(r),r=setTimeout(()=>{C()},L)):requestAnimationFrame(()=>{C()}),L},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,D(),o("autoplayStart")},E=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},S=(H,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),H||(p=!0);const z=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):T()};if(e.autoplay.paused=!0,L){k&&(c=e.params.autoplay.delay),k=!1,z();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),z())},T=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,D(c)):D(),e.autoplay.paused=!1,o("autoplayResume"))},_=()=>{if(e.destroyed||!e.autoplay.running)return;const H=Ae();H.visibilityState==="hidden"&&(p=!0,S(!0)),H.visibilityState==="visible"&&T()},x=H=>{H.pointerType==="mouse"&&(p=!0,y=!0,!(e.animating||e.autoplay.paused)&&S(!0))},A=H=>{H.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&T())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",A))},N=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",A)},V=()=>{Ae().addEventListener("visibilitychange",_)},q=()=>{Ae().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(O(),V(),M())}),n("destroy",()=>{N(),q(),e.autoplay.running&&E()}),n("_freeModeStaticRelease",()=>{(w||p)&&T()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?E():S(!0,!0)}),n("beforeTransitionStart",(H,L,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?S(!0,!0):E())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){E();return}f=!0,w=!1,p=!1,b=setTimeout(()=>{p=!0,w=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(b),clearTimeout(r),e.params.autoplay.disableOnInteraction){w=!1,f=!1;return}w&&e.params.cssMode&&T(),w=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:M,stop:E,pause:S,resume:T})}function Hn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ee()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:m,snapGrid:f,touchEventsData:w}=e,k=Ee()-w.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(w.velocities.length>1){const E=w.velocities.pop(),S=w.velocities.pop(),T=E.position-S.position,_=E.time-S.time;e.velocity=T/_,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(_>150||Ee()-E.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,w.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const y=e.velocity*p;let h=e.translate+y;m&&(h=-h);let I=!1,g;const D=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-D&&(h=e.maxTranslate()-D),g=e.maxTranslate(),I=!0,w.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>D&&(h=e.minTranslate()+D),g=e.minTranslate(),I=!0,w.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let E;for(let S=0;S<f.length;S+=1)if(f[S]>-h){E=S;break}Math.abs(f[E]-h)<Math.abs(f[E-1]-h)||e.swipeDirection==="next"?h=f[E]:h=f[E-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const E=Math.abs((m?-h:h)-e.translate),S=e.slidesSizesGrid[e.activeIndex];E<S?p=c.speed:E<2*S?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&I?(e.updateProgress(g),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Lt(v,()=>{!e||e.destroyed||!w.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(g),Lt(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Lt(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||k>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let Nt;function Un(){const t=ge(),e=Ae();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function xi(){return Nt||(Nt=Un()),Nt}let Bt;function Gn(t){let{userAgent:e}=t===void 0?{}:t;const i=xi(),n=ge(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let w=o==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&w&&i.touch&&b.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),w=!1),u&&!f&&(r.os="android",r.android=!0),(c||m||v)&&(r.os="ios",r.ios=!0),r}function Ei(t){return t===void 0&&(t={}),Bt||(Bt=Gn(t)),Bt}let zt;function $n(){const t=ge(),e=Ei();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function Wn(){return zt||(zt=$n()),zt}function qn(t){let{swiper:e,on:i,emit:n}=t;const o=ge();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:m,height:f}=e;let w=m,b=f;v.forEach(k=>{let{contentBoxSize:p,contentRect:y,target:h}=k;h&&h!==e.el||(w=y?y.width:(p[0]||p).inlineSize,b=y?y.height:(p[0]||p).blockSize)}),(w!==m||b!==f)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function Yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=ge(),s=function(c,v){v===void 0&&(v={});const m=r.MutationObserver||r.WebkitMutationObserver,f=new m(w=>{if(e.__preventObserver__)return;if(w.length===1){o("observerUpdate",w[0]);return}const b=function(){o("observerUpdate",w[0])};r.requestAnimationFrame?r.requestAnimationFrame(b):r.setTimeout(b,0)});f.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),l.push(f)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Si(e.hostEl);for(let v=0;v<c.length;v+=1)s(c[v])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",u)}var Xn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.apply(n,i)})}),t}};function Jn(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(He(n,"padding-left")||0,10)-parseInt(He(n,"padding-right")||0,10),i=i-parseInt(He(n,"padding-top")||0,10)-parseInt(He(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Kn(){const t=this;function e(T,_){return parseFloat(T.getPropertyValue(t.getDirectionLabel(_))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Pe(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let m=[];const f=[],w=[];let b=i.slidesOffsetBefore;typeof b=="function"&&(b=i.slidesOffsetBefore.call(t));let k=i.slidesOffsetAfter;typeof k=="function"&&(k=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,y=t.slidesGrid.length;let h=i.spaceBetween,I=-b,g=0,D=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,c.forEach(T=>{r?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(mt(n,"--swiper-centered-offset-before",""),mt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let E;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(T=>typeof i.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<v;T+=1){E=0;let _;if(c[T]&&(_=c[T]),M&&t.grid.updateSlide(T,_,c),!(c[T]&&He(_,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[T].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(_),A=_.style.transform,O=_.style.webkitTransform;if(A&&(_.style.transform="none"),O&&(_.style.webkitTransform="none"),i.roundLengths)E=t.isHorizontal()?jt(_,"width",!0):jt(_,"height",!0);else{const N=e(x,"width"),V=e(x,"padding-left"),q=e(x,"padding-right"),H=e(x,"margin-left"),L=e(x,"margin-right"),z=x.getPropertyValue("box-sizing");if(z&&z==="border-box")E=N+H+L;else{const{clientWidth:P,offsetWidth:C}=_;E=N+V+q+H+L+(C-P)}}A&&(_.style.transform=A),O&&(_.style.webkitTransform=O),i.roundLengths&&(E=Math.floor(E))}else E=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(E=Math.floor(E)),c[T]&&(c[T].style[t.getDirectionLabel("width")]=`${E}px`);c[T]&&(c[T].swiperSlideSize=E),w.push(E),i.centeredSlides?(I=I+E/2+g/2+h,g===0&&T!==0&&(I=I-l/2-h),T===0&&(I=I-l/2-h),Math.abs(I)<1/1e3&&(I=0),i.roundLengths&&(I=Math.floor(I)),D%i.slidesPerGroup===0&&m.push(I),f.push(I)):(i.roundLengths&&(I=Math.floor(I)),(D-Math.min(t.params.slidesPerGroupSkip,D))%t.params.slidesPerGroup===0&&m.push(I),f.push(I),I=I+E+h),t.virtualSize+=E+h,g=E,D+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+k,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(E,m),!i.centeredSlides){const T=[];for(let _=0;_<m.length;_+=1){let x=m[_];i.roundLengths&&(x=Math.floor(x)),m[_]<=t.virtualSize-l&&T.push(x)}m=T,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(d&&i.loop){const T=w[0]+h;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=T*i.slidesPerGroup;for(let A=0;A<_;A+=1)m.push(m[m.length-1]+x)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+T),f.push(f[f.length-1]+T),t.virtualSize+=T}if(m.length===0&&(m=[0]),h!==0){const T=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((_,x)=>!i.cssMode||i.loop?!0:x!==c.length-1).forEach(_=>{_.style[T]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let T=0;w.forEach(x=>{T+=x+(h||0)}),T-=h;const _=T-l;m=m.map(x=>x<=0?-b:x>_?_+k:x)}if(i.centerInsufficientSlides){let T=0;if(w.forEach(_=>{T+=_+(h||0)}),T-=h,T<l){const _=(l-T)/2;m.forEach((x,A)=>{m[A]=x-_}),f.forEach((x,A)=>{f[A]=x+_})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:w}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){mt(n,"--swiper-centered-offset-before",`${-m[0]}px`),mt(n,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const T=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+T),t.slidesGrid=t.slidesGrid.map(x=>x+_)}if(v!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==y&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const T=`${i.containerModifierClass}backface-hidden`,_=t.el.classList.contains(T);v<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(T):_&&t.el.classList.remove(T)}}function Qn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Zn(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function eo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),n.forEach(d=>{d.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),f=-(r-c),w=f+e.slidesSizesGrid[d],b=f>=0&&f<=e.size-e.slidesSizesGrid[d];(f>=0&&f<e.size-1||w>1&&w<=e.size||f<=0&&w>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),b&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-m:m}}function to(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],f=e.slidesGrid[v],w=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(t);b>=m?s=(b-m)/w:s=(b+w-f)/w,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function io(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Pe(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Rn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=zn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const wt=(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()}},Rt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Vt=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Rt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Rt(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)&&Rt(t,r)};function no(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function oo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=f=>{let w=f-e.virtual.slidesBefore;return w<0&&(w=e.virtual.slides.length+w),w>=e.virtual.slides.length&&(w-=e.virtual.slides.length),w};if(typeof d>"u"&&(d=no(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,d);u=f+Math.floor((d-f)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===l&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const v=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(d);else if(v){const f=e.slides.filter(b=>b.column===d)[0];let w=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(w)&&(w=Math.max(e.slides.indexOf(f),0)),m=Math.floor(w/o.grid.rows)}else if(e.slides[d]){const f=e.slides[d].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=d}else m=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:d}),e.initialized&&Vt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function lo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var so={updateSize:Jn,updateSlides:Kn,updateAutoHeight:Qn,updateSlidesOffset:Zn,updateSlidesProgress:eo,updateProgress:to,updateSlidesClasses:io,updateActiveIndex:oo,updateClickedSlide:lo};function ao(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=jn(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function ro(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function co(){return-this.snapGrid[0]}function uo(){return-this.snapGrid[this.snapGrid.length-1]}function po(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return wi({swiper:l,targetPosition:-c,side:v?"left":"top"}),!0;s.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var vo={getTranslate:ao,setTranslate:ro,minTranslate:co,maxTranslate:uo,translateTo:po};function fo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Ci(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function mo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ci({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function ho(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ci({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var go={setTransition:fo,transitionStart:mo,transitionEnd:ho};function bo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:m,wrapperEl:f,enabled:w}=l;if(l.animating&&s.preventInteractionOnTransition||!w&&!n&&!o||l.destroyed)return!1;const b=Math.min(l.params.slidesPerGroupSkip,r);let k=b+Math.floor((r-b)/l.params.slidesPerGroup);k>=d.length&&(k=d.length-1);const p=-d[k];if(s.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const I=-Math.floor(p*100),g=Math.floor(u[h]*100),D=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?I>=g&&I<D-(D-g)/2?r=h:I>=g&&I<D&&(r=h+1):I>=g&&(r=h)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let y;if(r>v?y="next":r<v?y="prev":y="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),y!=="reset"&&(l.transitionStart(i,y),l.transitionEnd(i,y)),!1;if(s.cssMode){const h=l.isHorizontal(),I=m?p:-p;if(e===0){const g=l.virtual&&l.params.virtual.enabled;g&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),g&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[h?"scrollLeft":"scrollTop"]=I})):f[h?"scrollLeft":"scrollTop"]=I,g&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return wi({swiper:l,targetPosition:I,side:h?"left":"top"}),!0;f.scrollTo({[h?"left":"top"]:I,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,y),e===0?l.transitionEnd(i,y):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(I){!l||l.destroyed||I.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,y))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function yo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const m=r*o.params.grid.rows;s=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const m=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-d+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function So(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const f=m(v),w=l.map(p=>m(p));let b=l[w.indexOf(f)-1];if(typeof b>"u"&&o.cssMode){let p;l.forEach((y,h)=>{f>=y&&(p=h)}),typeof p<"u"&&(b=l[p>0?p-1:p])}let k=0;if(typeof b<"u"&&(k=r.indexOf(b),k<0&&(k=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(k=k-n.slidesPerViewDynamic("previous",!0)+1,k=Math.max(k,0))),o.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(k,t,e,i)}),!0;return n.slideTo(k,t,e,i)}function To(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function xo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Eo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Pe(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(Pe(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Co={slideTo:bo,slideToLoop:yo,slideNext:wo,slidePrev:So,slideReset:To,slideToClosest:xo,slideToClickedSlide:Eo};function Io(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Pe(n,`.${i.slideClass}, swiper-slide`).forEach((v,m)=>{v.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const m=e.isElement?rt("swiper-slide",[i.slideBlankClass]):rt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else ht("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(d){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else ht("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Do(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:m,params:f}=d,{centeredSlides:w}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):f.centeredSlides&&d.snapIndex<f.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=v,d.emit("loopFix");return}let b=f.slidesPerView;b==="auto"?b=d.slidesPerViewDynamic():(b=Math.ceil(parseFloat(f.slidesPerView,10)),w&&b%2===0&&(b=b+1));const k=f.slidesPerGroupAuto?b:f.slidesPerGroup;let p=k;p%k!==0&&(p+=k-p%k),p+=f.loopAdditionalSlides,d.loopedSlides=p;const y=d.grid&&f.grid&&f.grid.rows>1;u.length<b+p?ht("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&f.grid.fill==="row"&&ht("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],I=[];let g=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(A=>A.classList.contains(f.slideActiveClass))[0]):g=l;const D=n==="next"||!n,M=n==="prev"||!n;let E=0,S=0;const T=y?Math.ceil(u.length/f.grid.rows):u.length,x=(y?u[l].column:l)+(w&&typeof o>"u"?-b/2+.5:0);if(x<p){E=Math.max(p-x,k);for(let A=0;A<p-x;A+=1){const O=A-Math.floor(A/T)*T;if(y){const N=T-O-1;for(let V=u.length-1;V>=0;V-=1)u[V].column===N&&h.push(V)}else h.push(T-O-1)}}else if(x+b>T-p){S=Math.max(x-(T-p*2),k);for(let A=0;A<S;A+=1){const O=A-Math.floor(A/T)*T;y?u.forEach((N,V)=>{N.column===O&&I.push(V)}):I.push(O)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&h.forEach(A=>{u[A].swiperLoopMoveDOM=!0,m.prepend(u[A]),u[A].swiperLoopMoveDOM=!1}),D&&I.forEach(A=>{u[A].swiperLoopMoveDOM=!0,m.append(u[A]),u[A].swiperLoopMoveDOM=!1}),d.recalcSlides(),f.slidesPerView==="auto"?d.updateSlides():y&&(h.length>0&&M||I.length>0&&D)&&d.slides.forEach((A,O)=>{d.grid.updateSlide(O,A,d.slides)}),f.watchSlidesProgress&&d.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const A=d.slidesGrid[g],N=d.slidesGrid[g+E]-A;s?d.setTranslate(d.translate-N):(d.slideTo(g+Math.ceil(E),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-N,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-N))}else if(o){const A=y?h.length/f.grid.rows:h.length;d.slideTo(d.activeIndex+A,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(I.length>0&&D)if(typeof e>"u"){const A=d.slidesGrid[g],N=d.slidesGrid[g-S]-A;s?d.setTranslate(d.translate-N):(d.slideTo(g-S,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-N,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-N))}else{const A=y?I.length/f.grid.rows:I.length;d.slideTo(d.activeIndex-A,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const A={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...A,slideTo:O.params.slidesPerView===f.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...A,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}d.emit("loopFix")}function ko(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var _o={loopCreate:Io,loopFix:Do,loopDestroy:ko};function Ao(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Po(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Mo={setGrabCursor:Ao,unsetGrabCursor:Po};function Oo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ae()||n===ge())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 Ii(t,e,i){const n=ge(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Lo(t){const e=this,i=Ae();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"){Ii(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?Oo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const f=r.currentX,w=r.currentY;if(!Ii(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=f,r.startY=w,o.touchStartTime=Ee(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let b=!0;d.matches(o.focusableElements)&&(b=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const k=b&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||k)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function jo(t){const e=Ae(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(D=>D.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=u.pageX,v=u.pageY;if(d.preventedByNestedSwiper){l.startX=c,l.startY=v;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Ee());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(v<l.startY&&i.translate<=i.maxTranslate()||v>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=v;const m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let D;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(D=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?D>o.touchAngle:90-D>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&d.cancelable&&d.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&d.stopPropagation();let w=i.isHorizontal()?m:f,b=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(w=Math.abs(w)*(r?1:-1),b=Math.abs(b)*(r?1:-1)),l.diff=w,w*=o.touchRatio,r&&(w=-w,b=-b);const k=i.touchesDirection;i.swipeDirection=w>0?"prev":"next",i.touchesDirection=b>0?"prev":"next";const p=i.params.loop&&!o.cssMode,y=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&y&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const D=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(D)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&k!==i.touchesDirection&&p&&y&&Math.abs(w)>=1){Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=w+n.startTranslate;let I=!0,g=o.resistanceRatio;if(o.touchReleaseOnEdges&&(g=0),w>0?(p&&y&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+w)**g))):w<0&&(p&&y&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-w)**g))),I&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(w)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function No(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(g=>g.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Ee(),m=v-i.touchStartTime;if(e.allowClick){const g=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(g&&g[0]||n.target,g),e.emit("tap click",n),m<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ee(),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 f;if(r.followFinger?f=d?e.translate:-e.translate:f=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const w=f>=-e.maxTranslate()&&!e.params.loop;let b=0,k=e.slidesSizesGrid[0];for(let g=0;g<u.length;g+=g<r.slidesPerGroupSkip?1:r.slidesPerGroup){const D=g<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[g+D]<"u"?(w||f>=u[g]&&f<u[g+D])&&(b=g,k=u[g+D]-u[g]):(w||f>=u[g])&&(b=g,k=u[u.length-1]-u[u.length-2])}let p=null,y=null;r.rewind&&(e.isBeginning?y=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(f-u[b])/k,I=b<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:b+I):e.slideTo(b)),e.swipeDirection==="prev"&&(h>1-r.longSwipesRatio?e.slideTo(b+I):y!==null&&h<0&&Math.abs(h)>r.longSwipesRatio?e.slideTo(y):e.slideTo(b))}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(b+I):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:b+I),e.swipeDirection==="prev"&&e.slideTo(y!==null?y:b))}}function Di(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Bo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function zo(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Ro(t){const e=this;wt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Vo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ki=(t,e)=>{const i=Ae(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",Di,!0):t[u]("observerUpdate",Di,!0),o[d]("load",t.onLoad,{capture:!0})};function Fo(){const t=this,{params:e}=t;t.onTouchStart=Lo.bind(t),t.onTouchMove=jo.bind(t),t.onTouchEnd=No.bind(t),t.onDocumentTouchStart=Vo.bind(t),e.cssMode&&(t.onScroll=zo.bind(t)),t.onClick=Bo.bind(t),t.onLoad=Ro.bind(t),ki(t,"on")}function Ho(){ki(this,"off")}var Uo={attachEvents:Fo,detachEvents:Ho};const _i=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Go(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=_i(t,n),c=_i(t,d),v=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof d[p]>"u")return;const y=n[p]&&n[p].enabled,h=d[p]&&d[p].enabled;y&&!h&&t[p].disable(),!y&&h&&t[p].enable()});const m=d.direction&&d.direction!==n.direction,f=n.loop&&(d.slidesPerView!==n.slidesPerView||m),w=n.loop;m&&i&&t.changeDirection(),Te(t.params,d);const b=t.params.enabled,k=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!b?t.disable():!v&&b&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!w&&k?(t.loopCreate(e),t.updateSlides()):w&&!k&&t.loopDestroy()),t.emit("breakpoint",d)}function $o(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=ge(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var Wo={setBreakpoint:Go,getBreakpoint:$o};function qo(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function Yo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=qo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),o.classList.add(...e),t.emitContainerClasses()}function Xo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Jo={addClasses:Yo,removeClasses:Xo};function Ko(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Qo={checkOverflow:Ko},Ft={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Zo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Te(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Te(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Te(e,n)}}const Ht={eventsEmitter:Xn,update:so,translate:vo,transition:go,slide:Co,loop:_o,grabCursor:Mo,events:Uo,breakpoints:Wo,checkOverflow:Qo,classes:Jo},Ut={};let Gt=class ze{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Te({},i),e&&!i.el&&(i.el=e);const r=Ae();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const m=Te({},i,{el:v});c.push(new ze(m))}),c}const s=this;s.__swiper__=!0,s.support=xi(),s.device=Ei({userAgent:i.userAgent}),s.browser=Wn(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const d={};s.modules.forEach(c=>{c({params:i,swiper:s,extendParams:Zo(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Te({},Ft,d);return s.params=Te({},u,Ut,i),s.originalParams=Te({},s.params),s.passedParams=Te({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=Pe(i,`.${n.slideClass}, swiper-slide`),l=gt(o[0]);return gt(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=Pe(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,m;for(let f=u+1;f<l.length;f+=1)l[f]&&!m&&(v+=Math.ceil(l[f].swiperSlideSize),c+=1,v>d&&(m=!0));for(let f=u-1;f>=0;f-=1)l[f]&&!m&&(v+=l[f].swiperSlideSize,c+=1,v>d&&(m=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&wt(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()):Pe(n,o())[0];return!r&&i.params.createElements&&(r=rt("div",i.params.wrapperClass),n.append(r),Pe(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"||He(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||He(n,"direction")==="rtl"),wrongRTL:He(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?wt(i,l):l.addEventListener("load",r=>{wt(i,r.target)})}),Vt(i),i.initialized=!0,Vt(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,On(n)),n.destroyed=!0),null}static extendDefaults(e){Te(Ut,e)}static get extendedDefaults(){return Ut}static get defaults(){return Ft}static installModule(e){ze.prototype.__modules__||(ze.prototype.__modules__=[]);const i=ze.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ze.installModule(i)),ze):(ze.installModule(e),ze)}};Object.keys(Ht).forEach(t=>{Object.keys(Ht[t]).forEach(e=>{Gt.prototype[e]=Ht[t][e]})}),Gt.use([qn,Yn]);const Ai=["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 Xe(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function it(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]:Xe(e[n])&&Xe(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:it(t[n],e[n]):t[n]=e[n]})}function Pi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Mi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Oi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Li(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function el(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function tl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:v,navigation:m,scrollbar:f,virtual:w,thumbs:b}=e;let k,p,y,h,I,g,D,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(k=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(y=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&f&&!f.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(I=!0);const E=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),c[S].prevEl=void 0,c[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),c[S].el=void 0,e[S].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?g=!0:!c.loop&&n.loop?D=!0:M=!0),u.forEach(S=>{if(Xe(c[S])&&Xe(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&E(S);else{const T=n[S];(T===!0||T===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?T===!1&&E(S):c[S]=n[S]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&w&&c.virtual.enabled?(w.slides=i,w.update(!0)):o.includes("virtual")&&w&&c.virtual.enabled&&(i&&(w.slides=i),w.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),k&&b.init()&&b.update(!0),p&&(e.controller.control=c.controller.control),y&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),v.init(),v.render(),v.update()),h&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),f.init(),f.updateSize(),f.setTranslate()),I&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(g||M)&&e.loopDestroy(),(D||M)&&e.loopCreate(),e.update()}function il(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};it(i,Ft),i._emitClasses=!0,i.init=!1;const l={},r=Ai.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?Xe(t[d])?(i[d]={},o[d]={},it(i[d],t[d]),it(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function nl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Pi(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Mi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Oi(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function ol(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Ai.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(Xe(t[d])&&Xe(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const ll=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function St(){return St=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},St.apply(this,arguments)}function ji(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Ni(t){const e=[];return a.Children.toArray(t).forEach(i=>{ji(i)?e.push(i):i.props&&i.props.children&&Ni(i.props.children).forEach(n=>e.push(n))}),e}function sl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(ji(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=Ni(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function al(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function dt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const $t=a.createContext(null),Bi=()=>a.useContext($t),rl=a.createContext(null),Je=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,m]=a.useState(null),[f,w]=a.useState(!1),b=a.useRef(!1),k=a.useRef(null),p=a.useRef(null),y=a.useRef(null),h=a.useRef(null),I=a.useRef(null),g=a.useRef(null),D=a.useRef(null),M=a.useRef(null),{params:E,passedParams:S,rest:T,events:_}=il(s),{slides:x,slots:A}=sl(l),O=()=>{w(!f)};Object.assign(E.on,{_containerClasses(L,z){c(z)}});const N=()=>{Object.assign(E.on,_),d=!0;const L={...E};if(delete L.wrapperClass,p.current=new Gt(L),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=x;const z={cache:!1,slides:x,renderExternal:m,renderExternalUpdate:!1};it(p.current.params.virtual,z),it(p.current.originalParams.virtual,z)}};k.current||N(),p.current&&p.current.on("_beforeBreakpoint",O);const V=()=>{d||!_||!p.current||Object.keys(_).forEach(L=>{p.current.on(L,_[L])})},q=()=>{!_||!p.current||Object.keys(_).forEach(L=>{p.current.off(L,_[L])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",O)}),a.useEffect(()=>{!b.current&&p.current&&(p.current.emitSlidesClasses(),b.current=!0)}),dt(()=>{if(e&&(e.current=k.current),!!k.current)return p.current.destroyed&&N(),nl({el:k.current,nextEl:I.current,prevEl:g.current,paginationEl:D.current,scrollbarEl:M.current,swiper:p.current},E),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),dt(()=>{V();const L=ol(S,y.current,x,h.current,z=>z.key);return y.current=S,h.current=x,L.length&&p.current&&!p.current.destroyed&&tl({swiper:p.current,slides:x,passedParams:S,changedParams:L,nextEl:I.current,prevEl:g.current,scrollbarEl:M.current,paginationEl:D.current}),()=>{q()}}),dt(()=>{ll(p.current)},[v]);function H(){return E.virtual?al(p.current,x,v):x.map((L,z)=>a.cloneElement(L,{swiper:p.current,swiperSlideIndex:z}))}return a.createElement(n,St({ref:k,className:Li(`${u}${i?` ${i}`:""}`)},T),a.createElement(rl.Provider,{value:p.current},A["container-start"],a.createElement(o,{className:el(E.wrapperClass)},A["wrapper-start"],H(),A["wrapper-end"]),Pi(E)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:g,className:"swiper-button-prev"}),a.createElement("div",{ref:I,className:"swiper-button-next"})),Oi(E)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),Mi(E)&&a.createElement("div",{ref:D,className:"swiper-pagination"}),A["container-end"]))});Je.displayName="Swiper";const Oe=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[m,f]=a.useState("swiper-slide"),[w,b]=a.useState(!1);function k(I,g,D){g===v.current&&f(D)}dt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",k),()=>{l&&l.off("_slideClass",k)}}}),dt(()=>{l&&v.current&&!l.destroyed&&f(l.getSlideClasses(v.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(p):n,h=()=>{b(!0)};return a.createElement(i,St({ref:v,className:Li(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:h},c),r&&a.createElement($t.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},y(),s&&!w&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement($t.Provider,{value:p},y(),s&&!w&&a.createElement("div",{className:"swiper-lazy-preloader"})))});Oe.displayName="SwiperSlide";function Be(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=se(),o=a.useCallback((r,s,d,u)=>{var c,v,m,f,w,b,k,p,y,h,I,g,D,M;let E="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((m=r?.video)===null||m===void 0)&&m.bindProduct)?E="pdpPage":n?E="hashTagPage":!((f=r?.video)===null||f===void 0)&&f.url?E="videoPage":!((w=r?.video)===null||w===void 0)&&w.imgUrls&&(!((k=(b=r?.video)===null||b===void 0?void 0:b.imgUrls)===null||k===void 0)&&k.length)?E="imagePage":r?.product&&(E="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(y=s?.title)!==null&&y!==void 0?y:"",price:s?.price?s?.price+"":"0",productCollection:(h=s?.collection)!==null&&h!==void 0?h:"",fromKName:E,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(g=(I=r?.video)===null||I===void 0?void 0:I.itemId)!==null&&g!==void 0?g:"",ctatId:(D=d?.itemId)!==null&&D!==void 0?D:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,m,f,w;let b="";e&&(!((m=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||m===void 0)&&m.length||!((f=r?.video)===null||f===void 0)&&f.bindProduct)?b="pdpPage":r?.product&&(b="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:b,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(w=r?.video)===null||w===void 0?void 0:w.itemId,ctatId:d?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const dl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",cl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const m=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?u.current=f:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=pe.debounce(()=>{e?.()},300);return li.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:dl,alt:"close",className:"modal-icon"})),i))),u.current)};var Tt=a.memo(cl);const ul=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},pl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,m]=a.useState(!1),f=Number(i?.lineClamp||2),w=a.useRef(null),b=a.useRef(null),k=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?ul(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,y;((p=b?.current)===null||p===void 0?void 0:p.offsetHeight)>((y=w?.current)===null||y===void 0?void 0:y.offsetHeight)&&s?m(!0):m(!1),b.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:w,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:b,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??k},u?r||"show less":l||"show more"))};var xt=a.memo(pl);const vl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState();return a.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),a.useEffect(()=>{d(i)},[i]),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}}))});var Ce=a.memo(vl);const fl=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:m,onClick:f,schema:w,isDefault:b,bottom_image:k,tipText:p,isPost:y,viewTime:h,rec:I,swiper:g,commodityStyles:D,buttonStyle:M,index:E}=t,S=fe(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:T}=se(),{popupDetailData:_,bffEventReport:x,isPreview:A,waterFallData:O}=se(),{jumpToWeb:N,productView:V}=Be(),q=a.useRef(null),[H,L]=a.useState(!1),z=y?I:_,P=y?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,C=y?(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,F=y?E:_?.index,U=()=>{P?.link&&(N(_,P,C,F),y||V(z,P,C,h||q.current,F),window.location.href=window.getJointUtmLink(P.link))};a.useEffect(()=>{const Y=()=>{q.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const W=a.useMemo(()=>{var Y,ne,B,R,$;return P?.currency&&P?.price?`${(B=(ne=(Y=P?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||ne===void 0?void 0:ne.toUpperCase())!==null&&B!==void 0?B:""}${($=(R=P?.price)===null||R===void 0?void 0:R.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&$!==void 0?$:""}`:"$7,000"},[P?.price,P?.currency]),Z=A?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,ie=({isPost:Y})=>{var ne,B,R;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:D?.collection,hidden:!!P&&(!P?.collection||P?.collection==="")},(ne=P?.collection)!==null&&ne!==void 0?ne:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:D?.title,hidden:!!P&&!P?.title},(B=P?.title)!==null&&B!==void 0?B:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:D?.price,hidden:!!P&&!P?.price},W),a.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},a.createElement(xt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>L(!0),isPost:Y,text:(R=P?.info)!==null&&R!==void 0?R:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ve=require("lodash"),tn=require("uuid"),nn=require("pako"),a=require("react"),oi=require("qs"),Y=require("@emotion/css"),on=require("@ant-design/pro-components"),ln=require("react-dom"),sn=require("eventemitter3"),li=require("hls.js");function an(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var si=an(ln);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 ge(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const rn=/:\w+/g;var ai=(t,e)=>ge(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:f}=e[o];let m=s;d&&Object.entries(d).forEach(([b,w])=>{m=m.replace(rn,k=>k===b?w:k)}),c&&(m+=c),n[l]=u;try{const b=yield fetch(m,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(f)}).then(w=>w.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const ri="SXP_TOKEN_INFO",dn=(t,e)=>ge(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(ri);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(ri,JSON.stringify(s))}}return s});function ut(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const cn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},un=()=>{const t=tn.v4();return t?.replaceAll?t.replaceAll("-",""):cn(32)};function di(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=nn.inflate(n,{to:"string"});return JSON.parse(o)}let It=null;const pn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class vn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,It)return It;It=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?pn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let he=null;const fn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{he||(he=new vn),n&&he.setApiUrl(n),he.setAppId(t),he.setTenantId(e),he.setEnv(i)},getDetail:t=>{if(!he)return;const e=he.getTenantId(),i=he.getAppId(),n=he.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ge(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=di((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield ai(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>ge(void 0,void 0,void 0,function*(){if(!he)return;const e=he.getTenantId(),i=he.getAppId(),n=he.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ge(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=di((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>ge(void 0,void 0,void 0,function*(){if(!he)return;const e=yield dn(he,t),i=ut(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ve.isEmpty(n)&&(n=ut(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function Ne(){return a.useContext(gi)}function mn(){return a.useContext(hi)}const Dt="feRealSessionIdKey",ci=()=>{const t=un();return`${Date.now()}${t}`},hn=()=>{let t=bn();return t||(t=ci(),window.sessionStorage.setItem(Dt,t)),t},gn=()=>{const t=ci();window.sessionStorage.setItem(Dt,t)},bn=()=>window.sessionStorage.getItem(Dt),ui="SXP_FAKE_USER_ID",pi="FAKE_USER_STATE",yn=()=>{let t=window.localStorage.getItem(ui);return ve.isEmpty(t)&&(t=ut(36,62),window.localStorage.setItem(ui,t)),t},wn=()=>{const t=window.localStorage.getItem(pi);return ve.isEmpty(t)&&window.localStorage.setItem(pi,"true"),ve.isEmpty(t)};function xe(t,e){const{appDomain:i}=se();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const vi=a.createContext({rtcList:[],tagList:[]});var kt;(function(t){t[t.BFF=5]="BFF"})(kt||(kt={}));const Sn=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Tn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1})=>{const[f,m]=a.useState([]),[b,w]=a.useState([]),[k,p]=a.useState(!1),[g,h]=a.useState({rtc:"",requestId:""}),I=a.useRef(null),y=a.useRef(!1),[T,M]=a.useState(),[C,x]=a.useState(),[E,D]=a.useState(v),[S,_]=a.useState([]),[O,B]=a.useState(0),[V,W]=a.useState(!1),[H,N]=a.useState(null);a.useEffect(()=>{D(v)},[v]);const j=a.useMemo(()=>e?.find(z=>z.type===kt.BFF),[e]),P=a.useCallback((z,R)=>{if(!j)return;const G=j.url,ce=yn();if(R?.query){const re=oi.stringify(R.query);z=`${z}?${re}`}return R.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${G}/api/v1${z}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},j.headers),{"x-user-id":ce}),R.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${G}/api/v1${z}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ce},j.headers),method:R.method,body:JSON.stringify(R.body)}).then(re=>re.json()).catch(re=>Promise.reject(re))},[j]),A=a.useCallback(z=>ge(void 0,void 0,void 0,function*(){var R,G,ce,re;if(z={maxSize:o,defaultSize:(R=z?.defaultSize)!==null&&R!==void 0?R:l,"itemFilter.itemId":z?.["itemFilter.itemId"],"itemFilter.itemType":z?.["itemFilter.itemType"],hashTag:z?.hashTag,traceInfo:z?.traceInfo},i){const ye=(re=(ce=(G=i?.split("&"))===null||G===void 0?void 0:G.filter(Te=>{const Re=Te.split("=")[0];return Sn.includes(Re)}))===null||ce===void 0?void 0:ce.join("&"))!==null&&re!==void 0?re:"";z=Object.assign(Object.assign({},z),{channel:decodeURIComponent(ye)})}const ue=yield P?.("/recommend/list",{method:"GET",query:z});if(ue?.success)return z?.hashTag||h({rtc:ue.data.rtc,requestId:ue.data.requestId}),ue?.data}),[P,i,o,l]),X=a.useCallback(()=>ge(void 0,void 0,void 0,function*(){var z,R;if(f.length<=0)return;const G=yield A({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType});m(f.concat((z=G?.recList)!==null&&z!==void 0?z:[])),_(S.concat((R=G?.recList)!==null&&R!==void 0?R:[]))}),[A,f,C,S]),F=a.useCallback(({userInfo:z,eventInfo:R})=>{if(!n)return;z||(z={});const G=hn(),ce=Object.assign({sessionID:G,rtc:g.rtc,requestId:g.requestId},R),re=Object.entries(z).map(([ye,Te])=>({name:ye,value:Te})),ue=Object.entries(ce).map(([ye,Te])=>Te&&{name:ye,value:Te}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",z),console.log("eventInfo:",ce),console.log("========= \u7ED3\u675F ========="),P?.("/event/report",{method:"POST",body:{userInfo:re,eventInfo:ue},type:"beacon"})},[P,g,n]),U=a.useCallback(z=>ge(void 0,void 0,void 0,function*(){const R=yield P?.("/recommend/like",{method:"POST",body:z});return R?.success}),[P]),Q=a.useCallback(z=>ge(void 0,void 0,void 0,function*(){const R=yield P?.("/recommend/unlike",{method:"POST",body:z});return R?.success}),[P]),ne=a.useCallback(z=>ge(void 0,void 0,void 0,function*(){const R=yield P?.("/customform",{method:"POST",body:z});return R?.success}),[P]),te=a.useCallback(()=>ge(void 0,void 0,void 0,function*(){var z,R;if(i)try{const G=yield P?.("/tag/list",{method:"GET",query:{channel:i}});w((R=(z=G?.data)===null||z===void 0?void 0:z.tags)!==null&&R!==void 0?R:[])}catch(G){console.log("e",G)}}),[P,i]),q=a.useCallback((z,R,G,ce)=>{var re,ue,ye,Te,Re,De,ot,Ke,Qe,lt,Ze,st;const fe=G?.bindCta,Ct=((re=R?.video)===null||re===void 0?void 0:re.bindProduct)||((ue=R?.video)===null||ue===void 0?void 0:ue.bindProducts)&&((Te=(ye=R?.video)===null||ye===void 0?void 0:ye.bindProducts)===null||Te===void 0?void 0:Te.length)>0;let Ve="";V?Ve="hashTagPage":!((Re=R?.video)===null||Re===void 0)&&Re.url?Ve="videoPage":!((ot=(De=R?.video)===null||De===void 0?void 0:De.imgUrls)===null||ot===void 0)&&ot.length&&(Ve="imagePage"),F?.({eventInfo:Object.assign(Object.assign({},z),{ctaId:(Ke=fe?.itemId)!==null&&Ke!==void 0?Ke:"",ctaName:(Qe=fe?.title)!==null&&Qe!==void 0?Qe:"",contentTags:JSON.stringify(fe?.tags),position:ce+"",contentId:(Ze=(lt=R?.video)===null||lt===void 0?void 0:lt.itemId)!==null&&Ze!==void 0?Ze:"",productId:Ct?G?.itemId:"",traceInfo:(st=fe?.traceInfo)!==null&&st!==void 0?st:"",fromKName:Ve})})},[F,V]);a.useEffect(()=>{p(!0),te(),A().then(z=>{var R,G;m((R=z?.recList)!==null&&R!==void 0?R:[]),_((G=z?.recList)!==null&&G!==void 0?G:[])}).finally(()=>{p(!1),y.current=!0})},[]),a.useEffect(()=>{y.current&&(p(!0),te(),A().then(z=>{var R,G;m((R=z?.recList)!==null&&R!==void 0?R:[]),_((G=z?.recList)!==null&&G!==void 0?G:[])}).finally(()=>{p(!1)}))},[A,te]);const oe=xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(vi.Provider,{value:{rtcList:f,setRtcList:m,mutateLike:U,mutateUnlike:Q,submitForm:ne,popupDetailData:T,loadVideos:X,setPopupDetailData:M,getRecommendVideos:A,bffEventReport:F,utmVal:i,isPreview:r,loading:k,sxpParameter:s,waterFallData:C,setWaterFallData:x,ctaEvent:q,swiperRef:I,openHashtag:E,setOpenHashtag:D,cacheRtcList:S,setCacheRtcList:_,cacheActiveIndex:O,setCacheActiveIndex:B,isFromHashtag:V,setIsFromHashtag:W,appDomain:d,hashTagSize:u,loadingImage:c??oe,isOpenHashTag:v,tagList:b,setLoading:p,videoRef:H,setVideoRef:N}},t({rtcList:f,mutateLike:U,mutateUnlike:Q,submitForm:ne,tagList:b}))};var fi=a.memo(Tn);function se(){return a.useContext(vi)}var mi;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(mi||(mi={}));const hi=a.createContext({$store:{},options:[],configs:[]}),xn=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=Ne(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var f;e||ve.isEqual(d,l?.dataSource)||u((f=l?.dataSource)!==null&&f!==void 0?f:[])},[l?.dataSource,e]);const c=a.useCallback(()=>ge(void 0,void 0,void 0,function*(){const{$store:f,idMapName:m}=yield ai("",d);s(f),v(f,m)}),[d]),v=(f,m)=>{const b=[];Object.entries(f).forEach(([w,k])=>{Object.keys(k).forEach(p=>{const g={label:`${m[w]} - ${p}`,value:`{{ ${w}.${p} }}`};b.push(g)})}),o(b)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(hi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var En=a.memo(xn);const pt={id:ut(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},_t={id:"",duration:0,name:"none"},gi=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[pt],redoStack:[],popup:_t,setPopup:()=>{}}),bi=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[pt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,f]=a.useState([pt]),[m,b]=a.useState([[pt]]),[w,k]=a.useState([]),[p,g]=a.useState(_t);typeof window<"u"&&(window.sxpPopup=(M,C)=>{g(Object.assign(Object.assign(Object.assign({},_t),{id:M}),C))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{b([u.pointData]),k([])},[u.type]);const h=a.useCallback(M=>{const C=ve.cloneDeep(u);C&&(C.dataSource=M,c?.(C))},[u]),[I,y]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(b([M.pointData]),c(M))},exportSchema(){return ve.cloneDeep(u)},getPageInfoData(){return I},initPageInfoData(M){M&&y(M)}}));const T=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(gi.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:h,prePiontData:v,setPrePiontData:f,pageInfoData:I,setPageInfoData:M=>y(Object.assign(Object.assign({},I),M)),undoStack:m,redoStack:w,setRedoStack:k,setUndoStack:b,getCurPageConf:T,popup:p,setPopup:g}},a.createElement(En,{isSsr:i,enable:o},t))});var Cn=Object.freeze({__proto__:null,EditorCore:bi}),In=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ee=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var Dn={fontOptions:ee},At,kn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ee,initialValue:(At=ee?.[0])===null||At===void 0?void 0:At.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const _n=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,onClick:u}=t,c=me(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:v}=se(),f=a.useRef(),[m,b]=a.useState(!1),w=a.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),k=a.useMemo(()=>{if(d===void 0){const g=ve.cloneDeep(e)||w;return g?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return ve.cloneDeep(e)||w},[d,e,w]),p=ve.debounce(()=>ge(void 0,void 0,void 0,function*(){var g,h,I;b(!0);const y=yield(g=f?.current)===null||g===void 0?void 0:g.getFieldsValue(),T=(I=(h=Object.keys(y))===null||h===void 0?void 0:h.map(C=>({name:C,value:y[C]})))===null||I===void 0?void 0:I.filter(C=>C?.value);if(!T||!T?.length)return;const M=yield v?.({attributes:T});b(!1),M&&(window?.sxpPopup(""),M&&u?.())}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${Y.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:Y.css(Object.assign({},i))},c),a.createElement("div",{className:"pb-appoint-form-container"},a.createElement(on.BetaSchemaForm,{columns:k,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:f,className:"panel-reset"}))),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:p,className:"pb-appoint-form-btn",style:{color:r,background:l}},m?a.createElement(a.Fragment,null,"loading..."):s)))};var An=a.memo(_n);function we(t,e){return t.extend=e,t}const Pn=we(An,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:kn,bindableProps:[],interactionRender:In},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Pt,Mt,Mn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Pt=ee?.[0])===null||Pt===void 0?void 0:Pt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(Mt=ee?.[0])===null||Mt===void 0?void 0:Mt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function yi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ot(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:yi(e[i])&&yi(t[i])&&Object.keys(e[i]).length>0&&Ot(t[i],e[i])})}const wi={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ae(){const t=typeof document<"u"?document:{};return Ot(t,wi),t}const On={document:wi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function be(){const t=typeof window<"u"?window:{};return Ot(t,On),t}function He(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Ln(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function et(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ee(){return Date.now()}function jn(t){const e=be();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Nn(t,e){e===void 0&&(e="x");const i=be();let n,o,l;const r=jn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function vt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Bn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Se(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Bn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(vt(t[s])&&vt(n[s])?n[s].__swiper__?t[s]=n[s]:Se(t[s],n[s]):!vt(t[s])&&vt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Se(t[s],n[s])):t[s]=n[s])}}}return t}function ft(t,e,i){t.style.setProperty(e,i)}function Si(t){let{swiper:e,targetPosition:i,side:n}=t;const o=be(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(f,m)=>u==="next"&&f>=m||u==="prev"&&f<=m,v=()=>{s=new Date().getTime(),r===null&&(r=s);const f=Math.max(Math.min((s-r)/d,1),0),m=.5-Math.cos(f*Math.PI)/2;let b=l+m*(i-l);if(c(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),c(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(v)};v()}function Pe(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function mt(t){try{console.warn(t);return}catch{}}function at(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:He(e)),i}function zn(t){const e=be(),i=Ae(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function Rn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Vn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Ue(t,e){return be().getComputedStyle(t,null).getPropertyValue(e)}function ht(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ti(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Lt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function jt(t,e,i){const n=be();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 Me(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Fn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=be();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=Ee(),d;const u=[];function c(h){let M=0,C=0,x=0,E=0;return"detail"in h&&(C=h.detail),"wheelDelta"in h&&(C=-h.wheelDelta/120),"wheelDeltaY"in h&&(C=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=C,C=0),x=M*10,E=C*10,"deltaY"in h&&(E=h.deltaY),"deltaX"in h&&(x=h.deltaX),h.shiftKey&&!x&&(x=E,E=0),(x||E)&&h.deltaMode&&(h.deltaMode===1?(x*=40,E*=40):(x*=800,E*=800)),x&&!M&&(M=x<1?-1:1),E&&!C&&(C=E<1?-1:1),{spinX:M,spinY:C,pixelX:x,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function m(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ee()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Ee()-s<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),s=new l.Date().getTime(),!1)}function b(h){const I=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&I.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&I.releaseOnEdges)return!0;return!1}function w(h){let I=h,y=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const T=e.params.mousewheel;e.params.cssMode&&I.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const C=M&&M.contains(I.target);if(!e.mouseEntered&&!C&&!T.releaseOnEdges)return!0;I.originalEvent&&(I=I.originalEvent);let x=0;const E=e.rtlTranslate?-1:1,D=c(I);if(T.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))x=-D.pixelX*E;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*E:-D.pixelY;if(x===0)return!0;T.invert&&(x=-x);let S=e.getTranslate()+x*T.sensitivity;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),y=e.params.loop?!0:!(S===e.minTranslate()||S===e.maxTranslate()),y&&e.params.nested&&I.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const _={time:Ee(),delta:Math.abs(x),direction:Math.sign(x),raw:h};u.length>=2&&u.shift();const O=u.length?u[u.length-1]:void 0;if(u.push(_),O?(_.direction!==O.direction||_.delta>O.delta||_.time>O.time+150)&&m(_):m(_),b(_))return!0}else{const _={time:Ee(),delta:Math.abs(x),direction:Math.sign(x)},O=d&&_.time<d.time+500&&_.delta<=d.delta&&_.direction===d.direction;if(!O){d=void 0;let B=e.getTranslate()+x*T.sensitivity;const V=e.isBeginning,W=e.isEnd;if(B>=e.minTranslate()&&(B=e.minTranslate()),B<=e.maxTranslate()&&(B=e.maxTranslate()),e.setTransition(0),e.setTranslate(B),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!V&&e.isBeginning||!W&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:_.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const H=u.length?u[u.length-1]:void 0,N=u[0];if(u.push(_),H&&(_.delta>H.delta||_.direction!==H.direction))u.splice(0);else if(u.length>=15&&_.time-N.time<500&&N.delta-_.delta>=1&&_.delta<=6){const j=x>0?.8:.2;d=_,u.splice(0),r=et(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}r||(r=et(()=>{d=_,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",I),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),T.releaseOnEdges&&(B===e.minTranslate()||B===e.maxTranslate()))return!0}}return I.preventDefault?I.preventDefault():I.returnValue=!1,!1}function k(h){let I=e.el;e.params.mousewheel.eventsTarget!=="container"&&(I=document.querySelector(e.params.mousewheel.eventsTarget)),I[h]("mouseenter",v),I[h]("mouseleave",f),I[h]("wheel",w)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",w),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,w),!0):e.mousewheel.enabled?(k("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:p,disable:g})}function xi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Pe(t.el,`.${n[o]}`)[0];l||(l=at("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function tt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function gt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,g){const{bulletActiveClass:h}=e.params.pagination;p&&(p=p[`${g==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${h}-${g}`),p=p[`${g==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${h}-${g}-${g}`)))}function c(p){const g=p.target.closest(tt(e.params.pagination.bulletClass));if(!g)return;p.preventDefault();const h=ht(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function v(){const p=e.rtl,g=e.params.pagination;if(d())return;let h=e.pagination.el;h=Me(h);let I,y;const T=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(T/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(y=e.previousRealIndex||0,I=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(I=e.snapIndex,y=e.previousSnapIndex):(y=e.previousIndex||0,I=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let x,E,D;if(g.dynamicBullets&&(r=jt(C[0],e.isHorizontal()?"width":"height",!0),h.forEach(S=>{S.style[e.isHorizontal()?"width":"height"]=`${r*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&y!==void 0&&(s+=I-(y||0),s>g.dynamicMainBullets-1?s=g.dynamicMainBullets-1:s<0&&(s=0)),x=Math.max(I-s,0),E=x+(Math.min(C.length,g.dynamicMainBullets)-1),D=(E+x)/2),C.forEach(S=>{const _=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${g.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();S.classList.remove(..._)}),h.length>1)C.forEach(S=>{const _=ht(S);_===I?S.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&S.setAttribute("part","bullet"),g.dynamicBullets&&(_>=x&&_<=E&&S.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),_===x&&u(S,"prev"),_===E&&u(S,"next"))});else{const S=C[I];if(S&&S.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&C.forEach((_,O)=>{_.setAttribute("part",O===I?"bullet-active":"bullet")}),g.dynamicBullets){const _=C[x],O=C[E];for(let B=x;B<=E;B+=1)C[B]&&C[B].classList.add(...`${g.bulletActiveClass}-main`.split(" "));u(_,"prev"),u(O,"next")}}if(g.dynamicBullets){const S=Math.min(C.length,g.dynamicMainBullets+4),_=(r*S-r)/2-D*r,O=p?"right":"left";C.forEach(B=>{B.style[e.isHorizontal()?O:"top"]=`${_}px`})}}h.forEach((C,x)=>{if(g.type==="fraction"&&(C.querySelectorAll(tt(g.currentClass)).forEach(E=>{E.textContent=g.formatFractionCurrent(I+1)}),C.querySelectorAll(tt(g.totalClass)).forEach(E=>{E.textContent=g.formatFractionTotal(M)})),g.type==="progressbar"){let E;g.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const D=(I+1)/M;let S=1,_=1;E==="horizontal"?S=D:_=D,C.querySelectorAll(tt(g.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${S}) scaleY(${_})`,O.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(C.innerHTML=g.renderCustom(e,I+1,M),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 f(){const p=e.params.pagination;if(d())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 h=e.pagination.el;h=Me(h);let I="";if(p.type==="bullets"){let y=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&y>g&&(y=g);for(let T=0;T<y;T+=1)p.renderBullet?I+=p.renderBullet.call(e,T,p.bulletClass):I+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?I=p.renderFraction.call(e,p.currentClass,p.totalClass):I=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?I=p.renderProgressbar.call(e,p.progressbarFillClass):I=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(y=>{p.type!=="custom"&&(y.innerHTML=I||""),p.type==="bullets"&&e.pagination.bullets.push(...y.querySelectorAll(tt(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function m(){e.params.pagination=xi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let g;typeof p.el=="string"&&e.isElement&&(g=e.el.querySelector(p.el)),!g&&typeof p.el=="string"&&(g=[...document.querySelectorAll(p.el)]),g||(g=p.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(p.el)],g.length>1&&(g=g.filter(h=>Ti(h,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=Me(g),g.forEach(h=>{p.type==="bullets"&&p.clickable&&h.classList.add(...(p.clickableClass||"").split(" ")),h.classList.add(p.modifierClass+p.type),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(h.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&h.classList.add(p.progressbarOppositeClass),p.clickable&&h.addEventListener("click",c),e.enabled||h.classList.add(p.lockClass)}))}function b(){const p=e.params.pagination;if(d())return;let g=e.pagination.el;g&&(g=Me(g),g.forEach(h=>{h.classList.remove(p.hiddenClass),h.classList.remove(p.modifierClass+p.type),h.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(h.classList.remove(...(p.clickableClass||"").split(" ")),h.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:g}=e.pagination;g=Me(g),g.forEach(h=>{h.classList.remove(p.horizontalClass,p.verticalClass),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?k():(m(),f(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{f(),v()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Me(p),p.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,g)=>{const h=g.target,I=Me(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&I&&I.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const y=I[0].classList.contains(e.params.pagination.hiddenClass);o(y===!0?"paginationShow":"paginationHide"),I.forEach(T=>T.classList.toggle(e.params.pagination.hiddenClass))}});const w=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Me(p),p.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),m(),f(),v()},k=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Me(p),p.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:w,disable:k,render:f,update:v,init:m,destroy:b})}function Hn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ae();let r=!1,s=null,d=null,u,c,v,f;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S,rtlTranslate:_}=e,{dragEl:O,el:B}=S,V=e.params.scrollbar,W=e.params.loop?e.progressLoop:e.progress;let H=c,N=(v-c)*W;_?(N=-N,N>0?(H=c-N,N=0):-N+c>v&&(H=v+N)):N<0?(H=c+N,N=0):N+c>v&&(H=v-N),e.isHorizontal()?(O.style.transform=`translate3d(${N}px, 0, 0)`,O.style.width=`${H}px`):(O.style.transform=`translate3d(0px, ${N}px, 0)`,O.style.height=`${H}px`),V.hide&&(clearTimeout(s),B.style.opacity=1,s=setTimeout(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3))}function b(S){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}function w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S}=e,{dragEl:_,el:O}=S;_.style.width="",_.style.height="",v=e.isHorizontal()?O.offsetWidth:O.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?_.style.width=`${c}px`:_.style.height=`${c}px`,f>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&S.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function k(S){return e.isHorizontal()?S.clientX:S.clientY}function p(S){const{scrollbar:_,rtlTranslate:O}=e,{el:B}=_;let V;V=(k(S)-zn(B)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),V=Math.max(Math.min(V,1),0),O&&(V=1-V);const W=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*V;e.updateProgress(W),e.setTranslate(W),e.updateActiveIndex(),e.updateSlidesClasses()}function g(S){const _=e.params.scrollbar,{scrollbar:O,wrapperEl:B}=e,{el:V,dragEl:W}=O;r=!0,u=S.target===W?k(S)-S.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),B.style.transitionDuration="100ms",W.style.transitionDuration="100ms",p(S),clearTimeout(d),V.style.transitionDuration="0ms",_.hide&&(V.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",S)}function h(S){const{scrollbar:_,wrapperEl:O}=e,{el:B,dragEl:V}=_;r&&(S.preventDefault?S.preventDefault():S.returnValue=!1,p(S),O.style.transitionDuration="0ms",B.style.transitionDuration="0ms",V.style.transitionDuration="0ms",o("scrollbarDragMove",S))}function I(S){const _=e.params.scrollbar,{scrollbar:O,wrapperEl:B}=e,{el:V}=O;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",B.style.transitionDuration=""),_.hide&&(clearTimeout(d),d=et(()=>{V.style.opacity=0,V.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",S),_.snapOnRelease&&e.slideToClosest())}function y(S){const{scrollbar:_,params:O}=e,B=_.el;if(!B)return;const V=B,W=O.passiveListeners?{passive:!1,capture:!1}:!1,H=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!V)return;const N=S==="on"?"addEventListener":"removeEventListener";V[N]("pointerdown",g,W),l[N]("pointermove",h,W),l[N]("pointerup",I,H)}function T(){!e.params.scrollbar.el||!e.scrollbar.el||y("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||y("off")}function C(){const{scrollbar:S,el:_}=e;e.params.scrollbar=xi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let B;if(typeof O.el=="string"&&e.isElement&&(B=e.el.querySelector(O.el)),!B&&typeof O.el=="string"){if(B=l.querySelectorAll(O.el),!B.length)return}else B||(B=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&B.length>1&&_.querySelectorAll(O.el).length===1&&(B=_.querySelector(O.el)),B.length>0&&(B=B[0]),B.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let V;B&&(V=B.querySelector(tt(e.params.scrollbar.dragClass)),V||(V=at("div",e.params.scrollbar.dragClass),B.append(V))),Object.assign(S,{el:B,dragEl:V}),O.draggable&&T(),B&&B.classList[e.enabled?"remove":"add"](...He(e.params.scrollbar.lockClass))}function x(){const S=e.params.scrollbar,_=e.scrollbar.el;_&&_.classList.remove(...He(e.isHorizontal()?S.horizontalClass:S.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const S=e.params.scrollbar;let{el:_}=e.scrollbar;_=Me(_),_.forEach(O=>{O.classList.remove(S.horizontalClass,S.verticalClass),O.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(C(),w(),m())}),n("update resize observerUpdate lock unlock changeDirection",()=>{w()}),n("setTranslate",()=>{m()}),n("setTransition",(S,_)=>{b(_)}),n("enable disable",()=>{const{el:S}=e.scrollbar;S&&S.classList[e.enabled?"remove":"add"](...He(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const E=()=>{e.el.classList.remove(...He(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...He(e.params.scrollbar.scrollbarDisabledClass)),C(),w(),m()},D=()=>{e.el.classList.add(...He(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...He(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:E,disable:D,updateSize:w,setTranslate:m,init:C,destroy:x})}function bt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),f,m,b,w,k,p,g;function h(H){!e||e.destroyed||!e.wrapperEl||H.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!g&&E())}const I=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(u=c,f=!1);const H=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=H,o("autoplayTimeLeft",H,H/d),s=requestAnimationFrame(()=>{I()})},y=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:H=e.slides[e.activeIndex],H?parseInt(H.getAttribute("data-swiper-autoplay"),10):void 0},T=H=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),I();let N=typeof H>"u"?e.params.autoplay.delay:H;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const j=y();!Number.isNaN(j)&&j>0&&typeof H>"u"&&(N=j,d=j,u=j),c=N;const P=e.params.speed,A=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,P,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(P,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,P,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{T()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{A()},N)):requestAnimationFrame(()=>{A()}),N},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,T(),o("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},x=(H,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),H||(p=!0);const j=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,N){k&&(c=e.params.autoplay.delay),k=!1,j();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),j())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,T(c)):T(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const H=Ae();H.visibilityState==="hidden"&&(p=!0,x(!0)),H.visibilityState==="visible"&&E()},S=H=>{H.pointerType==="mouse"&&(p=!0,g=!0,!(e.animating||e.autoplay.paused)&&x(!0))},_=H=>{H.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&E())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",_))},B=()=>{e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",_)},V=()=>{Ae().addEventListener("visibilitychange",D)},W=()=>{Ae().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(O(),V(),M())}),n("destroy",()=>{B(),W(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(b||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():x(!0,!0)}),n("beforeTransitionStart",(H,N,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?x(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}m=!0,b=!1,p=!1,w=setTimeout(()=>{p=!0,b=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(w),clearTimeout(r),e.params.autoplay.disableOnInteraction){b=!1,m=!1;return}b&&e.params.cssMode&&E(),b=!1,m=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:M,stop:C,pause:x,resume:E})}function Un(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ee()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:f,snapGrid:m,touchEventsData:b}=e,k=Ee()-b.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(b.velocities.length>1){const C=b.velocities.pop(),x=b.velocities.pop(),E=C.position-x.position,D=C.time-x.time;e.velocity=E/D,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Ee()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,b.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const g=e.velocity*p;let h=e.translate+g;f&&(h=-h);let I=!1,y;const T=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-T&&(h=e.maxTranslate()-T),y=e.maxTranslate(),I=!0,b.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>T&&(h=e.minTranslate()+T),y=e.minTranslate(),I=!0,b.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let C;for(let x=0;x<m.length;x+=1)if(m[x]>-h){C=x;break}Math.abs(m[C]-h)<Math.abs(m[C-1]-h)||e.swipeDirection==="next"?h=m[C]:h=m[C-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const C=Math.abs((f?-h:h)-e.translate),x=e.slidesSizesGrid[e.activeIndex];C<x?p=c.speed:C<2*x?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&I?(e.updateProgress(y),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Lt(v,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(y),Lt(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Lt(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||k>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let Nt;function Gn(){const t=be(),e=Ae();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ei(){return Nt||(Nt=Gn()),Nt}let Bt;function $n(t){let{userAgent:e}=t===void 0?{}:t;const i=Ei(),n=be(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=o==="Win32";let b=o==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&b&&i.touch&&w.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),b=!1),u&&!m&&(r.os="android",r.android=!0),(c||f||v)&&(r.os="ios",r.ios=!0),r}function Ci(t){return t===void 0&&(t={}),Bt||(Bt=$n(t)),Bt}let zt;function Wn(){const t=be(),e=Ci();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function qn(){return zt||(zt=Wn()),zt}function Yn(t){let{swiper:e,on:i,emit:n}=t;const o=be();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:f,height:m}=e;let b=f,w=m;v.forEach(k=>{let{contentBoxSize:p,contentRect:g,target:h}=k;h&&h!==e.el||(b=g?g.width:(p[0]||p).inlineSize,w=g?g.height:(p[0]||p).blockSize)}),(b!==f||w!==m)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function Xn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=be(),s=function(c,v){v===void 0&&(v={});const f=r.MutationObserver||r.WebkitMutationObserver,m=new f(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const w=function(){o("observerUpdate",b[0])};r.requestAnimationFrame?r.requestAnimationFrame(w):r.setTimeout(w,0)});m.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),l.push(m)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ti(e.hostEl);for(let v=0;v<c.length;v+=1)s(c[v])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",u)}var Jn={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.apply(n,i)})}),t}};function Kn(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(Ue(n,"padding-left")||0,10)-parseInt(Ue(n,"padding-right")||0,10),i=i-parseInt(Ue(n,"padding-top")||0,10)-parseInt(Ue(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Qn(){const t=this;function e(E,D){return parseFloat(E.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Pe(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let f=[];const m=[],b=[];let w=i.slidesOffsetBefore;typeof w=="function"&&(w=i.slidesOffsetBefore.call(t));let k=i.slidesOffsetAfter;typeof k=="function"&&(k=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,g=t.slidesGrid.length;let h=i.spaceBetween,I=-w,y=0,T=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,c.forEach(E=>{r?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(ft(n,"--swiper-centered-offset-before",""),ft(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let C;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<v;E+=1){C=0;let D;if(c[E]&&(D=c[E]),M&&t.grid.updateSlide(E,D,c),!(c[E]&&Ue(D,"display")==="none")){if(i.slidesPerView==="auto"){x&&(c[E].style[t.getDirectionLabel("width")]="");const S=getComputedStyle(D),_=D.style.transform,O=D.style.webkitTransform;if(_&&(D.style.transform="none"),O&&(D.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?jt(D,"width",!0):jt(D,"height",!0);else{const B=e(S,"width"),V=e(S,"padding-left"),W=e(S,"padding-right"),H=e(S,"margin-left"),N=e(S,"margin-right"),j=S.getPropertyValue("box-sizing");if(j&&j==="border-box")C=B+H+N;else{const{clientWidth:P,offsetWidth:A}=D;C=B+V+W+H+N+(A-P)}}_&&(D.style.transform=_),O&&(D.style.webkitTransform=O),i.roundLengths&&(C=Math.floor(C))}else C=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${C}px`);c[E]&&(c[E].swiperSlideSize=C),b.push(C),i.centeredSlides?(I=I+C/2+y/2+h,y===0&&E!==0&&(I=I-l/2-h),E===0&&(I=I-l/2-h),Math.abs(I)<1/1e3&&(I=0),i.roundLengths&&(I=Math.floor(I)),T%i.slidesPerGroup===0&&f.push(I),m.push(I)):(i.roundLengths&&(I=Math.floor(I)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup===0&&f.push(I),m.push(I),I=I+C+h),t.virtualSize+=C+h,y=C,T+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+k,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(C,f),!i.centeredSlides){const E=[];for(let D=0;D<f.length;D+=1){let S=f[D];i.roundLengths&&(S=Math.floor(S)),f[D]<=t.virtualSize-l&&E.push(S)}f=E,Math.floor(t.virtualSize-l)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-l)}if(d&&i.loop){const E=b[0]+h;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),S=E*i.slidesPerGroup;for(let _=0;_<D;_+=1)f.push(f[f.length-1]+S)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&f.push(f[f.length-1]+E),m.push(m[m.length-1]+E),t.virtualSize+=E}if(f.length===0&&(f=[0]),h!==0){const E=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((D,S)=>!i.cssMode||i.loop?!0:S!==c.length-1).forEach(D=>{D.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;b.forEach(S=>{E+=S+(h||0)}),E-=h;const D=E-l;f=f.map(S=>S<=0?-w:S>D?D+k:S)}if(i.centerInsufficientSlides){let E=0;if(b.forEach(D=>{E+=D+(h||0)}),E-=h,E<l){const D=(l-E)/2;f.forEach((S,_)=>{f[_]=S-D}),m.forEach((S,_)=>{m[_]=S+D})}}if(Object.assign(t,{slides:c,snapGrid:f,slidesGrid:m,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){ft(n,"--swiper-centered-offset-before",`${-f[0]}px`),ft(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const E=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(S=>S+E),t.slidesGrid=t.slidesGrid.map(S=>S+D)}if(v!==u&&t.emit("slidesLengthChange"),f.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(E):D&&t.el.classList.remove(E)}}function Zn(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function eo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function to(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),n.forEach(d=>{d.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),f=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),m=-(r-c),b=m+e.slidesSizesGrid[d],w=m>=0&&m<=e.size-e.slidesSizesGrid[d];(m>=0&&m<e.size-1||b>1&&b<=e.size||m<=0&&b>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),w&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-f:f}}function io(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],m=e.slidesGrid[v],b=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=f?s=(w-f)/b:s=(w+b-m)/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&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function no(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Pe(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Vn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=Rn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const yt=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Rt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Vt=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Rt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Rt(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)&&Rt(t,r)};function oo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function lo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=m=>{let b=m-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 d>"u"&&(d=oo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const m=Math.min(o.slidesPerGroupSkip,d);u=m+Math.floor((d-m)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===l&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const v=e.grid&&o.grid&&o.grid.rows>1;let f;if(e.virtual&&o.virtual.enabled&&o.loop)f=c(d);else if(v){const m=e.slides.filter(w=>w.column===d)[0];let b=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(m),0)),f=Math.floor(b/o.grid.rows)}else if(e.slides[d]){const m=e.slides[d].getAttribute("data-swiper-slide-index");m?f=parseInt(m,10):f=d}else f=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:f,previousIndex:l,activeIndex:d}),e.initialized&&Vt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function so(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var ao={updateSize:Kn,updateSlides:Qn,updateAutoHeight:Zn,updateSlidesOffset:eo,updateSlidesProgress:to,updateProgress:io,updateSlidesClasses:no,updateActiveIndex:lo,updateClickedSlide:so};function ro(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=Nn(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function co(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function uo(){return-this.snapGrid[0]}function po(){return-this.snapGrid[this.snapGrid.length-1]}function vo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Si({swiper:l,targetPosition:-c,side:v?"left":"top"}),!0;s.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(f){!l||l.destroyed||f.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var fo={getTranslate:ro,setTranslate:co,minTranslate:uo,maxTranslate:po,translateTo:vo};function mo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Ii(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function ho(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ii({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function go(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ii({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var bo={setTransition:mo,transitionStart:ho,transitionEnd:go};function yo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:f,wrapperEl:m,enabled:b}=l;if(l.animating&&s.preventInteractionOnTransition||!b&&!n&&!o||l.destroyed)return!1;const w=Math.min(l.params.slidesPerGroupSkip,r);let k=w+Math.floor((r-w)/l.params.slidesPerGroup);k>=d.length&&(k=d.length-1);const p=-d[k];if(s.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const I=-Math.floor(p*100),y=Math.floor(u[h]*100),T=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?I>=y&&I<T-(T-y)/2?r=h:I>=y&&I<T&&(r=h+1):I>=y&&(r=h)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(f?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let g;if(r>v?g="next":r<v?g="prev":g="reset",f&&-p===l.translate||!f&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),g!=="reset"&&(l.transitionStart(i,g),l.transitionEnd(i,g)),!1;if(s.cssMode){const h=l.isHorizontal(),I=f?p:-p;if(e===0){const y=l.virtual&&l.params.virtual.enabled;y&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),y&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[h?"scrollLeft":"scrollTop"]=I})):m[h?"scrollLeft":"scrollTop"]=I,y&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Si({swiper:l,targetPosition:I,side:h?"left":"top"}),!0;m.scrollTo({[h?"left":"top"]:I,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),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(I){!l||l.destroyed||I.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 wo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const f=r*o.params.grid.rows;s=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const f=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?s+1:s-d+1,slideRealIndex:f==="next"?o.realIndex:void 0})}if(l){const f=r*o.params.grid.rows;r=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function So(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function To(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function f(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const m=f(v),b=l.map(p=>f(p));let w=l[b.indexOf(m)-1];if(typeof w>"u"&&o.cssMode){let p;l.forEach((g,h)=>{m>=g&&(p=h)}),typeof p<"u"&&(w=l[p>0?p-1:p])}let k=0;if(typeof w<"u"&&(k=r.indexOf(w),k<0&&(k=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(k=k-n.slidesPerViewDynamic("previous",!0)+1,k=Math.max(k,0))),o.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(k,t,e,i)}),!0;return n.slideTo(k,t,e,i)}function xo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Eo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Co(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Pe(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(Pe(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Io={slideTo:yo,slideToLoop:wo,slideNext:So,slidePrev:To,slideReset:xo,slideToClosest:Eo,slideToClickedSlide:Co};function Do(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Pe(n,`.${i.slideClass}, swiper-slide`).forEach((v,f)=>{v.setAttribute("data-swiper-slide-index",f)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const f=e.isElement?at("swiper-slide",[i.slideBlankClass]):at("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(f)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else mt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(d){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else mt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function ko(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:f,params:m}=d,{centeredSlides:b}=m;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&m.virtual.enabled){i&&(!m.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):m.centeredSlides&&d.snapIndex<m.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=v,d.emit("loopFix");return}let w=m.slidesPerView;w==="auto"?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(m.slidesPerView,10)),b&&w%2===0&&(w=w+1));const k=m.slidesPerGroupAuto?w:m.slidesPerGroup;let p=k;p%k!==0&&(p+=k-p%k),p+=m.loopAdditionalSlides,d.loopedSlides=p;const g=d.grid&&m.grid&&m.grid.rows>1;u.length<w+p?mt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&m.grid.fill==="row"&&mt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],I=[];let y=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(_=>_.classList.contains(m.slideActiveClass))[0]):y=l;const T=n==="next"||!n,M=n==="prev"||!n;let C=0,x=0;const E=g?Math.ceil(u.length/m.grid.rows):u.length,S=(g?u[l].column:l)+(b&&typeof o>"u"?-w/2+.5:0);if(S<p){C=Math.max(p-S,k);for(let _=0;_<p-S;_+=1){const O=_-Math.floor(_/E)*E;if(g){const B=E-O-1;for(let V=u.length-1;V>=0;V-=1)u[V].column===B&&h.push(V)}else h.push(E-O-1)}}else if(S+w>E-p){x=Math.max(S-(E-p*2),k);for(let _=0;_<x;_+=1){const O=_-Math.floor(_/E)*E;g?u.forEach((B,V)=>{B.column===O&&I.push(V)}):I.push(O)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&h.forEach(_=>{u[_].swiperLoopMoveDOM=!0,f.prepend(u[_]),u[_].swiperLoopMoveDOM=!1}),T&&I.forEach(_=>{u[_].swiperLoopMoveDOM=!0,f.append(u[_]),u[_].swiperLoopMoveDOM=!1}),d.recalcSlides(),m.slidesPerView==="auto"?d.updateSlides():g&&(h.length>0&&M||I.length>0&&T)&&d.slides.forEach((_,O)=>{d.grid.updateSlide(O,_,d.slides)}),m.watchSlidesProgress&&d.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const _=d.slidesGrid[y],B=d.slidesGrid[y+C]-_;s?d.setTranslate(d.translate-B):(d.slideTo(y+Math.ceil(C),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-B,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-B))}else if(o){const _=g?h.length/m.grid.rows:h.length;d.slideTo(d.activeIndex+_,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(I.length>0&&T)if(typeof e>"u"){const _=d.slidesGrid[y],B=d.slidesGrid[y-x]-_;s?d.setTranslate(d.translate-B):(d.slideTo(y-x,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-B,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-B))}else{const _=g?I.length/m.grid.rows:I.length;d.slideTo(d.activeIndex-_,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const _={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({..._,slideTo:O.params.slidesPerView===m.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({..._,slideTo:d.controller.control.params.slidesPerView===m.slidesPerView?i:!1})}d.emit("loopFix")}function _o(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Ao={loopCreate:Do,loopFix:ko,loopDestroy:_o};function Po(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Mo(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Oo={setGrabCursor:Po,unsetGrabCursor:Mo};function Lo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ae()||n===be())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 Di(t,e,i){const n=be(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function jo(t){const e=this,i=Ae();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"){Di(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(f?Lo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const m=r.currentX,b=r.currentY;if(!Di(e,n,m))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=m,r.startY=b,o.touchStartTime=Ee(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let w=!0;d.matches(o.focusableElements)&&(w=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const k=w&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||k)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function No(t){const e=Ae(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(T=>T.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=u.pageX,v=u.pageY;if(d.preventedByNestedSwiper){l.startX=c,l.startY=v;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Ee());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(v<l.startY&&i.translate<=i.maxTranslate()||v>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=v;const f=l.currentX-l.startX,m=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(f**2+m**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let T;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:f*f+m*m>=25&&(T=Math.atan2(Math.abs(m),Math.abs(f))*180/Math.PI,n.isScrolling=i.isHorizontal()?T>o.touchAngle:90-T>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&d.cancelable&&d.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&d.stopPropagation();let b=i.isHorizontal()?f:m,w=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(r?1:-1),w=Math.abs(w)*(r?1:-1)),l.diff=b,b*=o.touchRatio,r&&(b=-b,w=-w);const k=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=w>0?"prev":"next";const p=i.params.loop&&!o.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const T=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(T)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&k!==i.touchesDirection&&p&&g&&Math.abs(b)>=1){Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let I=!0,y=o.resistanceRatio;if(o.touchReleaseOnEdges&&(y=0),b>0?(p&&g&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**y))):b<0&&(p&&g&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**y))),I&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(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 Bo(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(y=>y.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Ee(),f=v-i.touchStartTime;if(e.allowClick){const y=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(y&&y[0]||n.target,y),e.emit("tap click",n),f<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ee(),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 m;if(r.followFinger?m=d?e.translate:-e.translate:m=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const b=m>=-e.maxTranslate()&&!e.params.loop;let w=0,k=e.slidesSizesGrid[0];for(let y=0;y<u.length;y+=y<r.slidesPerGroupSkip?1:r.slidesPerGroup){const T=y<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[y+T]<"u"?(b||m>=u[y]&&m<u[y+T])&&(w=y,k=u[y+T]-u[y]):(b||m>=u[y])&&(w=y,k=u[u.length-1]-u[u.length-2])}let p=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&&(p=0));const h=(m-u[w])/k,I=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(f>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:w+I):e.slideTo(w)),e.swipeDirection==="prev"&&(h>1-r.longSwipesRatio?e.slideTo(w+I):g!==null&&h<0&&Math.abs(h)>r.longSwipesRatio?e.slideTo(g):e.slideTo(w))}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(w+I):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:w+I),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:w))}}function ki(){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 zo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Ro(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Vo(t){const e=this;yt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Fo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _i=(t,e)=>{const i=Ae(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",ki,!0):t[u]("observerUpdate",ki,!0),o[d]("load",t.onLoad,{capture:!0})};function Ho(){const t=this,{params:e}=t;t.onTouchStart=jo.bind(t),t.onTouchMove=No.bind(t),t.onTouchEnd=Bo.bind(t),t.onDocumentTouchStart=Fo.bind(t),e.cssMode&&(t.onScroll=Ro.bind(t)),t.onClick=zo.bind(t),t.onLoad=Vo.bind(t),_i(t,"on")}function Uo(){_i(this,"off")}var Go={attachEvents:Ho,detachEvents:Uo};const Ai=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function $o(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=Ai(t,n),c=Ai(t,d),v=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof d[p]>"u")return;const g=n[p]&&n[p].enabled,h=d[p]&&d[p].enabled;g&&!h&&t[p].disable(),!g&&h&&t[p].enable()});const f=d.direction&&d.direction!==n.direction,m=n.loop&&(d.slidesPerView!==n.slidesPerView||f),b=n.loop;f&&i&&t.changeDirection(),Se(t.params,d);const w=t.params.enabled,k=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!w?t.disable():!v&&w&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&k?(t.loopCreate(e),t.updateSlides()):b&&!k&&t.loopDestroy()),t.emit("breakpoint",d)}function Wo(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=be(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var qo={setBreakpoint:$o,getBreakpoint:Wo};function Yo(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function Xo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Yo(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),o.classList.add(...e),t.emitContainerClasses()}function Jo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Ko={addClasses:Xo,removeClasses:Jo};function Qo(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Zo={checkOverflow:Qo},Ft={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function el(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Se(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Se(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Se(e,n)}}const Ht={eventsEmitter:Jn,update:ao,translate:fo,transition:bo,slide:Io,loop:Ao,grabCursor:Oo,events:Go,breakpoints:qo,checkOverflow:Zo,classes:Ko},Ut={};let Gt=class ze{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Se({},i),e&&!i.el&&(i.el=e);const r=Ae();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const f=Se({},i,{el:v});c.push(new ze(f))}),c}const s=this;s.__swiper__=!0,s.support=Ei(),s.device=Ci({userAgent:i.userAgent}),s.browser=qn(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const d={};s.modules.forEach(c=>{c({params:i,swiper:s,extendParams:el(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Se({},Ft,d);return s.params=Se({},u,Ut,i),s.originalParams=Se({},s.params),s.passedParams=Se({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=Pe(i,`.${n.slideClass}, swiper-slide`),l=ht(o[0]);return ht(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Pe(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,f;for(let m=u+1;m<l.length;m+=1)l[m]&&!f&&(v+=Math.ceil(l[m].swiperSlideSize),c+=1,v>d&&(f=!0));for(let m=u-1;m>=0;m-=1)l[m]&&!f&&(v+=l[m].swiperSlideSize,c+=1,v>d&&(f=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&yt(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()):Pe(n,o())[0];return!r&&i.params.createElements&&(r=at("div",i.params.wrapperClass),n.append(r),Pe(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"||Ue(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ue(n,"direction")==="rtl"),wrongRTL:Ue(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?yt(i,l):l.addEventListener("load",r=>{yt(i,r.target)})}),Vt(i),i.initialized=!0,Vt(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,Ln(n)),n.destroyed=!0),null}static extendDefaults(e){Se(Ut,e)}static get extendedDefaults(){return Ut}static get defaults(){return Ft}static installModule(e){ze.prototype.__modules__||(ze.prototype.__modules__=[]);const i=ze.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ze.installModule(i)),ze):(ze.installModule(e),ze)}};Object.keys(Ht).forEach(t=>{Object.keys(Ht[t]).forEach(e=>{Gt.prototype[e]=Ht[t][e]})}),Gt.use([Yn,Xn]);const Pi=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Xe(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function it(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]:Xe(e[n])&&Xe(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:it(t[n],e[n]):t[n]=e[n]})}function Mi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Oi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Li(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function ji(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function tl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function il(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:v,navigation:f,scrollbar:m,virtual:b,thumbs:w}=e;let k,p,g,h,I,y,T,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(k=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(g=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&m&&!m.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(I=!0);const C=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?y=!0:!c.loop&&n.loop?T=!0:M=!0),u.forEach(x=>{if(Xe(c[x])&&Xe(n[x]))Object.assign(c[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&C(x);else{const E=n[x];(E===!0||E===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?E===!1&&C(x):c[x]=n[x]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&b&&c.virtual.enabled?(b.slides=i,b.update(!0)):o.includes("virtual")&&b&&c.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),k&&w.init()&&w.update(!0),p&&(e.controller.control=c.controller.control),g&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),v.init(),v.render(),v.update()),h&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),m.init(),m.updateSize(),m.setTranslate()),I&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),f.init(),f.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(y||M)&&e.loopDestroy(),(T||M)&&e.loopCreate(),e.update()}function nl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};it(i,Ft),i._emitClasses=!0,i.init=!1;const l={},r=Pi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?Xe(t[d])?(i[d]={},o[d]={},it(i[d],t[d]),it(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function ol(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Mi(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Oi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Li(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function ll(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Pi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(Xe(t[d])&&Xe(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const sl=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function wt(){return wt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},wt.apply(this,arguments)}function Ni(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Bi(t){const e=[];return a.Children.toArray(t).forEach(i=>{Ni(i)?e.push(i):i.props&&i.props.children&&Bi(i.props.children).forEach(n=>e.push(n))}),e}function al(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(Ni(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=Bi(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function rl(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function rt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const $t=a.createContext(null),zi=()=>a.useContext($t),dl=a.createContext(null),Je=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,f]=a.useState(null),[m,b]=a.useState(!1),w=a.useRef(!1),k=a.useRef(null),p=a.useRef(null),g=a.useRef(null),h=a.useRef(null),I=a.useRef(null),y=a.useRef(null),T=a.useRef(null),M=a.useRef(null),{params:C,passedParams:x,rest:E,events:D}=nl(s),{slides:S,slots:_}=al(l),O=()=>{b(!m)};Object.assign(C.on,{_containerClasses(N,j){c(j)}});const B=()=>{Object.assign(C.on,D),d=!0;const N={...C};if(delete N.wrapperClass,p.current=new Gt(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=S;const j={cache:!1,slides:S,renderExternal:f,renderExternalUpdate:!1};it(p.current.params.virtual,j),it(p.current.originalParams.virtual,j)}};k.current||B(),p.current&&p.current.on("_beforeBreakpoint",O);const V=()=>{d||!D||!p.current||Object.keys(D).forEach(N=>{p.current.on(N,D[N])})},W=()=>{!D||!p.current||Object.keys(D).forEach(N=>{p.current.off(N,D[N])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",O)}),a.useEffect(()=>{!w.current&&p.current&&(p.current.emitSlidesClasses(),w.current=!0)}),rt(()=>{if(e&&(e.current=k.current),!!k.current)return p.current.destroyed&&B(),ol({el:k.current,nextEl:I.current,prevEl:y.current,paginationEl:T.current,scrollbarEl:M.current,swiper:p.current},C),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),rt(()=>{V();const N=ll(x,g.current,S,h.current,j=>j.key);return g.current=x,h.current=S,N.length&&p.current&&!p.current.destroyed&&il({swiper:p.current,slides:S,passedParams:x,changedParams:N,nextEl:I.current,prevEl:y.current,scrollbarEl:M.current,paginationEl:T.current}),()=>{W()}}),rt(()=>{sl(p.current)},[v]);function H(){return C.virtual?rl(p.current,S,v):S.map((N,j)=>a.cloneElement(N,{swiper:p.current,swiperSlideIndex:j}))}return a.createElement(n,wt({ref:k,className:ji(`${u}${i?` ${i}`:""}`)},E),a.createElement(dl.Provider,{value:p.current},_["container-start"],a.createElement(o,{className:tl(C.wrapperClass)},_["wrapper-start"],H(),_["wrapper-end"]),Mi(C)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:y,className:"swiper-button-prev"}),a.createElement("div",{ref:I,className:"swiper-button-next"})),Li(C)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),Oi(C)&&a.createElement("div",{ref:T,className:"swiper-pagination"}),_["container-end"]))});Je.displayName="Swiper";const Oe=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[f,m]=a.useState("swiper-slide"),[b,w]=a.useState(!1);function k(I,y,T){y===v.current&&m(T)}rt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){f!=="swiper-slide"&&m("swiper-slide");return}return l.on("_slideClass",k),()=>{l&&l.off("_slideClass",k)}}}),rt(()=>{l&&v.current&&!l.destroyed&&m(l.getSlideClasses(v.current))},[l]);const p={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(p):n,h=()=>{w(!0)};return a.createElement(i,wt({ref:v,className:ji(`${f}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:h},c),r&&a.createElement($t.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},g(),s&&!b&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement($t.Provider,{value:p},g(),s&&!b&&a.createElement("div",{className:"swiper-lazy-preloader"})))});Oe.displayName="SwiperSlide";function Be(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=se(),o=a.useCallback((r,s,d,u)=>{var c,v,f,m,b,w,k,p,g,h,I,y,T,M;let C="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((f=r?.video)===null||f===void 0)&&f.bindProduct)?C="pdpPage":n?C="hashTagPage":!((m=r?.video)===null||m===void 0)&&m.url?C="videoPage":!((b=r?.video)===null||b===void 0)&&b.imgUrls&&(!((k=(w=r?.video)===null||w===void 0?void 0:w.imgUrls)===null||k===void 0)&&k.length)?C="imagePage":r?.product&&(C="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(g=s?.title)!==null&&g!==void 0?g:"",price:s?.price?s?.price+"":"0",productCollection:(h=s?.collection)!==null&&h!==void 0?h:"",fromKName:C,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(y=(I=r?.video)===null||I===void 0?void 0:I.itemId)!==null&&y!==void 0?y:"",ctatId:(T=d?.itemId)!==null&&T!==void 0?T:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,f,m,b;let w="";e&&(!((f=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||f===void 0)&&f.length||!((m=r?.video)===null||m===void 0)&&m.bindProduct)?w="pdpPage":r?.product&&(w="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:w,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(b=r?.video)===null||b===void 0?void 0:b.itemId,ctatId:d?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const cl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",ul=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const f=document.getElementById("sxp-render"),m=document.getElementById("pb-modal");m?u.current=m:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),f?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=ve.debounce(()=>{e?.()},300);return si.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:f=>{f.stopPropagation(),f.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:cl,alt:"close",className:"modal-icon"})),i))),u.current)};var St=a.memo(ul);const pl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},vl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,f]=a.useState(!1),m=Number(i?.lineClamp||2),b=a.useRef(null),w=a.useRef(null),k=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?pl(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,g;((p=w?.current)===null||p===void 0?void 0:p.offsetHeight)>((g=b?.current)===null||g===void 0?void 0:g.offsetHeight)&&s?f(!0):f(!1),w.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":m,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:w,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??k},u?r||"show less":l||"show more"))};var Tt=a.memo(vl);const fl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState();return a.useImperativeHandle(e,()=>({setSrc:u=>{d(u)}})),a.useEffect(()=>{d(i)},[i]),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:u=>{n?.(u.target)}}))});var Ce=a.memo(fl);const ml=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:f,onClick:m,schema:b,isDefault:w,bottom_image:k,tipText:p,isPost:g,viewTime:h,rec:I,swiper:y,commodityStyles:T,buttonStyle:M,index:C}=t,x=me(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=se(),{popupDetailData:D,bffEventReport:S,isPreview:_,waterFallData:O}=se(),{jumpToWeb:B,productView:V}=Be(),W=a.useRef(null),[H,N]=a.useState(!1),j=g?I:D,P=g?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,A=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,X=g?C:D?.index,F=()=>{P?.link&&(B(D,P,A,X),g||V(j,P,A,h||W.current,X),window.location.href=window.getJointUtmLink(P.link))};a.useEffect(()=>{const q=()=>{W.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const U=a.useMemo(()=>{var q,oe,z,R,G;return P?.currency&&P?.price?`${(z=(oe=(q=P?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&z!==void 0?z:""}${(G=(R=P?.price)===null||R===void 0?void 0:R.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:"$7,000"},[P?.price,P?.currency]),Q=_?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,ne=({isPost:q})=>{var oe,z,R;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:T?.collection,hidden:!!P&&(!P?.collection||P?.collection==="")},(oe=P?.collection)!==null&&oe!==void 0?oe:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:T?.title,hidden:!!P&&!P?.title},(z=P?.title)!==null&&z!==void 0?z:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:T?.price,hidden:!!P&&!P?.price},U),a.createElement("div",{hidden:!!P&&(!P?.info||P?.info==="")},a.createElement(Tt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>N(!0),isPost:q,text:(R=P?.info)!==null&&R!==void 0?R:`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:
|
6
|
-
Made in Italy`}));return a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:q,className:X.css(Object.assign({},f))},E),C&&((r=C?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(Je,{height:ie,modules:[bt,yt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:I?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:I?.delay*1e3}},(s=C?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(Oe,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:ie,height:ie}},a.createElement(Ce,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:Y}))))),!(!((d=C?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:X.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:X.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=S?.bottom_image)!==null&&u!==void 0?u:y,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:g?.title},(c=C?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!C&&(!C?.collection||C?.collection===""),style:g?.collection},C?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!C&&!C?.price,style:g?.price},Z),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!C&&!C?.taxInfo,style:g?.taxInfo},(v=C?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!C||C?.link)&&a.createElement("button",{onClick:W,className:"pb-commondityDiroNew-btn",style:D},(m=F?.enTitle)!==null&&m!==void 0?m:"Shop now"),oe({isPost:p}))),a.createElement(Tt,{visible:H,onClose:()=>L(!1)},oe({isPost:!1})))};var Cl=a.memo(El);const Il=Se(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:xl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var Yt,Xt,Ie=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Yt=ee?.[0])===null||Yt===void 0?void 0:Yt.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Xt=ee?.[0])===null||Xt===void 0?void 0:Xt.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Dl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Ri(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const kl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;fe(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Ri(d),{popup:c}=Ne(),{setPopupDetailData:v,ctaEvent:m}=se(),{jumpToWeb:f}=Be();a.useEffect(()=>{var b,k;if(u&&d?.current){const p=(k=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&k!==void 0?k:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,m,s]);const w=pe.throttle(()=>{var b,k,p,y,h,I,g,D,M,E;const S=(k=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&k!==void 0?k:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,S,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((y=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||y===void 0)&&y.link){const T=(h=e?.video)===null||h===void 0?void 0:h.bindCta,_=(I=e?.video)===null||I===void 0?void 0:I.bindProduct;f(e,_,T,s),window.location.href=(D=(g=e?.video)===null||g===void 0?void 0:g.bindProduct)===null||D===void 0?void 0:D.link,window.location.href=window.getJointUtmLink((E=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||E===void 0?void 0:E.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:w},i)};var ct=a.memo(kl),_l={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Al=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:w}=t,b=fe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ct,Object.assign({isExternalLink:w,rec:v,className:X.css(Object.assign({},u)),style:{display:"flex"}},b),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(Ce,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:_l["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Pl=a.memo(Al);const Ml=Se(Pl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Dl,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Ol=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ll=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,m=fe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:f}=se(),w=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ct,Object.assign({isExternalLink:v,rec:d,className:X.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=w?.icon)!==null&&i!==void 0?i:f?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=w?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var jl=a.memo(Ll);const Nl=Se(jl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ol,settingRender:Ie?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Bl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const zl=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:m}=t,f=fe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:w,bffEventReport:b}=se(),{jumpToWeb:k}=Be(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,y=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{p?.link&&(k(u,y,p,m),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ct,Object.assign({index:m,rec:u,className:X.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},f,{onClick:h}),a.createElement("div",{className:X.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(Ce,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:w?.bottom_image)!==null&&o!==void 0?o:c})),a.createElement("div",{className:X.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Bl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Rl=a.memo(zl);const Vl=Se(Rl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ie?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ul=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:w}=t,b=fe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ct,Object.assign({isExternalLink:w,rec:v,className:X.css(Object.assign({},u)),style:{display:"flex"}},b),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(Ce,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Hl["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Gl=a.memo(Ul);const $l=Se(Gl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Fl,settingRender:Ie,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var Wl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Yl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:m,ctaTempStyles:f,isExternalLink:w}=t,b=fe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,y=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:m;return a.createElement(ct,Object.assign({isExternalLink:w,rec:v,className:X.css(Object.assign({},u)),style:{display:"flex"}},b),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},a.createElement(Ce,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:y})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ql["tow-line-ellipsis"],style:f?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:X.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop now")))};var Xl=a.memo(Yl);const Jl=Se(Xl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Wl,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ql=({children:t,isPadding:e=!0})=>a.createElement(Je,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Hn,Fn,Vn],style:{padding:e?"0 12px 0 20px":0}},t);var Et=a.memo(Ql);const Zl=({src:t,rec:e,item:i,index:n})=>{const o=a.useRef(null),l=Ri(o),{ctaEvent:r}=se();return a.useEffect(()=>{l&&t&&o?.current&&r?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,r,i,n]),a.createElement("div",{ref:o,hidden:!t,className:X.css({width:"100%",height:"100%"})},a.createElement(Ce,{className:X.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var Jt=a.memo(Zl),es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const ts=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=fe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:w,sxpParameter:b}=se(),{popup:k}=Ne(),{jumpToWeb:p}=Be(),[y,h]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),I=pe.throttle(g=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,v),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:v})),c?g?.link&&(p(r,g,g.bindCta,v),window.location.href=window.getJointUtmLink(g.link)):s?.()},k?.duration);return a.createElement(Et,{isPadding:!!r},y?.map(g=>{var D,M,E,S,T,_;return a.createElement(Oe,Object.assign({hidden:r&&!g?.bindCta,key:g?.itemId,className:X.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>I(g)}),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Jt,{src:(E=(M=(D=g?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:b?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:g,index:v})),a.createElement("div",{className:X.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:es["two-line-ellipsis"],style:u?.title},(S=g?.title)!==null&&S!==void 0?S:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=g?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var is=a.memo(ts);const ns=Se(is,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Kl,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ls={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=fe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:f}=se(),{ctaEvent:w,setPopupDetailData:b}=se(),{popup:k}=Ne(),[p,y]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Be(),I=pe.throttle(g=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,v),b?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:v})),c?g?.link&&(h(r,g,g.bindCta,v),window.location.href=window.getJointUtmLink(g.link)):s?.()},k?.duration);return a.createElement(Et,{isPadding:!!r},p?.map(g=>{var D,M,E,S,T,_;return a.createElement(Oe,Object.assign({hidden:r&&!g?.bindCta,key:g.itemId,className:X.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>I(g)}),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Jt,{src:(E=(M=(D=g?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:f?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:g,index:v})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ls["two-line-ellipsis"],style:u?.title},(S=g?.title)!==null&&S!==void 0?S:"Product Name"),a.createElement("div",{className:X.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=g?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop Now")))}))};var as=a.memo(ss);const rs=Se(as,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:os,settingRender:Ie,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],cs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,m=fe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:f,setPopupDetailData:w,sxpParameter:b}=se(),{popup:k}=Ne(),{jumpToWeb:p}=Be(),[y,h]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),I=pe.throttle(g=>{f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,v),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:v})),c?g?.link&&(p(r,g,g.bindCta,v),window.location.href=window.getJointUtmLink(g.link)):s?.()},k?.duration);return a.createElement(Et,{isPadding:!!r},y?.map(g=>{var D,M,E,S,T,_;return a.createElement(Oe,Object.assign({hidden:r&&!g?.bindCta,key:g?.itemId,className:X.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>I(g)}),a.createElement("div",{className:X.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Jt,{src:(E=(M=(D=g?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:b?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:g,index:v})),a.createElement("div",{className:X.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:cs["tow-line-ellipsis"],style:u?.title},(S=g?.title)!==null&&S!==void 0?S:"Product Name"),a.createElement("div",{className:X.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(_=(T=g?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&_!==void 0?_:"Shop now")))}))};var ps=a.memo(us);const vs=Se(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ds,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var Kt,Qt,fs=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Kt=ee?.[0])===null||Kt===void 0?void 0:Kt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{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:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(Qt=ee?.[0])===null||Qt===void 0?void 0:Qt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ms=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=se();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Vi=a.memo(ms),hs=null,gs="3d989325-e7d6-4a74-8a97-98febdf5b567",bs=null,ys=null,ws={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},Ss=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Ts="Handbags",xs={productUserId:hs,requestId:gs,channel:bs,rtc:ys,tag:ws,recList:Ss,hashTag:Ts};const Es=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=se(),[m,f]=a.useState(!1),w=a.useRef(null),b=a.useRef(null),k=a.useRef(null),p=a.useRef(null),[y,h]=a.useState(""),I=a.useMemo(()=>{var S,T,_,x,A,O,N,V,q,H,L,z;return!((S=e?.video)===null||S===void 0)&&S.cover?(T=e?.video)===null||T===void 0?void 0:T.cover:!((_=e?.video)===null||_===void 0)&&_.url?(f(!0),(x=e?.video)===null||x===void 0?void 0:x.url):!((O=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||O===void 0)&&O.length?(V=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||V===void 0?void 0:V[0]:!((H=(q=e?.product)===null||q===void 0?void 0:q.homePage)===null||H===void 0)&&H.length?(z=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||z===void 0?void 0:z[0]:v?.bottom_image||""},[e,v?.bottom_image]),g=a.useMemo(()=>{var S,T;return((S=e?.product)===null||S===void 0?void 0:S.title)||((T=e?.video)===null||T===void 0?void 0:T.title)||null},[e]),D=a.useMemo(()=>{var S,T,_,x,A,O,N,V,q;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((T=e?.product)===null||T===void 0)&&T.price)?`${(O=(A=(x=(_=e?.product)===null||_===void 0?void 0:_.currency)===null||x===void 0?void 0:x.split("-")[1])===null||A===void 0?void 0:A.toUpperCase())!==null&&O!==void 0?O:""}${(q=(V=(N=e?.product)===null||N===void 0?void 0:N.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&q!==void 0?q:""}`:null},[e]);a.useEffect(()=>{const S=new IntersectionObserver(T=>{T.forEach(_=>{if(_.isIntersecting){if(b.current===null||I==="")return;m&&y?w.current.setSrc(y):w.current.setSrc(I),S.unobserve(b.current)}})});return S.observe(b.current),()=>{S.disconnect()}},[I,m,y]);const M=(S,T,_)=>{const x=S/T;return _/x};a.useEffect(()=>{const S=k?.current;S===null||I===""||!m||(S.src=I,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const T=p?.current;if(!T)return;const _=T.getContext("2d"),x=window?.innerWidth/2,A=M(S.videoWidth,S.videoHeight,x);T.height=A,T.width=x,_?.drawImage(S,0,0,T.width,T.height),h(T.toDataURL()),S.remove(),T.remove()})},[I,m]);const E=()=>{o(),d?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:b,className:"list-content-listItem",key:i,onClick:E,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},m&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:k,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(Ce,{loading:"lazy",className:"list-content-listItem-picture-img",ref:w})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${D?"list-content-listItem-info-nowrap":""}`,style:l?.title},g&&g),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!D},D)))};function Cs(t){var e,i,n,o,l,r,s,{reportTagsView:d}=t,u=fe(t,["reportTagsView"]);const{waterFallData:c,getRecommendVideos:v,hashTagSize:m,loadingImage:f,isOpenHashTag:w}=se(),[b,k]=a.useState(),[p,y]=a.useState(),[h,I]=a.useState(!1),g=a.useRef(null),[D,M]=a.useState(!1);a.useCallback(()=>{D||(M(!0),c&&v?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType}).then(S=>{var T;k(b?.concat((T=S?.recList)!==null&&T!==void 0?T:[])),M(!1)}))},[c,v,b,D]),a.useEffect(()=>{var S,T;if(I(!0),c&&v?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(_=>{var x,A;y(_),k((A=(x=_?.recList)===null||x===void 0?void 0:x.filter(O=>O?.video!==null||O?.product!==null))!==null&&A!==void 0?A:[]),I(!1)}),w){const _=xs;y(_),k((T=(S=_?.recList)===null||S===void 0?void 0:S.filter(x=>x?.video!==null||x?.product!==null))!==null&&T!==void 0?T:[]),I(!1)}},[c,v,m,w]);const E=()=>{var S,T;!((S=p?.tag)===null||S===void 0)&&S.link&&(d(),window.location.href=(T=p?.tag)===null||T===void 0?void 0:T.link)};return a.createElement(a.Fragment,null,h?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:f,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:g,style:{bottom:!((e=p?.tag)===null||e===void 0)&&e.link?"100px":0}},a.createElement("div",{className:"list-info",style:(i=u?.textStyles)===null||i===void 0?void 0:i.hashTagDesc},(n=p?.tag)===null||n===void 0?void 0:n.info),a.createElement("div",{hidden:!(!((o=p?.tag)===null||o===void 0)&&o.link),className:"list-collection",onClick:E,style:{marginBottom:u?.space}},((l=p?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),a.createElement("div",{className:"list-content"},b?.map((S,T)=>a.createElement(Es,Object.assign({key:T,index:T,rec:S,list:b,reportTagsView:d},u)))),a.createElement("div",{hidden:!D,style:{textAlign:"center"}},"loading...")),a.createElement("div",{className:"list-bottom",hidden:!(!((r=p?.tag)===null||r===void 0)&&r.link)},a.createElement("button",{className:"list-bottom-btn",style:u?.buttonStyle,onClick:E},((s=p?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"))))}var Is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ds=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:w}=se();a.useRef(null);const b=a.useRef(null),[k,p]=a.useState();a.useEffect(()=>{const D=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?b.current=M:(b.current=document.createElement("div"),b.current.setAttribute("id","water-fall"),D?.appendChild(b.current))},[]);const y=()=>{const D=pe.isEqual(c,s);!D&&s&&s?.length&&d?.(s),g(),r?.(void 0),m?.(!1),setTimeout(()=>{var M,E;D||(E=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||E===void 0||E.slideTo(u,0,!1),n?.(!1)},0)},[h,I]=a.useState();a.useEffect(()=>{i&&I(i)},[i]);const g=a.useCallback(()=>{var D,M,E,S,T,_;const x=h?.rec;if(!x)return;let A="";f?A="hashTagPage":!((D=x?.video)===null||D===void 0)&&D.url?A="videoPage":!((E=(M=x?.video)===null||M===void 0?void 0:M.imgUrls)===null||E===void 0)&&E.length&&(A="imagePage"),w?.({eventInfo:{contentId:(S=x?.video)===null||S===void 0?void 0:S.itemId,position:u+"",contentTags:JSON.stringify((T=x?.video)===null||T===void 0?void 0:T.tags),traceInfo:(_=x?.video)===null||_===void 0?void 0:_.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:A,fromKPage:location?.href,timeOnSite:Math.floor((new Date-k)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,w,k,f,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const D=()=>{p(new Date)};return window.addEventListener("pageshow",D),()=>{window.removeEventListener("pageshow",D)}},[]),b.current?li.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Vi,{icon:Is,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:y}),a.createElement(Cs,Object.assign({reportTagsView:g},t))),b.current):null};var Fi=a.memo(Ds);const ks=t=>a.createElement(Fi,Object.assign({},t));var _s=a.memo(ks);const As=Se(_s,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:fs,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},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}}},w:100,h:40,sort:2});var Zt=Object.freeze({__proto__:null,Appoint:Nl,AppointForm:An,Commodity:Ml,CommodityDetail:hl,CommodityDetailDiroNew:Il,CommodityDiro:$l,CommodityDiroNew:Jl,HashTag:As,Link:Vl,MultiCommodity:rs,MultiCommodityDiro:ns,MultiCommodityDiroNew:vs,Prompt:Tl});const Ps="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Ms="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Os=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=fe(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=se(),[c,v]=a.useState(e),m=xe(Ms),f=xe(Ps),w=pe.debounce(()=>he(void 0,void 0,void 0,function*(){var b,k,p,y,h,I,g,D,M,E,S,T,_,x,A,O,N,V,q,H;if(c){v(!1);const L=(p=yield d?.({videoItemId:(k=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&k!==void 0?k:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(y=o.video)===null||y===void 0?void 0:y.itemId)!==null&&h!==void 0?h:"",contentName:(g=(I=o.video)===null||I===void 0?void 0:I.title)!==null&&g!==void 0?g:"",contentTags:JSON.stringify((M=(D=o.video)===null||D===void 0?void 0:D.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((E=o.video)===null||E===void 0)&&E.url?"video":"image",traceInfo:(S=o.video)===null||S===void 0?void 0:S.traceInfo}}),L||v(!0)}else{v(!0);const L=(T=yield s?.({content:JSON.stringify(o)}))!==null&&T!==void 0?T:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(_=o.video)===null||_===void 0?void 0:_.itemId)!==null&&x!==void 0?x:"",contentName:(O=(A=o.video)===null||A===void 0?void 0:A.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((V=(N=o.video)===null||N===void 0?void 0:N.tags)!==null&&V!==void 0?V:[]),position:l+"",contentFormat:!((q=o.video)===null||q===void 0)&&q.url?"video":"image",traceInfo:(H=o.video)===null||H===void 0?void 0:H.traceInfo}}),L||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:w}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||f,alt:"icon"}))};var Hi=a.memo(Os);const nt=new ln;var Ue;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ue||(Ue={}));const Ls=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:m,openHashtag:f}=se(),w=a.useRef(0),[b,k]=a.useState(!1),[p,y]=a.useState(!0),{isActive:h}=Bi(),I=a.useRef(null),[g,D]=a.useState(""),M=`pb-cache-video-${e}`,E=a.useRef(null);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const S=a.useCallback(()=>{s&&s?.play()},[s]),T=xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),_=a.useCallback(()=>{var C,F,U,W,Z,ie,oe,Y,ne;if(!s)return;u(!1);const B=n[e];if(B&&s?.duration()){w.current=s?.currentTime()||0;const R=((C=s?.duration())!==null&&C!==void 0?C:0).toFixed(2),$=((F=s?.currentTime())!==null&&F!==void 0?F:0).toFixed(2),de=p?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(W=(U=B.video)===null||U===void 0?void 0:U.itemId)!==null&&W!==void 0?W:"",contentName:(ie=(Z=B.video)===null||Z===void 0?void 0:Z.title)!==null&&ie!==void 0?ie:"",playType:de,startTime:$,videoDuration:R,contentTags:JSON.stringify((Y=(oe=B.video)===null||oe===void 0?void 0:oe.tags)!==null&&Y!==void 0?Y:[]),position:e+"",contentFormat:"video",traceInfo:(ne=B.video)===null||ne===void 0?void 0:ne.traceInfo}}),y(!1)}},[c,n,e,p,s]),x=a.useCallback(()=>{s&&(l!==e&&(s?.play(),s?.pause()),k(!0))},[l,e,s]),A=a.useCallback(()=>{k(!0)},[]),O=a.useCallback(C=>()=>{if(!s||!b)return;const F=s?.paused();switch(C){case"start":if(!F)return;s?.play(),u(!1);break;case"pause":if(F)return;s?.pause(),u(!0);break;default:F?s?.play():s?.pause(),u(!F);break}},[b,s]),N=a.useCallback(()=>{var C,F,U,W,Z,ie,oe,Y,ne;if(!s||l!==e)return;const B=n[e],R=((C=s?.duration())!==null&&C!==void 0?C:0).toFixed(2),$=((F=s?.currentTime())!==null&&F!==void 0?F:0).toFixed(2);if(s?.duration()){const de=(s?.currentTime()-w.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(W=(U=B.video)===null||U===void 0?void 0:U.itemId)!==null&&W!==void 0?W:"",contentName:(ie=(Z=B.video)===null||Z===void 0?void 0:Z.title)!==null&&ie!==void 0?ie:"",endTime:$,videoDuration:R,playDuration:de,contentTags:JSON.stringify((Y=(oe=B.video)===null||oe===void 0?void 0:oe.tags)!==null&&Y!==void 0?Y:[]),position:e+"",contentFormat:"video",traceInfo:(ne=B.video)===null||ne===void 0?void 0:ne.traceInfo}})}},[n,e,c,s]),V=a.useMemo(()=>r?.mode==="2",[r]),q=a.useMemo(()=>{var C;return r?.mode==="2"?`translateY(-${50+((C=r?.offsetTop)!==null&&C!==void 0?C:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),H=a.useMemo(()=>{var C;return((C=t?.video)===null||C===void 0?void 0:C.cover)||g},[g,t]),L=a.useCallback(()=>{var C;if(!s)return;const F=document.getElementById(`${M}_html5_api`);if(!((C=t?.video)===null||C===void 0)&&C.cover||!I||!F||!I.current)return;const U=()=>{const W=F,Z=I?.current,ie=Z.getContext("2d"),oe=window?.innerWidth,Y=window?.innerHeight;Z.height=Y,Z.width=oe,ie?.drawImage(W,0,0,Z.width,Z.height),D(Z.toDataURL())};U(),setTimeout(()=>{U()},500)},[s]);a.useEffect(()=>{if(!h||!s)return;const C=t.video.url;if(!C)return;u(!1);const F=document.querySelector(`#${M}`),U=document.querySelector("#player-container-id"),W=document.querySelector("#player-container-id-copy");if(!(!U&&!W))return F?.appendChild(U||W),s?.src(C),s?.on("loadedmetadata",x),s?.on("loadeddata",L),s?.on("canplay",A),s?.on("playing",_),s?.on("pause",N),s?.on("ended",S),()=>{W?.appendChild(U),s?.off("loadedmetadata",x),s?.off("loadeddata",L),s?.off("canplay",A),s?.off("playing",_),s?.off("pause",N),s?.off("ended",S)}},[h,M,t,s]),a.useEffect(()=>{!s||!b||(h?s?.play():s?.pause())},[h,b,s]),a.useEffect(()=>{if(!h||!s)return;!s?.paused()&&f?s?.pause():f||s?.play()},[f,h,s]),a.useEffect(()=>{if(!h)return;const C=O("start"),F=O("pause");return nt.on(Ue.PAGE_DID_SHOW,C),nt.on(Ue.PAGE_DID_HIDE,F),()=>{nt.off(Ue.PAGE_DID_SHOW,C),nt.off(Ue.PAGE_DID_HIDE,F)}},[O,h]);const z=a.useMemo(()=>!v?.placeholder_image||b?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[b,v?.placeholder_image]);a.useEffect(()=>{if(!s)return;const C=()=>{var F;l===e&&(!((F=t?.video)===null||F===void 0)&&F.url)&&s&&!d&&O("pause")()};return window.addEventListener("beforeunload",C),()=>{window.removeEventListener("beforeunload",C)}},[l,e,t,s,O,d]);const P=a.useMemo(()=>V?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[V]);return t.video?a.createElement(a.Fragment,null,V?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:O(),style:{position:"relative",width:"100%",height:i,overflow:"hidden"}},a.createElement(Ce,{src:H,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},P)}),a.createElement("canvas",{ref:I,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:q,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:E,id:M,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:T}))),z):a.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:O()},a.createElement("div",{className:"n-full-screen",ref:E,id:M,style:{width:"100%",height:"100%"}}),z,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:T}))):null};var js=a.memo(Ls);const Ns=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Ui=a.memo(Ns);const Bs=({imageUrl:t})=>{const[e,i]=a.useState(!0);Ne(),a.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=a.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return a.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},a.createElement("img",{src:t||n}))},Gi=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var s;return n?.mode==="2"?`translateY(-${50+((s=n?.offsetTop)!==null&&s!==void 0?s:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]);return a.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},a.createElement(Ce,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(Ce,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},zs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Bi(),{sxpParameter:v,openHashtag:m}=se(),[f,w]=a.useState(!1);return a.useEffect(()=>{f&&c?(u?.current&&u.current.swiper.autoplay.start(),m?l(n):r(o)):(w(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,m,o,r,f]),a.createElement(Je,{ref:u,defaultValue:0,direction:"horizontal",modules:[bt,yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((d=s?.delay)!==null&&d!==void 0?d:3)*1e3}},t?.map(b=>a.createElement(Oe,{key:b},a.createElement(Gi,{src:b,height:i,imgUrlsPostConfig:s}))))};var Rs=a.memo(zs);const Vs=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:m}=se(),f=w=>{v?m?.(!0):c?.(n),d?.(i?{hashTag:w,itemId:e,itemType:i,rec:o}:{hashTag:w,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(Et,null,t?.map((w,b)=>a.createElement(Oe,{key:b,hidden:r?!1:b>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(w)},`#${w}`))))};var $i=a.memo(Vs),Fs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Ct(t){return a.memo(function(e){const{$store:i}=fn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=pe.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=fe(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,w)=>{var b,k;if(w){const p=(k=(b=pe.get(i,w))!==null&&b!==void 0?b:e[v])!==null&&k!==void 0?k:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=pe.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Hs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Ne(),l=a.useMemo(()=>{var r,s,d,u,c,v,m,f,w,b,k,p,y,h,I,g,D,M,E,S,T,_,x,A,O,N,V,q,H,L,z;if(!t?.video)return null;let P=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?P="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?P="\u5546\u54C1CTA":P=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const C=i?.[P];if(((v=C?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((f=C?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((w=t?.video)===null||w===void 0)&&w.bindProduct)||((b=C?.item)===null||b===void 0?void 0:b.type)==="CommodityDiroNew"&&!(!((k=t?.video)===null||k===void 0)&&k.bindProduct)||((p=C?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((h=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||h===void 0)&&h.length)||((I=C?.item)===null||I===void 0?void 0:I.type)==="MultiCommodityDiro"&&!(!((D=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||D===void 0)&&D.length)||((M=C?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(E=t?.video)===null||E===void 0?void 0:E.bindProducts)===null||S===void 0)&&S.length))return null;if(C&&n){const F=n[(T=C?.item)===null||T===void 0?void 0:T.type],U=Ct(F),W=(_=F?.extend)===null||_===void 0?void 0:_.defaulSetting,Z=((O=(A=(x=C?.item)===null||x===void 0?void 0:x.event)===null||A===void 0?void 0:A.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return a.createElement(U,Object.assign({style:Object.assign(Object.assign(Object.assign({},W?.style),(N=C?.item)===null||N===void 0?void 0:N.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},W?.textStyle),(V=C?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(H=(q=C?.item)===null||q===void 0?void 0:q.bindDatas)!==null&&H!==void 0?H:[]},W?.props,(L=C?.item)===null||L===void 0?void 0:L.props,{event:((z=C?.item)===null||z===void 0?void 0:z.event)||{},schema:o,id:C?.id,key:C?.id,recData:t,isExternalLink:Z,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var Wi=a.memo(Hs);const qi=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,a.createElement("p",{style:Object.assign({},t?.textStyle)},(s=t?.content)!==null&&s!==void 0?s:"")))},ei="FOR U",Us=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ei),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u}=se(),c=a.useMemo(()=>[ei,...t],[t]),v=m=>()=>{if(m===i)return;let f;m!==ei&&(f=m),d?.(!0),o?.({hashTag:f}).then(w=>{var b,k,p,y;l?.((b=w?.recList)!==null&&b!==void 0?b:[]),r?.((k=w?.recList)!==null&&k!==void 0?k:[]),e?.(0),s?.(0),(y=(p=u?.current)===null||p===void 0?void 0:p.swiper)===null||y===void 0||y.slideTo(0)}).finally(()=>{d?.(!1)}),n(m)};return t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},c.map(m=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${m===i?"clc-sxp-tagbar-list-item-active":""}`,key:m,onClick:v(m)},m))))};var Yi=a.memo(Us);const Xi=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:m=[]})=>{var f,w,b,k,p,y,h;const{schema:I}=Ne(),[g,D]=a.useState(0),M=a.useRef(0),[E,S]=a.useState(!1),[T,_]=a.useState(!0),x=a.useRef(),A=a.useRef(),[O,N]=a.useState(!1),[V,q]=a.useState(!1),{loadVideos:H,bffEventReport:L,loading:z,setPopupDetailData:P,ctaEvent:C,swiperRef:F,waterFallData:U,setOpenHashtag:W,appDomain:Z,openHashtag:ie,loadingImage:oe,isFromHashtag:Y,popupDetailData:ne}=se(),[B,R]=a.useState(null),$=a.useRef(),{productView:de}=Be(),ce=a.useMemo(()=>r.length>0&&!z&&yn(),[r,z]),ve=a.useCallback(()=>{if(r.length<=0)return;De();const j=location.search.slice(1),K=ni.parse(j.replace(/\+/g,"%2B"));for(const Q in K)K[Q]=K[Q].replace(/%2B/g,"+");const G=Q=>{var te;return(te=K[Q])!==null&&te!==void 0?te:""};L?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:G("utm_source"),utmMedium:G("utm_medium"),utmCampaign:G("utm_campaign"),utmId:G("utm_id"),utmContent:G("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),S(!0)},[L,r.length]),De=()=>{x.current=new Date,A.current=new Date,hn()},ye=a.useRef();a.useEffect(()=>{if(!ye.current&&!B){ye.current=!0;const j=TCPlayer("player-container-id",{licenseUrl:"https://license.vod2.myqcloud.com/license/v2/1325816236_1/v_cube.license",controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});j?.ready(()=>{R(j)})}},[B]),a.useEffect(()=>{E||ve()},[ve,E]),a.useEffect(()=>{var j;const K=r?.findIndex(G=>{var Q,te,ae,J,le,re,ue,ke,_e;return s==="\u591A\u5546\u54C1CTA"?((Q=G?.video)===null||Q===void 0?void 0:Q.bindProducts)&&((ae=(te=G?.video)===null||te===void 0?void 0:te.bindProducts)===null||ae===void 0?void 0:ae.length)>0:s==="\u5546\u54C1CTA"?(J=G?.video)===null||J===void 0?void 0:J.bindProduct:((re=(le=G?.video)===null||le===void 0?void 0:le.bindCta)===null||re===void 0?void 0:re.itemId)===s&&(((ue=G?.video)===null||ue===void 0?void 0:ue.url)||((_e=(ke=G?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||_e===void 0?void 0:_e.length))})||0;(j=F?.current)===null||j===void 0||j.swiper.slideTo(K)},[s,F]),a.useEffect(()=>{const j=r?.[g],K=()=>{var G,Q,te,ae,J,le,re,ue,ke,_e,$e,We,qe,Ye,Ve;if(document.visibilityState==="hidden"){nt.emit(Ue.PAGE_DID_HIDE,j),Re(j),at(j);let Le="";ne&&(!((Q=(G=j?.video)===null||G===void 0?void 0:G.bindProducts)===null||Q===void 0)&&Q.length||!((te=j?.video)===null||te===void 0)&&te.bindProduct)?Le="pdpPage":ne&&o?.[(le=(J=(ae=j.video)===null||ae===void 0?void 0:ae.bindCta)===null||J===void 0?void 0:J.itemId)!==null&&le!==void 0?le:""].item.type==="Appoint"?Le="formPage":Y?Le="hashTagPage":!((re=j?.video)===null||re===void 0)&&re.url?Le="videoPage":!((ue=j?.video)===null||ue===void 0)&&ue.imgUrls&&(!((_e=(ke=j?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||_e===void 0)&&_e.length)?Le="imagePage":j?.product&&(Le="productPage"),L?.({eventInfo:{sessionDuration:Math.floor((new Date-x.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:($e=j?.video)===null||$e===void 0?void 0:$e.itemId,productId:(We=j?.product)===null||We===void 0?void 0:We.itemId,position:g+"",fromKName:Le,fromKPage:location?.href,ctatId:(Ve=(Ye=(qe=j.video)===null||qe===void 0?void 0:qe.bindCta)===null||Ye===void 0?void 0:Ye.itemId)!==null&&Ve!==void 0?Ve:""}})}else document.visibilityState==="visible"&&(ve(),Ge(g),nt.emit(Ue.PAGE_DID_SHOW,j))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[g,L,x,r,ve,ne,Y,o]);const we=a.useMemo(()=>{let j=0;return t?.logoUrl&&t?.isShowLogo&&(j+=45),m.length>0&&(j+=45),i-j},[t,i,m]),ot=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ke=a.useCallback((j,K)=>{var G,Q,te,ae;return!((G=j.video)===null||G===void 0)&&G.url?a.createElement(js,{rec:j,index:K,muted:T,data:r,height:we,activeIndex:g,videoPostConfig:t?.videoPost,videoRef:B}):!((Q=j.video)===null||Q===void 0)&&Q.imgUrls?a.createElement(Rs,{key:j.video.itemId,imgUrls:j.video.imgUrls,width:n,height:we,rec:j,index:K,onReportViewImageEnd:Re,onViewImageStartEvent:Ge,imgUrlsPostConfig:t?.imgUrlsPost}):j.product&&Array.isArray(t?.productPost)&&((te=t?.productPost)===null||te===void 0?void 0:te.length)>0?(ae=t?.productPost)===null||ae===void 0?void 0:ae.map((J,le)=>{var re,ue,ke,_e,$e,We,qe,Ye;const Ve=l[(re=J?.item)===null||re===void 0?void 0:re.type],Le=Ct(Ve),je=(ue=Ve?.extend)===null||ue===void 0?void 0:ue.defaulSetting;return a.createElement(Le,Object.assign({key:`${K}${le}`,textStyle:Object.assign(Object.assign({},je?.textStyle),(ke=J?.item)===null||ke===void 0?void 0:ke.textStyle),bindDatas:($e=(_e=J?.item)===null||_e===void 0?void 0:_e.bindDatas)!==null&&$e!==void 0?$e:[]},je?.props,(We=J?.item)===null||We===void 0?void 0:We.props,{event:((qe=J?.item)===null||qe===void 0?void 0:qe.event)||{},schema:I,id:J?.id,viewTime:A.current,rec:j,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},je?.style),(Ye=J?.item)===null||Ye===void 0?void 0:Ye.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,we,T,g,t?.productPost,A,d,l,I,B]),Qe=a.useCallback(j=>{q(j)},[]),lt=a.useMemo(()=>V?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[V]),Ze=a.useCallback((j,K)=>{var G,Q,te,ae,J,le,re;return j.video?a.createElement(a.Fragment,null,((G=j.video)===null||G===void 0?void 0:G.title)&&!V&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(qi,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(Wi,{rec:j,index:K,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(xt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(te=(Q=j.video)===null||Q===void 0?void 0:Q.title)!==null&&te!==void 0?te:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Qe}),a.createElement($i,{index:g,tags:(J=(ae=j?.video)===null||ae===void 0?void 0:ae.hashTags)!==null&&J!==void 0?J:[],itemId:(le=j?.video)===null||le===void 0?void 0:le.itemId,itemType:!((re=j.video)===null||re===void 0)&&re.itemId?"VIDEO":null,rec:j,hashTagStyle:v})))):null},[e,g,o,l,d,u,v,t,Qe,V,lt]),st=a.useCallback((j,K)=>{var G,Q;if(!t?.isShowLike)return;let te=(G=t?.likeIconY)!==null&&G!==void 0?G:400;return U&&te<40&&(te+=40),j.video?a.createElement(Hi,{key:j.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:j.isCollected,recData:j,className:"clc-sxp-like-button",style:{top:te,right:(Q=t?.likeIconX)!==null&&Q!==void 0?Q:0},position:K}):null},[t,U]),Re=j=>{var K,G,Q,te,ae,J;if(!(!((K=j.video)===null||K===void 0)&&K.url)&&(!((G=j.video)===null||G===void 0)&&G.imgUrls)){const le=Date.now(),re=(le-M.current)/1e3;L?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(te=(Q=j.video)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",contentName:(ae=j.video.title)!==null&&ae!==void 0?ae:"",imageEndTime:`${le}`,playDuration:`${re}`,contentTags:JSON.stringify((J=j.video.tags)!==null&&J!==void 0?J:[]),position:g+"",contentFormat:"image",traceInfo:j.video.traceInfo}})}},be=j=>{var K,G,Q,te,ae,J,le,re;A.current=new Date;const ue=r[j.previousIndex];ue&&(j.previousIndex-j.activeIndex<0?(L?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(G=(K=ue.video)===null||K===void 0?void 0:K.itemId)!==null&&G!==void 0?G:"",productId:(te=(Q=ue.product)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",requestId:null}}),Re(ue)):(L?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(J=(ae=ue.video)===null||ae===void 0?void 0:ae.itemId)!==null&&J!==void 0?J:"",productId:(re=(le=ue.product)===null||le===void 0?void 0:le.itemId)!==null&&re!==void 0?re:"",requestId:null}}),Re(ue)),at(ue))},at=j=>{var K,G,Q;!(!((K=j?.video)===null||K===void 0)&&K.url)&&!(!((G=j?.video)===null||G===void 0)&&G.imgUrls)&&j?.product&&de(j,j.product,(Q=j?.product)===null||Q===void 0?void 0:Q.bindCta,A.current,g)};a.useEffect(()=>{const j=r[g];ie&&at(j)},[ie,r,g]);const Ge=j=>{var K,G,Q,te,ae,J;const le=r[j];if(!(!((K=le?.video)===null||K===void 0)&&K.url)&&(!((G=le?.video)===null||G===void 0)&&G.imgUrls)){const re=Date.now();M.current=re,L?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(te=(Q=le.video)===null||Q===void 0?void 0:Q.itemId)!==null&&te!==void 0?te:"",contentName:(ae=le.video.title)!==null&&ae!==void 0?ae:"",imageStartTime:`${re}`,contentTags:JSON.stringify((J=le.video.tags)!==null&&J!==void 0?J:[]),position:j+"",contentFormat:"image",traceInfo:le.video.traceInfo}})}},ut=a.useMemo(()=>{const j=r?.map((K,G)=>g===G||G-1===g||G+1===g?K:null);return U?j:j.concat([{loading:!0}])},[r,g,U]),Ki=a.useMemo(()=>z?a.createElement("div",{style:{height:we,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:oe,alt:"loading...",style:{objectFit:"contain"}})):ut?.map((j,K)=>a.createElement(Oe,{key:K,virtualIndex:K},j&&a.createElement(a.Fragment,null,j?.loading?a.createElement("div",{style:{height:we,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:oe,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,Ke(j,K),Ze(j,K),st(j,K))))),[n,r,we,z,Ze,Ke,ut,oe]),Qi=xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Zi=xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&a.createElement(Vi,{icon:Fs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{W?.(!0)}}),ot,a.createElement(Yi,{tagList:m,setActiveIndex:D}),ce?a.createElement(Bs,{imageUrl:t?.swipeTipIcon}):null,a.createElement(Je,{ref:F,onSlideChange:()=>{F.current.swiper.allowTouchMove=!1,setTimeout(()=>{F.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:j=>{D(j.activeIndex),!ie&&(be(j),!U&&j?.activeIndex+2>=r?.length&&(O||(N(!0),H?.(Math.ceil(g/10)+1).then(()=>{N(!1)}))))},direction:"vertical",height:we},a.createElement(Ui,{style:{position:"fixed",right:(f=t?.muteIconX)!==null&&f!==void 0?f:0,visibility:!((b=(w=r?.[g])===null||w===void 0?void 0:w.video)===null||b===void 0)&&b.url?"visible":"hidden",bottom:(k=t?.muteIconY)!==null&&k!==void 0?k:23,zIndex:999},defaultValue:T,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Qi,unactiveIcon:t?.muteIcon?t?.muteIcon:Zi,onChange:_}),Ki),a.createElement(Fi,Object.assign({},(h=(y=(p=t?.hashTag)===null||p===void 0?void 0:p[0])===null||y===void 0?void 0:y.item)===null||h===void 0?void 0:h.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:$,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},Gs=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(Je,{defaultValue:0,direction:"horizontal",modules:[bt,yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(Oe,{key:r},a.createElement(Gi,{src:r,height:i,imgUrlsPostConfig:n}))));var $s=a.memo(Gs);const Ws=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:m,waterFallData:f,openHashtag:w}=se(),b=a.useRef(0),[k,p]=a.useState(!1),[y,h]=a.useState(!0),I=a.useRef(null),[g,D]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var L;(L=c.current)===null||L===void 0||L.play()},[]),E=xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=a.useCallback(()=>{var L,z,P,C,F,U,W,Z,ie,oe,Y,ne,B;u(!1);const R=n[e];if(R&&(!((L=c?.current)===null||L===void 0)&&L.duration)){b.current=((z=c?.current)===null||z===void 0?void 0:z.currentTime)||0;const $=((C=(P=c.current)===null||P===void 0?void 0:P.duration)!==null&&C!==void 0?C:0).toFixed(2),de=((U=(F=c.current)===null||F===void 0?void 0:F.currentTime)!==null&&U!==void 0?U:0).toFixed(2),ce=y?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Z=(W=R.video)===null||W===void 0?void 0:W.itemId)!==null&&Z!==void 0?Z:"",contentName:(oe=(ie=R.video)===null||ie===void 0?void 0:ie.title)!==null&&oe!==void 0?oe:"",playType:ce,startTime:de,videoDuration:$,contentTags:JSON.stringify((ne=(Y=R.video)===null||Y===void 0?void 0:Y.tags)!==null&&ne!==void 0?ne:[]),position:e+"",contentFormat:"video",traceInfo:(B=R.video)===null||B===void 0?void 0:B.traceInfo}}),h(!1)}},[v,n,e,y]),T=a.useCallback(()=>{p(!0)},[]),_=a.useCallback(L=>()=>{var z,P,C,F,U;if(!k)return;const W=(z=c.current)===null||z===void 0?void 0:z.paused;switch(L){case"start":if(!W)return;(P=c.current)===null||P===void 0||P.play(),u(!1);break;case"pause":if(W)return;(C=c.current)===null||C===void 0||C.pause(),u(!0);break;default:W?(F=c.current)===null||F===void 0||F.play():(U=c.current)===null||U===void 0||U.pause(),u(!W);break}},[k]),x=a.useCallback(()=>{var L,z,P,C,F,U,W,Z,ie,oe,Y,ne,B;const R=n[e],$=((z=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&z!==void 0?z:0).toFixed(2),de=((C=(P=c.current)===null||P===void 0?void 0:P.currentTime)!==null&&C!==void 0?C:0).toFixed(2);if(!((F=c?.current)===null||F===void 0)&&F.duration){const ce=(((U=c?.current)===null||U===void 0?void 0:U.currentTime)-b.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Z=(W=R.video)===null||W===void 0?void 0:W.itemId)!==null&&Z!==void 0?Z:"",contentName:(oe=(ie=R.video)===null||ie===void 0?void 0:ie.title)!==null&&oe!==void 0?oe:"",endTime:de,videoDuration:$,playDuration:ce,contentTags:JSON.stringify((ne=(Y=R.video)===null||Y===void 0?void 0:Y.tags)!==null&&ne!==void 0?ne:[]),position:e+"",contentFormat:"video",traceInfo:(B=R.video)===null||B===void 0?void 0:B.traceInfo}})}},[n,e,v]),A=a.useMemo(()=>r?.mode==="2",[r]),O=a.useMemo(()=>{var L;return r?.mode==="2"?`translateY(-${50+((L=r?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),N=a.useMemo(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||g},[g,t]),V=a.useCallback(()=>{if(!I||!c||!c.current||!I.current)return;const L=c?.current,z=I?.current,P=z.getContext("2d"),C=window?.innerWidth,F=window?.innerHeight;z.height=F,z.width=C,P?.drawImage(L,0,0,z.width,z.height),D(z.toDataURL())},[]);a.useEffect(()=>{var L,z,P,C;if(c.current){if(u(!1),!c.current.src){const F=t.video.url;if(F.includes(".m3u8"))if(oi.isSupported()){const U=new oi;U.loadSource(F),U.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=F;else c.current.src=F;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(L=c.current)===null||L===void 0||L.addEventListener("loadedmetadata",T),(z=c.current)===null||z===void 0||z.addEventListener("canplay",T),(P=c.current)===null||P===void 0||P.addEventListener("playing",S),(C=c.current)===null||C===void 0||C.addEventListener("loadeddata",V),()=>{var F,U,W,Z;(F=c.current)===null||F===void 0||F.removeEventListener("loadedmetadata",T),(U=c.current)===null||U===void 0||U.removeEventListener("canplay",T),(W=c.current)===null||W===void 0||W.removeEventListener("playing",S),(Z=c.current)===null||Z===void 0||Z.removeEventListener("loadeddata",V)}}},[T,S,t.video,V]);const q=a.useMemo(()=>!m?.placeholder_image||k?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[k,m?.placeholder_image]);a.useEffect(()=>{const L=()=>{var z,P;l===e&&(!((z=t?.video)===null||z===void 0)&&z.url)&&(!((P=c?.current)===null||P===void 0)&&P.src)&&!d&&_("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[l,e,t,c,_,d]);const H=a.useMemo(()=>A?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[A]);return t.video?a.createElement(a.Fragment,null,A?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(Ce,{src:N,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),a.createElement("canvas",{ref:I,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:E}))),q):a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:_(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M}),q,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:E}))):null};var qs=a.memo(Ws);const ti={};Object.values(Zt).forEach(t=>{ti[t.extend.type]=t});const Ys="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Xs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Js=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let D=0;return e?.logoUrl&&e?.isShowLogo&&(D+=45),c.length>0&&(D+=45),s-D},[e,s,c]),m=(D,M)=>{var E,S,T,_;if(!((E=D.video)===null||E===void 0)&&E.url)return a.createElement(qs,{rec:D,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((S=D.video)===null||S===void 0)&&S.imgUrls)return a.createElement($s,{key:D.video.itemId,imgUrls:D.video.imgUrls,width:d,height:v,rec:D,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(D.product&&D.product&&Array.isArray(e?.productPost)&&((T=e?.productPost)===null||T===void 0?void 0:T.length)>0)return(_=e?.productPost)===null||_===void 0?void 0:_.map((x,A)=>{var O,N,V,q,H,L,z,P;const C=ti[(O=x?.item)===null||O===void 0?void 0:O.type],F=Ct(C),U=(N=C?.extend)===null||N===void 0?void 0:N.defaulSetting;return a.createElement(F,Object.assign({key:`${M}${A}`,textStyle:Object.assign(Object.assign({},U?.textStyle),(V=x?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(H=(q=x?.item)===null||q===void 0?void 0:q.bindDatas)!==null&&H!==void 0?H:[]},U?.props,(L=x?.item)===null||L===void 0?void 0:L.props,{event:((z=x?.item)===null||z===void 0?void 0:z.event)||{},id:x?.id,rec:D,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},U?.style),(P=x?.item)===null||P===void 0?void 0:P.style),{width:d,height:v,overflow:"auto"}),index:M}))})},f=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),w=(D,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(Wi,{rec:D,index:M,tempMap:o,resolver:ti})):null,b=(D,M)=>{var E,S,T,_,x,A,O;return D.video?a.createElement(a.Fragment,null,((E=D.video)===null||E===void 0?void 0:E.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(qi,{nudge:n}),w(D,M),a.createElement("div",null,a.createElement(xt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(T=(S=D.video)===null||S===void 0?void 0:S.title)!==null&&T!==void 0?T:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement($i,{index:M,tags:(x=(_=D?.video)===null||_===void 0?void 0:_.hashTags)!==null&&x!==void 0?x:[],itemId:(A=D?.video)===null||A===void 0?void 0:A.itemId,itemType:!((O=D.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:D,hashTagStyle:r}))):null},k=xe(Xs,u),p=xe(Ys,u),y=(D,M)=>{var E,S,T,_;if(!e?.isShowLike)return;let x=(E=e?.likeIconY)!==null&&E!==void 0?E:400;return x<40&&(x+=40),D.video?a.createElement(Hi,{key:D.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:k,unActicveIcon:(T=e?.unlikeIcon)!==null&&T!==void 0?T:p,position:M,active:D.isCollected,recData:D,className:"clc-sxp-like-button",style:{top:x,right:(_=e?.likeIconX)!==null&&_!==void 0?_:0}}):null},h=xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),I=xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),g=(D,M)=>{var E,S,T,_;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},f,a.createElement(Yi,{tagList:c}),a.createElement(Ui,{style:{position:"absolute",right:(E=e?.muteIconX)!==null&&E!==void 0?E:0,visibility:!((T=(S=t?.[M])===null||S===void 0?void 0:S.video)===null||T===void 0)&&T.url?"visible":"hidden",bottom:(_=e?.muteIconY)!==null&&_!==void 0?_:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:I}),m(D,M),b(D,M),y(D,M))};return a.createElement("div",{style:{width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none"}},t?.map((D,M)=>g(D,M)))};var Ks=a.memo(Js);const Qs=()=>{const{schema:t,resolver:e,popup:i}=Ne(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=se(),{productView:r}=Be(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var m,f,w,b;if(!i||i?.id===""||!s||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;d(Object.assign(Object.assign({},i),{id:""}));const k=o,p=(f=k?.video)===null||f===void 0?void 0:f.bindProduct,y=(b=(w=k?.video)===null||w===void 0?void 0:w.bindProduct)===null||b===void 0?void 0:b.bindCta;p&&y&&r(k,p,y,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var m,f,w;return(w=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||w===void 0?void 0:w.map((b,k)=>{var p,y,h,I,g,D,M,E;if(b?.id===i?.id){const S=e[(p=b?.item)===null||p===void 0?void 0:p.type],T=Ct(S),_=(y=S?.extend)===null||y===void 0?void 0:y.defaulSetting;return a.createElement(T,Object.assign({key:k,style:Object.assign(Object.assign(Object.assign({},_?.style),(h=b?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},_?.textStyle),(I=b?.item)===null||I===void 0?void 0:I.textStyle),bindDatas:(D=(g=b?.item)===null||g===void 0?void 0:g.bindDatas)!==null&&D!==void 0?D:[]},_?.props,(M=b?.item)===null||M===void 0?void 0:M.props,{event:((E=b?.item)===null||E===void 0?void 0:E.event)||{},schema:t,id:b?.id}))}else return a.createElement(a.Fragment,null)})},[t,i,e]);return a.createElement(Tt,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},ii={};Object.values(Zt).forEach(t=>{ii[t.extend.type]=t});const Zs=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var r,s,d,u,c,v;const m=a.useMemo(()=>{var f;return location?.search?(f=location?.search)===null||f===void 0?void 0:f.replace("?",""):""},[]);return a.createElement(gi,{resolver:ii,enableDataSource:!1,schema:t?.data,utmVal:m},a.createElement(vi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(s=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&s!==void 0?s:e,defaultSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&u!==void 0?u:i,hashTagSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.hash_tag_size)!==null&&v!==void 0?v:n,loadingImage:o,appDomain:l,render:({rtcList:f,tagList:w})=>{var b;return a.createElement(a.Fragment,null,a.createElement(Xi,Object.assign({},(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf,{tagList:w,data:f,resolver:ii})),a.createElement(Qs,null))}}))};var ea=a.memo(Zs);const Ji=a.createContext({}),ta=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(Ji.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function ia(){return a.useContext(Ji)}exports.DiyPortalPreview=Ks,exports.EditorDataProvider=ta,exports.Modal=Tt,exports.SxpDataSourceProvider=vi,exports.SxpPageCore=ea,exports.SxpPageRender=Xi,exports.core=En,exports.default=vn,exports.defaultSetting=In,exports.materials=Zt,exports.useEditorDataProvider=ia;
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:T?.info})))},te=()=>{var q;return a.createElement(a.Fragment,null,(w||P?.link)&&a.createElement("button",{onClick:F,className:"pb-commondity-btn",style:M},(q=A?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))};return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:Y.css(Object.assign({},v))},x),P&&((r=P?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(Je,{height:Q,modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:y?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:y?.delay*1e3}},(s=P?.homePage)===null||s===void 0?void 0:s.map(q=>a.createElement(Oe,{key:q},a.createElement("div",{style:{overflow:"hidden",width:Q,height:Q}},a.createElement(Ce,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:q}))))),!(!((d=P?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:Y.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:Y.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=E?.bottom_image)!==null&&u!==void 0?u:k,alt:""})),a.createElement("div",{className:"pb-commondity-content"},ne({isPost:g}))),te(),a.createElement(St,{visible:H,onClose:()=>N(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},ne({isPost:!1})),te()))};var hl=a.memo(ml);const gl=we(hl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Mn},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],yl=[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]}],Ri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const wl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Sl=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,r=me(t,["content","btnText","style","icon","onClick"]);const s=typeof o=="string"?o:wl(o),d=()=>{window?.sxpPopup(""),l?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${Y.css(Object.assign({},n))}`},r),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:s??Ri})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",onClick:d},i))};var Tl=a.memo(Sl);const xl=we(Tl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:yl,bindableProps:[],interactionRender:bl},defaulSetting:{props:{icon:Ri,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Wt,qt,El=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Wt=ee?.[0])===null||Wt===void 0?void 0:Wt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(qt=ee?.[0])===null||qt===void 0?void 0:qt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Cl=t=>{var e,i,n,o,l,r,s,d,u,c,v,f,{style:m,isDefault:b,rec:w,viewTime:k,isPost:p,bottom_image:g,tipText:h,swiper:I,commodityStyles:y,buttonStyle:T,index:M}=t,C=me(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:x}=se(),{popupDetailData:E,bffEventReport:D,isPreview:S,swiperRef:_,waterFallData:O}=se(),{jumpToWeb:B,productView:V}=Be(),W=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[H,N]=a.useState(!1),j=a.useRef(null),P=p?w:E,A=p?P?.product:(e=P?.video)===null||e===void 0?void 0:e.bindProduct,X=p?(i=P?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=P?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,F=p?M:E?.index,U=()=>{A?.link&&(B(P,A,X,F),p||V(P,A,X,k||j.current,F),window.location.href=window.getJointUtmLink(A.link))};a.useEffect(()=>{const q=()=>{j.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const Q=a.useMemo(()=>{var q,oe,z,R,G;return A?.currency&&A?.price?`${(z=(oe=(q=A?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||oe===void 0?void 0:oe.toUpperCase())!==null&&z!==void 0?z:""}${(G=(R=A?.price)===null||R===void 0?void 0:R.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:"\xA3102,300.00"},[A?.price,A?.currency]),ne=S?375:(l=m?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:q})=>a.createElement("div",{hidden:!!A&&(!A?.info||A?.info==="")},a.createElement(Tt,{isPost:q,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:y?.info,foldText:h?.foldText,unfoldText:h?.unfoldText,text:A?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
6
|
+
Made in Italy`}));return a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:W,className:Y.css(Object.assign({},m))},C),A&&((r=A?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(Je,{height:ne,modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:I?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:I?.delay*1e3}},(s=A?.homePage)===null||s===void 0?void 0:s.map(q=>a.createElement(Oe,{key:q},a.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},a.createElement(Ce,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block"},src:q}))))),!(!((d=A?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:Y.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:Y.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=x?.bottom_image)!==null&&u!==void 0?u:g,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:y?.title},(c=A?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!A&&(!A?.collection||A?.collection===""),style:y?.collection},A?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.price,style:y?.price},Q),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!A&&!A?.taxInfo,style:y?.taxInfo},(v=A?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!A||A?.link)&&a.createElement("button",{onClick:U,className:"pb-commondityDiroNew-btn",style:T},(f=X?.enTitle)!==null&&f!==void 0?f:"Shop now"),te({isPost:p}))),a.createElement(St,{visible:H,onClose:()=>N(!1)},te({isPost:!1})))};var Il=a.memo(Cl);const Dl=we(Il,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:El},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var Yt,Xt,Ie=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Yt=ee?.[0])===null||Yt===void 0?void 0:Yt.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ee,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Xt=ee?.[0])===null||Xt===void 0?void 0:Xt.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Vi(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const _l=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;me(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Vi(d),{popup:c}=Ne(),{setPopupDetailData:v,ctaEvent:f}=se(),{jumpToWeb:m}=Be();a.useEffect(()=>{var w,k;if(u&&d?.current){const p=(k=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)!==null&&k!==void 0?k:e?.video;f?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,f,s]);const b=ve.throttle(()=>{var w,k,p,g,h,I,y,T,M,C;const x=(k=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)!==null&&k!==void 0?k:e?.video;if(f?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,x,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((g=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||g===void 0)&&g.link){const E=(h=e?.video)===null||h===void 0?void 0:h.bindCta,D=(I=e?.video)===null||I===void 0?void 0:I.bindProduct;m(e,D,E,s),window.location.href=(T=(y=e?.video)===null||y===void 0?void 0:y.bindProduct)===null||T===void 0?void 0:T.link,window.location.href=window.getJointUtmLink((C=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||C===void 0?void 0:C.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:b},i)};var dt=a.memo(_l),Al={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Pl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:b}=t,w=me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,g=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return a.createElement(dt,Object.assign({isExternalLink:b,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},w),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Ce,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:g})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Al["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var Ml=a.memo(Pl);const Ol=we(Ml,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:kl,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Ll=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const jl=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,f=me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:m}=se(),b=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(dt,Object.assign({isExternalLink:v,rec:d,className:Y.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},f),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=b?.icon)!==null&&i!==void 0?i:m?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=b?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var Nl=a.memo(jl);const Bl=we(Nl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ll,settingRender:Ie?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Rl=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:f}=t,m=me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:b,bffEventReport:w}=se(),{jumpToWeb:k}=Be(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,g=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{p?.link&&(k(u,g,p,f),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(dt,Object.assign({index:f,rec:u,className:Y.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m,{onClick:h}),a.createElement("div",{className:Y.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(Ce,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&o!==void 0?o:c})),a.createElement("div",{className:Y.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:zl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Vl=a.memo(Rl);const Fl=we(Vl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ie?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Hl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ul={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Gl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:b}=t,w=me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,g=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return a.createElement(dt,Object.assign({isExternalLink:b,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},w),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Ce,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:g})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Ul["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var $l=a.memo(Gl);const Wl=we($l,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Hl,settingRender:Ie,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var ql=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Xl=t=>{var e,i,n,o,l,r,s,{content:d,style:u,bgImg:c,recData:v,bottom_image:f,ctaTempStyles:m,isExternalLink:b}=t,w=me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:k}=se(),p=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,g=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:k?.bottom_image)!==null&&o!==void 0?o:f;return a.createElement(dt,Object.assign({isExternalLink:b,rec:v,className:Y.css(Object.assign({},u)),style:{display:"flex"}},w),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Ce,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:g})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Yl["tow-line-ellipsis"],style:m?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&s!==void 0?s:"Shop now")))};var Jl=a.memo(Xl);const Kl=we(Jl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:ql,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var Ql=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Zl=({children:t,isPadding:e=!0})=>a.createElement(Je,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Un,Hn,Fn],style:{padding:e?"0 12px 0 20px":0}},t);var xt=a.memo(Zl);const es=({src:t,rec:e,item:i,index:n})=>{const o=a.useRef(null),l=Vi(o),{ctaEvent:r}=se();return a.useEffect(()=>{l&&t&&o?.current&&r?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,r,i,n]),a.createElement("div",{ref:o,hidden:!t,className:Y.css({width:"100%",height:"100%"})},a.createElement(Ce,{className:Y.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:t}))};var Jt=a.memo(es),ts={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const is=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:m,setPopupDetailData:b,sxpParameter:w}=se(),{popup:k}=Ne(),{jumpToWeb:p}=Be(),[g,h]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),I=ve.throttle(y=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,y,v),b?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:y}),index:v})),c?y?.link&&(p(r,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return a.createElement(xt,{isPadding:!!r},g?.map(y=>{var T,M,C,x,E,D;return a.createElement(Oe,Object.assign({hidden:r&&!y?.bindCta,key:y?.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>I(y)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Jt,{src:(C=(M=(T=y?.homePage)===null||T===void 0?void 0:T[0])!==null&&M!==void 0?M:w?.bottom_image)!==null&&C!==void 0?C:d,rec:r,item:y,index:v})),a.createElement("div",{className:Y.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ts["two-line-ellipsis"],style:u?.title},(x=y?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(D=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&D!==void 0?D:"Shop Now")))}))};var ns=a.memo(is);const os=we(ns,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ql,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var ls=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ss={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const as=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:m}=se(),{ctaEvent:b,setPopupDetailData:w}=se(),{popup:k}=Ne(),[p,g]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=Be(),I=ve.throttle(y=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,y,v),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:y}),index:v})),c?y?.link&&(h(r,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return a.createElement(xt,{isPadding:!!r},p?.map(y=>{var T,M,C,x,E,D;return a.createElement(Oe,Object.assign({hidden:r&&!y?.bindCta,key:y.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>I(y)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Jt,{src:(C=(M=(T=y?.homePage)===null||T===void 0?void 0:T[0])!==null&&M!==void 0?M:m?.bottom_image)!==null&&C!==void 0?C:d,rec:r,item:y,index:v})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ss["two-line-ellipsis"],style:u?.title},(x=y?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(D=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&D!==void 0?D:"Shop Now")))}))};var rs=a.memo(as);const ds=we(rs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:ls,settingRender:Ie,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var cs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],us={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const ps=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v}=t,f=me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:m,setPopupDetailData:b,sxpParameter:w}=se(),{popup:k}=Ne(),{jumpToWeb:p}=Be(),[g,h]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),I=ve.throttle(y=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,y,v),b?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:y}),index:v})),c?y?.link&&(p(r,y,y.bindCta,v),window.location.href=window.getJointUtmLink(y.link)):s?.()},k?.duration);return a.createElement(xt,{isPadding:!!r},g?.map(y=>{var T,M,C,x,E,D;return a.createElement(Oe,Object.assign({hidden:r&&!y?.bindCta,key:y?.itemId,className:Y.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>I(y)}),a.createElement("div",{className:Y.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(Jt,{src:(C=(M=(T=y?.homePage)===null||T===void 0?void 0:T[0])!==null&&M!==void 0?M:w?.bottom_image)!==null&&C!==void 0?C:d,rec:r,item:y,index:v})),a.createElement("div",{className:Y.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:us["tow-line-ellipsis"],style:u?.title},(x=y?.title)!==null&&x!==void 0?x:"Product Name"),a.createElement("div",{className:Y.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(D=(E=y?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&D!==void 0?D:"Shop now")))}))};var vs=a.memo(ps);const fs=we(vs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:cs,bindableProps:[],settingRender:Ie},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var Kt,Qt,ms=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ee,name:["fontFamily"],initialValue:(Kt=ee?.[0])===null||Kt===void 0?void 0:Kt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ee,initialValue:(Qt=ee?.[0])===null||Qt===void 0?void 0:Qt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const hs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=se();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Fi=a.memo(hs),gs=null,bs="3d989325-e7d6-4a74-8a97-98febdf5b567",ys=null,ws=null,Ss={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},Ts=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],xs="Handbags",Es={productUserId:gs,requestId:bs,channel:ys,rtc:ws,tag:Ss,recList:Ts,hashTag:xs};const Cs=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=se(),[f,m]=a.useState(!1),b=a.useRef(null),w=a.useRef(null),k=a.useRef(null),p=a.useRef(null),[g,h]=a.useState(""),I=a.useMemo(()=>{var x,E,D,S,_,O,B,V,W,H,N,j;return!((x=e?.video)===null||x===void 0)&&x.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((D=e?.video)===null||D===void 0)&&D.url?(m(!0),(S=e?.video)===null||S===void 0?void 0:S.url):!((O=(_=e?.video)===null||_===void 0?void 0:_.imgUrls)===null||O===void 0)&&O.length?(V=(B=e?.video)===null||B===void 0?void 0:B.imgUrls)===null||V===void 0?void 0:V[0]:!((H=(W=e?.product)===null||W===void 0?void 0:W.homePage)===null||H===void 0)&&H.length?(j=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||j===void 0?void 0:j[0]:v?.bottom_image||""},[e,v?.bottom_image]),y=a.useMemo(()=>{var x,E;return((x=e?.product)===null||x===void 0?void 0:x.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),T=a.useMemo(()=>{var x,E,D,S,_,O,B,V,W;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(O=(_=(S=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||S===void 0?void 0:S.split("-")[1])===null||_===void 0?void 0:_.toUpperCase())!==null&&O!==void 0?O:""}${(W=(V=(B=e?.product)===null||B===void 0?void 0:B.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&W!==void 0?W:""}`:null},[e]);a.useEffect(()=>{const x=new IntersectionObserver(E=>{E.forEach(D=>{if(D.isIntersecting){if(w.current===null||I==="")return;f&&g?b.current.setSrc(g):b.current.setSrc(I),x.unobserve(w.current)}})});return x.observe(w.current),()=>{x.disconnect()}},[I,f,g]);const M=(x,E,D)=>{const S=x/E;return D/S};a.useEffect(()=>{const x=k?.current;x===null||I===""||!f||(x.src=I,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const E=p?.current;if(!E)return;const D=E.getContext("2d"),S=window?.innerWidth/2,_=M(x.videoWidth,x.videoHeight,S);E.height=_,E.width=S,D?.drawImage(x,0,0,E.width,E.height),h(E.toDataURL()),x.remove(),E.remove()})},[I,f]);const C=()=>{o(),d?.(n),setTimeout(()=>{var x;(x=s?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:w,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},f&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:k,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(Ce,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${T?"list-content-listItem-info-nowrap":""}`,style:l?.title},y&&y),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!T},T)))};function Is(t){var e,i,n,o,l,r,s,d,u,{reportTagsView:c}=t,v=me(t,["reportTagsView"]);const{waterFallData:f,getRecommendVideos:m,hashTagSize:b,loadingImage:w,isOpenHashTag:k}=se(),[p,g]=a.useState(),[h,I]=a.useState(),[y,T]=a.useState(!1),M=a.useRef(null),[C,x]=a.useState(!1);a.useCallback(()=>{C||(x(!0),f&&m?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType}).then(D=>{var S;g(p?.concat((S=D?.recList)!==null&&S!==void 0?S:[])),x(!1)}))},[f,m,p,C]),a.useEffect(()=>{var D,S;if(T(!0),f&&m?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType,defaultSize:b}).then(_=>{var O,B;I(_),g((B=(O=_?.recList)===null||O===void 0?void 0:O.filter(V=>V?.video!==null||V?.product!==null))!==null&&B!==void 0?B:[]),T(!1)}),k){const _=Es;I(_),g((S=(D=_?.recList)===null||D===void 0?void 0:D.filter(O=>O?.video!==null||O?.product!==null))!==null&&S!==void 0?S:[]),T(!1)}},[f,m,b,k]);const E=()=>{var D,S;!((D=h?.tag)===null||D===void 0)&&D.link&&(c(),window.location.href=(S=h?.tag)===null||S===void 0?void 0:S.link)};return a.createElement(a.Fragment,null,y?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:M},a.createElement("div",{className:"list-info",style:(e=v?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=h?.tag)===null||i===void 0?void 0:i.info),a.createElement("div",{hidden:!(!((n=h?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:E,style:Object.assign(Object.assign({},(o=v?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:v?.space})},((l=h?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),a.createElement("div",{className:"list-content"},p?.map((D,S)=>a.createElement(Cs,Object.assign({key:S,index:S,rec:D,list:p,reportTagsView:c},v)))),a.createElement("div",{hidden:!C,style:{textAlign:"center"}},"loading..."),a.createElement("div",{style:{height:!((r=h?.tag)===null||r===void 0)&&r.link?((s=v?.buttonBgStyle)===null||s===void 0?void 0:s.height)||((d=v?.buttonStyle)===null||d===void 0?void 0:d.height)||"100px":0}})),a.createElement("div",{className:"list-bottom",style:v?.buttonBgStyle}),a.createElement("div",{className:"list-btn-wrap",style:Object.assign(Object.assign({},v?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},a.createElement("button",{className:"list-btn",style:v?.buttonStyle,onClick:E},((u=h?.tag)===null||u===void 0?void 0:u.linkTitle)||"Shop the collection"))))}var Ds="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ks=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:f,isFromHashtag:m,bffEventReport:b}=se();a.useRef(null);const w=a.useRef(null),[k,p]=a.useState();a.useEffect(()=>{const T=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?w.current=M:(w.current=document.createElement("div"),w.current.setAttribute("id","water-fall"),T?.appendChild(w.current))},[]);const g=()=>{const T=ve.isEqual(c,s);!T&&s&&s?.length&&d?.(s),y(),r?.(void 0),f?.(!1),setTimeout(()=>{var M,C;T||(C=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||C===void 0||C.slideTo(u,0,!1),n?.(!1)},0)},[h,I]=a.useState();a.useEffect(()=>{i&&I(i)},[i]);const y=a.useCallback(()=>{var T,M,C,x,E,D;const S=h?.rec;if(!S)return;let _="";m?_="hashTagPage":!((T=S?.video)===null||T===void 0)&&T.url?_="videoPage":!((C=(M=S?.video)===null||M===void 0?void 0:M.imgUrls)===null||C===void 0)&&C.length&&(_="imagePage"),b?.({eventInfo:{contentId:(x=S?.video)===null||x===void 0?void 0:x.itemId,position:u+"",contentTags:JSON.stringify((E=S?.video)===null||E===void 0?void 0:E.tags),traceInfo:(D=S?.video)===null||D===void 0?void 0:D.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:_,fromKPage:location?.href,timeOnSite:Math.floor((new Date-k)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,b,k,m,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const T=()=>{p(new Date)};return window.addEventListener("pageshow",T),()=>{window.removeEventListener("pageshow",T)}},[]),w.current?si.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Fi,{icon:Ds,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:g}),a.createElement(Is,Object.assign({reportTagsView:y},t))),w.current):null};var Hi=a.memo(ks);const _s=t=>a.createElement(Hi,Object.assign({},t));var As=a.memo(_s);const Ps=we(As,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ms,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var Zt=Object.freeze({__proto__:null,Appoint:Bl,AppointForm:Pn,Commodity:Ol,CommodityDetail:gl,CommodityDetailDiroNew:Dl,CommodityDiro:Wl,CommodityDiroNew:Kl,HashTag:Ps,Link:Fl,MultiCommodity:ds,MultiCommodityDiro:os,MultiCommodityDiroNew:fs,Prompt:xl});const Ms="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Os="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ls=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=me(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=se(),[c,v]=a.useState(e),f=xe(Os),m=xe(Ms),b=ve.debounce(()=>ge(void 0,void 0,void 0,function*(){var w,k,p,g,h,I,y,T,M,C,x,E,D,S,_,O,B,V,W,H;if(c){v(!1);const N=(p=yield d?.({videoItemId:(k=(w=o.video)===null||w===void 0?void 0:w.itemId)!==null&&k!==void 0?k:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(g=o.video)===null||g===void 0?void 0:g.itemId)!==null&&h!==void 0?h:"",contentName:(y=(I=o.video)===null||I===void 0?void 0:I.title)!==null&&y!==void 0?y:"",contentTags:JSON.stringify((M=(T=o.video)===null||T===void 0?void 0:T.tags)!==null&&M!==void 0?M:[]),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}}),N||v(!0)}else{v(!0);const N=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(S=(D=o.video)===null||D===void 0?void 0:D.itemId)!==null&&S!==void 0?S:"",contentName:(O=(_=o.video)===null||_===void 0?void 0:_.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((V=(B=o.video)===null||B===void 0?void 0:B.tags)!==null&&V!==void 0?V:[]),position:l+"",contentFormat:!((W=o.video)===null||W===void 0)&&W.url?"video":"image",traceInfo:(H=o.video)===null||H===void 0?void 0:H.traceInfo}}),N||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:b}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||f:n||m,alt:"icon"}))};var Ui=a.memo(Ls);const nt=new sn;var Ge;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Ge||(Ge={}));const js=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:f,openHashtag:m}=se(),b=a.useRef(0),[w,k]=a.useState(!1),[p,g]=a.useState(!0),{isActive:h}=zi(),I=a.useRef(null),[y,T]=a.useState(""),M=`pb-cache-video-${e}`,C=a.useRef(null);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const x=a.useCallback(()=>{s&&s?.play()},[s]),E=xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),D=a.useCallback(()=>{var F,U,Q,ne,te,q,oe,z,R;if(!s)return;u(!1);const G=n[e];if(G&&s?.duration()){b.current=s?.currentTime()||0;const ce=((F=s?.duration())!==null&&F!==void 0?F:0).toFixed(2),re=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2),ue=p?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ne=(Q=G.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(te=G.video)===null||te===void 0?void 0:te.title)!==null&&q!==void 0?q:"",playType:ue,startTime:re,videoDuration:ce,contentTags:JSON.stringify((z=(oe=G.video)===null||oe===void 0?void 0:oe.tags)!==null&&z!==void 0?z:[]),position:e+"",contentFormat:"video",traceInfo:(R=G.video)===null||R===void 0?void 0:R.traceInfo}}),g(!1)}},[c,n,e,p,s]),S=a.useCallback(()=>{s&&(l!==e&&(s?.play(),s?.pause()),k(!0))},[l,e,s]),_=a.useCallback(()=>{k(!0)},[]),O=a.useCallback(F=>()=>{if(!s||!w)return;const U=s?.paused();switch(F){case"start":if(!U)return;s?.play(),u(!1);break;case"pause":if(U)return;s?.pause(),u(!0);break;default:U?s?.play():s?.pause(),u(!U);break}},[w,s]),B=a.useCallback(()=>{var F,U,Q,ne,te,q,oe,z,R;if(!s||l!==e)return;const G=n[e],ce=((F=s?.duration())!==null&&F!==void 0?F:0).toFixed(2),re=((U=s?.currentTime())!==null&&U!==void 0?U:0).toFixed(2);if(s?.duration()){const ue=(s?.currentTime()-b.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ne=(Q=G.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(te=G.video)===null||te===void 0?void 0:te.title)!==null&&q!==void 0?q:"",endTime:re,videoDuration:ce,playDuration:ue,contentTags:JSON.stringify((z=(oe=G.video)===null||oe===void 0?void 0:oe.tags)!==null&&z!==void 0?z:[]),position:e+"",contentFormat:"video",traceInfo:(R=G.video)===null||R===void 0?void 0:R.traceInfo}})}},[n,e,c,s]),V=a.useMemo(()=>r?.mode==="2",[r]),W=a.useMemo(()=>{var F;return r?.mode==="2"?`translateY(-${50+((F=r?.offsetTop)!==null&&F!==void 0?F:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),H=a.useMemo(()=>{var F;return((F=t?.video)===null||F===void 0?void 0:F.cover)||y},[y,t]),N=a.useMemo(()=>V?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[V]),j=a.useMemo(()=>r?.bgWay==="1",[r]),P=a.useMemo(()=>j&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,j]),A=a.useCallback(()=>{var F;if(!s||j)return;const U=document.getElementById("player-container-id_html5_api");if(!((F=t?.video)===null||F===void 0)&&F.cover||!I||!U||!I.current)return;const Q=()=>{const ne=U,te=I?.current,q=te.getContext("2d"),oe=window?.innerWidth,z=window?.innerHeight;te.height=z,te.width=oe,q?.drawImage(ne,0,0,te.width,te.height),T(te.toDataURL())};Q(),setTimeout(()=>{Q()},500)},[s,j,t]);a.useEffect(()=>{if(!h||!s)return;const F=t.video.url;if(!F)return;u(!1);const U=document.querySelector(`#${M}`),Q=document.querySelector("#player-container-id"),ne=document.querySelector("#player-container-id-copy");if(!(!Q&&!ne))return U?.appendChild(Q||ne),s?.src(F),s?.on("loadedmetadata",S),s?.on("loadeddata",A),s?.on("canplay",_),s?.on("playing",D),s?.on("pause",B),s?.on("ended",x),()=>{ne?.appendChild(Q),s?.off("loadedmetadata",S),s?.off("loadeddata",A),s?.off("canplay",_),s?.off("playing",D),s?.off("pause",B),s?.off("ended",x)}},[h,M,t,s]),a.useEffect(()=>{!s||!w||(h?s?.play():s?.pause())},[h,w,s]),a.useEffect(()=>{if(!h||!s)return;!s?.paused()&&m?s?.pause():m||s?.play()},[m,h,s]),a.useEffect(()=>{if(!h)return;const F=O("start"),U=O("pause");return nt.on(Ge.PAGE_DID_SHOW,F),nt.on(Ge.PAGE_DID_HIDE,U),()=>{nt.off(Ge.PAGE_DID_SHOW,F),nt.off(Ge.PAGE_DID_HIDE,U)}},[O,h]);const X=a.useMemo(()=>!v?.placeholder_image||w?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[w,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const F=()=>{var U;l===e&&(!((U=t?.video)===null||U===void 0)&&U.url)&&s&&!d&&O("pause")()};return window.addEventListener("beforeunload",F),()=>{window.removeEventListener("beforeunload",F)}},[l,e,t,s,O,d]),t.video?a.createElement(a.Fragment,null,V?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:O(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},P)},!j&&a.createElement(Ce,{src:H,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},N)}),a.createElement("canvas",{ref:I,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:W,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:C,id:M,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:E}))),X):a.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:O()},a.createElement("div",{className:"n-full-screen",ref:C,id:M,style:{width:"100%",height:"100%"}}),X,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:E}))):null};var Ns=a.memo(js);const Bs=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Gi=a.memo(Bs);const zs=({imageUrl:t})=>{const[e,i]=a.useState(!0);Ne(),a.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=a.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return a.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},a.createElement("img",{src:t||n}))},$i=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},!s&&a.createElement(Ce,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(Ce,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},Rs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=zi(),{sxpParameter:v,openHashtag:f}=se(),[m,b]=a.useState(!1);return a.useEffect(()=>{m&&c?(u?.current&&u.current.swiper.autoplay.start(),f?l(n):r(o)):(b(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,f,o,r,m]),a.createElement(Je,{ref:u,defaultValue:0,direction:"horizontal",modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((d=s?.delay)!==null&&d!==void 0?d:3)*1e3}},t?.map(w=>a.createElement(Oe,{key:w},a.createElement($i,{src:w,height:i,imgUrlsPostConfig:s}))))};var Vs=a.memo(Rs);const Fs=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:f}=se(),m=b=>{v?f?.(!0):c?.(n),d?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(xt,null,t?.map((b,w)=>a.createElement(Oe,{key:w,hidden:r?!1:w>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>m(b)},`#${b}`))))};var Wi=a.memo(Fs),Hs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Et(t){return a.memo(function(e){const{$store:i}=mn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=ve.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=me(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:f}=c;f.replace(/{{\s*([\w.]+)\s*}}/g,(m,b)=>{var w,k;if(b){const p=(k=(w=ve.get(i,b))!==null&&w!==void 0?w:e[v])!==null&&k!==void 0?k:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=ve.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Us=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Ne(),l=a.useMemo(()=>{var r,s,d,u,c,v,f,m,b,w,k,p,g,h,I,y,T,M,C,x,E,D,S,_,O,B,V,W,H,N,j;if(!t?.video)return null;let P=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?P="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?P="\u5546\u54C1CTA":P=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const A=i?.[P];if(((v=A?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((f=t?.video)===null||f===void 0)&&f.bindProduct)||((m=A?.item)===null||m===void 0?void 0:m.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((w=A?.item)===null||w===void 0?void 0:w.type)==="CommodityDiroNew"&&!(!((k=t?.video)===null||k===void 0)&&k.bindProduct)||((p=A?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((h=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||h===void 0)&&h.length)||((I=A?.item)===null||I===void 0?void 0:I.type)==="MultiCommodityDiro"&&!(!((T=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||T===void 0)&&T.length)||((M=A?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((x=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||x===void 0)&&x.length))return null;if(A&&n){const X=n[(E=A?.item)===null||E===void 0?void 0:E.type],F=Et(X),U=(D=X?.extend)===null||D===void 0?void 0:D.defaulSetting,Q=((O=(_=(S=A?.item)===null||S===void 0?void 0:S.event)===null||_===void 0?void 0:_.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return a.createElement(F,Object.assign({style:Object.assign(Object.assign(Object.assign({},U?.style),(B=A?.item)===null||B===void 0?void 0:B.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},U?.textStyle),(V=A?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(H=(W=A?.item)===null||W===void 0?void 0:W.bindDatas)!==null&&H!==void 0?H:[]},U?.props,(N=A?.item)===null||N===void 0?void 0:N.props,{event:((j=A?.item)===null||j===void 0?void 0:j.event)||{},schema:o,id:A?.id,key:A?.id,recData:t,isExternalLink:Q,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var qi=a.memo(Us);const Yi=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,a.createElement("p",{style:Object.assign({},t?.textStyle)},(s=t?.content)!==null&&s!==void 0?s:"")))},ei="FOR U",Gs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ei),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u}=se(),c=a.useMemo(()=>[ei,...t],[t]),v=f=>()=>{if(f===i)return;let m;f!==ei&&(m=f),d?.(!0),o?.({hashTag:m}).then(b=>{var w,k,p,g;l?.((w=b?.recList)!==null&&w!==void 0?w:[]),r?.((k=b?.recList)!==null&&k!==void 0?k:[]),e?.(0),s?.(0),(g=(p=u?.current)===null||p===void 0?void 0:p.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{d?.(!1)}),n(f)};return t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},c.map(f=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${f===i?"clc-sxp-tagbar-list-item-active":""}`,key:f,onClick:v(f)},f))))};var Xi=a.memo(Gs);const Ji=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:f=[],licenseUrl:m})=>{var b,w,k,p,g,h,I;const{schema:y}=Ne(),[T,M]=a.useState(0),C=a.useRef(0),[x,E]=a.useState(!1),[D,S]=a.useState(!0),_=a.useRef(),O=a.useRef(),[B,V]=a.useState(!1),[W,H]=a.useState(!1),{loadVideos:N,bffEventReport:j,loading:P,setPopupDetailData:A,ctaEvent:X,swiperRef:F,waterFallData:U,setOpenHashtag:Q,appDomain:ne,openHashtag:te,loadingImage:q,isFromHashtag:oe,popupDetailData:z}=se(),[R,G]=a.useState(null),ce=a.useRef(),{productView:re}=Be(),ue=a.useMemo(()=>r.length>0&&!P&&wn(),[r,P]),ye=a.useCallback(()=>{if(r.length<=0)return;Te();const L=location.search.slice(1),K=oi.parse(L.replace(/\+/g,"%2B"));for(const Z in K)K[Z]=K[Z].replace(/%2B/g,"+");const $=Z=>{var ie;return(ie=K[Z])!==null&&ie!==void 0?ie:""};j?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:$("utm_source"),utmMedium:$("utm_medium"),utmCampaign:$("utm_campaign"),utmId:$("utm_id"),utmContent:$("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),E(!0)},[j,r.length]),Te=()=>{_.current=new Date,O.current=new Date,gn()},Re=a.useRef();a.useEffect(()=>{if(!Re.current&&!R){Re.current=!0;const L=TCPlayer("player-container-id",{licenseUrl:m,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});L?.ready(()=>{G(L)})}},[R,m]),a.useEffect(()=>{x||ye()},[ye,x]),a.useEffect(()=>{var L;const K=r?.findIndex($=>{var Z,ie,ae,J,le,de,pe,ke,_e;return s==="\u591A\u5546\u54C1CTA"?((Z=$?.video)===null||Z===void 0?void 0:Z.bindProducts)&&((ae=(ie=$?.video)===null||ie===void 0?void 0:ie.bindProducts)===null||ae===void 0?void 0:ae.length)>0:s==="\u5546\u54C1CTA"?(J=$?.video)===null||J===void 0?void 0:J.bindProduct:((de=(le=$?.video)===null||le===void 0?void 0:le.bindCta)===null||de===void 0?void 0:de.itemId)===s&&(((pe=$?.video)===null||pe===void 0?void 0:pe.url)||((_e=(ke=$?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||_e===void 0?void 0:_e.length))})||0;(L=F?.current)===null||L===void 0||L.swiper.slideTo(K)},[s,F]),a.useEffect(()=>{const L=r?.[T],K=()=>{var $,Z,ie,ae,J,le,de,pe,ke,_e,$e,We,qe,Ye,Fe;if(document.visibilityState==="hidden"){nt.emit(Ge.PAGE_DID_HIDE,L),fe(L),Ve(L);let Le="";z&&(!((Z=($=L?.video)===null||$===void 0?void 0:$.bindProducts)===null||Z===void 0)&&Z.length||!((ie=L?.video)===null||ie===void 0)&&ie.bindProduct)?Le="pdpPage":z&&o?.[(le=(J=(ae=L.video)===null||ae===void 0?void 0:ae.bindCta)===null||J===void 0?void 0:J.itemId)!==null&&le!==void 0?le:""].item.type==="Appoint"?Le="formPage":oe?Le="hashTagPage":!((de=L?.video)===null||de===void 0)&&de.url?Le="videoPage":!((pe=L?.video)===null||pe===void 0)&&pe.imgUrls&&(!((_e=(ke=L?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||_e===void 0)&&_e.length)?Le="imagePage":L?.product&&(Le="productPage"),j?.({eventInfo:{sessionDuration:Math.floor((new Date-_.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:($e=L?.video)===null||$e===void 0?void 0:$e.itemId,productId:(We=L?.product)===null||We===void 0?void 0:We.itemId,position:T+"",fromKName:Le,fromKPage:location?.href,ctatId:(Fe=(Ye=(qe=L.video)===null||qe===void 0?void 0:qe.bindCta)===null||Ye===void 0?void 0:Ye.itemId)!==null&&Fe!==void 0?Fe:""}})}else document.visibilityState==="visible"&&(ye(),ni(T),nt.emit(Ge.PAGE_DID_SHOW,L))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[T,j,_,r,ye,z,oe,o]);const De=a.useMemo(()=>{let L=0;return t?.logoUrl&&t?.isShowLogo&&(L+=45),f.length>0&&(L+=45),i-L},[t,i,f]),ot=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ke=a.useCallback((L,K)=>{var $,Z,ie,ae;return!(($=L.video)===null||$===void 0)&&$.url?a.createElement(Ns,{rec:L,index:K,muted:D,data:r,height:De,activeIndex:T,videoPostConfig:t?.videoPost,videoRef:R}):!((Z=L.video)===null||Z===void 0)&&Z.imgUrls?a.createElement(Vs,{key:L.video.itemId,imgUrls:L.video.imgUrls,width:n,height:De,rec:L,index:K,onReportViewImageEnd:fe,onViewImageStartEvent:ni,imgUrlsPostConfig:t?.imgUrlsPost}):L.product&&Array.isArray(t?.productPost)&&((ie=t?.productPost)===null||ie===void 0?void 0:ie.length)>0?(ae=t?.productPost)===null||ae===void 0?void 0:ae.map((J,le)=>{var de,pe,ke,_e,$e,We,qe,Ye;const Fe=l[(de=J?.item)===null||de===void 0?void 0:de.type],Le=Et(Fe),je=(pe=Fe?.extend)===null||pe===void 0?void 0:pe.defaulSetting;return a.createElement(Le,Object.assign({key:`${K}${le}`,textStyle:Object.assign(Object.assign({},je?.textStyle),(ke=J?.item)===null||ke===void 0?void 0:ke.textStyle),bindDatas:($e=(_e=J?.item)===null||_e===void 0?void 0:_e.bindDatas)!==null&&$e!==void 0?$e:[]},je?.props,(We=J?.item)===null||We===void 0?void 0:We.props,{event:((qe=J?.item)===null||qe===void 0?void 0:qe.event)||{},schema:y,id:J?.id,viewTime:O.current,rec:L,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},je?.style),(Ye=J?.item)===null||Ye===void 0?void 0:Ye.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,De,D,T,t?.productPost,O,d,l,y,R]),Qe=a.useCallback(L=>{H(L)},[]),lt=a.useMemo(()=>W?{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"},[W]),Ze=a.useCallback((L,K)=>{var $,Z,ie,ae,J,le,de;return L.video?a.createElement(a.Fragment,null,(($=L.video)===null||$===void 0?void 0:$.title)&&!W&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(Yi,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(qi,{rec:L,index:K,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(Tt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(ie=(Z=L.video)===null||Z===void 0?void 0:Z.title)!==null&&ie!==void 0?ie:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Qe}),a.createElement(Wi,{index:T,tags:(J=(ae=L?.video)===null||ae===void 0?void 0:ae.hashTags)!==null&&J!==void 0?J:[],itemId:(le=L?.video)===null||le===void 0?void 0:le.itemId,itemType:!((de=L.video)===null||de===void 0)&&de.itemId?"VIDEO":null,rec:L,hashTagStyle:v})))):null},[e,T,o,l,d,u,v,t,Qe,W,lt]),st=a.useCallback((L,K)=>{var $,Z;if(!t?.isShowLike)return;let ie=($=t?.likeIconY)!==null&&$!==void 0?$:400;return U&&ie<40&&(ie+=40),L.video?a.createElement(Ui,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{top:ie,right:(Z=t?.likeIconX)!==null&&Z!==void 0?Z:0},position:K}):null},[t,U]),fe=L=>{var K,$,Z,ie,ae,J;if(!(!((K=L.video)===null||K===void 0)&&K.url)&&(!(($=L.video)===null||$===void 0)&&$.imgUrls)){const le=Date.now(),de=(le-C.current)/1e3;j?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ie=(Z=L.video)===null||Z===void 0?void 0:Z.itemId)!==null&&ie!==void 0?ie:"",contentName:(ae=L.video.title)!==null&&ae!==void 0?ae:"",imageEndTime:`${le}`,playDuration:`${de}`,contentTags:JSON.stringify((J=L.video.tags)!==null&&J!==void 0?J:[]),position:T+"",contentFormat:"image",traceInfo:L.video.traceInfo}})}},Ct=L=>{var K,$,Z,ie,ae,J,le,de;O.current=new Date;const pe=r[L.previousIndex];pe&&(L.previousIndex-L.activeIndex<0?(j?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:($=(K=pe.video)===null||K===void 0?void 0:K.itemId)!==null&&$!==void 0?$:"",productId:(ie=(Z=pe.product)===null||Z===void 0?void 0:Z.itemId)!==null&&ie!==void 0?ie:"",requestId:null}}),fe(pe)):(j?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(J=(ae=pe.video)===null||ae===void 0?void 0:ae.itemId)!==null&&J!==void 0?J:"",productId:(de=(le=pe.product)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",requestId:null}}),fe(pe)),Ve(pe))},Ve=L=>{var K,$,Z;!(!((K=L?.video)===null||K===void 0)&&K.url)&&!(!(($=L?.video)===null||$===void 0)&&$.imgUrls)&&L?.product&&re(L,L.product,(Z=L?.product)===null||Z===void 0?void 0:Z.bindCta,O.current,T)};a.useEffect(()=>{const L=r[T];te&&Ve(L)},[te,r,T]);const ni=L=>{var K,$,Z,ie,ae,J;const le=r[L];if(!(!((K=le?.video)===null||K===void 0)&&K.url)&&(!(($=le?.video)===null||$===void 0)&&$.imgUrls)){const de=Date.now();C.current=de,j?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ie=(Z=le.video)===null||Z===void 0?void 0:Z.itemId)!==null&&ie!==void 0?ie:"",contentName:(ae=le.video.title)!==null&&ae!==void 0?ae:"",imageStartTime:`${de}`,contentTags:JSON.stringify((J=le.video.tags)!==null&&J!==void 0?J:[]),position:L+"",contentFormat:"image",traceInfo:le.video.traceInfo}})}},ct=a.useMemo(()=>{const L=r?.map((K,$)=>T===$||$-1===T||$+1===T?K:null);return U?L:L.concat([{loading:!0}])},[r,T,U]),Qi=a.useMemo(()=>P?a.createElement("div",{style:{height:De,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):ct?.map((L,K)=>a.createElement(Oe,{key:K,virtualIndex:K},L&&a.createElement(a.Fragment,null,L?.loading?a.createElement("div",{style:{height:De,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,Ke(L,K),Ze(L,K),st(L,K))))),[n,r,De,P,Ze,Ke,ct,q]),Zi=xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),en=xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&a.createElement(Fi,{icon:Hs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Q?.(!0)}}),ot,a.createElement(Xi,{tagList:f,setActiveIndex:M}),ue?a.createElement(zs,{imageUrl:t?.swipeTipIcon}):null,a.createElement(Je,{ref:F,onSlideChange:()=>{F.current.swiper.allowTouchMove=!1,setTimeout(()=>{F.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:L=>{M(L.activeIndex),!te&&(Ct(L),!U&&L?.activeIndex+2>=r?.length&&(B||(V(!0),N?.(Math.ceil(T/10)+1).then(()=>{V(!1)}))))},direction:"vertical",height:De},a.createElement(Gi,{style:{position:"fixed",right:(b=t?.muteIconX)!==null&&b!==void 0?b:0,visibility:!((k=(w=r?.[T])===null||w===void 0?void 0:w.video)===null||k===void 0)&&k.url?"visible":"hidden",bottom:(p=t?.muteIconY)!==null&&p!==void 0?p:23,zIndex:999},defaultValue:D,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Zi,unactiveIcon:t?.muteIcon?t?.muteIcon:en,onChange:S}),Qi),a.createElement(Hi,Object.assign({},(I=(h=(g=t?.hashTag)===null||g===void 0?void 0:g[0])===null||h===void 0?void 0:h.item)===null||I===void 0?void 0:I.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:ce,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},$s=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(Je,{defaultValue:0,direction:"horizontal",modules:[gt,bt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(Oe,{key:r},a.createElement($i,{src:r,height:i,imgUrlsPostConfig:n}))));var Ws=a.memo($s);const qs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:f,waterFallData:m,openHashtag:b}=se(),w=a.useRef(0),[k,p]=a.useState(!1),[g,h]=a.useState(!0),I=a.useRef(null),[y,T]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var N;(N=c.current)===null||N===void 0||N.play()},[]),C=xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=a.useCallback(()=>{var N,j,P,A,X,F,U,Q,ne,te,q,oe,z;u(!1);const R=n[e];if(R&&(!((N=c?.current)===null||N===void 0)&&N.duration)){w.current=((j=c?.current)===null||j===void 0?void 0:j.currentTime)||0;const G=((A=(P=c.current)===null||P===void 0?void 0:P.duration)!==null&&A!==void 0?A:0).toFixed(2),ce=((F=(X=c.current)===null||X===void 0?void 0:X.currentTime)!==null&&F!==void 0?F:0).toFixed(2),re=g?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Q=(U=R.video)===null||U===void 0?void 0:U.itemId)!==null&&Q!==void 0?Q:"",contentName:(te=(ne=R.video)===null||ne===void 0?void 0:ne.title)!==null&&te!==void 0?te:"",playType:re,startTime:ce,videoDuration:G,contentTags:JSON.stringify((oe=(q=R.video)===null||q===void 0?void 0:q.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(z=R.video)===null||z===void 0?void 0:z.traceInfo}}),h(!1)}},[v,n,e,g]),E=a.useCallback(()=>{p(!0)},[]),D=a.useCallback(N=>()=>{var j,P,A,X,F;if(!k)return;const U=(j=c.current)===null||j===void 0?void 0:j.paused;switch(N){case"start":if(!U)return;(P=c.current)===null||P===void 0||P.play(),u(!1);break;case"pause":if(U)return;(A=c.current)===null||A===void 0||A.pause(),u(!0);break;default:U?(X=c.current)===null||X===void 0||X.play():(F=c.current)===null||F===void 0||F.pause(),u(!U);break}},[k]),S=a.useCallback(()=>{var N,j,P,A,X,F,U,Q,ne,te,q,oe,z;const R=n[e],G=((j=(N=c.current)===null||N===void 0?void 0:N.duration)!==null&&j!==void 0?j:0).toFixed(2),ce=((A=(P=c.current)===null||P===void 0?void 0:P.currentTime)!==null&&A!==void 0?A:0).toFixed(2);if(!((X=c?.current)===null||X===void 0)&&X.duration){const re=(((F=c?.current)===null||F===void 0?void 0:F.currentTime)-w.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Q=(U=R.video)===null||U===void 0?void 0:U.itemId)!==null&&Q!==void 0?Q:"",contentName:(te=(ne=R.video)===null||ne===void 0?void 0:ne.title)!==null&&te!==void 0?te:"",endTime:ce,videoDuration:G,playDuration:re,contentTags:JSON.stringify((oe=(q=R.video)===null||q===void 0?void 0:q.tags)!==null&&oe!==void 0?oe:[]),position:e+"",contentFormat:"video",traceInfo:(z=R.video)===null||z===void 0?void 0:z.traceInfo}})}},[n,e,v]),_=a.useMemo(()=>r?.mode==="2",[r]),O=a.useMemo(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),B=a.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||y},[y,t]),V=a.useCallback(()=>{if(!I||!c||!c.current||!I.current)return;const N=c?.current,j=I?.current,P=j.getContext("2d"),A=window?.innerWidth,X=window?.innerHeight;j.height=X,j.width=A,P?.drawImage(N,0,0,j.width,j.height),T(j.toDataURL())},[]);a.useEffect(()=>{var N,j,P,A;if(c.current){if(u(!1),!c.current.src){const X=t.video.url;if(X.includes(".m3u8"))if(li.isSupported()){const F=new li;F.loadSource(X),F.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=X;else c.current.src=X;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(N=c.current)===null||N===void 0||N.addEventListener("loadedmetadata",E),(j=c.current)===null||j===void 0||j.addEventListener("canplay",E),(P=c.current)===null||P===void 0||P.addEventListener("playing",x),(A=c.current)===null||A===void 0||A.addEventListener("loadeddata",V),()=>{var X,F,U,Q;(X=c.current)===null||X===void 0||X.removeEventListener("loadedmetadata",E),(F=c.current)===null||F===void 0||F.removeEventListener("canplay",E),(U=c.current)===null||U===void 0||U.removeEventListener("playing",x),(Q=c.current)===null||Q===void 0||Q.removeEventListener("loadeddata",V)}}},[E,x,t.video,V]);const W=a.useMemo(()=>!f?.placeholder_image||k?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image}),[k,f?.placeholder_image]);a.useEffect(()=>{const N=()=>{var j,P;l===e&&(!((j=t?.video)===null||j===void 0)&&j.url)&&(!((P=c?.current)===null||P===void 0)&&P.src)&&!d&&D("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,c,D,d]);const H=a.useMemo(()=>_?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[_]);return t.video?a.createElement(a.Fragment,null,_?a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(Ce,{src:B,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),a.createElement("canvas",{ref:I,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:C}))),W):a.createElement("div",{className:"video-container",key:t.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:M}),W,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:C}))):null};var Ys=a.memo(qs);const ti={};Object.values(Zt).forEach(t=>{ti[t.extend.type]=t});const Xs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Js="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ks=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let T=0;return e?.logoUrl&&e?.isShowLogo&&(T+=45),c.length>0&&(T+=45),s-T},[e,s,c]),f=(T,M)=>{var C,x,E,D;if(!((C=T.video)===null||C===void 0)&&C.url)return a.createElement(Ys,{rec:T,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((x=T.video)===null||x===void 0)&&x.imgUrls)return a.createElement(Ws,{key:T.video.itemId,imgUrls:T.video.imgUrls,width:d,height:v,rec:T,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(T.product&&T.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((S,_)=>{var O,B,V,W,H,N,j,P;const A=ti[(O=S?.item)===null||O===void 0?void 0:O.type],X=Et(A),F=(B=A?.extend)===null||B===void 0?void 0:B.defaulSetting;return a.createElement(X,Object.assign({key:`${M}${_}`,textStyle:Object.assign(Object.assign({},F?.textStyle),(V=S?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(H=(W=S?.item)===null||W===void 0?void 0:W.bindDatas)!==null&&H!==void 0?H:[]},F?.props,(N=S?.item)===null||N===void 0?void 0:N.props,{event:((j=S?.item)===null||j===void 0?void 0:j.event)||{},id:S?.id,rec:T,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},F?.style),(P=S?.item)===null||P===void 0?void 0:P.style),{width:d,height:v,overflow:"auto"}),index:M}))})},m=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(T,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(qi,{rec:T,index:M,tempMap:o,resolver:ti})):null,w=(T,M)=>{var C,x,E,D,S,_,O;return T.video?a.createElement(a.Fragment,null,((C=T.video)===null||C===void 0?void 0:C.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(Yi,{nudge:n}),b(T,M),a.createElement("div",null,a.createElement(Tt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(x=T.video)===null||x===void 0?void 0:x.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement(Wi,{index:M,tags:(S=(D=T?.video)===null||D===void 0?void 0:D.hashTags)!==null&&S!==void 0?S:[],itemId:(_=T?.video)===null||_===void 0?void 0:_.itemId,itemType:!((O=T.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:T,hashTagStyle:r}))):null},k=xe(Js,u),p=xe(Xs,u),g=(T,M)=>{var C,x,E,D;if(!e?.isShowLike)return;let S=(C=e?.likeIconY)!==null&&C!==void 0?C:400;return S<40&&(S+=40),T.video?a.createElement(Ui,{key:T.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:k,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,position:M,active:T.isCollected,recData:T,className:"clc-sxp-like-button",style:{top:S,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},h=xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),I=xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),y=(T,M)=>{var C,x,E,D;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},m,a.createElement(Xi,{tagList:c}),a.createElement(Gi,{style:{position:"absolute",right:(C=e?.muteIconX)!==null&&C!==void 0?C:0,visibility:!((E=(x=t?.[M])===null||x===void 0?void 0:x.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:I}),f(T,M),w(T,M),g(T,M))};return a.createElement("div",{className:Y.css({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((T,M)=>y(T,M)))};var Qs=a.memo(Ks);const Zs=()=>{const{schema:t,resolver:e,popup:i}=Ne(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=se(),{productView:r}=Be(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const f=()=>{u.current=new Date};return f(),window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var f,m,b,w;if(!i||i?.id===""||!s||new Date-u.current<((f=i?.duration)!==null&&f!==void 0?f:0))return;d(Object.assign(Object.assign({},i),{id:""}));const k=o,p=(m=k?.video)===null||m===void 0?void 0:m.bindProduct,g=(w=(b=k?.video)===null||b===void 0?void 0:b.bindProduct)===null||w===void 0?void 0:w.bindCta;p&&g&&r(k,p,g,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var f,m,b;return(b=(m=(f=t?.sxpPageConf)===null||f===void 0?void 0:f.globalConfig)===null||m===void 0?void 0:m.popupList)===null||b===void 0?void 0:b.map((w,k)=>{var p,g,h,I,y,T,M,C;if(w?.id===i?.id){const x=e[(p=w?.item)===null||p===void 0?void 0:p.type],E=Et(x),D=(g=x?.extend)===null||g===void 0?void 0:g.defaulSetting;return a.createElement(E,Object.assign({key:k,style:Object.assign(Object.assign(Object.assign({},D?.style),(h=w?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},D?.textStyle),(I=w?.item)===null||I===void 0?void 0:I.textStyle),bindDatas:(T=(y=w?.item)===null||y===void 0?void 0:y.bindDatas)!==null&&T!==void 0?T:[]},D?.props,(M=w?.item)===null||M===void 0?void 0:M.props,{event:((C=w?.item)===null||C===void 0?void 0:C.event)||{},schema:t,id:w?.id}))}else return a.createElement(a.Fragment,null)})},[t,i,e]);return a.createElement(St,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},ii={};Object.values(Zt).forEach(t=>{ii[t.extend.type]=t});const ea=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r})=>{var s,d,u,c,v,f;const m=a.useMemo(()=>{var b;return location?.search?(b=location?.search)===null||b===void 0?void 0:b.replace("?",""):""},[]);return a.createElement(bi,{resolver:ii,enableDataSource:!1,schema:t?.data,utmVal:m},a.createElement(fi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(d=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend)!==null&&d!==void 0?d:e,defaultSize:(c=(u=t?.sxp_parameter)===null||u===void 0?void 0:u.default_recommend)!==null&&c!==void 0?c:i,hashTagSize:(f=(v=t?.sxp_parameter)===null||v===void 0?void 0:v.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,render:({rtcList:b,tagList:w})=>{var k;return a.createElement(a.Fragment,null,a.createElement(Ji,Object.assign({},(k=t?.data)===null||k===void 0?void 0:k.sxpPageConf,{tagList:w,data:b,resolver:ii,licenseUrl:r})),a.createElement(Zs,null))}}))};var ta=a.memo(ea);const Ki=a.createContext({}),ia=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(Ki.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function na(){return a.useContext(Ki)}exports.DiyPortalPreview=Qs,exports.EditorDataProvider=ia,exports.Modal=St,exports.SxpDataSourceProvider=fi,exports.SxpPageCore=ta,exports.SxpPageRender=Ji,exports.core=Cn,exports.default=fn,exports.defaultSetting=Dn,exports.materials=Zt,exports.useEditorDataProvider=na;
|
7
7
|
//# sourceMappingURL=index.min.cjs.map
|