pb-sxp-ui 1.0.70 → 1.0.71

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.
Files changed (41) hide show
  1. package/dist/index.cjs +57 -50
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +57 -50
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.cjs +3 -3
  6. package/dist/index.min.cjs.map +1 -1
  7. package/dist/index.min.js +3 -3
  8. package/dist/index.min.js.map +1 -1
  9. package/dist/pb-ui.js +57 -50
  10. package/dist/pb-ui.js.map +1 -1
  11. package/dist/pb-ui.min.js +3 -3
  12. package/dist/pb-ui.min.js.map +1 -1
  13. package/es/core/components/SxpPageRender/Nudge/index.js +2 -2
  14. package/es/core/components/SxpPageRender/WaterFall/List.js +5 -9
  15. package/es/core/components/SxpPageRender/index.js +7 -4
  16. package/es/core/components/SxpPageRender/typing.d.ts +1 -0
  17. package/es/core/context/SxpDataSourceProvider.js +9 -1
  18. package/es/materials/sxp/HashTag/settingRender.d.ts +2 -7
  19. package/es/materials/sxp/HashTag/settingRender.js +0 -5
  20. package/es/materials/sxp/defaultSetting.js +1 -1
  21. package/es/materials/sxp/template/Commodity/index.js +4 -4
  22. package/es/materials/sxp/template/CommodityDiro/index.js +4 -4
  23. package/es/materials/sxp/template/CommodityDiroNew/index.js +4 -4
  24. package/es/materials/sxp/template/MultiCommodity/index.js +4 -4
  25. package/es/materials/sxp/template/MultiCommodityDiro/index.js +4 -4
  26. package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +4 -4
  27. package/lib/core/components/SxpPageRender/Nudge/index.js +2 -2
  28. package/lib/core/components/SxpPageRender/WaterFall/List.js +5 -9
  29. package/lib/core/components/SxpPageRender/index.js +7 -4
  30. package/lib/core/components/SxpPageRender/typing.d.ts +1 -0
  31. package/lib/core/context/SxpDataSourceProvider.js +9 -1
  32. package/lib/materials/sxp/HashTag/settingRender.d.ts +2 -7
  33. package/lib/materials/sxp/HashTag/settingRender.js +0 -5
  34. package/lib/materials/sxp/defaultSetting.js +1 -1
  35. package/lib/materials/sxp/template/Commodity/index.js +4 -4
  36. package/lib/materials/sxp/template/CommodityDiro/index.js +4 -4
  37. package/lib/materials/sxp/template/CommodityDiroNew/index.js +4 -4
  38. package/lib/materials/sxp/template/MultiCommodity/index.js +4 -4
  39. package/lib/materials/sxp/template/MultiCommodityDiro/index.js +4 -4
  40. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +4 -4
  41. package/package.json +1 -1
package/dist/index.min.js CHANGED
@@ -1,7 +1,7 @@
1
- import{isEmpty as Et,isEqual as Ci,cloneDeep as gt,debounce as Ht,throttle as It,get as _i}from"lodash";import{v4 as Dn}from"uuid";import kn from"pako";import v,{useContext as bt,useMemo as ee,createContext as yt,memo as ce,useState as $,useRef as Z,useEffect as J,useCallback as ue,forwardRef as Ct,useImperativeHandle as Di,useLayoutEffect as An}from"react";import ki from"qs";import Pn from"eventemitter3";import{css as K}from"@emotion/css";import*as Ai from"react-dom";import Pi from"hls.js";function Ee(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(t);l<n.length;l++)e.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(t,n[l])&&(i[n[l]]=t[n[l]]);return i}function Ce(t,e,i,n){function l(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function s(d){try{c(n.next(d))}catch(p){a(p)}}function r(d){try{c(n.throw(d))}catch(p){a(p)}}function c(d){d.done?o(d.value):l(d.value).then(s,r)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const On=/:\w+/g;var Oi=(t,e)=>Ce(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:o,method:a,url:s,urlParams:r,name:c,queryString:d,headers:p,body:h}=e[l];let m=s;r&&Object.entries(r).forEach(([w,b])=>{m=m.replace(On,I=>I===w?b:I)}),d&&(m+=d),n[o]=c;try{const w=yield fetch(m,{method:a,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(h)}).then(b=>b.json());i[o]=w}catch(w){console.error("DataSource request error: ",w),i[o]={}}}return{$store:i,idMapName:n}});const Mi="SXP_TOKEN_INFO",Mn=(t,e)=>Ce(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),o=t.getApiUrl(),a=window.localStorage.getItem(Mi);let s=JSON.parse(a||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${o}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Mi,JSON.stringify(s))}}return s});function _t(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let l;if(e=e||i.length,t)for(l=0;l<t;l++)n[l]=i[0|Math.random()*e];else{let o;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",l=0;l<36;l++)n[l]||(o=0|Math.random()*16,n[l]=i[l===19?o&3|8:o])}return n.join("")}const Ln=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let l=0;for(;l<t;)e+=i.charAt(Math.floor(Math.random()*n)),l+=1;return e},Nn=()=>{const t=Dn();return t?.replaceAll?t.replaceAll("-",""):Ln(32)};function Li(t){const i=atob(t).split("").map(function(o){return o.charCodeAt(0)}),n=new Uint8Array(i),l=kn.inflate(n,{to:"string"});return JSON.parse(l)}let Ut=null;const jn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Bn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Ut)return Ut;Ut=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?jn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ie=null;const zn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ie||(Ie=new Bn),n&&Ie.setApiUrl(n),Ie.setAppId(t),Ie.setTenantId(e),Ie.setEnv(i)},getDetail:t=>{if(!Ie)return;const e=Ie.getTenantId(),i=Ie.getAppId(),n=Ie.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Ce(void 0,void 0,void 0,function*(){var o,a;const s=yield l.json(),r=Li((o=s?.data)===null||o===void 0?void 0:o.data);if(r){const{$store:c}=yield Oi(n,(a=r?.dataSource)!==null&&a!==void 0?a:[]);s.data.data=r,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>Ce(void 0,void 0,void 0,function*(){if(!Ie)return;const e=Ie.getTenantId(),i=Ie.getAppId(),n=Ie.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Ce(void 0,void 0,void 0,function*(){var o;const a=yield l.json();if(!a.success)return;const s=Li((o=a?.data)===null||o===void 0?void 0:o.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>Ce(void 0,void 0,void 0,function*(){if(!Ie)return;const e=yield Mn(Ie,t),i=_t(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Et(n)&&(n=_t(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const l=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(o=>o.json());return l?.data||null})};function qe(){return bt(Ui)}function Vn(){return bt(Hi)}const Gt="feRealSessionIdKey",Ni=()=>{const t=Nn();return`${Date.now()}${t}`},Rn=()=>{let t=Hn();return t||(t=Ni(),window.sessionStorage.setItem(Gt,t)),t},Fn=()=>{const t=Ni();window.sessionStorage.setItem(Gt,t)},Hn=()=>window.sessionStorage.getItem(Gt),ji="SXP_FAKE_USER_ID",Bi="FAKE_USER_STATE",Un=()=>{let t=window.localStorage.getItem(ji);return Et(t)&&(t=_t(36,62),window.localStorage.setItem(ji,t)),t},Gn=()=>{const t=window.localStorage.getItem(Bi);return Et(t)&&window.localStorage.setItem(Bi,"true"),Et(t)};function Oe(t,e){const{appDomain:i}=me();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Xe=new Pn;var Ve;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ve||(Ve={}));const zi=yt({rtcList:[],tagList:[]});var $t;(function(t){t[t.BFF=5]="BFF"})($t||($t={}));const Vi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],$n=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:o,isPreview:a=!1,sxpParameter:s,appDomain:r,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:h=!1})=>{const[m,w]=$([]),[b,I]=$([]),[u,g]=$(!1),[y,E]=$({rtc:"",requestId:""}),D=Z(null),f=Z(!1),[O,C]=$(),[S,x]=$(),[A,T]=$(p),[_,P]=$([]),[j,B]=$(0),[G,H]=$(!1),[L,z]=$(null),M=Z();J(()=>{const R=F=>{M.current=F};return Xe.on(Ve.CHANGE_THEME_TAG,R),()=>{Xe.off(Ve.CHANGE_THEME_TAG,R)}},[]),J(()=>{T(p)},[p]);const k=ee(()=>e?.find(R=>R.type===$t.BFF),[e]),V=ue((R,F)=>{if(!k)return;const Q=k.url,Se=Un();if(F?.query){const be=ki.stringify(F.query);R=`${R}?${be}`}return F.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${Q}/api/v1${R}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},k.headers),{"x-user-id":Se}),F.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${Q}/api/v1${R}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Se},k.headers),method:F.method,body:JSON.stringify(F.body)}).then(be=>be.json()).catch(be=>Promise.reject(be))},[k]),U=ue(R=>Ce(void 0,void 0,void 0,function*(){var F,Q,Se,be,Te;if(R={maxSize:(F=R?.maxSize)!==null&&F!==void 0?F:l,defaultSize:(Q=R?.defaultSize)!==null&&Q!==void 0?Q:o,"itemFilter.itemId":R?.["itemFilter.itemId"],"itemFilter.itemType":R?.["itemFilter.itemType"],hashTag:R?.hashTag,traceInfo:R?.traceInfo,themeTag:R?.themeTag},i){const xe=(Te=(be=(Se=i?.split("&"))===null||Se===void 0?void 0:Se.filter($e=>{const Ke=$e.split("=")[0];return Vi.includes(Ke)}))===null||be===void 0?void 0:be.join("&"))!==null&&Te!==void 0?Te:"";R=Object.assign(Object.assign({},R),{channel:decodeURIComponent(xe)})}const ye=yield V?.("/recommend/list",{method:"GET",query:R});if(ye?.success)return R?.hashTag||E({rtc:ye.data.rtc,requestId:ye.data.requestId}),ye?.data}),[V,i,l,o]),W=ue(()=>Ce(void 0,void 0,void 0,function*(){var R,F;if(m.length<=0)return;const Q=yield U({hashTag:S?.hashTag,"itemFilter.itemId":S?.itemId,"itemFilter.itemType":S?.itemType,themeTag:M.current});w(m.concat((R=Q?.recList)!==null&&R!==void 0?R:[])),P(_.concat((F=Q?.recList)!==null&&F!==void 0?F:[]))}),[U,m,S,_]),ie=ue(({userInfo:R,eventInfo:F})=>{if(!n)return;R||(R={});const Q=Rn(),Se=Object.assign({sessionID:Q,rtc:y.rtc,requestId:y.requestId},F),be=Object.entries(R).map(([ye,xe])=>({name:ye,value:xe})),Te=Object.entries(Se).map(([ye,xe])=>xe&&{name:ye,value:xe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",R),console.log("eventInfo:",Se),console.log("========= \u7ED3\u675F ========="),V?.("/event/report",{method:"POST",body:{userInfo:be,eventInfo:Te},type:"beacon"})},[V,y,n]),ne=ue(R=>{var F,{eventName:Q,actionSource:Se="website",eventSourceUrl:be=(F=window?.location)===null||F===void 0?void 0:F.href,externalId:Te}=R;if(!(!n||!h))return V?.("/fb/events",{method:"POST",body:{eventName:Q,actionSource:Se,eventSourceUrl:be,"userData.externalId":Te},type:"beacon"})},[V,n,h]),oe=ue(R=>Ce(void 0,void 0,void 0,function*(){const F=yield V?.("/recommend/like",{method:"POST",body:R});return F?.success}),[V]),q=ue(R=>Ce(void 0,void 0,void 0,function*(){const F=yield V?.("/recommend/unlike",{method:"POST",body:R});return F?.success}),[V]),pe=ue(R=>Ce(void 0,void 0,void 0,function*(){const F=yield V?.("/customform",{method:"POST",body:R});return F?.success}),[V]),se=ue(()=>Ce(void 0,void 0,void 0,function*(){var R,F,Q,Se,be;if(i)try{const Te=(Q=(F=(R=i?.split("&"))===null||R===void 0?void 0:R.filter(xe=>{const $e=xe.split("=")[0];return Vi.includes($e)}))===null||F===void 0?void 0:F.join("&"))!==null&&Q!==void 0?Q:"",ye=yield V?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Te)}});I((be=(Se=ye?.data)===null||Se===void 0?void 0:Se.tags)!==null&&be!==void 0?be:[])}catch(Te){console.log("e",Te)}}),[V,i]),re=ue((R,F,Q,Se)=>{var be,Te,ye,xe,$e,Ke,je,mt,at,rt,ht,dt;const De=Q?.bindCta,ct=((be=F?.video)===null||be===void 0?void 0:be.bindProduct)||((Te=F?.video)===null||Te===void 0?void 0:Te.bindProducts)&&((xe=(ye=F?.video)===null||ye===void 0?void 0:ye.bindProducts)===null||xe===void 0?void 0:xe.length)>0;let ut="";G?ut="hashTagPage":!(($e=F?.video)===null||$e===void 0)&&$e.url?ut="videoPage":!((je=(Ke=F?.video)===null||Ke===void 0?void 0:Ke.imgUrls)===null||je===void 0)&&je.length&&(ut="imagePage"),ie?.({eventInfo:Object.assign(Object.assign({},R),{ctaId:(mt=De?.itemId)!==null&&mt!==void 0?mt:"",ctaName:(at=De?.title)!==null&&at!==void 0?at:"",contentTags:JSON.stringify(De?.tags),position:Se+"",contentId:(ht=(rt=F?.video)===null||rt===void 0?void 0:rt.itemId)!==null&&ht!==void 0?ht:"",productId:ct?Q?.itemId:"",traceInfo:(dt=De?.traceInfo)!==null&&dt!==void 0?dt:"",fromKName:ut})})},[ie,G]);J(()=>{g(!0),se(),U().then(R=>{var F,Q;w((F=R?.recList)!==null&&F!==void 0?F:[]),P((Q=R?.recList)!==null&&Q!==void 0?Q:[])}).finally(()=>{g(!1),f.current=!0})},[]),J(()=>{f.current&&(g(!0),se(),U().then(R=>{var F,Q;w((F=R?.recList)!==null&&F!==void 0?F:[]),P((Q=R?.recList)!==null&&Q!==void 0?Q:[])}).finally(()=>{g(!1)}))},[U,se]);const he=Oe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return v.createElement(zi.Provider,{value:{rtcList:m,setRtcList:w,mutateLike:oe,mutateUnlike:q,submitForm:pe,popupDetailData:O,loadVideos:W,setPopupDetailData:C,getRecommendVideos:U,bffEventReport:ie,utmVal:i,isPreview:a,loading:u,sxpParameter:s,waterFallData:S,setWaterFallData:x,ctaEvent:re,swiperRef:D,openHashtag:A,setOpenHashtag:T,cacheRtcList:_,setCacheRtcList:P,cacheActiveIndex:j,setCacheActiveIndex:B,isFromHashtag:G,setIsFromHashtag:H,appDomain:r,hashTagSize:c,loadingImage:d??he,isOpenHashTag:p,tagList:b,setLoading:g,videoRef:L,setVideoRef:z,bffFbReport:ne}},t({rtcList:m,mutateLike:oe,mutateUnlike:q,submitForm:pe,tagList:b}))};var Ri=ce($n);function me(){return bt(zi)}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 Hi=yt({$store:{},options:[],configs:[]}),Wn=({children:t,isSsr:e,enable:i})=>{const[n,l]=$([]),{schema:o}=qe(),[a,s]=$(o.__STORE__||{}),[r,c]=$([]);J(()=>{var h;e||Ci(r,o?.dataSource)||c((h=o?.dataSource)!==null&&h!==void 0?h:[])},[o?.dataSource,e]);const d=ue(()=>Ce(void 0,void 0,void 0,function*(){const{$store:h,idMapName:m}=yield Oi("",r);s(h),p(h,m)}),[r]),p=(h,m)=>{const w=[];Object.entries(h).forEach(([b,I])=>{Object.keys(I).forEach(u=>{const g={label:`${m[b]} - ${u}`,value:`{{ ${b}.${u} }}`};w.push(g)})}),l(w)};return J(()=>{e||d()},[d,e,o]),i?v.createElement(Hi.Provider,{value:{$store:o.__STORE__||a,options:n,configs:r}},t):t};var Yn=ce(Wn);const Dt={id:_t(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},Wt={id:"",duration:0,name:"none"},Ui=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Dt],redoStack:[],popup:Wt,setPopup:()=>{}}),Gi=Ct(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:o},a)=>{const[s,r]=$(null),[c,d]=$(n||{pointData:[Dt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,h]=$([Dt]),[m,w]=$([[Dt]]),[b,I]=$([]),[u,g]=$(Wt);typeof window<"u"&&(window.sxpPopup=(O,C)=>{g(Object.assign(Object.assign(Object.assign({},Wt),{id:O}),C))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(o?"&"+o:""):O+(o?"?"+o:"")),J(()=>{w([c.pointData]),I([])},[c.type]);const y=ue(O=>{const C=gt(c);C&&(C.dataSource=O,d?.(C))},[c]),[E,D]=$();Di(a,()=>({loadSchema(O){O&&(w([O.pointData]),d(O))},exportSchema(){return gt(c)},getPageInfoData(){return E},initPageInfoData(O){O&&D(O)}}));const f=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(Ui.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:r,setSchema:d,saveDataSource:y,prePiontData:p,setPrePiontData:h,pageInfoData:E,setPageInfoData:O=>D(Object.assign(Object.assign({},E),O)),undoStack:m,redoStack:b,setRedoStack:I,setUndoStack:w,getCurPageConf:f,popup:u,setPopup:g}},v.createElement(Yn,{isSsr:i,enable:l},t))});var qn=Object.freeze({__proto__:null,EditorCore:Gi}),Xn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ae=[{label:"\u9ED8\u8BA4\u5B57\u4F53",value:"appFont"}],Yt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Jn=Yt&&Yt!==""?JSON.parse(Yt):[];var ke={fontOptions:[...ae,...Jn]},qt,Xt,Jt,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:ae,initialValue:(qt=ae?.[0])===null||qt===void 0?void 0:qt.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:ke?.fontOptions,initialValue:(Jt=(Xt=ke?.fontOptions)===null||Xt===void 0?void 0:Xt[0])===null||Jt===void 0?void 0:Jt.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Re(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=me(),l=ue((a,s,r,c)=>{var d,p,h,m,w,b,I,u,g,y,E,D,f,O;let C="";e&&(!((p=(d=a?.video)===null||d===void 0?void 0:d.bindProducts)===null||p===void 0)&&p.length||!((h=a?.video)===null||h===void 0)&&h.bindProduct)?C="pdpPage":n?C="hashTagPage":!((m=a?.video)===null||m===void 0)&&m.url?C="videoPage":!((w=a?.video)===null||w===void 0)&&w.imgUrls&&(!((I=(b=a?.video)===null||b===void 0?void 0:b.imgUrls)===null||I===void 0)&&I.length)?C="imagePage":a?.product&&(C="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=s?.itemId)!==null&&u!==void 0?u:"",productName:(g=s?.title)!==null&&g!==void 0?g:"",price:s?.price?s?.price+"":"0",productCollection:(y=s?.collection)!==null&&y!==void 0?y:"",fromKName:C,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:c+"",contentId:(D=(E=a?.video)===null||E===void 0?void 0:E.itemId)!==null&&D!==void 0?D:"",ctatId:(f=r?.itemId)!==null&&f!==void 0?f:"",traceInfo:(O=s?.traceInfo)!==null&&O!==void 0?O:""}})},[t,e,n]),o=ue((a,s,r,c,d)=>{var p,h,m,w;let b="";e&&(!((h=(p=a?.video)===null||p===void 0?void 0:p.bindProducts)===null||h===void 0)&&h.length||!((m=a?.video)===null||m===void 0)&&m.bindProduct)?b="pdpPage":a?.product&&(b="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:b,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:d+"",contentId:(w=a?.video)===null||w===void 0?void 0:w.itemId,ctatId:r?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:l,productView:o}}const Qn=t=>{var{columns:e,style:i,title:n,textStyle:l,submitBgColor:o,submitColor:a,submitText:s,layoutType:r,isExternalLink:c,isPopup:d,onClick:p,onClose:h,submitButtonStyle:m}=t,w=Ee(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:b,popupDetailData:I}=me(),{jumpToWeb:u}=Re(),g=Z(),[y,E]=$(!1),D=ee(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]);ee(()=>{if(r===void 0){const O=gt(e)||D;return O?.map(C=>Object.assign(Object.assign({},C),{title:void 0,fieldProps:{placeholder:C?.title}}))}else return gt(e)||D},[r,e,D]);const f=Ht(()=>Ce(void 0,void 0,void 0,function*(){var O,C,S,x,A,T;const _=yield(O=g?.current)===null||O===void 0?void 0:O.getFieldsValue();if(!_)return;const P=(S=(C=Object.keys(_))===null||C===void 0?void 0:C.map(B=>{var G;return{name:B,value:(G=_[B])!==null&&G!==void 0?G:""}}))===null||S===void 0?void 0:S.filter(B=>B?.value);if(!P||!P?.length)return;E(!0);const j=yield b?.({attributes:P});if(E(!1),j){if(c){const B=I,G=(x=B?.video)===null||x===void 0?void 0:x.bindProduct,H=(T=(A=B?.video)===null||A===void 0?void 0:A.bindProduct)===null||T===void 0?void 0:T.bindCta,L=I?.index;u(B,G,H,L)}d||h?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${K(Object.assign({},l))}`},n),v.createElement("div",Object.assign({className:K(Object.assign({},i))},w),v.createElement("div",{className:"pb-appoint-form-container"})),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:f,className:"pb-appoint-form-btn",style:Object.assign({color:a,background:o},m)},y?v.createElement(v.Fragment,null,"loading..."):s)))};var Zn=ce(Qn);function Ae(t,e){return t.extend=e,t}const eo=Ae(Zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Kn,bindableProps:[],interactionRender:Xn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Kt,Qt,to=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-100,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(Kt=ae?.[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"},{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:ae,initialValue:(Qt=ae?.[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"]}]}];function $i(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Zt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:$i(e[i])&&$i(t[i])&&Object.keys(e[i]).length>0&&Zt(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 Fe(){const t=typeof document<"u"?document:{};return Zt(t,Wi),t}const io={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 _e(){const t=typeof window<"u"?window:{};return Zt(t,io),t}function Ze(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function no(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function pt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Me(){return Date.now()}function oo(t){const e=_e();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function lo(t,e){e===void 0&&(e="x");const i=_e();let n,l,o;const a=oo(t);return i.WebKitCSSMatrix?(l=a.transform||a.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(s=>s.replace(",",".")).join(", ")),o=new i.WebKitCSSMatrix(l==="none"?"":l)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?l=o.m41:n.length===16?l=parseFloat(n[12]):l=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?l=o.m42:n.length===16?l=parseFloat(n[13]):l=parseFloat(n[5])),l||0}function kt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function so(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Pe(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!so(n)){const l=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,a=l.length;o<a;o+=1){const s=l[o],r=Object.getOwnPropertyDescriptor(n,s);r!==void 0&&r.enumerable&&(kt(t[s])&&kt(n[s])?n[s].__swiper__?t[s]=n[s]:Pe(t[s],n[s]):!kt(t[s])&&kt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Pe(t[s],n[s])):t[s]=n[s])}}}return t}function At(t,e,i){t.style.setProperty(e,i)}function Yi(t){let{swiper:e,targetPosition:i,side:n}=t;const l=_e(),o=-e.translate;let a=null,s;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const c=i>o?"next":"prev",d=(h,m)=>c==="next"&&h>=m||c==="prev"&&h<=m,p=()=>{s=new Date().getTime(),a===null&&(a=s);const h=Math.max(Math.min((s-a)/r,1),0),m=.5-Math.cos(h*Math.PI)/2;let w=o+m*(i-o);if(d(w,i)&&(w=i),e.wrapperEl.scrollTo({[n]:w}),d(w,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:w})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(p)};p()}function He(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Pt(t){try{console.warn(t);return}catch{}}function wt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Ze(e)),i}function ao(t){const e=_e(),i=Fe(),n=t.getBoundingClientRect(),l=i.body,o=t.clientTop||l.clientTop||0,a=t.clientLeft||l.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-o,left:n.left+r-a}}function ro(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 co(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 et(t,e){return _e().getComputedStyle(t,null).getPropertyValue(e)}function Ot(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function qi(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 ei(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ti(t,e,i){const n=_e();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 Ue(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function uo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=_e();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,s=Me(),r;const c=[];function d(y){let O=0,C=0,S=0,x=0;return"detail"in y&&(C=y.detail),"wheelDelta"in y&&(C=-y.wheelDelta/120),"wheelDeltaY"in y&&(C=-y.wheelDeltaY/120),"wheelDeltaX"in y&&(O=-y.wheelDeltaX/120),"axis"in y&&y.axis===y.HORIZONTAL_AXIS&&(O=C,C=0),S=O*10,x=C*10,"deltaY"in y&&(x=y.deltaY),"deltaX"in y&&(S=y.deltaX),y.shiftKey&&!S&&(S=x,x=0),(S||x)&&y.deltaMode&&(y.deltaMode===1?(S*=40,x*=40):(S*=800,x*=800)),S&&!O&&(O=S<1?-1:1),x&&!C&&(C=x<1?-1:1),{spinX:O,spinY:C,pixelX:S,pixelY:x}}function p(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(y){return e.params.mousewheel.thresholdDelta&&y.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Me()-s<e.params.mousewheel.thresholdTime?!1:y.delta>=6&&Me()-s<60?!0:(y.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",y.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",y.raw)),s=new o.Date().getTime(),!1)}function w(y){const E=e.params.mousewheel;if(y.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function b(y){let E=y,D=!0;if(!e.enabled||y.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const f=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const C=O&&O.contains(E.target);if(!e.mouseEntered&&!C&&!f.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let S=0;const x=e.rtlTranslate?-1:1,A=d(E);if(f.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*x;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*x:-A.pixelY;if(S===0)return!0;f.invert&&(S=-S);let T=e.getTranslate()+S*f.sensitivity;if(T>=e.minTranslate()&&(T=e.minTranslate()),T<=e.maxTranslate()&&(T=e.maxTranslate()),D=e.params.loop?!0:!(T===e.minTranslate()||T===e.maxTranslate()),D&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const _={time:Me(),delta:Math.abs(S),direction:Math.sign(S),raw:y};c.length>=2&&c.shift();const P=c.length?c[c.length-1]:void 0;if(c.push(_),P?(_.direction!==P.direction||_.delta>P.delta||_.time>P.time+150)&&m(_):m(_),w(_))return!0}else{const _={time:Me(),delta:Math.abs(S),direction:Math.sign(S)},P=r&&_.time<r.time+500&&_.delta<=r.delta&&_.direction===r.direction;if(!P){r=void 0;let j=e.getTranslate()+S*f.sensitivity;const B=e.isBeginning,G=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!B&&e.isBeginning||!G&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:_.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const H=c.length?c[c.length-1]:void 0,L=c[0];if(c.push(_),H&&(_.delta>H.delta||_.direction!==H.direction))c.splice(0);else if(c.length>=15&&_.time-L.time<500&&L.delta-_.delta>=1&&_.delta<=6){const z=S>0?.8:.2;r=_,c.splice(0),a=pt(()=>{e.slideToClosest(e.params.speed,!0,void 0,z)},0)}a||(a=pt(()=>{r=_,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||l("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),f.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function I(y){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[y]("mouseenter",p),E[y]("mouseleave",h),E[y]("wheel",b)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:u,disable:g})}function Xi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let o=He(t.el,`.${n[l]}`)[0];o||(o=wt("div",n[l]),o.className=n[l],t.el.append(o)),i[l]=o,e[l]=o}}),i}function vt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Mt(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let a,s=0;function r(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,g){const{bulletActiveClass:y}=e.params.pagination;u&&(u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${y}-${g}`),u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${y}-${g}-${g}`)))}function d(u){const g=u.target.closest(vt(e.params.pagination.bulletClass));if(!g)return;u.preventDefault();const y=Ot(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;e.slideToLoop(y)}else e.slideTo(y)}function p(){const u=e.rtl,g=e.params.pagination;if(r())return;let y=e.pagination.el;y=Ue(y);let E,D;const f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,E=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let S,x,A;if(g.dynamicBullets&&(a=ti(C[0],e.isHorizontal()?"width":"height",!0),y.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&D!==void 0&&(s+=E-(D||0),s>g.dynamicMainBullets-1?s=g.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(E-s,0),x=S+(Math.min(C.length,g.dynamicMainBullets)-1),A=(x+S)/2),C.forEach(T=>{const _=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${g.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();T.classList.remove(..._)}),y.length>1)C.forEach(T=>{const _=Ot(T);_===E?T.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),g.dynamicBullets&&(_>=S&&_<=x&&T.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),_===S&&c(T,"prev"),_===x&&c(T,"next"))});else{const T=C[E];if(T&&T.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&C.forEach((_,P)=>{_.setAttribute("part",P===E?"bullet-active":"bullet")}),g.dynamicBullets){const _=C[S],P=C[x];for(let j=S;j<=x;j+=1)C[j]&&C[j].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(_,"prev"),c(P,"next")}}if(g.dynamicBullets){const T=Math.min(C.length,g.dynamicMainBullets+4),_=(a*T-a)/2-A*a,P=u?"right":"left";C.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${_}px`})}}y.forEach((C,S)=>{if(g.type==="fraction"&&(C.querySelectorAll(vt(g.currentClass)).forEach(x=>{x.textContent=g.formatFractionCurrent(E+1)}),C.querySelectorAll(vt(g.totalClass)).forEach(x=>{x.textContent=g.formatFractionTotal(O)})),g.type==="progressbar"){let x;g.progressbarOpposite?x=e.isHorizontal()?"vertical":"horizontal":x=e.isHorizontal()?"horizontal":"vertical";const A=(E+1)/O;let T=1,_=1;x==="horizontal"?T=A:_=A,C.querySelectorAll(vt(g.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${_})`,P.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(C.innerHTML=g.renderCustom(e,E+1,O),S===0&&l("paginationRender",C)):(S===0&&l("paginationRender",C),l("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](g.lockClass)})}function h(){const u=e.params.pagination;if(r())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 y=e.pagination.el;y=Ue(y);let E="";if(u.type==="bullets"){let D=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>g&&(D=g);for(let f=0;f<D;f+=1)u.renderBullet?E+=u.renderBullet.call(e,f,u.bulletClass):E+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?E=u.renderFraction.call(e,u.currentClass,u.totalClass):E=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?E=u.renderProgressbar.call(e,u.progressbarFillClass):E=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],y.forEach(D=>{u.type!=="custom"&&(D.innerHTML=E||""),u.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(vt(u.bulletClass)))}),u.type!=="custom"&&l("paginationRender",y[0])}function m(){e.params.pagination=Xi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let g;typeof u.el=="string"&&e.isElement&&(g=e.el.querySelector(u.el)),!g&&typeof u.el=="string"&&(g=[...document.querySelectorAll(u.el)]),g||(g=u.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(u.el)],g.length>1&&(g=g.filter(y=>qi(y,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=Ue(g),g.forEach(y=>{u.type==="bullets"&&u.clickable&&y.classList.add(...(u.clickableClass||"").split(" ")),y.classList.add(u.modifierClass+u.type),y.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(y.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&y.classList.add(u.progressbarOppositeClass),u.clickable&&y.addEventListener("click",d),e.enabled||y.classList.add(u.lockClass)}))}function w(){const u=e.params.pagination;if(r())return;let g=e.pagination.el;g&&(g=Ue(g),g.forEach(y=>{y.classList.remove(u.hiddenClass),y.classList.remove(u.modifierClass+u.type),y.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(y.classList.remove(...(u.clickableClass||"").split(" ")),y.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:g}=e.pagination;g=Ue(g),g.forEach(y=>{y.classList.remove(u.horizontalClass,u.verticalClass),y.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(m(),h(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{h(),p()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Ue(u),u.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,g)=>{const y=g.target,E=Ue(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const D=E[0].classList.contains(e.params.pagination.hiddenClass);l(D===!0?"paginationShow":"paginationHide"),E.forEach(f=>f.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ue(u),u.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),m(),h(),p()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ue(u),u.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:b,disable:I,render:h,update:p,init:m,destroy:w})}function po(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Fe();let a=!1,s=null,r=null,c,d,p,h;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:T,rtlTranslate:_}=e,{dragEl:P,el:j}=T,B=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress;let H=d,L=(p-d)*G;_?(L=-L,L>0?(H=d-L,L=0):-L+d>p&&(H=p+L)):L<0?(H=d+L,L=0):L+d>p&&(H=p-L),e.isHorizontal()?(P.style.transform=`translate3d(${L}px, 0, 0)`,P.style.width=`${H}px`):(P.style.transform=`translate3d(0px, ${L}px, 0)`,P.style.height=`${H}px`),B.hide&&(clearTimeout(s),j.style.opacity=1,s=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function w(T){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${T}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T}=e,{dragEl:_,el:P}=T;_.style.width="",_.style.height="",p=e.isHorizontal()?P.offsetWidth:P.offsetHeight,h=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*h:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?_.style.width=`${d}px`:_.style.height=`${d}px`,h>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&T.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(T){return e.isHorizontal()?T.clientX:T.clientY}function u(T){const{scrollbar:_,rtlTranslate:P}=e,{el:j}=_;let B;B=(I(T)-ao(j)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),B=Math.max(Math.min(B,1),0),P&&(B=1-B);const G=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*B;e.updateProgress(G),e.setTranslate(G),e.updateActiveIndex(),e.updateSlidesClasses()}function g(T){const _=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B,dragEl:G}=P;a=!0,c=T.target===G?I(T)-T.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,T.preventDefault(),T.stopPropagation(),j.style.transitionDuration="100ms",G.style.transitionDuration="100ms",u(T),clearTimeout(r),B.style.transitionDuration="0ms",_.hide&&(B.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",T)}function y(T){const{scrollbar:_,wrapperEl:P}=e,{el:j,dragEl:B}=_;a&&(T.preventDefault?T.preventDefault():T.returnValue=!1,u(T),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",B.style.transitionDuration="0ms",l("scrollbarDragMove",T))}function E(T){const _=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B}=P;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),_.hide&&(clearTimeout(r),r=pt(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",T),_.snapOnRelease&&e.slideToClosest())}function D(T){const{scrollbar:_,params:P}=e,j=_.el;if(!j)return;const B=j,G=P.passiveListeners?{passive:!1,capture:!1}:!1,H=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!B)return;const L=T==="on"?"addEventListener":"removeEventListener";B[L]("pointerdown",g,G),o[L]("pointermove",y,G),o[L]("pointerup",E,H)}function f(){!e.params.scrollbar.el||!e.scrollbar.el||D("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||D("off")}function C(){const{scrollbar:T,el:_}=e;e.params.scrollbar=Xi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let j;if(typeof P.el=="string"&&e.isElement&&(j=e.el.querySelector(P.el)),!j&&typeof P.el=="string"){if(j=o.querySelectorAll(P.el),!j.length)return}else j||(j=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&j.length>1&&_.querySelectorAll(P.el).length===1&&(j=_.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let B;j&&(B=j.querySelector(vt(e.params.scrollbar.dragClass)),B||(B=wt("div",e.params.scrollbar.dragClass),j.append(B))),Object.assign(T,{el:j,dragEl:B}),P.draggable&&f(),j&&j.classList[e.enabled?"remove":"add"](...Ze(e.params.scrollbar.lockClass))}function S(){const T=e.params.scrollbar,_=e.scrollbar.el;_&&_.classList.remove(...Ze(e.isHorizontal()?T.horizontalClass:T.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const T=e.params.scrollbar;let{el:_}=e.scrollbar;_=Ue(_),_.forEach(P=>{P.classList.remove(T.horizontalClass,T.verticalClass),P.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(C(),b(),m())}),n("update resize observerUpdate lock unlock changeDirection",()=>{b()}),n("setTranslate",()=>{m()}),n("setTransition",(T,_)=>{w(_)}),n("enable disable",()=>{const{el:T}=e.scrollbar;T&&T.classList[e.enabled?"remove":"add"](...Ze(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const x=()=>{e.el.classList.remove(...Ze(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Ze(e.params.scrollbar.scrollbarDisabledClass)),C(),b(),m()},A=()=>{e.el.classList.add(...Ze(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Ze(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:x,disable:A,updateSize:b,setTranslate:m,init:C,destroy:S})}function Lt(t){let{swiper:e,extendParams:i,on:n,emit:l,params:o}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,r=o&&o.autoplay?o.autoplay.delay:3e3,c=o&&o.autoplay?o.autoplay.delay:3e3,d,p=new Date().getTime(),h,m,w,b,I,u,g;function y(H){!e||e.destroyed||!e.wrapperEl||H.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",y),!g&&x())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?h=!0:h&&(c=d,h=!1);const H=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=H,l("autoplayTimeLeft",H,H/r),s=requestAnimationFrame(()=>{E()})},D=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:H=e.slides[e.activeIndex],H?parseInt(H.getAttribute("data-swiper-autoplay"),10):void 0},f=H=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let L=typeof H>"u"?e.params.autoplay.delay:H;r=e.params.autoplay.delay,c=e.params.autoplay.delay;const z=D();!Number.isNaN(z)&&z>0&&typeof H>"u"&&(L=z,r=z,c=z),d=L;const M=e.params.speed,k=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,M,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,M,!0,!0),l("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return L>0?(clearTimeout(a),a=setTimeout(()=>{k()},L)):requestAnimationFrame(()=>{k()}),L},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,f(),l("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),l("autoplayStop")},S=(H,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),H||(u=!0);const z=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):x()};if(e.autoplay.paused=!0,L){I&&(d=e.params.autoplay.delay),I=!1,z();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),z())},x=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,f(d)):f(),e.autoplay.paused=!1,l("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const H=Fe();H.visibilityState==="hidden"&&(u=!0,S(!0)),H.visibilityState==="visible"&&x()},T=H=>{H.pointerType==="mouse"&&(u=!0,g=!0,!(e.animating||e.autoplay.paused)&&S(!0))},_=H=>{H.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&x())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",T),e.el.addEventListener("pointerleave",_))},j=()=>{e.el.removeEventListener("pointerenter",T),e.el.removeEventListener("pointerleave",_)},B=()=>{Fe().addEventListener("visibilitychange",A)},G=()=>{Fe().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),B(),O())}),n("destroy",()=>{j(),G(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(w||u)&&x()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():S(!0,!0)}),n("beforeTransitionStart",(H,L,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?S(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}m=!0,w=!1,u=!1,b=setTimeout(()=>{u=!0,w=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(b),clearTimeout(a),e.params.autoplay.disableOnInteraction){w=!1,m=!1;return}w&&e.params.cssMode&&x(),w=!1,m=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:O,stop:C,pause:S,resume:x})}function vo(t){let{swiper:e,extendParams:i,emit:n,once:l}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;const r=e.getTranslate();e.setTranslate(r),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:r,touches:c}=e;r.velocities.length===0&&r.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Me()})}function s(r){let{currentPos:c}=r;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:h,snapGrid:m,touchEventsData:w}=e,I=Me()-w.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(w.velocities.length>1){const C=w.velocities.pop(),S=w.velocities.pop(),x=C.position-S.position,A=C.time-S.time;e.velocity=x/A,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Me()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,w.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const g=e.velocity*u;let y=e.translate+g;h&&(y=-y);let E=!1,D;const f=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(y<e.maxTranslate())d.freeMode.momentumBounce?(y+e.maxTranslate()<-f&&(y=e.maxTranslate()-f),D=e.maxTranslate(),E=!0,w.allowMomentumBounce=!0):y=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(y>e.minTranslate())d.freeMode.momentumBounce?(y-e.minTranslate()>f&&(y=e.minTranslate()+f),D=e.minTranslate(),E=!0,w.allowMomentumBounce=!0):y=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let C;for(let S=0;S<m.length;S+=1)if(m[S]>-y){C=S;break}Math.abs(m[C]-y)<Math.abs(m[C-1]-y)||e.swipeDirection==="next"?y=m[C]:y=m[C-1],y=-y}if(O&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(h?u=Math.abs((-y-e.translate)/e.velocity):u=Math.abs((y-e.translate)/e.velocity),d.freeMode.sticky){const C=Math.abs((h?-y:y)-e.translate),S=e.slidesSizesGrid[e.activeIndex];C<S?u=d.speed:C<2*S?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&E?(e.updateProgress(D),e.setTransition(u),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ei(p,()=>{!e||e.destroyed||!w.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(D),ei(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(u),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ei(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||I>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:a,onTouchEnd:s}})}let ii;function fo(){const t=_e(),e=Fe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ji(){return ii||(ii=fo()),ii}let ni;function mo(t){let{userAgent:e}=t===void 0?{}:t;const i=Ji(),n=_e(),l=n.navigator.platform,o=e||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,r=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=l==="Win32";let w=l==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&w&&i.touch&&b.indexOf(`${s}x${r}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),w=!1),c&&!m&&(a.os="android",a.android=!0),(d||h||p)&&(a.os="ios",a.ios=!0),a}function Ki(t){return t===void 0&&(t={}),ni||(ni=mo(t)),ni}let oi;function ho(){const t=_e(),e=Ki();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[r,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=r<16||r===16&&c<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),o=n(),a=o||l&&e.ios;return{isSafari:i||o,needPerspectiveFix:i,need3dFix:a,isWebView:l}}function go(){return oi||(oi=ho()),oi}function bo(t){let{swiper:e,on:i,emit:n}=t;const l=_e();let o=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(p=>{a=l.requestAnimationFrame(()=>{const{width:h,height:m}=e;let w=h,b=m;p.forEach(I=>{let{contentBoxSize:u,contentRect:g,target:y}=I;y&&y!==e.el||(w=g?g.width:(u[0]||u).inlineSize,b=g?g.height:(u[0]||u).blockSize)}),(w!==h||b!==m)&&s()})}),o.observe(e.el))},c=()=>{a&&l.cancelAnimationFrame(a),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){r();return}l.addEventListener("resize",s),l.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),l.removeEventListener("resize",s),l.removeEventListener("orientationchange",d)})}function yo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=[],a=_e(),s=function(d,p){p===void 0&&(p={});const h=a.MutationObserver||a.WebkitMutationObserver,m=new h(w=>{if(e.__preventObserver__)return;if(w.length===1){l("observerUpdate",w[0]);return}const b=function(){l("observerUpdate",w[0])};a.requestAnimationFrame?a.requestAnimationFrame(b):a.setTimeout(b,0)});m.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),o.push(m)},r=()=>{if(e.params.observer){if(e.params.observeParents){const d=qi(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{o.forEach(d=>{d.disconnect()}),o.splice(0,o.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",c)}var wo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const l=i?"unshift":"push";return t.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][l](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function l(){n.off(t,l),l.__emitterProxy&&delete l.__emitterProxy;for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];e.apply(n,a)}return l.__emitterProxy=e,n.on(t,l,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((l,o)=>{(l===e||l.__emitterProxy&&l.__emitterProxy===e)&&i.eventsListeners[n].splice(o,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var l=arguments.length,o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],i=o.slice(1,o.length),n=t):(e=o[0].events,i=o[0].data,n=o[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].forEach(c=>{c.apply(n,i)})}),t}};function So(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(et(n,"padding-left")||0,10)-parseInt(et(n,"padding-right")||0,10),i=i-parseInt(et(n,"padding-top")||0,10)-parseInt(et(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 To(){const t=this;function e(x,A){return parseFloat(x.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:o,rtlTranslate:a,wrongRTL:s}=t,r=t.virtual&&i.virtual.enabled,c=r?t.virtual.slides.length:t.slides.length,d=He(l,`.${t.params.slideClass}, swiper-slide`),p=r?t.virtual.slides.length:d.length;let h=[];const m=[],w=[];let b=i.slidesOffsetBefore;typeof b=="function"&&(b=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,g=t.slidesGrid.length;let y=i.spaceBetween,E=-b,D=0,f=0;if(typeof o>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*o:typeof y=="string"&&(y=parseFloat(y)),t.virtualSize=-y,d.forEach(x=>{a?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(At(n,"--swiper-centered-offset-before",""),At(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let C;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(x=>typeof i.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<p;x+=1){C=0;let A;if(d[x]&&(A=d[x]),O&&t.grid.updateSlide(x,A,d),!(d[x]&&et(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(d[x].style[t.getDirectionLabel("width")]="");const T=getComputedStyle(A),_=A.style.transform,P=A.style.webkitTransform;if(_&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?ti(A,"width",!0):ti(A,"height",!0);else{const j=e(T,"width"),B=e(T,"padding-left"),G=e(T,"padding-right"),H=e(T,"margin-left"),L=e(T,"margin-right"),z=T.getPropertyValue("box-sizing");if(z&&z==="border-box")C=j+H+L;else{const{clientWidth:M,offsetWidth:k}=A;C=j+B+G+H+L+(k-M)}}_&&(A.style.transform=_),P&&(A.style.webkitTransform=P),i.roundLengths&&(C=Math.floor(C))}else C=(o-(i.slidesPerView-1)*y)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),d[x]&&(d[x].style[t.getDirectionLabel("width")]=`${C}px`);d[x]&&(d[x].swiperSlideSize=C),w.push(C),i.centeredSlides?(E=E+C/2+D/2+y,D===0&&x!==0&&(E=E-o/2-y),x===0&&(E=E-o/2-y),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),f%i.slidesPerGroup===0&&h.push(E),m.push(E)):(i.roundLengths&&(E=Math.floor(E)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&h.push(E),m.push(E),E=E+C+y),t.virtualSize+=C+y,D=C,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+I,a&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+y}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+y}px`),O&&t.grid.updateWrapperSize(C,h),!i.centeredSlides){const x=[];for(let A=0;A<h.length;A+=1){let T=h[A];i.roundLengths&&(T=Math.floor(T)),h[A]<=t.virtualSize-o&&x.push(T)}h=x,Math.floor(t.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-o)}if(r&&i.loop){const x=w[0]+y;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),T=x*i.slidesPerGroup;for(let _=0;_<A;_+=1)h.push(h[h.length-1]+T)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&h.push(h[h.length-1]+x),m.push(m[m.length-1]+x),t.virtualSize+=x}if(h.length===0&&(h=[0]),y!==0){const x=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");d.filter((A,T)=>!i.cssMode||i.loop?!0:T!==d.length-1).forEach(A=>{A.style[x]=`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let x=0;w.forEach(T=>{x+=T+(y||0)}),x-=y;const A=x-o;h=h.map(T=>T<=0?-b:T>A?A+I:T)}if(i.centerInsufficientSlides){let x=0;if(w.forEach(A=>{x+=A+(y||0)}),x-=y,x<o){const A=(o-x)/2;h.forEach((T,_)=>{h[_]=T-A}),m.forEach((T,_)=>{m[_]=T+A})}}if(Object.assign(t,{slides:d,snapGrid:h,slidesGrid:m,slidesSizesGrid:w}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){At(n,"--swiper-centered-offset-before",`${-h[0]}px`),At(n,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const x=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(T=>T+x),t.slidesGrid=t.slidesGrid.map(T=>T+A)}if(p!==c&&t.emit("slidesLengthChange"),h.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!r&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const x=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(x);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(x):A&&t.el.classList.remove(x)}}function xo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let l=0,o;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const s=e.activeIndex+o;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(o=0;o<i.length;o+=1)if(typeof i[o]<"u"){const s=i[o].offsetHeight;l=s>l?s:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}px`)}function 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 Io(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:l,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;l&&(a=t),n.forEach(r=>{r.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 r=0;r<n.length;r+=1){const c=n[r];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(a+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),h=(a-o[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),m=-(a-d),w=m+e.slidesSizesGrid[r],b=m>=0&&m<=e.size-e.slidesSizesGrid[r];(m>=0&&m<e.size-1||w>1&&w<=e.size||m<=0&&w>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(r),n[r].classList.add(i.slideVisibleClass)),b&&n[r].classList.add(i.slideFullyVisibleClass),c.progress=l?-p:p,c.originalProgress=l?-h:h}}function Co(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:o,isEnd:a,progressLoop:s}=e;const r=o,c=a;if(n===0)l=0,o=!0,a=!0;else{l=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;o=d||l<=0,a=p||l>=1,d&&(l=0),p&&(l=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[d],m=e.slidesGrid[p],w=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(t);b>=h?s=(b-h)/w:s=(b+w-m)/w,s>1&&(s-=1)}Object.assign(e,{progress:l,progressLoop:s,isBeginning:o,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),o&&!r&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(r&&!o||c&&!a)&&e.emit("fromEdge"),e.emit("progress",l)}function _o(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,o=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,s=p=>He(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let r,c,d;if(o)if(i.loop){let p=l-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),r=s(`[data-swiper-slide-index="${p}"]`)}else r=s(`[data-swiper-slide-index="${l}"]`);else a?(r=e.filter(p=>p.column===l)[0],d=e.filter(p=>p.column===l+1)[0],c=e.filter(p=>p.column===l-1)[0]):r=e[l];r&&(r.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=co(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=ro(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]),c&&c.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Nt=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let l=n.querySelector(`.${t.params.lazyPreloaderClass}`);!l&&t.isElement&&(n.shadowRoot?l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),l&&l.remove())})),l&&l.remove()}},li=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},si=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),l=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=l,s=[a-e];s.push(...Array.from({length:e}).map((r,c)=>a+n+c)),t.slides.forEach((r,c)=>{s.includes(r.column)&&li(t,c)});return}const o=l+n-1;if(t.params.rewind||t.params.loop)for(let a=l-e;a<=o+e;a+=1){const s=(a%i+i)%i;(s<l||s>o)&&li(t,s)}else for(let a=Math.max(l-e,0);a<=Math.min(o+e,i-1);a+=1)a!==l&&(a>o||a<l)&&li(t,a)};function Do(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let l;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?l=o:n>=e[o]&&n<e[o+1]&&(l=o+1):n>=e[o]&&(l=o);return i.normalizeSlideIndex&&(l<0||typeof l>"u")&&(l=0),l}function ko(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:o,realIndex:a,snapIndex:s}=e;let r=t,c;const d=m=>{let w=m-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 r>"u"&&(r=Do(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const m=Math.min(l.slidesPerGroupSkip,r);c=m+Math.floor((r-m)/l.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),r===o&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(r===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(r);return}const p=e.grid&&l.grid&&l.grid.rows>1;let h;if(e.virtual&&l.virtual.enabled&&l.loop)h=d(r);else if(p){const m=e.slides.filter(b=>b.column===r)[0];let w=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(w)&&(w=Math.max(e.slides.indexOf(m),0)),h=Math.floor(w/l.grid.rows)}else if(e.slides[r]){const m=e.slides[r].getAttribute("data-swiper-slide-index");m?h=parseInt(m,10):h=r}else h=r;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:h,previousIndex:o,activeIndex:r}),e.initialized&&si(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ao(t,e){const i=this,n=i.params;let l=t.closest(`.${n.slideClass}, swiper-slide`);!l&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!l&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(l=s)});let o=!1,a;if(l){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===l){o=!0,a=s;break}}if(l&&o)i.clickedSlide=l,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(l.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Po={updateSize:So,updateSlides:To,updateAutoHeight:xo,updateSlidesOffset:Eo,updateSlidesProgress:Io,updateProgress:Co,updateSlidesClasses:_o,updateActiveIndex:ko,updateClickedSlide:Ao};function Oo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:l,wrapperEl:o}=e;if(i.virtualTranslate)return n?-l:l;if(i.cssMode)return l;let a=lo(o,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Mo(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:o,progress:a}=i;let s=0,r=0;const c=0;i.isHorizontal()?s=n?-t:t:r=t,l.roundLengths&&(s=Math.floor(s),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:r,l.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-r:l.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${s}px, ${r}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Lo(){return-this.snapGrid[0]}function No(){return-this.snapGrid[this.snapGrid.length-1]}function jo(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const r=o.minTranslate(),c=o.maxTranslate();let d;if(n&&t>r?d=r:n&&t<c?d=c:d=t,o.updateProgress(d),a.cssMode){const p=o.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!o.support.smoothScroll)return Yi({swiper:o,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(h){!o||o.destroyed||h.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var Bo={getTranslate:Oo,setTranslate:Mo,minTranslate:Lo,maxTranslate:No,translateTo:jo};function zo(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 Qi(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:o,previousIndex:a}=e;let s=n;if(s||(o>a?s="next":o<a?s="prev":s="reset"),e.emit(`transition${l}`),i&&o!==a){if(s==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),s==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function Vo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Qi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Ro(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Qi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Fo={setTransition:zo,transitionStart:Vo,transitionEnd:Ro};function Ho(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:r,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:h,wrapperEl:m,enabled:w}=o;if(o.animating&&s.preventInteractionOnTransition||!w&&!n&&!l||o.destroyed)return!1;const b=Math.min(o.params.slidesPerGroupSkip,a);let I=b+Math.floor((a-b)/o.params.slidesPerGroup);I>=r.length&&(I=r.length-1);const u=-r[I];if(s.normalizeSlideIndex)for(let y=0;y<c.length;y+=1){const E=-Math.floor(u*100),D=Math.floor(c[y]*100),f=Math.floor(c[y+1]*100);typeof c[y+1]<"u"?E>=D&&E<f-(f-D)/2?a=y:E>=D&&E<f&&(a=y+1):E>=D&&(a=y)}if(o.initialized&&a!==p&&(!o.allowSlideNext&&(h?u>o.translate&&u>o.minTranslate():u<o.translate&&u<o.minTranslate())||!o.allowSlidePrev&&u>o.translate&&u>o.maxTranslate()&&(p||0)!==a))return!1;a!==(d||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(u);let g;if(a>p?g="next":a<p?g="prev":g="reset",h&&-u===o.translate||!h&&u===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),s.effect!=="slide"&&o.setTranslate(u),g!=="reset"&&(o.transitionStart(i,g),o.transitionEnd(i,g)),!1;if(s.cssMode){const y=o.isHorizontal(),E=h?u:-u;if(e===0){const D=o.virtual&&o.params.virtual.enabled;D&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),D&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[y?"scrollLeft":"scrollTop"]=E})):m[y?"scrollLeft":"scrollTop"]=E,D&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return Yi({swiper:o,targetPosition:E,side:y?"left":"top"}),!0;m.scrollTo({[y?"left":"top"]:E,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(u),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(i,g),e===0?o.transitionEnd(i,g):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(E){!o||o.destroyed||E.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,g))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function Uo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;const o=l.grid&&l.params.grid&&l.params.grid.rows>1;let a=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)a=a+l.virtual.slidesBefore;else{let s;if(o){const h=a*l.params.grid.rows;s=l.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===h)[0].column}else s=l.getSlideIndexByData(a);const r=o?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:c}=l.params;let d=l.params.slidesPerView;d==="auto"?d=l.slidesPerViewDynamic():(d=Math.ceil(parseFloat(l.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=r-s<d;if(c&&(p=p||s<Math.ceil(d/2)),p){const h=c?s<l.activeIndex?"prev":"next":s-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?s+1:s-r+1,slideRealIndex:h==="next"?l.realIndex:void 0})}if(o){const h=a*l.params.grid.rows;a=l.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===h)[0].column}else a=l.getSlideIndexByData(a)}return requestAnimationFrame(()=>{l.slideTo(a,e,i,n)}),l}function Go(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:l,params:o,animating:a}=n;if(!l||n.destroyed)return n;let s=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<o.slidesPerGroupSkip?1:s,c=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+r,t,e,i)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function $o(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:l,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:r,animating:c}=n;if(!r||n.destroyed)return n;const d=n.virtual&&l.virtual.enabled;if(l.loop){if(c&&!d&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function h(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const m=h(p),w=o.map(u=>h(u));let b=o[w.indexOf(m)-1];if(typeof b>"u"&&l.cssMode){let u;o.forEach((g,y)=>{m>=g&&(u=y)}),typeof u<"u"&&(b=o[u>0?u-1:u])}let I=0;if(typeof b<"u"&&(I=a.indexOf(b),I<0&&(I=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,0))),l.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function Wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Yo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;let o=l.activeIndex;const a=Math.min(l.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/l.params.slidesPerGroup),r=l.rtlTranslate?l.translate:-l.translate;if(r>=l.snapGrid[s]){const c=l.snapGrid[s],d=l.snapGrid[s+1];r-c>(d-c)*n&&(o+=l.params.slidesPerGroup)}else{const c=l.snapGrid[s-1],d=l.snapGrid[s];r-c<=(d-c)*n&&(o-=l.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,l.slidesGrid.length-1),l.slideTo(o,t,e,i)}function qo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let l=t.clickedIndex,o;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;o=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?l<t.loopedSlides-n/2||l>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),l=t.getSlideIndex(He(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(He(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var Xo={slideTo:Ho,slideToLoop:Uo,slideNext:Go,slidePrev:$o,slideReset:Wo,slideToClosest:Yo,slideToClickedSlide:qo};function Jo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{He(n,`.${i.slideClass}, swiper-slide`).forEach((p,h)=>{p.setAttribute("data-swiper-slide-index",h)})},o=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(o?i.grid.rows:1),s=e.slides.length%a!==0,r=o&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const h=e.isElement?wt("swiper-slide",[i.slideBlankClass]):wt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(h)}};if(s){if(i.loopAddBlankSlides){const d=a-e.slides.length%a;c(d),e.recalcSlides(),e.updateSlides()}else Pt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else if(r){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Pt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else l();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Ko(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:o,byController:a,byMousewheel:s}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:h,params:m}=r,{centeredSlides:w}=m;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&m.virtual.enabled){i&&(!m.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):m.centeredSlides&&r.snapIndex<m.slidesPerView?r.slideTo(r.virtual.slides.length+r.snapIndex,0,!1,!0):r.snapIndex===r.snapGrid.length-1&&r.slideTo(r.virtual.slidesBefore,0,!1,!0)),r.allowSlidePrev=d,r.allowSlideNext=p,r.emit("loopFix");return}let b=m.slidesPerView;b==="auto"?b=r.slidesPerViewDynamic():(b=Math.ceil(parseFloat(m.slidesPerView,10)),w&&b%2===0&&(b=b+1));const I=m.slidesPerGroupAuto?b:m.slidesPerGroup;let u=I;u%I!==0&&(u+=I-u%I),u+=m.loopAdditionalSlides,r.loopedSlides=u;const g=r.grid&&m.grid&&m.grid.rows>1;c.length<b+u?Pt("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"&&Pt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],E=[];let D=r.activeIndex;typeof o>"u"?o=r.getSlideIndex(c.filter(_=>_.classList.contains(m.slideActiveClass))[0]):D=o;const f=n==="next"||!n,O=n==="prev"||!n;let C=0,S=0;const x=g?Math.ceil(c.length/m.grid.rows):c.length,T=(g?c[o].column:o)+(w&&typeof l>"u"?-b/2+.5:0);if(T<u){C=Math.max(u-T,I);for(let _=0;_<u-T;_+=1){const P=_-Math.floor(_/x)*x;if(g){const j=x-P-1;for(let B=c.length-1;B>=0;B-=1)c[B].column===j&&y.push(B)}else y.push(x-P-1)}}else if(T+b>x-u){S=Math.max(T-(x-u*2),I);for(let _=0;_<S;_+=1){const P=_-Math.floor(_/x)*x;g?c.forEach((j,B)=>{j.column===P&&E.push(B)}):E.push(P)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),O&&y.forEach(_=>{c[_].swiperLoopMoveDOM=!0,h.prepend(c[_]),c[_].swiperLoopMoveDOM=!1}),f&&E.forEach(_=>{c[_].swiperLoopMoveDOM=!0,h.append(c[_]),c[_].swiperLoopMoveDOM=!1}),r.recalcSlides(),m.slidesPerView==="auto"?r.updateSlides():g&&(y.length>0&&O||E.length>0&&f)&&r.slides.forEach((_,P)=>{r.grid.updateSlide(P,_,r.slides)}),m.watchSlidesProgress&&r.updateSlidesOffset(),i){if(y.length>0&&O){if(typeof e>"u"){const _=r.slidesGrid[D],j=r.slidesGrid[D+C]-_;s?r.setTranslate(r.translate-j):(r.slideTo(D+Math.ceil(C),0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else if(l){const _=g?y.length/m.grid.rows:y.length;r.slideTo(r.activeIndex+_,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(E.length>0&&f)if(typeof e>"u"){const _=r.slidesGrid[D],j=r.slidesGrid[D-S]-_;s?r.setTranslate(r.translate-j):(r.slideTo(D-S,0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else{const _=g?E.length/m.grid.rows:E.length;r.slideTo(r.activeIndex-_,0,!1,!0)}}if(r.allowSlidePrev=d,r.allowSlideNext=p,r.controller&&r.controller.control&&!a){const _={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:o,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({..._,slideTo:P.params.slidesPerView===m.slidesPerView?i:!1})}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix({..._,slideTo:r.controller.control.params.slidesPerView===m.slidesPerView?i:!1})}r.emit("loopFix")}function Qo(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(l=>{const o=typeof l.swiperSlideIndex>"u"?l.getAttribute("data-swiper-slide-index")*1:l.swiperSlideIndex;n[o]=l}),t.slides.forEach(l=>{l.removeAttribute("data-swiper-slide-index")}),n.forEach(l=>{i.append(l)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Zo={loopCreate:Jo,loopFix:Ko,loopDestroy:Qo};function el(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 tl(){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 il={setGrabCursor:el,unsetGrabCursor:tl};function nl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Fe()||n===_e())return null;n.assignedSlot&&(n=n.assignedSlot);const l=n.closest(t);return!l&&!n.getRootNode?null:l||i(n.getRootNode().host)}return i(e)}function Zi(t,e,i){const n=_e(),{params:l}=t,o=l.edgeSwipeDetection,a=l.edgeSwipeThreshold;return o&&(i<=a||i>=n.innerWidth-a)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function ol(t){const e=this,i=Fe();let n=t;n.originalEvent&&(n=n.originalEvent);const l=e.touchEventsData;if(n.type==="pointerdown"){if(l.pointerId!==null&&l.pointerId!==n.pointerId)return;l.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(l.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Zi(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:a,enabled:s}=e;if(!s||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let r=n.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const c=!!o.noSwipingClass&&o.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(r=d[0]);const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(h?nl(p,r):r.closest(p))){e.allowClick=!0;return}if(o.swipeHandler&&!r.closest(o.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const m=a.currentX,w=a.currentY;if(!Zi(e,n,m))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=m,a.startY=w,l.touchStartTime=Me(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1);let b=!0;r.matches(l.focusableElements)&&(b=!1,r.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const I=b&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||I)&&!r.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ll(t){const e=Fe(),i=this,n=i.touchEventsData,{params:l,touches:o,rtlTranslate:a,enabled:s}=i;if(!s||!l.simulateTouch&&t.pointerType==="mouse")return;let r=t;if(r.originalEvent&&(r=r.originalEvent),r.type==="pointermove"&&(n.touchId!==null||r.pointerId!==n.pointerId))return;let c;if(r.type==="touchmove"){if(c=[...r.changedTouches].filter(f=>f.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=r;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",r);return}const d=c.pageX,p=c.pageY;if(r.preventedByNestedSwiper){o.startX=d,o.startY=p;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Me());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(p<o.startY&&i.translate<=i.maxTranslate()||p>o.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<o.startX&&i.translate<=i.maxTranslate()||d>o.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&r.target===e.activeElement&&r.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",r),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=d,o.currentY=p;const h=o.currentX-o.startX,m=o.currentY-o.startY;if(i.params.threshold&&Math.sqrt(h**2+m**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let f;i.isHorizontal()&&o.currentY===o.startY||i.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:h*h+m*m>=25&&(f=Math.atan2(Math.abs(m),Math.abs(h))*180/Math.PI,n.isScrolling=i.isHorizontal()?f>l.touchAngle:90-f>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&r.cancelable&&r.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&r.stopPropagation();let w=i.isHorizontal()?h:m,b=i.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;l.oneWayMovement&&(w=Math.abs(w)*(a?1:-1),b=Math.abs(b)*(a?1:-1)),o.diff=w,w*=l.touchRatio,a&&(w=-w,b=-b);const I=i.touchesDirection;i.swipeDirection=w>0?"prev":"next",i.touchesDirection=b>0?"prev":"next";const u=i.params.loop&&!l.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(f)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let y;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&u&&g&&Math.abs(w)>=1){Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=w+n.startTranslate;let E=!0,D=l.resistanceRatio;if(l.touchReleaseOnEdges&&(D=0),w>0?(u&&g&&!y&&n.allowThresholdMove&&n.currentTranslate>(l.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(E=!1,l.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+w)**D))):w<0&&(u&&g&&!y&&n.allowThresholdMove&&n.currentTranslate<(l.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(l.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(l.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(E=!1,l.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-w)**D))),E&&(r.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),l.threshold>0)if(Math.abs(w)>l.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=i.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!l.followFinger||l.cssMode||((l.freeMode&&l.freeMode.enabled&&i.freeMode||l.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),l.freeMode&&l.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function sl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let l;if(n.type==="touchend"||n.type==="touchcancel"){if(l=[...n.changedTouches].filter(D=>D.identifier===i.touchId)[0],!l||l.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;l=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:s,rtlTranslate:r,slidesGrid:c,enabled:d}=e;if(!d||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const p=Me(),h=p-i.touchStartTime;if(e.allowClick){const D=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(D&&D[0]||n.target,D),e.emit("tap click",n),h<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Me(),pt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let m;if(a.followFinger?m=r?e.translate:-e.translate:m=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const w=m>=-e.maxTranslate()&&!e.params.loop;let b=0,I=e.slidesSizesGrid[0];for(let D=0;D<c.length;D+=D<a.slidesPerGroupSkip?1:a.slidesPerGroup){const f=D<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[D+f]<"u"?(w||m>=c[D]&&m<c[D+f])&&(b=D,I=c[D+f]-c[D]):(w||m>=c[D])&&(b=D,I=c[c.length-1]-c[c.length-2])}let u=null,g=null;a.rewind&&(e.isBeginning?g=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const y=(m-c[b])/I,E=b<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(h>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:b+E):e.slideTo(b)),e.swipeDirection==="prev"&&(y>1-a.longSwipesRatio?e.slideTo(b+E):g!==null&&y<0&&Math.abs(y)>a.longSwipesRatio?e.slideTo(g):e.slideTo(b))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(b+E):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:b+E),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:b))}}function en(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:l,snapGrid:o}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=l,t.allowSlideNext=n,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function al(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function rl(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let l;const o=t.maxTranslate()-t.minTranslate();o===0?l=0:l=(t.translate-t.minTranslate())/o,l!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function dl(t){const e=this;Nt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function cl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const tn=(t,e)=>{const i=Fe(),{params:n,el:l,wrapperEl:o,device:a}=t,s=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",c=e;i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),l[r]("touchstart",t.onTouchStart,{passive:!1}),l[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[r]("touchend",t.onTouchEnd,{passive:!0}),i[r]("pointerup",t.onTouchEnd,{passive:!0}),i[r]("pointercancel",t.onTouchEnd,{passive:!0}),i[r]("touchcancel",t.onTouchEnd,{passive:!0}),i[r]("pointerout",t.onTouchEnd,{passive:!0}),i[r]("pointerleave",t.onTouchEnd,{passive:!0}),i[r]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&l[r]("click",t.onClick,!0),n.cssMode&&o[r]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",en,!0):t[c]("observerUpdate",en,!0),l[r]("load",t.onLoad,{capture:!0})};function ul(){const t=this,{params:e}=t;t.onTouchStart=ol.bind(t),t.onTouchMove=ll.bind(t),t.onTouchEnd=sl.bind(t),t.onDocumentTouchStart=cl.bind(t),e.cssMode&&(t.onScroll=rl.bind(t)),t.onClick=al.bind(t),t.onLoad=dl.bind(t),tn(t,"on")}function pl(){tn(this,"off")}var vl={attachEvents:ul,detachEvents:pl};const nn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function fl(){const t=this,{realIndex:e,initialized:i,params:n,el:l}=t,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const a=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const r=(a in o?o[a]:void 0)||t.originalParams,c=nn(t,n),d=nn(t,r),p=n.enabled;c&&!d?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(l.classList.add(`${n.containerModifierClass}grid`),(r.grid.fill&&r.grid.fill==="column"||!r.grid.fill&&n.grid.fill==="column")&&l.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof r[u]>"u")return;const g=n[u]&&n[u].enabled,y=r[u]&&r[u].enabled;g&&!y&&t[u].disable(),!g&&y&&t[u].enable()});const h=r.direction&&r.direction!==n.direction,m=n.loop&&(r.slidesPerView!==n.slidesPerView||h),w=n.loop;h&&i&&t.changeDirection(),Pe(t.params,r);const b=t.params.enabled,I=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!b?t.disable():!p&&b&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",r),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!w&&I?(t.loopCreate(e),t.updateSlides()):w&&!I&&t.loopDestroy()),t.emit("breakpoint",r)}function ml(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=_e(),o=e==="window"?l.innerHeight:i.clientHeight,a=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const r=parseFloat(s.substr(1));return{value:o*r,point:s}}return{value:s,point:s}});a.sort((s,r)=>parseInt(s.value,10)-parseInt(r.value,10));for(let s=0;s<a.length;s+=1){const{point:r,value:c}=a[s];e==="window"?l.matchMedia(`(min-width: ${c}px)`).matches&&(n=r):c<=i.clientWidth&&(n=r)}return n||"max"}var hl={setBreakpoint:fl,getBreakpoint:ml};function gl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(l=>{n[l]&&i.push(e+l)}):typeof n=="string"&&i.push(e+n)}),i}function bl(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:o}=t,a=gl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),l.classList.add(...e),t.emitContainerClasses()}function yl(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var wl={addClasses:bl,removeClasses:yl};function Sl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const l=t.slides.length-1,o=t.slidesGrid[l]+t.slidesSizesGrid[l]+n*2;t.isLocked=t.size>o}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Tl={checkOverflow:Sl},ai={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 xl(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],o=n[l];if(typeof o!="object"||o===null){Pe(e,n);return}if(t[l]===!0&&(t[l]={enabled:!0}),l==="navigation"&&t[l]&&t[l].enabled&&!t[l].prevEl&&!t[l].nextEl&&(t[l].auto=!0),["pagination","scrollbar"].indexOf(l)>=0&&t[l]&&t[l].enabled&&!t[l].el&&(t[l].auto=!0),!(l in t&&"enabled"in o)){Pe(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Pe(e,n)}}const ri={eventsEmitter:wo,update:Po,translate:Bo,transition:Fo,slide:Xo,loop:Zo,grabCursor:il,events:vl,breakpoints:hl,checkOverflow:Tl,classes:wl},di={};let ci=class Je{constructor(){let e,i;for(var n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];l.length===1&&l[0].constructor&&Object.prototype.toString.call(l[0]).slice(8,-1)==="Object"?i=l[0]:[e,i]=l,i||(i={}),i=Pe({},i),e&&!i.el&&(i.el=e);const a=Fe();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(p=>{const h=Pe({},i,{el:p});d.push(new Je(h))}),d}const s=this;s.__swiper__=!0,s.support=Ji(),s.device=Ki({userAgent:i.userAgent}),s.browser=go(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const r={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:xl(i,r),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=Pe({},ai,r);return s.params=Pe({},c,di,i),s.originalParams=Pe({},s.params),s.passedParams=Pe({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,l=He(i,`.${n.slideClass}, swiper-slide`),o=Ot(l[0]);return Ot(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=He(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const l=n.minTranslate(),a=(n.maxTranslate()-l)*e+l;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const l=e.getSlideClasses(n);i.push({slideEl:n,classNames:l}),e.emit("_slideClass",n,l)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:l,slides:o,slidesGrid:a,slidesSizesGrid:s,size:r,activeIndex:c}=n;let d=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let p=o[c]?Math.ceil(o[c].swiperSlideSize):0,h;for(let m=c+1;m<o.length;m+=1)o[m]&&!h&&(p+=Math.ceil(o[m].swiperSlideSize),d+=1,p>r&&(h=!0));for(let m=c-1;m>=0;m-=1)o[m]&&!h&&(p+=o[m].swiperSlideSize,d+=1,p>r&&(h=!0))}else if(e==="current")for(let p=c+1;p<o.length;p+=1)(i?a[p]+s[p]-a[c]<r:a[p]-a[c]<r)&&(d+=1);else for(let p=c-1;p>=0;p-=1)a[c]-a[p]<r&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Nt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)l(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(a.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||l()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,l=n.params.direction;return e||(e=l==="horizontal"?"vertical":"horizontal"),e===l||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${l}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const l=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):He(n,l())[0];return!a&&i.params.createElements&&(a=wt("div",i.params.wrapperClass),n.append(a),He(n,`.${i.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||et(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||et(n,"direction")==="rtl"),wrongRTL:et(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const l=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&l.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),l.forEach(o=>{o.complete?Nt(i,o):o.addEventListener("load",a=>{Nt(i,a.target)})}),si(i),i.initialized=!0,si(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:l,el:o,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),o.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(r=>{r.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),r.removeAttribute("style"),r.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(r=>{n.off(r)}),e!==!1&&(n.el.swiper=null,no(n)),n.destroyed=!0),null}static extendDefaults(e){Pe(di,e)}static get extendedDefaults(){return di}static get defaults(){return ai}static installModule(e){Je.prototype.__modules__||(Je.prototype.__modules__=[]);const i=Je.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Je.installModule(i)),Je):(Je.installModule(e),Je)}};Object.keys(ri).forEach(t=>{Object.keys(ri[t]).forEach(e=>{ci.prototype[e]=ri[t][e]})}),ci.use([bo,yo]);const on=["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 lt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function ft(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]:lt(e[n])&&lt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:ft(t[n],e[n]):t[n]=e[n]})}function ln(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function sn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function an(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function rn(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 Il(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:r}=t;const c=l.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:p,navigation:h,scrollbar:m,virtual:w,thumbs:b}=e;let I,u,g,y,E,D,f,O;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(I=!0),l.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(g=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&m&&!m.el&&(y=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(d.navigation||d.navigation===!1)&&h&&!h.prevEl&&!h.nextEl&&(E=!0);const C=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),d[S].el=void 0,e[S].el=void 0))};l.includes("loop")&&e.isElement&&(d.loop&&!n.loop?D=!0:!d.loop&&n.loop?f=!0:O=!0),c.forEach(S=>{if(lt(d[S])&&lt(n[S]))Object.assign(d[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&C(S);else{const x=n[S];(x===!0||x===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?x===!1&&C(S):d[S]=n[S]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),l.includes("children")&&i&&w&&d.virtual.enabled?(w.slides=i,w.update(!0)):l.includes("virtual")&&w&&d.virtual.enabled&&(i&&(w.slides=i),w.update(!0)),l.includes("children")&&i&&d.loop&&(O=!0),I&&b.init()&&b.update(!0),u&&(e.controller.control=d.controller.control),g&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),r.part.add("pagination"),e.el.appendChild(r)),r&&(d.pagination.el=r),p.init(),p.render(),p.update()),y&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),m.init(),m.updateSize(),m.setTranslate()),E&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),o&&(d.navigation.nextEl=o),a&&(d.navigation.prevEl=a),h.init(),h.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(D||O)&&e.loopDestroy(),(f||O)&&e.loopCreate(),e.update()}function Cl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};ft(i,ai),i._emitClasses=!0,i.init=!1;const o={},a=on.map(r=>r.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(r=>{typeof t[r]>"u"||(a.indexOf(r)>=0?lt(t[r])?(i[r]={},l[r]={},ft(i[r],t[r]),ft(l[r],t[r])):(i[r]=t[r],l[r]=t[r]):r.search(/on[A-Z]/)===0&&typeof t[r]=="function"?e?n[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:i.on[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:o[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:l,rest:o,events:n}}function _l(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:o,scrollbarEl:a,swiper:s}=t;ln(e)&&n&&l&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=l,s.originalParams.navigation.prevEl=l),sn(e)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),an(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function Dl(t,e,i,n,l){const o=[];if(!e)return o;const a=r=>{o.indexOf(r)<0&&o.push(r)};if(i&&n){const r=n.map(l),c=i.map(l);r.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return on.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(lt(t[r])&&lt(e[r])){const c=Object.keys(t[r]),d=Object.keys(e[r]);c.length!==d.length?a(r):(c.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}),d.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}))}else t[r]!==e[r]&&a(r)}),o}const kl=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 jt(){return jt=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},jt.apply(this,arguments)}function dn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function cn(t){const e=[];return v.Children.toArray(t).forEach(i=>{dn(i)?e.push(i):i.props&&i.props.children&&cn(i.props.children).forEach(n=>e.push(n))}),e}function Al(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(dn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const l=cn(n.props.children);l.length>0?l.forEach(o=>e.push(o)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Pl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:o,to:a}=i,s=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<r;d+=1)d>=o&&d<=a&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:l,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function St(t,e){return typeof window>"u"?J(t,e):An(t,e)}const ui=yt(null),un=()=>bt(ui),Ol=yt(null),st=Ct(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:o,onSwiper:a,...s}=t===void 0?{}:t,r=!1;const[c,d]=$("swiper"),[p,h]=$(null),[m,w]=$(!1),b=Z(!1),I=Z(null),u=Z(null),g=Z(null),y=Z(null),E=Z(null),D=Z(null),f=Z(null),O=Z(null),{params:C,passedParams:S,rest:x,events:A}=Cl(s),{slides:T,slots:_}=Al(o),P=()=>{w(!m)};Object.assign(C.on,{_containerClasses(L,z){d(z)}});const j=()=>{Object.assign(C.on,A),r=!0;const L={...C};if(delete L.wrapperClass,u.current=new ci(L),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=T;const z={cache:!1,slides:T,renderExternal:h,renderExternalUpdate:!1};ft(u.current.params.virtual,z),ft(u.current.originalParams.virtual,z)}};I.current||j(),u.current&&u.current.on("_beforeBreakpoint",P);const B=()=>{r||!A||!u.current||Object.keys(A).forEach(L=>{u.current.on(L,A[L])})},G=()=>{!A||!u.current||Object.keys(A).forEach(L=>{u.current.off(L,A[L])})};J(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),J(()=>{!b.current&&u.current&&(u.current.emitSlidesClasses(),b.current=!0)}),St(()=>{if(e&&(e.current=I.current),!!I.current)return u.current.destroyed&&j(),_l({el:I.current,nextEl:E.current,prevEl:D.current,paginationEl:f.current,scrollbarEl:O.current,swiper:u.current},C),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),St(()=>{B();const L=Dl(S,g.current,T,y.current,z=>z.key);return g.current=S,y.current=T,L.length&&u.current&&!u.current.destroyed&&Il({swiper:u.current,slides:T,passedParams:S,changedParams:L,nextEl:E.current,prevEl:D.current,scrollbarEl:O.current,paginationEl:f.current}),()=>{G()}}),St(()=>{kl(u.current)},[p]);function H(){return C.virtual?Pl(u.current,T,p):T.map((L,z)=>v.cloneElement(L,{swiper:u.current,swiperSlideIndex:z}))}return v.createElement(n,jt({ref:I,className:rn(`${c}${i?` ${i}`:""}`)},x),v.createElement(Ol.Provider,{value:u.current},_["container-start"],v.createElement(l,{className:El(C.wrapperClass)},_["wrapper-start"],H(),_["wrapper-end"]),ln(C)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:D,className:"swiper-button-prev"}),v.createElement("div",{ref:E,className:"swiper-button-next"})),an(C)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),sn(C)&&v.createElement("div",{ref:f,className:"swiper-pagination"}),_["container-end"]))});st.displayName="Swiper";const Ge=Ct(function(t,e){let{tag:i="div",children:n,className:l="",swiper:o,zoom:a,lazy:s,virtualIndex:r,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Z(null),[h,m]=$("swiper-slide"),[w,b]=$(!1);function I(E,D,f){D===p.current&&m(f)}St(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!o)){if(o.destroyed){h!=="swiper-slide"&&m("swiper-slide");return}return o.on("_slideClass",I),()=>{o&&o.off("_slideClass",I)}}}),St(()=>{o&&p.current&&!o.destroyed&&m(o.getSlideClasses(p.current))},[o]);const u={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(u):n,y=()=>{b(!0)};return v.createElement(i,jt({ref:p,className:rn(`${h}${l?` ${l}`:""}`),"data-swiper-slide-index":r,onLoad:y},d),a&&v.createElement(ui.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},g(),s&&!w&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&v.createElement(ui.Provider,{value:u},g(),s&&!w&&v.createElement("div",{className:"swiper-lazy-preloader"})))});Ge.displayName="SwiperSlide";const Ml="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Ll=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:o})=>{var a;const[s,r]=$(!1),c=Z(null);J(()=>{const h=document.getElementById("sxp-render"),m=document.getElementById("pb-modal");m?c.current=m:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),h?.appendChild(c.current))},[]);const d=ee(()=>o?.id&&o?.id!==""||t,[t,o]);if(J(()=>{d?r(!0):setTimeout(()=>{r(!1)},o?.duration)},[d,o]),!c.current)return null;const p=Ht(()=>{e?.()},300);return Ai.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:l,animationDuration:((a=o?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:h=>{h.stopPropagation(),h.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Ml,alt:"close",className:"modal-icon"})),i))),c.current)};var Bt=ce(Ll);const Nl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),l=[];for(let a=0;a<n.length&&(l.push(n[a]),!(l.join(" ").length>=e));a++);return(l.length>1&&l.length<n.length?l.slice(0,l.length-1):l).join(" ")+" "},jl=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:o,unfoldText:a,isPost:s,onChange:r})=>{const[c,d]=$(!1),[p,h]=$(!1),m=Number(i?.lineClamp||2),w=Z(null),b=Z(null),I=ue(()=>{d(!c)},[c,r]);return ee(()=>!c&&t.length>e?Nl(t,e)+"...":t,[t,e,c]),J(()=>{var u,g;((u=b?.current)===null||u===void 0?void 0:u.offsetHeight)>((g=w?.current)===null||g===void 0?void 0:g.offsetHeight)&&s?h(!0):h(!1),b.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:w,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":m,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:b,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:l??I},c?a||"show less":o||"show more"))};var zt=ce(jl);const Bl=Ct((t,e)=>{const{src:i,onLoad:n,style:l,className:o,loading:a}=t,[s,r]=$();return Di(e,()=>({setSrc:c=>{r(c)}})),J(()=>{r(i)},[i]),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:o,src:s,style:l,loading:a,onLoad:c=>{n?.(c.target)}})):v.createElement("img",{className:o,src:s,style:l,loading:a,onLoad:c=>{n?.(c.target)}}))});var Le=ce(Bl);const zl=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:h,onClick:m,schema:w,isDefault:b,bottom_image:I,tipText:u,isPost:g,viewTime:y,rec:E,swiper:D,commodityStyles:f,buttonStyle:O,index:C}=t,S=Ee(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:x}=me(),{popupDetailData:A,bffEventReport:T,isPreview:_,bffFbReport:P}=me(),{jumpToWeb:j,productView:B}=Re(),G=Z(null),[H,L]=$(!1),z=g?E:A,M=g?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,k=g?(i=z?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=z?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,V=g?C:A?.index,U=()=>{M?.link&&(j(z,M,k,V),g||B(z,M,k,y||G.current,V),window.location.href=window.getJointUtmLink(M.link))};J(()=>{g||P?.({eventName:"ProductView"})},[g,P]),J(()=>{const q=()=>{G.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const W=ee(()=>{var q,pe,se,re,he;return M?.currency&&M?.price?`${(se=(pe=(q=M?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||pe===void 0?void 0:pe.toUpperCase())!==null&&se!==void 0?se:""}${(he=(re=M?.price)===null||re===void 0?void 0:re.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"$7,000"},[M?.price,M?.currency]),ie=_?375:(o=p?.width)!==null&&o!==void 0?o:window.innerWidth,ne=({isPost:q})=>{var pe,se,re;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:f?.collection,hidden:!!M&&(!M?.collection||M?.collection==="")},(pe=M?.collection)!==null&&pe!==void 0?pe:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:f?.title,hidden:!!M&&!M?.title},(se=M?.title)!==null&&se!==void 0?se:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:f?.price,hidden:!!M&&!M?.price},W),v.createElement("div",{hidden:!!M&&(!M?.info||M?.info==="")},v.createElement(zt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>L(!0),isPost:q,text:(re=M?.info)!==null&&re!==void 0?re:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ import{isEmpty as Et,isEqual as Ci,cloneDeep as gt,debounce as Ht,throttle as It,get as _i}from"lodash";import{v4 as kn}from"uuid";import An from"pako";import v,{useContext as bt,useMemo as ee,createContext as yt,memo as ce,useState as $,useRef as Z,useEffect as J,useCallback as ue,forwardRef as Ct,useImperativeHandle as Di,useLayoutEffect as Pn}from"react";import ki from"qs";import On from"eventemitter3";import{css as K}from"@emotion/css";import*as Ai from"react-dom";import Pi from"hls.js";function Ie(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(t);l<n.length;l++)e.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(t,n[l])&&(i[n[l]]=t[n[l]]);return i}function ke(t,e,i,n){function l(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function s(d){try{c(n.next(d))}catch(p){a(p)}}function r(d){try{c(n.throw(d))}catch(p){a(p)}}function c(d){d.done?o(d.value):l(d.value).then(s,r)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Mn=/:\w+/g;var Oi=(t,e)=>ke(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:o,method:a,url:s,urlParams:r,name:c,queryString:d,headers:p,body:b}=e[l];let h=s;r&&Object.entries(r).forEach(([y,m])=>{h=h.replace(Mn,I=>I===y?m:I)}),d&&(h+=d),n[o]=c;try{const y=yield fetch(h,{method:a,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(b)}).then(m=>m.json());i[o]=y}catch(y){console.error("DataSource request error: ",y),i[o]={}}}return{$store:i,idMapName:n}});const Mi="SXP_TOKEN_INFO",Ln=(t,e)=>ke(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),o=t.getApiUrl(),a=window.localStorage.getItem(Mi);let s=JSON.parse(a||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${o}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Mi,JSON.stringify(s))}}return s});function _t(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let l;if(e=e||i.length,t)for(l=0;l<t;l++)n[l]=i[0|Math.random()*e];else{let o;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",l=0;l<36;l++)n[l]||(o=0|Math.random()*16,n[l]=i[l===19?o&3|8:o])}return n.join("")}const Nn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let l=0;for(;l<t;)e+=i.charAt(Math.floor(Math.random()*n)),l+=1;return e},jn=()=>{const t=kn();return t?.replaceAll?t.replaceAll("-",""):Nn(32)};function Li(t){const i=atob(t).split("").map(function(o){return o.charCodeAt(0)}),n=new Uint8Array(i),l=An.inflate(n,{to:"string"});return JSON.parse(l)}let Ut=null;const Bn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class zn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Ut)return Ut;Ut=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Bn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ce=null;const Vn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ce||(Ce=new zn),n&&Ce.setApiUrl(n),Ce.setAppId(t),Ce.setTenantId(e),Ce.setEnv(i)},getDetail:t=>{if(!Ce)return;const e=Ce.getTenantId(),i=Ce.getAppId(),n=Ce.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>ke(void 0,void 0,void 0,function*(){var o,a;const s=yield l.json(),r=Li((o=s?.data)===null||o===void 0?void 0:o.data);if(r){const{$store:c}=yield Oi(n,(a=r?.dataSource)!==null&&a!==void 0?a:[]);s.data.data=r,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>ke(void 0,void 0,void 0,function*(){if(!Ce)return;const e=Ce.getTenantId(),i=Ce.getAppId(),n=Ce.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>ke(void 0,void 0,void 0,function*(){var o;const a=yield l.json();if(!a.success)return;const s=Li((o=a?.data)===null||o===void 0?void 0:o.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>ke(void 0,void 0,void 0,function*(){if(!Ce)return;const e=yield Ln(Ce,t),i=_t(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Et(n)&&(n=_t(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const l=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(o=>o.json());return l?.data||null})};function Xe(){return bt(Gi)}function Rn(){return bt(Ui)}const Gt="feRealSessionIdKey",Ni=()=>{const t=jn();return`${Date.now()}${t}`},Fn=()=>{let t=Un();return t||(t=Ni(),window.sessionStorage.setItem(Gt,t)),t},Hn=()=>{const t=Ni();window.sessionStorage.setItem(Gt,t)},Un=()=>window.sessionStorage.getItem(Gt),ji="SXP_FAKE_USER_ID",Bi="FAKE_USER_STATE",zi=()=>{let t=window.localStorage.getItem(ji);return Et(t)&&(t=_t(36,62),window.localStorage.setItem(ji,t)),t},Gn=()=>{const t=window.localStorage.getItem(Bi);return Et(t)&&window.localStorage.setItem(Bi,"true"),Et(t)};function Ne(t,e){const{appDomain:i}=me();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Je=new On;var Re;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Re||(Re={}));const Vi=yt({rtcList:[],tagList:[]});var $t;(function(t){t[t.BFF=5]="BFF"})($t||($t={}));const Ri=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],$n=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:o,isPreview:a=!1,sxpParameter:s,appDomain:r,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:b=!1})=>{const[h,y]=$([]),[m,I]=$([]),[u,w]=$(!1),[g,T]=$({rtc:"",requestId:""}),D=Z(null),f=Z(!1),[O,_]=$(),[S,E]=$(),[A,x]=$(p),[C,P]=$([]),[j,B]=$(0),[G,H]=$(!1),[L,V]=$(null),M=Z();J(()=>{const R=F=>{M.current=F};return Je.on(Re.CHANGE_THEME_TAG,R),()=>{Je.off(Re.CHANGE_THEME_TAG,R)}},[]),J(()=>{x(p)},[p]);const k=ee(()=>e?.find(R=>R.type===$t.BFF),[e]),z=ue((R,F)=>{if(!k)return;const Q=k.url,Se=zi();if(F?.query){const ye=ki.stringify(F.query);R=`${R}?${ye}`}return F.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${Q}/api/v1${R}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},k.headers),{"x-user-id":Se}),F.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${Q}/api/v1${R}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Se},k.headers),method:F.method,body:JSON.stringify(F.body)}).then(ye=>ye.json()).catch(ye=>Promise.reject(ye))},[k]),U=ue(R=>ke(void 0,void 0,void 0,function*(){var F,Q,Se,ye,Ee;if(R={maxSize:(F=R?.maxSize)!==null&&F!==void 0?F:l,defaultSize:(Q=R?.defaultSize)!==null&&Q!==void 0?Q:o,"itemFilter.itemId":R?.["itemFilter.itemId"],"itemFilter.itemType":R?.["itemFilter.itemType"],hashTag:R?.hashTag,traceInfo:R?.traceInfo,themeTag:R?.themeTag},i){const Te=(Ee=(ye=(Se=i?.split("&"))===null||Se===void 0?void 0:Se.filter(We=>{const Qe=We.split("=")[0];return Ri.includes(Qe)}))===null||ye===void 0?void 0:ye.join("&"))!==null&&Ee!==void 0?Ee:"";R=Object.assign(Object.assign({},R),{channel:decodeURIComponent(Te)})}const ge=yield z?.("/recommend/list",{method:"GET",query:R});if(ge?.success)return R?.hashTag||T({rtc:ge.data.rtc,requestId:ge.data.requestId}),ge?.data}),[z,i,l,o]),W=ue(()=>ke(void 0,void 0,void 0,function*(){var R,F;if(h.length<=0)return;const Q=yield U({hashTag:S?.hashTag,"itemFilter.itemId":S?.itemId,"itemFilter.itemType":S?.itemType,themeTag:M.current});y(h.concat((R=Q?.recList)!==null&&R!==void 0?R:[])),P(C.concat((F=Q?.recList)!==null&&F!==void 0?F:[]))}),[U,h,S,C]),ie=ue(({userInfo:R,eventInfo:F})=>{if(!n)return;R||(R={});const Q=Fn(),Se=Object.assign({sessionID:Q,rtc:g.rtc,requestId:g.requestId},F),ye=Object.entries(R).map(([ge,Te])=>({name:ge,value:Te})),Ee=Object.entries(Se).map(([ge,Te])=>Te&&{name:ge,value:Te}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",R),console.log("eventInfo:",Se),console.log("========= \u7ED3\u675F ========="),z?.("/event/report",{method:"POST",body:{userInfo:ye,eventInfo:Ee},type:"beacon"})},[z,g,n]),ne=ue(R=>{var F,{eventName:Q,actionSource:Se="website",eventSourceUrl:ye=(F=window?.location)===null||F===void 0?void 0:F.href,externalId:Ee}=R;if(!n||!b)return;const ge=zi();return z?.("/fb/events",{method:"POST",body:{eventName:Q,actionSource:Se,eventSourceUrl:ye,userData:{externalId:ge}},type:"beacon"})},[z,n,b]),oe=ue(R=>ke(void 0,void 0,void 0,function*(){const F=yield z?.("/recommend/like",{method:"POST",body:R});return F?.success}),[z]),q=ue(R=>ke(void 0,void 0,void 0,function*(){const F=yield z?.("/recommend/unlike",{method:"POST",body:R});return F?.success}),[z]),pe=ue(R=>ke(void 0,void 0,void 0,function*(){const F=yield z?.("/customform",{method:"POST",body:R});return F?.success}),[z]),se=ue(()=>ke(void 0,void 0,void 0,function*(){var R,F,Q,Se,ye;if(i)try{const Ee=(Q=(F=(R=i?.split("&"))===null||R===void 0?void 0:R.filter(Te=>{const We=Te.split("=")[0];return Ri.includes(We)}))===null||F===void 0?void 0:F.join("&"))!==null&&Q!==void 0?Q:"",ge=yield z?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Ee)}});I((ye=(Se=ge?.data)===null||Se===void 0?void 0:Se.tags)!==null&&ye!==void 0?ye:[])}catch(Ee){console.log("e",Ee)}}),[z,i]),re=ue((R,F,Q,Se)=>{var ye,Ee,ge,Te,We,Qe,Ve,mt,at,rt,ht,dt;const Pe=Q?.bindCta,ct=((ye=F?.video)===null||ye===void 0?void 0:ye.bindProduct)||((Ee=F?.video)===null||Ee===void 0?void 0:Ee.bindProducts)&&((Te=(ge=F?.video)===null||ge===void 0?void 0:ge.bindProducts)===null||Te===void 0?void 0:Te.length)>0;let ut="";G?ut="hashTagPage":!((We=F?.video)===null||We===void 0)&&We.url?ut="videoPage":!((Ve=(Qe=F?.video)===null||Qe===void 0?void 0:Qe.imgUrls)===null||Ve===void 0)&&Ve.length&&(ut="imagePage"),ie?.({eventInfo:Object.assign(Object.assign({},R),{ctaId:(mt=Pe?.itemId)!==null&&mt!==void 0?mt:"",ctaName:(at=Pe?.title)!==null&&at!==void 0?at:"",contentTags:JSON.stringify(Pe?.tags),position:Se+"",contentId:(ht=(rt=F?.video)===null||rt===void 0?void 0:rt.itemId)!==null&&ht!==void 0?ht:"",productId:ct?Q?.itemId:"",traceInfo:(dt=Pe?.traceInfo)!==null&&dt!==void 0?dt:"",fromKName:ut})})},[ie,G]);J(()=>{w(!0),se(),U().then(R=>{var F,Q;y((F=R?.recList)!==null&&F!==void 0?F:[]),P((Q=R?.recList)!==null&&Q!==void 0?Q:[])}).finally(()=>{w(!1),f.current=!0})},[]),J(()=>{f.current&&(w(!0),se(),U().then(R=>{var F,Q;y((F=R?.recList)!==null&&F!==void 0?F:[]),P((Q=R?.recList)!==null&&Q!==void 0?Q:[])}).finally(()=>{w(!1)}))},[U,se]);const he=Ne("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return v.createElement(Vi.Provider,{value:{rtcList:h,setRtcList:y,mutateLike:oe,mutateUnlike:q,submitForm:pe,popupDetailData:O,loadVideos:W,setPopupDetailData:_,getRecommendVideos:U,bffEventReport:ie,utmVal:i,isPreview:a,loading:u,sxpParameter:s,waterFallData:S,setWaterFallData:E,ctaEvent:re,swiperRef:D,openHashtag:A,setOpenHashtag:x,cacheRtcList:C,setCacheRtcList:P,cacheActiveIndex:j,setCacheActiveIndex:B,isFromHashtag:G,setIsFromHashtag:H,appDomain:r,hashTagSize:c,loadingImage:d??he,isOpenHashTag:p,tagList:m,setLoading:w,videoRef:L,setVideoRef:V,bffFbReport:ne}},t({rtcList:h,mutateLike:oe,mutateUnlike:q,submitForm:pe,tagList:m}))};var Fi=ce($n);function me(){return bt(Vi)}var Hi;(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"})(Hi||(Hi={}));const Ui=yt({$store:{},options:[],configs:[]}),Wn=({children:t,isSsr:e,enable:i})=>{const[n,l]=$([]),{schema:o}=Xe(),[a,s]=$(o.__STORE__||{}),[r,c]=$([]);J(()=>{var b;e||Ci(r,o?.dataSource)||c((b=o?.dataSource)!==null&&b!==void 0?b:[])},[o?.dataSource,e]);const d=ue(()=>ke(void 0,void 0,void 0,function*(){const{$store:b,idMapName:h}=yield Oi("",r);s(b),p(b,h)}),[r]),p=(b,h)=>{const y=[];Object.entries(b).forEach(([m,I])=>{Object.keys(I).forEach(u=>{const w={label:`${h[m]} - ${u}`,value:`{{ ${m}.${u} }}`};y.push(w)})}),l(y)};return J(()=>{e||d()},[d,e,o]),i?v.createElement(Ui.Provider,{value:{$store:o.__STORE__||a,options:n,configs:r}},t):t};var Yn=ce(Wn);const Dt={id:_t(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},Wt={id:"",duration:0,name:"none"},Gi=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Dt],redoStack:[],popup:Wt,setPopup:()=>{}}),$i=Ct(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:o},a)=>{const[s,r]=$(null),[c,d]=$(n||{pointData:[Dt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,b]=$([Dt]),[h,y]=$([[Dt]]),[m,I]=$([]),[u,w]=$(Wt);typeof window<"u"&&(window.sxpPopup=(O,_)=>{w(Object.assign(Object.assign(Object.assign({},Wt),{id:O}),_))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(o?"&"+o:""):O+(o?"?"+o:"")),J(()=>{y([c.pointData]),I([])},[c.type]);const g=ue(O=>{const _=gt(c);_&&(_.dataSource=O,d?.(_))},[c]),[T,D]=$();Di(a,()=>({loadSchema(O){O&&(y([O.pointData]),d(O))},exportSchema(){return gt(c)},getPageInfoData(){return T},initPageInfoData(O){O&&D(O)}}));const f=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(Gi.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:r,setSchema:d,saveDataSource:g,prePiontData:p,setPrePiontData:b,pageInfoData:T,setPageInfoData:O=>D(Object.assign(Object.assign({},T),O)),undoStack:h,redoStack:m,setRedoStack:I,setUndoStack:y,getCurPageConf:f,popup:u,setPopup:w}},v.createElement(Yn,{isSsr:i,enable:l},t))});var qn=Object.freeze({__proto__:null,EditorCore:$i}),Xn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ae=[{label:"defalut",value:"appFont"}],Yt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Jn=Yt&&Yt!==""?JSON.parse(Yt):[];var Oe={fontOptions:[...ae,...Jn]},qt,Xt,Jt,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:ae,initialValue:(qt=ae?.[0])===null||qt===void 0?void 0:qt.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Oe?.fontOptions,initialValue:(Jt=(Xt=Oe?.fontOptions)===null||Xt===void 0?void 0:Xt[0])===null||Jt===void 0?void 0:Jt.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Fe(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=me(),l=ue((a,s,r,c)=>{var d,p,b,h,y,m,I,u,w,g,T,D,f,O;let _="";e&&(!((p=(d=a?.video)===null||d===void 0?void 0:d.bindProducts)===null||p===void 0)&&p.length||!((b=a?.video)===null||b===void 0)&&b.bindProduct)?_="pdpPage":n?_="hashTagPage":!((h=a?.video)===null||h===void 0)&&h.url?_="videoPage":!((y=a?.video)===null||y===void 0)&&y.imgUrls&&(!((I=(m=a?.video)===null||m===void 0?void 0:m.imgUrls)===null||I===void 0)&&I.length)?_="imagePage":a?.product&&(_="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(u=s?.itemId)!==null&&u!==void 0?u:"",productName:(w=s?.title)!==null&&w!==void 0?w:"",price:s?.price?s?.price+"":"0",productCollection:(g=s?.collection)!==null&&g!==void 0?g:"",fromKName:_,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:c+"",contentId:(D=(T=a?.video)===null||T===void 0?void 0:T.itemId)!==null&&D!==void 0?D:"",ctatId:(f=r?.itemId)!==null&&f!==void 0?f:"",traceInfo:(O=s?.traceInfo)!==null&&O!==void 0?O:""}})},[t,e,n]),o=ue((a,s,r,c,d)=>{var p,b,h,y;let m="";e&&(!((b=(p=a?.video)===null||p===void 0?void 0:p.bindProducts)===null||b===void 0)&&b.length||!((h=a?.video)===null||h===void 0)&&h.bindProduct)?m="pdpPage":a?.product&&(m="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:m,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:d+"",contentId:(y=a?.video)===null||y===void 0?void 0:y.itemId,ctatId:r?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:l,productView:o}}const Qn=t=>{var{columns:e,style:i,title:n,textStyle:l,submitBgColor:o,submitColor:a,submitText:s,layoutType:r,isExternalLink:c,isPopup:d,onClick:p,onClose:b,submitButtonStyle:h}=t,y=Ie(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:m,popupDetailData:I}=me(),{jumpToWeb:u}=Fe(),w=Z(),[g,T]=$(!1),D=ee(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]);ee(()=>{if(r===void 0){const O=gt(e)||D;return O?.map(_=>Object.assign(Object.assign({},_),{title:void 0,fieldProps:{placeholder:_?.title}}))}else return gt(e)||D},[r,e,D]);const f=Ht(()=>ke(void 0,void 0,void 0,function*(){var O,_,S,E,A,x;const C=yield(O=w?.current)===null||O===void 0?void 0:O.getFieldsValue();if(!C)return;const P=(S=(_=Object.keys(C))===null||_===void 0?void 0:_.map(B=>{var G;return{name:B,value:(G=C[B])!==null&&G!==void 0?G:""}}))===null||S===void 0?void 0:S.filter(B=>B?.value);if(!P||!P?.length)return;T(!0);const j=yield m?.({attributes:P});if(T(!1),j){if(c){const B=I,G=(E=B?.video)===null||E===void 0?void 0:E.bindProduct,H=(x=(A=B?.video)===null||A===void 0?void 0:A.bindProduct)===null||x===void 0?void 0:x.bindCta,L=I?.index;u(B,G,H,L)}d||b?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${K(Object.assign({},l))}`},n),v.createElement("div",Object.assign({className:K(Object.assign({},i))},y),v.createElement("div",{className:"pb-appoint-form-container"})),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:f,className:"pb-appoint-form-btn",style:Object.assign({color:a,background:o},h)},g?v.createElement(v.Fragment,null,"loading..."):s)))};var Zn=ce(Qn);function Me(t,e){return t.extend=e,t}const eo=Me(Zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Kn,bindableProps:[],interactionRender:Xn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var Kt,Qt,to=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-100,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(Kt=ae?.[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"},{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:ae,initialValue:(Qt=ae?.[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"]}]}];function Wi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Zt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Wi(e[i])&&Wi(t[i])&&Object.keys(e[i]).length>0&&Zt(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 He(){const t=typeof document<"u"?document:{};return Zt(t,Yi),t}const io={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 Ae(){const t=typeof window<"u"?window:{};return Zt(t,io),t}function et(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function no(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function pt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function je(){return Date.now()}function oo(t){const e=Ae();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function lo(t,e){e===void 0&&(e="x");const i=Ae();let n,l,o;const a=oo(t);return i.WebKitCSSMatrix?(l=a.transform||a.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(s=>s.replace(",",".")).join(", ")),o=new i.WebKitCSSMatrix(l==="none"?"":l)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?l=o.m41:n.length===16?l=parseFloat(n[12]):l=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?l=o.m42:n.length===16?l=parseFloat(n[13]):l=parseFloat(n[5])),l||0}function kt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function so(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Le(){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&&!so(n)){const l=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,a=l.length;o<a;o+=1){const s=l[o],r=Object.getOwnPropertyDescriptor(n,s);r!==void 0&&r.enumerable&&(kt(t[s])&&kt(n[s])?n[s].__swiper__?t[s]=n[s]:Le(t[s],n[s]):!kt(t[s])&&kt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Le(t[s],n[s])):t[s]=n[s])}}}return t}function At(t,e,i){t.style.setProperty(e,i)}function qi(t){let{swiper:e,targetPosition:i,side:n}=t;const l=Ae(),o=-e.translate;let a=null,s;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const c=i>o?"next":"prev",d=(b,h)=>c==="next"&&b>=h||c==="prev"&&b<=h,p=()=>{s=new Date().getTime(),a===null&&(a=s);const b=Math.max(Math.min((s-a)/r,1),0),h=.5-Math.cos(b*Math.PI)/2;let y=o+h*(i-o);if(d(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),d(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(p)};p()}function Ue(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Pt(t){try{console.warn(t);return}catch{}}function wt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:et(e)),i}function ao(t){const e=Ae(),i=He(),n=t.getBoundingClientRect(),l=i.body,o=t.clientTop||l.clientTop||0,a=t.clientLeft||l.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-o,left:n.left+r-a}}function ro(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 co(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 tt(t,e){return Ae().getComputedStyle(t,null).getPropertyValue(e)}function Ot(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Xi(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 ei(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ti(t,e,i){const n=Ae();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 Ge(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function uo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=Ae();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,s=je(),r;const c=[];function d(g){let O=0,_=0,S=0,E=0;return"detail"in g&&(_=g.detail),"wheelDelta"in g&&(_=-g.wheelDelta/120),"wheelDeltaY"in g&&(_=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(O=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(O=_,_=0),S=O*10,E=_*10,"deltaY"in g&&(E=g.deltaY),"deltaX"in g&&(S=g.deltaX),g.shiftKey&&!S&&(S=E,E=0),(S||E)&&g.deltaMode&&(g.deltaMode===1?(S*=40,E*=40):(S*=800,E*=800)),S&&!O&&(O=S<1?-1:1),E&&!_&&(_=E<1?-1:1),{spinX:O,spinY:_,pixelX:S,pixelY:E}}function p(){e.enabled&&(e.mouseEntered=!0)}function b(){e.enabled&&(e.mouseEntered=!1)}function h(g){return e.params.mousewheel.thresholdDelta&&g.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&je()-s<e.params.mousewheel.thresholdTime?!1:g.delta>=6&&je()-s<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",g.raw)),s=new o.Date().getTime(),!1)}function y(g){const T=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&T.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&T.releaseOnEdges)return!0;return!1}function m(g){let T=g,D=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const f=e.params.mousewheel;e.params.cssMode&&T.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const _=O&&O.contains(T.target);if(!e.mouseEntered&&!_&&!f.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let S=0;const E=e.rtlTranslate?-1:1,A=d(T);if(f.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(S===0)return!0;f.invert&&(S=-S);let x=e.getTranslate()+S*f.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),D=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),D&&e.params.nested&&T.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:je(),delta:Math.abs(S),direction:Math.sign(S),raw:g};c.length>=2&&c.shift();const P=c.length?c[c.length-1]:void 0;if(c.push(C),P?(C.direction!==P.direction||C.delta>P.delta||C.time>P.time+150)&&h(C):h(C),y(C))return!0}else{const C={time:je(),delta:Math.abs(S),direction:Math.sign(S)},P=r&&C.time<r.time+500&&C.delta<=r.delta&&C.direction===r.direction;if(!P){r=void 0;let j=e.getTranslate()+S*f.sensitivity;const B=e.isBeginning,G=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!B&&e.isBeginning||!G&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:C.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const H=c.length?c[c.length-1]:void 0,L=c[0];if(c.push(C),H&&(C.delta>H.delta||C.direction!==H.direction))c.splice(0);else if(c.length>=15&&C.time-L.time<500&&L.delta-C.delta>=1&&C.delta<=6){const V=S>0?.8:.2;r=C,c.splice(0),a=pt(()=>{e.slideToClosest(e.params.speed,!0,void 0,V)},0)}a||(a=pt(()=>{r=C,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||l("scroll",T),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),f.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function I(g){let T=e.el;e.params.mousewheel.eventsTarget!=="container"&&(T=document.querySelector(e.params.mousewheel.eventsTarget)),T[g]("mouseenter",p),T[g]("mouseleave",b),T[g]("wheel",m)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:u,disable:w})}function Ji(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let o=Ue(t.el,`.${n[l]}`)[0];o||(o=wt("div",n[l]),o.className=n[l],t.el.append(o)),i[l]=o,e[l]=o}}),i}function vt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Mt(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let a,s=0;function r(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,w){const{bulletActiveClass:g}=e.params.pagination;u&&(u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${g}-${w}`),u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${g}-${w}-${w}`)))}function d(u){const w=u.target.closest(vt(e.params.pagination.bulletClass));if(!w)return;u.preventDefault();const g=Ot(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===g)return;e.slideToLoop(g)}else e.slideTo(g)}function p(){const u=e.rtl,w=e.params.pagination;if(r())return;let g=e.pagination.el;g=Ge(g);let T,D;const f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,T=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let S,E,A;if(w.dynamicBullets&&(a=ti(_[0],e.isHorizontal()?"width":"height",!0),g.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&D!==void 0&&(s+=T-(D||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(T-s,0),E=S+(Math.min(_.length,w.dynamicMainBullets)-1),A=(E+S)/2),_.forEach(x=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${w.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();x.classList.remove(...C)}),g.length>1)_.forEach(x=>{const C=Ot(x);C===T?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(C>=S&&C<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),C===S&&c(x,"prev"),C===E&&c(x,"next"))});else{const x=_[T];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&_.forEach((C,P)=>{C.setAttribute("part",P===T?"bullet-active":"bullet")}),w.dynamicBullets){const C=_[S],P=_[E];for(let j=S;j<=E;j+=1)_[j]&&_[j].classList.add(...`${w.bulletActiveClass}-main`.split(" "));c(C,"prev"),c(P,"next")}}if(w.dynamicBullets){const x=Math.min(_.length,w.dynamicMainBullets+4),C=(a*x-a)/2-A*a,P=u?"right":"left";_.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${C}px`})}}g.forEach((_,S)=>{if(w.type==="fraction"&&(_.querySelectorAll(vt(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(T+1)}),_.querySelectorAll(vt(w.totalClass)).forEach(E=>{E.textContent=w.formatFractionTotal(O)})),w.type==="progressbar"){let E;w.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(T+1)/O;let x=1,C=1;E==="horizontal"?x=A:C=A,_.querySelectorAll(vt(w.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${C})`,P.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(_.innerHTML=w.renderCustom(e,T+1,O),S===0&&l("paginationRender",_)):(S===0&&l("paginationRender",_),l("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](w.lockClass)})}function b(){const u=e.params.pagination;if(r())return;const w=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let g=e.pagination.el;g=Ge(g);let T="";if(u.type==="bullets"){let D=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>w&&(D=w);for(let f=0;f<D;f+=1)u.renderBullet?T+=u.renderBullet.call(e,f,u.bulletClass):T+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?T=u.renderFraction.call(e,u.currentClass,u.totalClass):T=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?T=u.renderProgressbar.call(e,u.progressbarFillClass):T=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],g.forEach(D=>{u.type!=="custom"&&(D.innerHTML=T||""),u.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(vt(u.bulletClass)))}),u.type!=="custom"&&l("paginationRender",g[0])}function h(){e.params.pagination=Ji(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let w;typeof u.el=="string"&&e.isElement&&(w=e.el.querySelector(u.el)),!w&&typeof u.el=="string"&&(w=[...document.querySelectorAll(u.el)]),w||(w=u.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(u.el)],w.length>1&&(w=w.filter(g=>Xi(g,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Ge(w),w.forEach(g=>{u.type==="bullets"&&u.clickable&&g.classList.add(...(u.clickableClass||"").split(" ")),g.classList.add(u.modifierClass+u.type),g.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(g.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&g.classList.add(u.progressbarOppositeClass),u.clickable&&g.addEventListener("click",d),e.enabled||g.classList.add(u.lockClass)}))}function y(){const u=e.params.pagination;if(r())return;let w=e.pagination.el;w&&(w=Ge(w),w.forEach(g=>{g.classList.remove(u.hiddenClass),g.classList.remove(u.modifierClass+u.type),g.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(g.classList.remove(...(u.clickableClass||"").split(" ")),g.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(g=>g.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:w}=e.pagination;w=Ge(w),w.forEach(g=>{g.classList.remove(u.horizontalClass,u.verticalClass),g.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(h(),b(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{b(),p()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Ge(u),u.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,w)=>{const g=w.target,T=Ge(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!g.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&g===e.navigation.nextEl||e.navigation.prevEl&&g===e.navigation.prevEl))return;const D=T[0].classList.contains(e.params.pagination.hiddenClass);l(D===!0?"paginationShow":"paginationHide"),T.forEach(f=>f.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ge(u),u.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),h(),b(),p()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ge(u),u.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:m,disable:I,render:b,update:p,init:h,destroy:y})}function po(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=He();let a=!1,s=null,r=null,c,d,p,b;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:C}=e,{dragEl:P,el:j}=x,B=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress;let H=d,L=(p-d)*G;C?(L=-L,L>0?(H=d-L,L=0):-L+d>p&&(H=p+L)):L<0?(H=d+L,L=0):L+d>p&&(H=p-L),e.isHorizontal()?(P.style.transform=`translate3d(${L}px, 0, 0)`,P.style.width=`${H}px`):(P.style.transform=`translate3d(0px, ${L}px, 0)`,P.style.height=`${H}px`),B.hide&&(clearTimeout(s),j.style.opacity=1,s=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function y(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:C,el:P}=x;C.style.width="",C.style.height="",p=e.isHorizontal()?P.offsetWidth:P.offsetHeight,b=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*b:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${d}px`:C.style.height=`${d}px`,b>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(x){return e.isHorizontal()?x.clientX:x.clientY}function u(x){const{scrollbar:C,rtlTranslate:P}=e,{el:j}=C;let B;B=(I(x)-ao(j)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),B=Math.max(Math.min(B,1),0),P&&(B=1-B);const G=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*B;e.updateProgress(G),e.setTranslate(G),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B,dragEl:G}=P;a=!0,c=x.target===G?I(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),j.style.transitionDuration="100ms",G.style.transitionDuration="100ms",u(x),clearTimeout(r),B.style.transitionDuration="0ms",C.hide&&(B.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",x)}function g(x){const{scrollbar:C,wrapperEl:P}=e,{el:j,dragEl:B}=C;a&&(x.preventDefault?x.preventDefault():x.returnValue=!1,u(x),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",B.style.transitionDuration="0ms",l("scrollbarDragMove",x))}function T(x){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B}=P;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),C.hide&&(clearTimeout(r),r=pt(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",x),C.snapOnRelease&&e.slideToClosest())}function D(x){const{scrollbar:C,params:P}=e,j=C.el;if(!j)return;const B=j,G=P.passiveListeners?{passive:!1,capture:!1}:!1,H=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!B)return;const L=x==="on"?"addEventListener":"removeEventListener";B[L]("pointerdown",w,G),o[L]("pointermove",g,G),o[L]("pointerup",T,H)}function f(){!e.params.scrollbar.el||!e.scrollbar.el||D("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||D("off")}function _(){const{scrollbar:x,el:C}=e;e.params.scrollbar=Ji(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let j;if(typeof P.el=="string"&&e.isElement&&(j=e.el.querySelector(P.el)),!j&&typeof P.el=="string"){if(j=o.querySelectorAll(P.el),!j.length)return}else j||(j=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&j.length>1&&C.querySelectorAll(P.el).length===1&&(j=C.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let B;j&&(B=j.querySelector(vt(e.params.scrollbar.dragClass)),B||(B=wt("div",e.params.scrollbar.dragClass),j.append(B))),Object.assign(x,{el:j,dragEl:B}),P.draggable&&f(),j&&j.classList[e.enabled?"remove":"add"](...et(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...et(e.isHorizontal()?x.horizontalClass:x.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:C}=e.scrollbar;C=Ge(C),C.forEach(P=>{P.classList.remove(x.horizontalClass,x.verticalClass),P.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(_(),m(),h())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{h()}),n("setTransition",(x,C)=>{y(C)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...et(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const E=()=>{e.el.classList.remove(...et(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...et(e.params.scrollbar.scrollbarDisabledClass)),_(),m(),h()},A=()=>{e.el.classList.add(...et(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...et(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:m,setTranslate:h,init:_,destroy:S})}function Lt(t){let{swiper:e,extendParams:i,on:n,emit:l,params:o}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,r=o&&o.autoplay?o.autoplay.delay:3e3,c=o&&o.autoplay?o.autoplay.delay:3e3,d,p=new Date().getTime(),b,h,y,m,I,u,w;function g(H){!e||e.destroyed||!e.wrapperEl||H.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!w&&E())}const T=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?b=!0:b&&(c=d,b=!1);const H=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=H,l("autoplayTimeLeft",H,H/r),s=requestAnimationFrame(()=>{T()})},D=()=>{let H;return e.virtual&&e.params.virtual.enabled?H=e.slides.filter(V=>V.classList.contains("swiper-slide-active"))[0]:H=e.slides[e.activeIndex],H?parseInt(H.getAttribute("data-swiper-autoplay"),10):void 0},f=H=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),T();let L=typeof H>"u"?e.params.autoplay.delay:H;r=e.params.autoplay.delay,c=e.params.autoplay.delay;const V=D();!Number.isNaN(V)&&V>0&&typeof H>"u"&&(L=V,r=V,c=V),d=L;const M=e.params.speed,k=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,M,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(M,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,M,!0,!0),l("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return L>0?(clearTimeout(a),a=setTimeout(()=>{k()},L)):requestAnimationFrame(()=>{k()}),L},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,f(),l("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),l("autoplayStop")},S=(H,L)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),H||(u=!0);const V=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):E()};if(e.autoplay.paused=!0,L){I&&(d=e.params.autoplay.delay),I=!1,V();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),V())},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,f(d)):f(),e.autoplay.paused=!1,l("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const H=He();H.visibilityState==="hidden"&&(u=!0,S(!0)),H.visibilityState==="visible"&&E()},x=H=>{H.pointerType==="mouse"&&(u=!0,w=!0,!(e.animating||e.autoplay.paused)&&S(!0))},C=H=>{H.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",C))},j=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",C)},B=()=>{He().addEventListener("visibilitychange",A)},G=()=>{He().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),B(),O())}),n("destroy",()=>{j(),G(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(y||u)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():S(!0,!0)}),n("beforeTransitionStart",(H,L,V)=>{e.destroyed||!e.autoplay.running||(V||!e.params.autoplay.disableOnInteraction?S(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}h=!0,y=!1,u=!1,m=setTimeout(()=>{u=!0,y=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){y=!1,h=!1;return}y&&e.params.cssMode&&E(),y=!1,h=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:O,stop:_,pause:S,resume:E})}function vo(t){let{swiper:e,extendParams:i,emit:n,once:l}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;const r=e.getTranslate();e.setTranslate(r),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:r,touches:c}=e;r.velocities.length===0&&r.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:je()})}function s(r){let{currentPos:c}=r;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:b,snapGrid:h,touchEventsData:y}=e,I=je()-y.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<h.length?e.slideTo(h.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(y.velocities.length>1){const _=y.velocities.pop(),S=y.velocities.pop(),E=_.position-S.position,A=_.time-S.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(A>150||je()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,y.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const w=e.velocity*u;let g=e.translate+w;b&&(g=-g);let T=!1,D;const f=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(g<e.maxTranslate())d.freeMode.momentumBounce?(g+e.maxTranslate()<-f&&(g=e.maxTranslate()-f),D=e.maxTranslate(),T=!0,y.allowMomentumBounce=!0):g=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(g>e.minTranslate())d.freeMode.momentumBounce?(g-e.minTranslate()>f&&(g=e.minTranslate()+f),D=e.minTranslate(),T=!0,y.allowMomentumBounce=!0):g=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let _;for(let S=0;S<h.length;S+=1)if(h[S]>-g){_=S;break}Math.abs(h[_]-g)<Math.abs(h[_-1]-g)||e.swipeDirection==="next"?g=h[_]:g=h[_-1],g=-g}if(O&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(b?u=Math.abs((-g-e.translate)/e.velocity):u=Math.abs((g-e.translate)/e.velocity),d.freeMode.sticky){const _=Math.abs((b?-g:g)-e.translate),S=e.slidesSizesGrid[e.activeIndex];_<S?u=d.speed:_<2*S?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&T?(e.updateProgress(D),e.setTransition(u),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ei(p,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(D),ei(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(u),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ei(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||I>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:a,onTouchEnd:s}})}let ii;function fo(){const t=Ae(),e=He();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ki(){return ii||(ii=fo()),ii}let ni;function mo(t){let{userAgent:e}=t===void 0?{}:t;const i=Ki(),n=Ae(),l=n.navigator.platform,o=e||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,r=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),b=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=l==="Win32";let y=l==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&y&&i.touch&&m.indexOf(`${s}x${r}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),y=!1),c&&!h&&(a.os="android",a.android=!0),(d||b||p)&&(a.os="ios",a.ios=!0),a}function Qi(t){return t===void 0&&(t={}),ni||(ni=mo(t)),ni}let oi;function ho(){const t=Ae(),e=Qi();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[r,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=r<16||r===16&&c<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),o=n(),a=o||l&&e.ios;return{isSafari:i||o,needPerspectiveFix:i,need3dFix:a,isWebView:l}}function go(){return oi||(oi=ho()),oi}function bo(t){let{swiper:e,on:i,emit:n}=t;const l=Ae();let o=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(p=>{a=l.requestAnimationFrame(()=>{const{width:b,height:h}=e;let y=b,m=h;p.forEach(I=>{let{contentBoxSize:u,contentRect:w,target:g}=I;g&&g!==e.el||(y=w?w.width:(u[0]||u).inlineSize,m=w?w.height:(u[0]||u).blockSize)}),(y!==b||m!==h)&&s()})}),o.observe(e.el))},c=()=>{a&&l.cancelAnimationFrame(a),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){r();return}l.addEventListener("resize",s),l.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),l.removeEventListener("resize",s),l.removeEventListener("orientationchange",d)})}function yo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const o=[],a=Ae(),s=function(d,p){p===void 0&&(p={});const b=a.MutationObserver||a.WebkitMutationObserver,h=new b(y=>{if(e.__preventObserver__)return;if(y.length===1){l("observerUpdate",y[0]);return}const m=function(){l("observerUpdate",y[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});h.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),o.push(h)},r=()=>{if(e.params.observer){if(e.params.observeParents){const d=Xi(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{o.forEach(d=>{d.disconnect()}),o.splice(0,o.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",c)}var wo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const l=i?"unshift":"push";return t.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][l](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function l(){n.off(t,l),l.__emitterProxy&&delete l.__emitterProxy;for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];e.apply(n,a)}return l.__emitterProxy=e,n.on(t,l,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((l,o)=>{(l===e||l.__emitterProxy&&l.__emitterProxy===e)&&i.eventsListeners[n].splice(o,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var l=arguments.length,o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],i=o.slice(1,o.length),n=t):(e=o[0].events,i=o[0].data,n=o[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].forEach(c=>{c.apply(n,i)})}),t}};function So(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(tt(n,"padding-left")||0,10)-parseInt(tt(n,"padding-right")||0,10),i=i-parseInt(tt(n,"padding-top")||0,10)-parseInt(tt(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 To(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:o,rtlTranslate:a,wrongRTL:s}=t,r=t.virtual&&i.virtual.enabled,c=r?t.virtual.slides.length:t.slides.length,d=Ue(l,`.${t.params.slideClass}, swiper-slide`),p=r?t.virtual.slides.length:d.length;let b=[];const h=[],y=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,w=t.slidesGrid.length;let g=i.spaceBetween,T=-m,D=0,f=0;if(typeof o>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*o:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,d.forEach(E=>{a?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(At(n,"--swiper-centered-offset-before",""),At(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let _;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<p;E+=1){_=0;let A;if(d[E]&&(A=d[E]),O&&t.grid.updateSlide(E,A,d),!(d[E]&&tt(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(d[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(A),C=A.style.transform,P=A.style.webkitTransform;if(C&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?ti(A,"width",!0):ti(A,"height",!0);else{const j=e(x,"width"),B=e(x,"padding-left"),G=e(x,"padding-right"),H=e(x,"margin-left"),L=e(x,"margin-right"),V=x.getPropertyValue("box-sizing");if(V&&V==="border-box")_=j+H+L;else{const{clientWidth:M,offsetWidth:k}=A;_=j+B+G+H+L+(k-M)}}C&&(A.style.transform=C),P&&(A.style.webkitTransform=P),i.roundLengths&&(_=Math.floor(_))}else _=(o-(i.slidesPerView-1)*g)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),d[E]&&(d[E].style[t.getDirectionLabel("width")]=`${_}px`);d[E]&&(d[E].swiperSlideSize=_),y.push(_),i.centeredSlides?(T=T+_/2+D/2+g,D===0&&E!==0&&(T=T-o/2-g),E===0&&(T=T-o/2-g),Math.abs(T)<1/1e3&&(T=0),i.roundLengths&&(T=Math.floor(T)),f%i.slidesPerGroup===0&&b.push(T),h.push(T)):(i.roundLengths&&(T=Math.floor(T)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&b.push(T),h.push(T),T=T+_+g),t.virtualSize+=_+g,D=_,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+I,a&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+g}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+g}px`),O&&t.grid.updateWrapperSize(_,b),!i.centeredSlides){const E=[];for(let A=0;A<b.length;A+=1){let x=b[A];i.roundLengths&&(x=Math.floor(x)),b[A]<=t.virtualSize-o&&E.push(x)}b=E,Math.floor(t.virtualSize-o)-Math.floor(b[b.length-1])>1&&b.push(t.virtualSize-o)}if(r&&i.loop){const E=y[0]+g;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let C=0;C<A;C+=1)b.push(b[b.length-1]+x)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&b.push(b[b.length-1]+E),h.push(h[h.length-1]+E),t.virtualSize+=E}if(b.length===0&&(b=[0]),g!==0){const E=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");d.filter((A,x)=>!i.cssMode||i.loop?!0:x!==d.length-1).forEach(A=>{A.style[E]=`${g}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(x=>{E+=x+(g||0)}),E-=g;const A=E-o;b=b.map(x=>x<=0?-m:x>A?A+I:x)}if(i.centerInsufficientSlides){let E=0;if(y.forEach(A=>{E+=A+(g||0)}),E-=g,E<o){const A=(o-E)/2;b.forEach((x,C)=>{b[C]=x-A}),h.forEach((x,C)=>{h[C]=x+A})}}if(Object.assign(t,{slides:d,snapGrid:b,slidesGrid:h,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){At(n,"--swiper-centered-offset-before",`${-b[0]}px`),At(n,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const E=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+E),t.slidesGrid=t.slidesGrid.map(x=>x+A)}if(p!==c&&t.emit("slidesLengthChange"),b.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!r&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function xo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let l=0,o;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const s=e.activeIndex+o;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(o=0;o<i.length;o+=1)if(typeof i[o]<"u"){const s=i[o].offsetHeight;l=s>l?s:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}px`)}function 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 Io(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:l,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;l&&(a=t),n.forEach(r=>{r.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 r=0;r<n.length;r+=1){const c=n[r];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(a+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),b=(a-o[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),h=-(a-d),y=h+e.slidesSizesGrid[r],m=h>=0&&h<=e.size-e.slidesSizesGrid[r];(h>=0&&h<e.size-1||y>1&&y<=e.size||h<=0&&y>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(r),n[r].classList.add(i.slideVisibleClass)),m&&n[r].classList.add(i.slideFullyVisibleClass),c.progress=l?-p:p,c.originalProgress=l?-b:b}}function Co(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:o,isEnd:a,progressLoop:s}=e;const r=o,c=a;if(n===0)l=0,o=!0,a=!0;else{l=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;o=d||l<=0,a=p||l>=1,d&&(l=0),p&&(l=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),b=e.slidesGrid[d],h=e.slidesGrid[p],y=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=b?s=(m-b)/y:s=(m+y-h)/y,s>1&&(s-=1)}Object.assign(e,{progress:l,progressLoop:s,isBeginning:o,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),o&&!r&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(r&&!o||c&&!a)&&e.emit("fromEdge"),e.emit("progress",l)}function _o(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,o=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,s=p=>Ue(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let r,c,d;if(o)if(i.loop){let p=l-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),r=s(`[data-swiper-slide-index="${p}"]`)}else r=s(`[data-swiper-slide-index="${l}"]`);else a?(r=e.filter(p=>p.column===l)[0],d=e.filter(p=>p.column===l+1)[0],c=e.filter(p=>p.column===l-1)[0]):r=e[l];r&&(r.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=co(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=ro(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]),c&&c.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Nt=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let l=n.querySelector(`.${t.params.lazyPreloaderClass}`);!l&&t.isElement&&(n.shadowRoot?l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(l=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),l&&l.remove())})),l&&l.remove()}},li=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},si=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),l=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=l,s=[a-e];s.push(...Array.from({length:e}).map((r,c)=>a+n+c)),t.slides.forEach((r,c)=>{s.includes(r.column)&&li(t,c)});return}const o=l+n-1;if(t.params.rewind||t.params.loop)for(let a=l-e;a<=o+e;a+=1){const s=(a%i+i)%i;(s<l||s>o)&&li(t,s)}else for(let a=Math.max(l-e,0);a<=Math.min(o+e,i-1);a+=1)a!==l&&(a>o||a<l)&&li(t,a)};function Do(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let l;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?l=o:n>=e[o]&&n<e[o+1]&&(l=o+1):n>=e[o]&&(l=o);return i.normalizeSlideIndex&&(l<0||typeof l>"u")&&(l=0),l}function ko(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:o,realIndex:a,snapIndex:s}=e;let r=t,c;const d=h=>{let y=h-e.virtual.slidesBefore;return y<0&&(y=e.virtual.slides.length+y),y>=e.virtual.slides.length&&(y-=e.virtual.slides.length),y};if(typeof r>"u"&&(r=Do(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const h=Math.min(l.slidesPerGroupSkip,r);c=h+Math.floor((r-h)/l.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),r===o&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(r===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(r);return}const p=e.grid&&l.grid&&l.grid.rows>1;let b;if(e.virtual&&l.virtual.enabled&&l.loop)b=d(r);else if(p){const h=e.slides.filter(m=>m.column===r)[0];let y=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(h),0)),b=Math.floor(y/l.grid.rows)}else if(e.slides[r]){const h=e.slides[r].getAttribute("data-swiper-slide-index");h?b=parseInt(h,10):b=r}else b=r;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:b,previousIndex:o,activeIndex:r}),e.initialized&&si(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==b&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ao(t,e){const i=this,n=i.params;let l=t.closest(`.${n.slideClass}, swiper-slide`);!l&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!l&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(l=s)});let o=!1,a;if(l){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===l){o=!0,a=s;break}}if(l&&o)i.clickedSlide=l,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(l.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Po={updateSize:So,updateSlides:To,updateAutoHeight:xo,updateSlidesOffset:Eo,updateSlidesProgress:Io,updateProgress:Co,updateSlidesClasses:_o,updateActiveIndex:ko,updateClickedSlide:Ao};function Oo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:l,wrapperEl:o}=e;if(i.virtualTranslate)return n?-l:l;if(i.cssMode)return l;let a=lo(o,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Mo(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:o,progress:a}=i;let s=0,r=0;const c=0;i.isHorizontal()?s=n?-t:t:r=t,l.roundLengths&&(s=Math.floor(s),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:r,l.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-r:l.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${s}px, ${r}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Lo(){return-this.snapGrid[0]}function No(){return-this.snapGrid[this.snapGrid.length-1]}function jo(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const r=o.minTranslate(),c=o.maxTranslate();let d;if(n&&t>r?d=r:n&&t<c?d=c:d=t,o.updateProgress(d),a.cssMode){const p=o.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!o.support.smoothScroll)return qi({swiper:o,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",e,l),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(b){!o||o.destroyed||b.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var Bo={getTranslate:Oo,setTranslate:Mo,minTranslate:Lo,maxTranslate:No,translateTo:jo};function zo(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 Zi(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:o,previousIndex:a}=e;let s=n;if(s||(o>a?s="next":o<a?s="prev":s="reset"),e.emit(`transition${l}`),i&&o!==a){if(s==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),s==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function Vo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Zi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Ro(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Zi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Fo={setTransition:zo,transitionStart:Vo,transitionEnd:Ro};function Ho(t,e,i,n,l){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:r,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:b,wrapperEl:h,enabled:y}=o;if(o.animating&&s.preventInteractionOnTransition||!y&&!n&&!l||o.destroyed)return!1;const m=Math.min(o.params.slidesPerGroupSkip,a);let I=m+Math.floor((a-m)/o.params.slidesPerGroup);I>=r.length&&(I=r.length-1);const u=-r[I];if(s.normalizeSlideIndex)for(let g=0;g<c.length;g+=1){const T=-Math.floor(u*100),D=Math.floor(c[g]*100),f=Math.floor(c[g+1]*100);typeof c[g+1]<"u"?T>=D&&T<f-(f-D)/2?a=g:T>=D&&T<f&&(a=g+1):T>=D&&(a=g)}if(o.initialized&&a!==p&&(!o.allowSlideNext&&(b?u>o.translate&&u>o.minTranslate():u<o.translate&&u<o.minTranslate())||!o.allowSlidePrev&&u>o.translate&&u>o.maxTranslate()&&(p||0)!==a))return!1;a!==(d||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(u);let w;if(a>p?w="next":a<p?w="prev":w="reset",b&&-u===o.translate||!b&&u===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),s.effect!=="slide"&&o.setTranslate(u),w!=="reset"&&(o.transitionStart(i,w),o.transitionEnd(i,w)),!1;if(s.cssMode){const g=o.isHorizontal(),T=b?u:-u;if(e===0){const D=o.virtual&&o.params.virtual.enabled;D&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),D&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[g?"scrollLeft":"scrollTop"]=T})):h[g?"scrollLeft":"scrollTop"]=T,D&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return qi({swiper:o,targetPosition:T,side:g?"left":"top"}),!0;h.scrollTo({[g?"left":"top"]:T,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(u),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(i,w),e===0?o.transitionEnd(i,w):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(T){!o||o.destroyed||T.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,w))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function Uo(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;const o=l.grid&&l.params.grid&&l.params.grid.rows>1;let a=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)a=a+l.virtual.slidesBefore;else{let s;if(o){const b=a*l.params.grid.rows;s=l.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===b)[0].column}else s=l.getSlideIndexByData(a);const r=o?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:c}=l.params;let d=l.params.slidesPerView;d==="auto"?d=l.slidesPerViewDynamic():(d=Math.ceil(parseFloat(l.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=r-s<d;if(c&&(p=p||s<Math.ceil(d/2)),p){const b=c?s<l.activeIndex?"prev":"next":s-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:b,slideTo:!0,activeSlideIndex:b==="next"?s+1:s-r+1,slideRealIndex:b==="next"?l.realIndex:void 0})}if(o){const b=a*l.params.grid.rows;a=l.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===b)[0].column}else a=l.getSlideIndexByData(a)}return requestAnimationFrame(()=>{l.slideTo(a,e,i,n)}),l}function Go(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:l,params:o,animating:a}=n;if(!l||n.destroyed)return n;let s=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<o.slidesPerGroupSkip?1:s,c=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+r,t,e,i)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function $o(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:l,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:r,animating:c}=n;if(!r||n.destroyed)return n;const d=n.virtual&&l.virtual.enabled;if(l.loop){if(c&&!d&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function b(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const h=b(p),y=o.map(u=>b(u));let m=o[y.indexOf(h)-1];if(typeof m>"u"&&l.cssMode){let u;o.forEach((w,g)=>{h>=w&&(u=g)}),typeof u<"u"&&(m=o[u>0?u-1:u])}let I=0;if(typeof m<"u"&&(I=a.indexOf(m),I<0&&(I=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,0))),l.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function Wo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Yo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;let o=l.activeIndex;const a=Math.min(l.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/l.params.slidesPerGroup),r=l.rtlTranslate?l.translate:-l.translate;if(r>=l.snapGrid[s]){const c=l.snapGrid[s],d=l.snapGrid[s+1];r-c>(d-c)*n&&(o+=l.params.slidesPerGroup)}else{const c=l.snapGrid[s-1],d=l.snapGrid[s];r-c<=(d-c)*n&&(o-=l.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,l.slidesGrid.length-1),l.slideTo(o,t,e,i)}function qo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let l=t.clickedIndex,o;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;o=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?l<t.loopedSlides-n/2||l>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),l=t.getSlideIndex(Ue(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Ue(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var Xo={slideTo:Ho,slideToLoop:Uo,slideNext:Go,slidePrev:$o,slideReset:Wo,slideToClosest:Yo,slideToClickedSlide:qo};function Jo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{Ue(n,`.${i.slideClass}, swiper-slide`).forEach((p,b)=>{p.setAttribute("data-swiper-slide-index",b)})},o=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(o?i.grid.rows:1),s=e.slides.length%a!==0,r=o&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const b=e.isElement?wt("swiper-slide",[i.slideBlankClass]):wt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(b)}};if(s){if(i.loopAddBlankSlides){const d=a-e.slides.length%a;c(d),e.recalcSlides(),e.updateSlides()}else Pt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else if(r){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Pt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else l();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Ko(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:o,byController:a,byMousewheel:s}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:b,params:h}=r,{centeredSlides:y}=h;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&h.virtual.enabled){i&&(!h.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):h.centeredSlides&&r.snapIndex<h.slidesPerView?r.slideTo(r.virtual.slides.length+r.snapIndex,0,!1,!0):r.snapIndex===r.snapGrid.length-1&&r.slideTo(r.virtual.slidesBefore,0,!1,!0)),r.allowSlidePrev=d,r.allowSlideNext=p,r.emit("loopFix");return}let m=h.slidesPerView;m==="auto"?m=r.slidesPerViewDynamic():(m=Math.ceil(parseFloat(h.slidesPerView,10)),y&&m%2===0&&(m=m+1));const I=h.slidesPerGroupAuto?m:h.slidesPerGroup;let u=I;u%I!==0&&(u+=I-u%I),u+=h.loopAdditionalSlides,r.loopedSlides=u;const w=r.grid&&h.grid&&h.grid.rows>1;c.length<m+u?Pt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&h.grid.fill==="row"&&Pt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const g=[],T=[];let D=r.activeIndex;typeof o>"u"?o=r.getSlideIndex(c.filter(C=>C.classList.contains(h.slideActiveClass))[0]):D=o;const f=n==="next"||!n,O=n==="prev"||!n;let _=0,S=0;const E=w?Math.ceil(c.length/h.grid.rows):c.length,x=(w?c[o].column:o)+(y&&typeof l>"u"?-m/2+.5:0);if(x<u){_=Math.max(u-x,I);for(let C=0;C<u-x;C+=1){const P=C-Math.floor(C/E)*E;if(w){const j=E-P-1;for(let B=c.length-1;B>=0;B-=1)c[B].column===j&&g.push(B)}else g.push(E-P-1)}}else if(x+m>E-u){S=Math.max(x-(E-u*2),I);for(let C=0;C<S;C+=1){const P=C-Math.floor(C/E)*E;w?c.forEach((j,B)=>{j.column===P&&T.push(B)}):T.push(P)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),O&&g.forEach(C=>{c[C].swiperLoopMoveDOM=!0,b.prepend(c[C]),c[C].swiperLoopMoveDOM=!1}),f&&T.forEach(C=>{c[C].swiperLoopMoveDOM=!0,b.append(c[C]),c[C].swiperLoopMoveDOM=!1}),r.recalcSlides(),h.slidesPerView==="auto"?r.updateSlides():w&&(g.length>0&&O||T.length>0&&f)&&r.slides.forEach((C,P)=>{r.grid.updateSlide(P,C,r.slides)}),h.watchSlidesProgress&&r.updateSlidesOffset(),i){if(g.length>0&&O){if(typeof e>"u"){const C=r.slidesGrid[D],j=r.slidesGrid[D+_]-C;s?r.setTranslate(r.translate-j):(r.slideTo(D+Math.ceil(_),0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else if(l){const C=w?g.length/h.grid.rows:g.length;r.slideTo(r.activeIndex+C,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(T.length>0&&f)if(typeof e>"u"){const C=r.slidesGrid[D],j=r.slidesGrid[D-S]-C;s?r.setTranslate(r.translate-j):(r.slideTo(D-S,0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else{const C=w?T.length/h.grid.rows:T.length;r.slideTo(r.activeIndex-C,0,!1,!0)}}if(r.allowSlidePrev=d,r.allowSlideNext=p,r.controller&&r.controller.control&&!a){const C={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:o,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...C,slideTo:P.params.slidesPerView===h.slidesPerView?i:!1})}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix({...C,slideTo:r.controller.control.params.slidesPerView===h.slidesPerView?i:!1})}r.emit("loopFix")}function Qo(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(l=>{const o=typeof l.swiperSlideIndex>"u"?l.getAttribute("data-swiper-slide-index")*1:l.swiperSlideIndex;n[o]=l}),t.slides.forEach(l=>{l.removeAttribute("data-swiper-slide-index")}),n.forEach(l=>{i.append(l)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Zo={loopCreate:Jo,loopFix:Ko,loopDestroy:Qo};function el(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 tl(){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 il={setGrabCursor:el,unsetGrabCursor:tl};function nl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===He()||n===Ae())return null;n.assignedSlot&&(n=n.assignedSlot);const l=n.closest(t);return!l&&!n.getRootNode?null:l||i(n.getRootNode().host)}return i(e)}function en(t,e,i){const n=Ae(),{params:l}=t,o=l.edgeSwipeDetection,a=l.edgeSwipeThreshold;return o&&(i<=a||i>=n.innerWidth-a)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function ol(t){const e=this,i=He();let n=t;n.originalEvent&&(n=n.originalEvent);const l=e.touchEventsData;if(n.type==="pointerdown"){if(l.pointerId!==null&&l.pointerId!==n.pointerId)return;l.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(l.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){en(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:a,enabled:s}=e;if(!s||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let r=n.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const c=!!o.noSwipingClass&&o.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(r=d[0]);const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,b=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(b?nl(p,r):r.closest(p))){e.allowClick=!0;return}if(o.swipeHandler&&!r.closest(o.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const h=a.currentX,y=a.currentY;if(!en(e,n,h))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=y,l.touchStartTime=je(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1);let m=!0;r.matches(l.focusableElements)&&(m=!1,r.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const I=m&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||I)&&!r.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ll(t){const e=He(),i=this,n=i.touchEventsData,{params:l,touches:o,rtlTranslate:a,enabled:s}=i;if(!s||!l.simulateTouch&&t.pointerType==="mouse")return;let r=t;if(r.originalEvent&&(r=r.originalEvent),r.type==="pointermove"&&(n.touchId!==null||r.pointerId!==n.pointerId))return;let c;if(r.type==="touchmove"){if(c=[...r.changedTouches].filter(f=>f.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=r;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",r);return}const d=c.pageX,p=c.pageY;if(r.preventedByNestedSwiper){o.startX=d,o.startY=p;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=je());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(p<o.startY&&i.translate<=i.maxTranslate()||p>o.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<o.startX&&i.translate<=i.maxTranslate()||d>o.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&r.target===e.activeElement&&r.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",r),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=d,o.currentY=p;const b=o.currentX-o.startX,h=o.currentY-o.startY;if(i.params.threshold&&Math.sqrt(b**2+h**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let f;i.isHorizontal()&&o.currentY===o.startY||i.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:b*b+h*h>=25&&(f=Math.atan2(Math.abs(h),Math.abs(b))*180/Math.PI,n.isScrolling=i.isHorizontal()?f>l.touchAngle:90-f>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&r.cancelable&&r.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&r.stopPropagation();let y=i.isHorizontal()?b:h,m=i.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;l.oneWayMovement&&(y=Math.abs(y)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=y,y*=l.touchRatio,a&&(y=-y,m=-m);const I=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const u=i.params.loop&&!l.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&w&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(f)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let g;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&u&&w&&Math.abs(y)>=1){Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let T=!0,D=l.resistanceRatio;if(l.touchReleaseOnEdges&&(D=0),y>0?(u&&w&&!g&&n.allowThresholdMove&&n.currentTranslate>(l.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(T=!1,l.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**D))):y<0&&(u&&w&&!g&&n.allowThresholdMove&&n.currentTranslate<(l.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(l.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(l.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(T=!1,l.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**D))),T&&(r.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),l.threshold>0)if(Math.abs(y)>l.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=i.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!l.followFinger||l.cssMode||((l.freeMode&&l.freeMode.enabled&&i.freeMode||l.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),l.freeMode&&l.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function sl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let l;if(n.type==="touchend"||n.type==="touchcancel"){if(l=[...n.changedTouches].filter(D=>D.identifier===i.touchId)[0],!l||l.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;l=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:s,rtlTranslate:r,slidesGrid:c,enabled:d}=e;if(!d||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const p=je(),b=p-i.touchStartTime;if(e.allowClick){const D=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(D&&D[0]||n.target,D),e.emit("tap click",n),b<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=je(),pt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let h;if(a.followFinger?h=r?e.translate:-e.translate:h=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:h});return}const y=h>=-e.maxTranslate()&&!e.params.loop;let m=0,I=e.slidesSizesGrid[0];for(let D=0;D<c.length;D+=D<a.slidesPerGroupSkip?1:a.slidesPerGroup){const f=D<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[D+f]<"u"?(y||h>=c[D]&&h<c[D+f])&&(m=D,I=c[D+f]-c[D]):(y||h>=c[D])&&(m=D,I=c[c.length-1]-c[c.length-2])}let u=null,w=null;a.rewind&&(e.isBeginning?w=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const g=(h-c[m])/I,T=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(b>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:m+T):e.slideTo(m)),e.swipeDirection==="prev"&&(g>1-a.longSwipesRatio?e.slideTo(m+T):w!==null&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(w):e.slideTo(m))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(m+T):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:m+T),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function tn(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:l,snapGrid:o}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=l,t.allowSlideNext=n,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function al(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function rl(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let l;const o=t.maxTranslate()-t.minTranslate();o===0?l=0:l=(t.translate-t.minTranslate())/o,l!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function dl(t){const e=this;Nt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function cl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const nn=(t,e)=>{const i=He(),{params:n,el:l,wrapperEl:o,device:a}=t,s=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",c=e;i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),l[r]("touchstart",t.onTouchStart,{passive:!1}),l[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[r]("touchend",t.onTouchEnd,{passive:!0}),i[r]("pointerup",t.onTouchEnd,{passive:!0}),i[r]("pointercancel",t.onTouchEnd,{passive:!0}),i[r]("touchcancel",t.onTouchEnd,{passive:!0}),i[r]("pointerout",t.onTouchEnd,{passive:!0}),i[r]("pointerleave",t.onTouchEnd,{passive:!0}),i[r]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&l[r]("click",t.onClick,!0),n.cssMode&&o[r]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",tn,!0):t[c]("observerUpdate",tn,!0),l[r]("load",t.onLoad,{capture:!0})};function ul(){const t=this,{params:e}=t;t.onTouchStart=ol.bind(t),t.onTouchMove=ll.bind(t),t.onTouchEnd=sl.bind(t),t.onDocumentTouchStart=cl.bind(t),e.cssMode&&(t.onScroll=rl.bind(t)),t.onClick=al.bind(t),t.onLoad=dl.bind(t),nn(t,"on")}function pl(){nn(this,"off")}var vl={attachEvents:ul,detachEvents:pl};const on=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function fl(){const t=this,{realIndex:e,initialized:i,params:n,el:l}=t,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const a=t.getBreakpoint(o,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const r=(a in o?o[a]:void 0)||t.originalParams,c=on(t,n),d=on(t,r),p=n.enabled;c&&!d?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(l.classList.add(`${n.containerModifierClass}grid`),(r.grid.fill&&r.grid.fill==="column"||!r.grid.fill&&n.grid.fill==="column")&&l.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof r[u]>"u")return;const w=n[u]&&n[u].enabled,g=r[u]&&r[u].enabled;w&&!g&&t[u].disable(),!w&&g&&t[u].enable()});const b=r.direction&&r.direction!==n.direction,h=n.loop&&(r.slidesPerView!==n.slidesPerView||b),y=n.loop;b&&i&&t.changeDirection(),Le(t.params,r);const m=t.params.enabled,I=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!m?t.disable():!p&&m&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",r),i&&(h?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&I?(t.loopCreate(e),t.updateSlides()):y&&!I&&t.loopDestroy()),t.emit("breakpoint",r)}function ml(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=Ae(),o=e==="window"?l.innerHeight:i.clientHeight,a=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const r=parseFloat(s.substr(1));return{value:o*r,point:s}}return{value:s,point:s}});a.sort((s,r)=>parseInt(s.value,10)-parseInt(r.value,10));for(let s=0;s<a.length;s+=1){const{point:r,value:c}=a[s];e==="window"?l.matchMedia(`(min-width: ${c}px)`).matches&&(n=r):c<=i.clientWidth&&(n=r)}return n||"max"}var hl={setBreakpoint:fl,getBreakpoint:ml};function gl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(l=>{n[l]&&i.push(e+l)}):typeof n=="string"&&i.push(e+n)}),i}function bl(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:o}=t,a=gl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),l.classList.add(...e),t.emitContainerClasses()}function yl(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var wl={addClasses:bl,removeClasses:yl};function Sl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const l=t.slides.length-1,o=t.slidesGrid[l]+t.slidesSizesGrid[l]+n*2;t.isLocked=t.size>o}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Tl={checkOverflow:Sl},ai={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 xl(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],o=n[l];if(typeof o!="object"||o===null){Le(e,n);return}if(t[l]===!0&&(t[l]={enabled:!0}),l==="navigation"&&t[l]&&t[l].enabled&&!t[l].prevEl&&!t[l].nextEl&&(t[l].auto=!0),["pagination","scrollbar"].indexOf(l)>=0&&t[l]&&t[l].enabled&&!t[l].el&&(t[l].auto=!0),!(l in t&&"enabled"in o)){Le(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Le(e,n)}}const ri={eventsEmitter:wo,update:Po,translate:Bo,transition:Fo,slide:Xo,loop:Zo,grabCursor:il,events:vl,breakpoints:hl,checkOverflow:Tl,classes:wl},di={};let ci=class Ke{constructor(){let e,i;for(var n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];l.length===1&&l[0].constructor&&Object.prototype.toString.call(l[0]).slice(8,-1)==="Object"?i=l[0]:[e,i]=l,i||(i={}),i=Le({},i),e&&!i.el&&(i.el=e);const a=He();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(p=>{const b=Le({},i,{el:p});d.push(new Ke(b))}),d}const s=this;s.__swiper__=!0,s.support=Ki(),s.device=Qi({userAgent:i.userAgent}),s.browser=go(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const r={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:xl(i,r),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=Le({},ai,r);return s.params=Le({},c,di,i),s.originalParams=Le({},s.params),s.passedParams=Le({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,l=Ue(i,`.${n.slideClass}, swiper-slide`),o=Ot(l[0]);return Ot(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Ue(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const l=n.minTranslate(),a=(n.maxTranslate()-l)*e+l;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const l=e.getSlideClasses(n);i.push({slideEl:n,classNames:l}),e.emit("_slideClass",n,l)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:l,slides:o,slidesGrid:a,slidesSizesGrid:s,size:r,activeIndex:c}=n;let d=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let p=o[c]?Math.ceil(o[c].swiperSlideSize):0,b;for(let h=c+1;h<o.length;h+=1)o[h]&&!b&&(p+=Math.ceil(o[h].swiperSlideSize),d+=1,p>r&&(b=!0));for(let h=c-1;h>=0;h-=1)o[h]&&!b&&(p+=o[h].swiperSlideSize,d+=1,p>r&&(b=!0))}else if(e==="current")for(let p=c+1;p<o.length;p+=1)(i?a[p]+s[p]-a[c]<r:a[p]-a[c]<r)&&(d+=1);else for(let p=c-1;p>=0;p-=1)a[c]-a[p]<r&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Nt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)l(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(a.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||l()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,l=n.params.direction;return e||(e=l==="horizontal"?"vertical":"horizontal"),e===l||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${l}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const l=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):Ue(n,l())[0];return!a&&i.params.createElements&&(a=wt("div",i.params.wrapperClass),n.append(a),Ue(n,`.${i.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||tt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||tt(n,"direction")==="rtl"),wrongRTL:tt(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const l=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&l.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),l.forEach(o=>{o.complete?Nt(i,o):o.addEventListener("load",a=>{Nt(i,a.target)})}),si(i),i.initialized=!0,si(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:l,el:o,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),o.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(r=>{r.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),r.removeAttribute("style"),r.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(r=>{n.off(r)}),e!==!1&&(n.el.swiper=null,no(n)),n.destroyed=!0),null}static extendDefaults(e){Le(di,e)}static get extendedDefaults(){return di}static get defaults(){return ai}static installModule(e){Ke.prototype.__modules__||(Ke.prototype.__modules__=[]);const i=Ke.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ke.installModule(i)),Ke):(Ke.installModule(e),Ke)}};Object.keys(ri).forEach(t=>{Object.keys(ri[t]).forEach(e=>{ci.prototype[e]=ri[t][e]})}),ci.use([bo,yo]);const ln=["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 lt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function ft(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]:lt(e[n])&&lt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:ft(t[n],e[n]):t[n]=e[n]})}function sn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function an(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function rn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function dn(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 Il(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:r}=t;const c=l.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:p,navigation:b,scrollbar:h,virtual:y,thumbs:m}=e;let I,u,w,g,T,D,f,O;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(I=!0),l.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(w=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&h&&!h.el&&(g=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(d.navigation||d.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(T=!0);const _=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),d[S].el=void 0,e[S].el=void 0))};l.includes("loop")&&e.isElement&&(d.loop&&!n.loop?D=!0:!d.loop&&n.loop?f=!0:O=!0),c.forEach(S=>{if(lt(d[S])&&lt(n[S]))Object.assign(d[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&_(S);else{const E=n[S];(E===!0||E===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?E===!1&&_(S):d[S]=n[S]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),l.includes("children")&&i&&y&&d.virtual.enabled?(y.slides=i,y.update(!0)):l.includes("virtual")&&y&&d.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),l.includes("children")&&i&&d.loop&&(O=!0),I&&m.init()&&m.update(!0),u&&(e.controller.control=d.controller.control),w&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),r.part.add("pagination"),e.el.appendChild(r)),r&&(d.pagination.el=r),p.init(),p.render(),p.update()),g&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),h.init(),h.updateSize(),h.setTranslate()),T&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),o&&(d.navigation.nextEl=o),a&&(d.navigation.prevEl=a),b.init(),b.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(D||O)&&e.loopDestroy(),(f||O)&&e.loopCreate(),e.update()}function Cl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};ft(i,ai),i._emitClasses=!0,i.init=!1;const o={},a=ln.map(r=>r.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(r=>{typeof t[r]>"u"||(a.indexOf(r)>=0?lt(t[r])?(i[r]={},l[r]={},ft(i[r],t[r]),ft(l[r],t[r])):(i[r]=t[r],l[r]=t[r]):r.search(/on[A-Z]/)===0&&typeof t[r]=="function"?e?n[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:i.on[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:o[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:l,rest:o,events:n}}function _l(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:o,scrollbarEl:a,swiper:s}=t;sn(e)&&n&&l&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=l,s.originalParams.navigation.prevEl=l),an(e)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),rn(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function Dl(t,e,i,n,l){const o=[];if(!e)return o;const a=r=>{o.indexOf(r)<0&&o.push(r)};if(i&&n){const r=n.map(l),c=i.map(l);r.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return ln.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(lt(t[r])&&lt(e[r])){const c=Object.keys(t[r]),d=Object.keys(e[r]);c.length!==d.length?a(r):(c.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}),d.forEach(p=>{t[r][p]!==e[r][p]&&a(r)}))}else t[r]!==e[r]&&a(r)}),o}const kl=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 jt(){return jt=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},jt.apply(this,arguments)}function cn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function un(t){const e=[];return v.Children.toArray(t).forEach(i=>{cn(i)?e.push(i):i.props&&i.props.children&&un(i.props.children).forEach(n=>e.push(n))}),e}function Al(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(cn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const l=un(n.props.children);l.length>0?l.forEach(o=>e.push(o)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Pl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:o,to:a}=i,s=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<r;d+=1)d>=o&&d<=a&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:l,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function St(t,e){return typeof window>"u"?J(t,e):Pn(t,e)}const ui=yt(null),pn=()=>bt(ui),Ol=yt(null),st=Ct(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:o,onSwiper:a,...s}=t===void 0?{}:t,r=!1;const[c,d]=$("swiper"),[p,b]=$(null),[h,y]=$(!1),m=Z(!1),I=Z(null),u=Z(null),w=Z(null),g=Z(null),T=Z(null),D=Z(null),f=Z(null),O=Z(null),{params:_,passedParams:S,rest:E,events:A}=Cl(s),{slides:x,slots:C}=Al(o),P=()=>{y(!h)};Object.assign(_.on,{_containerClasses(L,V){d(V)}});const j=()=>{Object.assign(_.on,A),r=!0;const L={..._};if(delete L.wrapperClass,u.current=new ci(L),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const V={cache:!1,slides:x,renderExternal:b,renderExternalUpdate:!1};ft(u.current.params.virtual,V),ft(u.current.originalParams.virtual,V)}};I.current||j(),u.current&&u.current.on("_beforeBreakpoint",P);const B=()=>{r||!A||!u.current||Object.keys(A).forEach(L=>{u.current.on(L,A[L])})},G=()=>{!A||!u.current||Object.keys(A).forEach(L=>{u.current.off(L,A[L])})};J(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),J(()=>{!m.current&&u.current&&(u.current.emitSlidesClasses(),m.current=!0)}),St(()=>{if(e&&(e.current=I.current),!!I.current)return u.current.destroyed&&j(),_l({el:I.current,nextEl:T.current,prevEl:D.current,paginationEl:f.current,scrollbarEl:O.current,swiper:u.current},_),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),St(()=>{B();const L=Dl(S,w.current,x,g.current,V=>V.key);return w.current=S,g.current=x,L.length&&u.current&&!u.current.destroyed&&Il({swiper:u.current,slides:x,passedParams:S,changedParams:L,nextEl:T.current,prevEl:D.current,scrollbarEl:O.current,paginationEl:f.current}),()=>{G()}}),St(()=>{kl(u.current)},[p]);function H(){return _.virtual?Pl(u.current,x,p):x.map((L,V)=>v.cloneElement(L,{swiper:u.current,swiperSlideIndex:V}))}return v.createElement(n,jt({ref:I,className:dn(`${c}${i?` ${i}`:""}`)},E),v.createElement(Ol.Provider,{value:u.current},C["container-start"],v.createElement(l,{className:El(_.wrapperClass)},C["wrapper-start"],H(),C["wrapper-end"]),sn(_)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:D,className:"swiper-button-prev"}),v.createElement("div",{ref:T,className:"swiper-button-next"})),rn(_)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),an(_)&&v.createElement("div",{ref:f,className:"swiper-pagination"}),C["container-end"]))});st.displayName="Swiper";const $e=Ct(function(t,e){let{tag:i="div",children:n,className:l="",swiper:o,zoom:a,lazy:s,virtualIndex:r,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Z(null),[b,h]=$("swiper-slide"),[y,m]=$(!1);function I(T,D,f){D===p.current&&h(f)}St(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!o)){if(o.destroyed){b!=="swiper-slide"&&h("swiper-slide");return}return o.on("_slideClass",I),()=>{o&&o.off("_slideClass",I)}}}),St(()=>{o&&p.current&&!o.destroyed&&h(o.getSlideClasses(p.current))},[o]);const u={isActive:b.indexOf("swiper-slide-active")>=0,isVisible:b.indexOf("swiper-slide-visible")>=0,isPrev:b.indexOf("swiper-slide-prev")>=0,isNext:b.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(u):n,g=()=>{m(!0)};return v.createElement(i,jt({ref:p,className:dn(`${b}${l?` ${l}`:""}`),"data-swiper-slide-index":r,onLoad:g},d),a&&v.createElement(ui.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},w(),s&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&v.createElement(ui.Provider,{value:u},w(),s&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"})))});$e.displayName="SwiperSlide";const Ml="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Ll=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:o})=>{var a;const[s,r]=$(!1),c=Z(null);J(()=>{const b=document.getElementById("sxp-render"),h=document.getElementById("pb-modal");h?c.current=h:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),b?.appendChild(c.current))},[]);const d=ee(()=>o?.id&&o?.id!==""||t,[t,o]);if(J(()=>{d?r(!0):setTimeout(()=>{r(!1)},o?.duration)},[d,o]),!c.current)return null;const p=Ht(()=>{e?.()},300);return Ai.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:l,animationDuration:((a=o?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:b=>{b.stopPropagation(),b.preventDefault()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Ml,alt:"close",className:"modal-icon"})),i))),c.current)};var Bt=ce(Ll);const Nl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),l=[];for(let a=0;a<n.length&&(l.push(n[a]),!(l.join(" ").length>=e));a++);return(l.length>1&&l.length<n.length?l.slice(0,l.length-1):l).join(" ")+" "},jl=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:o,unfoldText:a,isPost:s,onChange:r})=>{const[c,d]=$(!1),[p,b]=$(!1),h=Number(i?.lineClamp||2),y=Z(null),m=Z(null),I=ue(()=>{d(!c)},[c,r]);return ee(()=>!c&&t.length>e?Nl(t,e)+"...":t,[t,e,c]),J(()=>{var u,w;((u=m?.current)===null||u===void 0?void 0:u.offsetHeight)>((w=y?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?b(!0):b(!1),m.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:l??I},c?a||"show less":o||"show more"))};var zt=ce(jl);const Bl=Ct((t,e)=>{const{src:i,onLoad:n,style:l,className:o,loading:a}=t,[s,r]=$();return Di(e,()=>({setSrc:c=>{r(c)}})),J(()=>{r(i)},[i]),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:o,src:s,style:l,loading:a,onLoad:c=>{n?.(c.target)}})):v.createElement("img",{className:o,src:s,style:l,loading:a,onLoad:c=>{n?.(c.target)}}))});var Be=ce(Bl);const zl=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,onClick:h,schema:y,isDefault:m,bottom_image:I,tipText:u,isPost:w,viewTime:g,rec:T,swiper:D,commodityStyles:f,buttonStyle:O,index:_}=t,S=Ie(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=me(),{popupDetailData:A,bffEventReport:x,isPreview:C,bffFbReport:P}=me(),{jumpToWeb:j,productView:B}=Fe(),G=Z(null),[H,L]=$(!1),V=w?T:A,M=w?V?.product:(e=V?.video)===null||e===void 0?void 0:e.bindProduct,k=w?(i=V?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=V?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,z=w?_:A?.index,U=()=>{M?.link&&(j(V,M,k,z),w||B(V,M,k,g||G.current,z),window.location.href=window.getJointUtmLink(M.link))};J(()=>{w||P?.({eventName:"ProductView"})},[w,P]),J(()=>{const q=()=>{G.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const W=ee(()=>{var q,pe,se,re,he;return M?.currency&&M?.price?`${(se=(pe=(q=M?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||pe===void 0?void 0:pe.toUpperCase())!==null&&se!==void 0?se:""}${(he=(re=M?.price)===null||re===void 0?void 0:re.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"$7,000"},[M?.price,M?.currency]),ie=C?375:(o=p?.width)!==null&&o!==void 0?o:window.innerWidth,ne=({isPost:q})=>{var pe,se,re;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:f?.collection,hidden:!!M&&(!M?.collection||M?.collection==="")},(pe=M?.collection)!==null&&pe!==void 0?pe:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:f?.title,hidden:!!M&&!M?.title},(se=M?.title)!==null&&se!==void 0?se:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:f?.price,hidden:!!M&&!M?.price},W),v.createElement("div",{hidden:!!M&&(!M?.info||M?.info==="")},v.createElement(zt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>L(!0),isPost:q,text:(re=M?.info)!==null&&re!==void 0?re:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
2
2
  bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
3
3
  collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
4
4
  necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
5
- 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:f?.info})))},oe=()=>{var q;return v.createElement(v.Fragment,null,(b||M?.link)&&v.createElement("button",{onClick:U,className:"pb-commondity-btn",style:O},(q=k?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))};return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:K(Object.assign({},p))},S),M&&((a=M?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(st,{height:ie,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:D?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:D?.delay*1e3}},(s=M?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement(Ge,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ie,height:ie}},v.createElement(Le,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${D?.translateY})%`},src:q}))))),!(!((r=M?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=x?.bottom_image)!==null&&c!==void 0?c:I,alt:""})),v.createElement("div",{className:"pb-commondity-content"},ne({isPost:g}))),oe(),v.createElement(Bt,{visible:H,onClose:()=>L(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},ne({isPost:!1})),oe()))};var Vl=ce(zl);const Rl=Ae(Vl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:to},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],pi,vi,Hl=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:ke?.fontOptions,initialValue:(vi=(pi=ke?.fontOptions)===null||pi===void 0?void 0:pi[0])===null||vi===void 0?void 0:vi.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],pn="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 Ul=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:l,src:o}=t;switch(i){case 2:return n||null;case 3:return o||null;default:return l&&l.length>0?(e=l[0])===null||e===void 0?void 0:e.url:null}},Gl=t=>{var{content:e,btnText:i,style:n,icon:l,isPopup:o,isExternalLink:a,onClose:s,onClick:r,submitButtonStyle:c}=t,d=Ee(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=me(),{jumpToWeb:h}=Re(),m=typeof l=="string"?l:Ul(l),w=()=>{var b,I,u;if(a){const g=p,y=(b=g?.video)===null||b===void 0?void 0:b.bindProduct,E=(u=(I=g?.video)===null||I===void 0?void 0:I.bindProduct)===null||u===void 0?void 0:u.bindCta,D=p?.index;h(g,y,E,D)}o||s?.(),r?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${K(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:m??pn})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",style:c,onClick:w},i))};var $l=ce(Gl);const Wl=Ae($l,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Hl,bindableProps:[],interactionRender:Fl},defaulSetting:{props:{icon:pn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var fi,mi,Yl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-100,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(fi=ae?.[0])===null||fi===void 0?void 0:fi.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:ae,initialValue:(mi=ae?.[0])===null||mi===void 0?void 0:mi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ql=t=>{var e,i,n,l,o,a,s,r,c,d,p,h,{style:m,isDefault:w,rec:b,viewTime:I,isPost:u,bottom_image:g,tipText:y,swiper:E,commodityStyles:D,buttonStyle:f,index:O}=t,C=Ee(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:S}=me(),{popupDetailData:x,bffEventReport:A,isPreview:T,swiperRef:_,bffFbReport:P}=me(),{jumpToWeb:j,productView:B}=Re(),G=Z(null);Z(null),Z(null),$(!1),$(!1),$(!0);const[H,L]=$(!1),z=Z(null),M=u?b:x,k=u?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,V=u?(i=M?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=M?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,U=u?O:x?.index,W=()=>{k?.link&&(j(M,k,V,U),u||B(M,k,V,I||z.current,U),window.location.href=window.getJointUtmLink(k.link))};J(()=>{u||P?.({eventName:"ProductView"})},[u,P]),J(()=>{const q=()=>{z.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const ie=ee(()=>{var q,pe,se,re,he;return k?.currency&&k?.price?`${(se=(pe=(q=k?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||pe===void 0?void 0:pe.toUpperCase())!==null&&se!==void 0?se:""}${(he=(re=k?.price)===null||re===void 0?void 0:re.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"\xA3102,300.00"},[k?.price,k?.currency]),ne=T?375:(o=m?.width)!==null&&o!==void 0?o:window.innerWidth,oe=({isPost:q})=>v.createElement("div",{hidden:!!k&&(!k?.info||k?.info==="")},v.createElement(zt,{isPost:q,onClick:()=>L(!0),className:"pb-commondityDiroNew-info",style:D?.info,foldText:y?.foldText,unfoldText:y?.unfoldText,text:k?.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 v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:G,className:K(Object.assign({},m))},C),k&&((a=k?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(st,{height:ne,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:E?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:E?.delay*1e3}},(s=k?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement(Ge,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},v.createElement(Le,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${E?.translateY})%`},src:q}))))),!(!((r=k?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=S?.bottom_image)!==null&&c!==void 0?c:g,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:D?.title},(d=k?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!k&&(!k?.collection||k?.collection===""),style:D?.collection},k?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.price,style:D?.price},ie),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.taxInfo,style:D?.taxInfo},(p=k?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!k||k?.link)&&v.createElement("button",{onClick:W,className:"pb-commondityDiroNew-btn",style:f},(h=V?.enTitle)!==null&&h!==void 0?h:"Shop now"),oe({isPost:u}))),v.createElement(Bt,{visible:H,onClose:()=>L(!1)},oe({isPost:!1})))};var Xl=ce(ql);const Jl=Ae(Xl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Yl},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 hi,gi,Ne=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-100,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ae,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(hi=ae?.[0])===null||hi===void 0?void 0:hi.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:ae,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(gi=ae?.[0])===null||gi===void 0?void 0:gi.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 vn(t){const e=Z(null),[i,n]=$(!1);return J(()=>{e.current=new IntersectionObserver(([l])=>{n(l.isIntersecting)})},[]),J(()=>{var l;return t?.current&&((l=e?.current)===null||l===void 0||l.observe(t?.current)),()=>{var o;(o=e?.current)===null||o===void 0||o.disconnect()}},[t]),i}const Ql=t=>{var{rec:e,children:i,className:n,onClick:l,style:o,isExternalLink:a=!1,index:s}=t;Ee(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=Z(null),c=vn(r),{popup:d}=qe(),{setPopupDetailData:p,ctaEvent:h}=me(),{jumpToWeb:m}=Re();J(()=>{var b,I;if(c&&r?.current){const u=(I=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&I!==void 0?I:e?.video;h?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,r,e,h,s]);const w=It(()=>{var b,I,u,g,y,E,D,f;const O=(I=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&I!==void 0?I:e?.video;if(h?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),a){if(!((g=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||g===void 0)&&g.link){const C=(y=e?.video)===null||y===void 0?void 0:y.bindCta,S=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;m(e,S,C,s),window.location.href=window.getJointUtmLink((f=(D=e?.video)===null||D===void 0?void 0:D.bindProduct)===null||f===void 0?void 0:f.link)}}else l?.()},d?.duration);return v.createElement("div",{ref:r,className:n,style:o,onClick:w},i)};var Tt=ce(Ql),Zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const es=t=>{var e,i,n,l,o,a,s,{content:r,style:c,bgImg:d,recData:p,bottom_image:h,ctaTempStyles:m,isExternalLink:w,translateY:b=0}=t,I=Ee(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:u}=me(),g=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,y=(l=(n=(i=g?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:u?.bottom_image)!==null&&l!==void 0?l:h;return v.createElement(Tt,Object.assign({isExternalLink:w,rec:p,className:K(Object.assign({},c)),style:{display:"flex"}},I),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Le,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${b}%)`}),src:y})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Zl["tow-line-ellipsis"],style:m?.title},(o=g?.title)!==null&&o!==void 0?o:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=g?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var ts=ce(es);const is=Ae(ts,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Kl,bindableProps:[],settingRender:Ne},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 ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const os=t=>{var e,i,n,l,{content:o,style:a,bgImg:s,recData:r,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,h=Ee(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:m}=me(),w=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(Tt,Object.assign({isExternalLink:p,rec:r,className:K(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},h),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=w?.icon)!==null&&i!==void 0?i:m?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),v.createElement("div",{className:K(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(l=w?.enTitle)!==null&&l!==void 0?l:"Product Name"))};var ls=ce(os);const ss=Ae(ls,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ns,settingRender:Ne?.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 as={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const rs=t=>{var e,i,n,l,o,{content:a,style:s,bgImg:r,recData:c,bottom_image:d,ctaTempStyles:p,index:h}=t,m=Ee(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:w,bffEventReport:b}=me(),{jumpToWeb:I}=Re(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,g=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,y=()=>{u?.link&&(I(c,g,u,h),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(Tt,Object.assign({index:h,rec:c,className:K(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},m,{onClick:y}),v.createElement("div",{className:K(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Le,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(l=(n=u?.icon)!==null&&n!==void 0?n:w?.bottom_image)!==null&&l!==void 0?l:d})),v.createElement("div",{className:K({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:as["tow-line-ellipsis"],style:p?.ctaTitle},(o=u?.enTitle)!==null&&o!==void 0?o:"Product Name")))};var ds=ce(rs);const cs=Ae(ds,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ne?.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 us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ps={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const vs=t=>{var e,i,n,l,o,a,s,{content:r,style:c,bgImg:d,recData:p,bottom_image:h,ctaTempStyles:m,isExternalLink:w,translateY:b=0}=t,I=Ee(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:u}=me(),g=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,y=(l=(n=(i=g?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:u?.bottom_image)!==null&&l!==void 0?l:h;return v.createElement(Tt,Object.assign({isExternalLink:w,rec:p,className:K(Object.assign({},c)),style:{display:"flex"}},I),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Le,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${b}%)`}),src:y})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ps["tow-line-ellipsis"],style:m?.title},(o=g?.title)!==null&&o!==void 0?o:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=g?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop Now")))};var fs=ce(vs);const ms=Ae(fs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:us,settingRender:Ne,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 hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const bs=t=>{var e,i,n,l,o,a,s,{content:r,style:c,bgImg:d,recData:p,bottom_image:h,ctaTempStyles:m,isExternalLink:w,translateY:b=0}=t,I=Ee(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:u}=me(),g=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,y=(l=(n=(i=g?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:u?.bottom_image)!==null&&l!==void 0?l:h;return v.createElement(Tt,Object.assign({isExternalLink:w,rec:p,className:K(Object.assign({},c)),style:{display:"flex"}},I),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Le,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${b}%)`}),src:y})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:gs["tow-line-ellipsis"],style:m?.title},(o=g?.title)!==null&&o!==void 0?o:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(s=(a=g?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&s!==void 0?s:"Shop now")))};var ys=ce(bs);const ws=Ae(ys,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:hs,bindableProps:[],settingRender:Ne},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 Ss=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ts=({children:t,isPadding:e=!0})=>v.createElement(st,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[vo,po,uo],style:{padding:e?"0 12px 0 20px":0}},t);var Vt=ce(Ts);const xs=({src:t,rec:e,item:i,index:n,style:l})=>{const o=Z(null),a=vn(o),{ctaEvent:s}=me();return J(()=>{a&&t&&o?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[a,t,o,e,s,i,n]),v.createElement("div",{ref:o,hidden:!t,className:K({width:"100%",height:"100%"})},v.createElement(Le,{className:K(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},l)),src:t}))};var bi=ce(xs),Es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Is=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:h=0}=t,m=Ee(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:w,setPopupDetailData:b,sxpParameter:I}=me(),{popup:u}=qe(),{jumpToWeb:g}=Re(),[y,E]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(f=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),b?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(g(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},y?.map(f=>{var O,C,S,x,A,T;return v.createElement(Ge,Object.assign({hidden:a&&!f?.bindCta,key:f?.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(S=(C=(O=f?.homePage)===null||O===void 0?void 0:O[0])!==null&&C!==void 0?C:I?.bottom_image)!==null&&S!==void 0?S:r,rec:a,item:f,index:p,style:{transform:`translateY(${h}%)`}})),v.createElement("div",{className:K({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Es["two-line-ellipsis"],style:c?.title},(x=f?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(T=(A=f?.bindCta)===null||A===void 0?void 0:A.enTitle)!==null&&T!==void 0?T:"Shop Now")))}))};var Cs=ce(Is);const _s=Ae(Cs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ss,bindableProps:[],settingRender:Ne},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 Ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ks={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const As=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:h=0}=t,m=Ee(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:w}=me(),{ctaEvent:b,setPopupDetailData:I}=me(),{popup:u}=qe(),[g,y]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Re(),D=It(f=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),I?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(E(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},g?.map(f=>{var O,C,S,x,A,T;return v.createElement(Ge,Object.assign({hidden:a&&!f?.bindCta,key:f.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(S=(C=(O=f?.homePage)===null||O===void 0?void 0:O[0])!==null&&C!==void 0?C:w?.bottom_image)!==null&&S!==void 0?S:r,rec:a,item:f,index:p,style:{transform:`translateY(${h}%)`}})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ks["two-line-ellipsis"],style:c?.title},(x=f?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(T=(A=f?.bindCta)===null||A===void 0?void 0:A.enTitle)!==null&&T!==void 0?T:"Shop Now")))}))};var Ps=ce(As);const Os=Ae(Ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Ds,settingRender:Ne,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 Ms=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ls={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ns=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:h=0}=t,m=Ee(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:w,setPopupDetailData:b,sxpParameter:I}=me(),{popup:u}=qe(),{jumpToWeb:g}=Re(),[y,E]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(f=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),b?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(g(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},y?.map(f=>{var O,C,S,x,A,T;return v.createElement(Ge,Object.assign({hidden:a&&!f?.bindCta,key:f?.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(S=(C=(O=f?.homePage)===null||O===void 0?void 0:O[0])!==null&&C!==void 0?C:I?.bottom_image)!==null&&S!==void 0?S:r,rec:a,item:f,index:p,style:{transform:`translateY(${h}%)`}})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Ls["tow-line-ellipsis"],style:c?.title},(x=f?.title)!==null&&x!==void 0?x:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(T=(A=f?.bindCta)===null||A===void 0?void 0:A.enTitle)!==null&&T!==void 0?T:"Shop now")))}))};var js=ce(Ns);const Bs=Ae(js,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Ms,bindableProps:[],settingRender:Ne},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 yi,wi,zs=[{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:ae,name:["fontFamily"],initialValue:(yi=ae?.[0])===null||yi===void 0?void 0:yi.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:ae,initialValue:(wi=ae?.[0])===null||wi===void 0?void 0:wi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Vs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var l;const{waterFallData:o,setOpenHashtag:a}=me();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(l=o?.hashTag)!==null&&l!==void 0?l:"\u6807\u9898"}`))};var fn=ce(Vs),Rs=null,Fs="3d989325-e7d6-4a74-8a97-98febdf5b567",Hs=null,Us=null,Gs={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"},$s=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Ws="Handbags",Ys={productUserId:Rs,requestId:Fs,channel:Hs,rtc:Us,tag:Gs,recList:$s,hashTag:Ws};const qs=t=>{const{rec:e,index:i,list:n,reportTagsView:l,textStyles:o,space:a}=t,{swiperRef:s,setRtcList:r,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=me(),[h,m]=$(!1),w=Z(null),b=Z(null),I=Z(null),u=Z(null),[g,y]=$(""),E=ee(()=>{var S,x,A,T,_,P,j,B,G,H,L,z;return!((S=e?.video)===null||S===void 0)&&S.cover?(x=e?.video)===null||x===void 0?void 0:x.cover:!((A=e?.video)===null||A===void 0)&&A.url?(m(!0),(T=e?.video)===null||T===void 0?void 0:T.url):!((P=(_=e?.video)===null||_===void 0?void 0:_.imgUrls)===null||P===void 0)&&P.length?(B=(j=e?.video)===null||j===void 0?void 0:j.imgUrls)===null||B===void 0?void 0:B[0]:!((H=(G=e?.product)===null||G===void 0?void 0:G.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]:p?.bottom_image||""},[e,p?.bottom_image]),D=ee(()=>{var S,x;return((S=e?.product)===null||S===void 0?void 0:S.title)||((x=e?.video)===null||x===void 0?void 0:x.title)||null},[e]),f=ee(()=>{var S,x,A,T,_,P,j,B,G;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((x=e?.product)===null||x===void 0)&&x.price)?`${(P=(_=(T=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||T===void 0?void 0:T.split("-")[1])===null||_===void 0?void 0:_.toUpperCase())!==null&&P!==void 0?P:""}${(G=(B=(j=e?.product)===null||j===void 0?void 0:j.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:null},[e]);J(()=>{const S=new IntersectionObserver(x=>{x.forEach(A=>{if(A.isIntersecting){if(b.current===null||E==="")return;h&&g?w.current.setSrc(g):w.current.setSrc(E),S.unobserve(b.current)}})});return S.observe(b.current),()=>{S.disconnect()}},[E,h,g]);const O=(S,x,A)=>{const T=S/x;return A/T};J(()=>{const S=I?.current;S===null||E===""||!h||(S.src=E,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const x=u?.current;if(!x)return;const A=x.getContext("2d"),T=window?.innerWidth/2,_=O(S.videoWidth,S.videoHeight,T);x.height=_,x.width=T,A?.drawImage(S,0,0,x.width,x.height),y(x.toDataURL()),S.remove(),x.remove()})},[E,h]);const C=()=>{l(),r?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:b,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:a}},v.createElement("div",{className:"list-content-listItem-picture"},h&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Le,{loading:"lazy",className:"list-content-listItem-picture-img",ref:w})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:o?.title},D&&D),v.createElement("div",{className:"list-content-listItem-info-price",style:o?.price,hidden:!f},f)))};function Xs(t){var e,i,n,l,o,a,s,r,c,d,p,h,{reportTagsView:m}=t,w=Ee(t,["reportTagsView"]);const{waterFallData:b,getRecommendVideos:I,hashTagSize:u,loadingImage:g,isOpenHashTag:y}=me(),[E,D]=$(),[f,O]=$(),[C,S]=$(!1),x=Z(null),[A,T]=$(!1);ue(()=>{A||(T(!0),b&&I?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType}).then(P=>{var j;D(E?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),T(!1)}))},[b,I,E,A]),J(()=>{var P,j;if(S(!0),b&&I?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType,defaultSize:u,maxSize:u}).then(B=>{var G,H;O(B),D((H=(G=B?.recList)===null||G===void 0?void 0:G.filter(L=>L?.video!==null||L?.product!==null))!==null&&H!==void 0?H:[]),S(!1)}),y){const B=Ys;O(B),D((j=(P=B?.recList)===null||P===void 0?void 0:P.filter(G=>G?.video!==null||G?.product!==null))!==null&&j!==void 0?j:[]),S(!1)}},[b,I,u,y]);const _=()=>{var P,j;!((P=f?.tag)===null||P===void 0)&&P.link&&(m(),window.location.href=(j=f?.tag)===null||j===void 0?void 0:j.link)};return v.createElement(v.Fragment,null,C?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:g,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:x},v.createElement("div",{className:"list-info",style:(e=w?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=f?.tag)===null||i===void 0?void 0:i.info),v.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:_,style:Object.assign(Object.assign({},(l=w?.textStyles)===null||l===void 0?void 0:l.hashTagLink),{marginBottom:w?.space})},((o=f?.tag)===null||o===void 0?void 0:o.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},E?.map((P,j)=>v.createElement(qs,Object.assign({key:j,index:j,rec:P,list:E,reportTagsView:m},w)))),v.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=f?.tag)===null||a===void 0)&&a.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((r=w?.buttonBgStyle)===null||r===void 0?void 0:r.height)||((c=w?.buttonStyle)===null||c===void 0?void 0:c.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((d=f?.tag)===null||d===void 0)&&d.link),style:w?.buttonBgStyle}),v.createElement("div",{hidden:!(!((p=f?.tag)===null||p===void 0)&&p.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},w?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{className:"list-btn",style:w?.buttonStyle,onClick:_},((h=f?.tag)===null||h===void 0?void 0:h.linkTitle)||"Shop the collection"))))}var Js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ks=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:l,swiperRef:o,setWaterFallData:a,cacheRtcList:s,setRtcList:r,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:h,isFromHashtag:m,bffEventReport:w}=me();Z(null);const b=Z(null),[I,u]=$();J(()=>{const f=document.getElementById("sxp-render"),O=document.getElementById("water-fall");O?b.current=O:(b.current=document.createElement("div"),b.current.setAttribute("id","water-fall"),f?.appendChild(b.current))},[]);const g=()=>{const f=Ci(d,s);!f&&s&&s?.length&&r?.(s),D(),a?.(void 0),h?.(!1),setTimeout(()=>{var O,C;f||(C=(O=o?.current)===null||O===void 0?void 0:O.swiper)===null||C===void 0||C.slideTo(c,0,!1),n?.(!1)},0)},[y,E]=$();J(()=>{i&&E(i)},[i]);const D=ue(()=>{var f,O,C,S,x,A;const T=y?.rec;if(!T)return;let _="";m?_="hashTagPage":!((f=T?.video)===null||f===void 0)&&f.url?_="videoPage":!((C=(O=T?.video)===null||O===void 0?void 0:O.imgUrls)===null||C===void 0)&&C.length&&(_="imagePage"),w?.({eventInfo:{contentId:(S=T?.video)===null||S===void 0?void 0:S.itemId,position:c+"",contentTags:JSON.stringify((x=T?.video)===null||x===void 0?void 0:x.tags),traceInfo:(A=T?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([y?.hashTag]),fromKName:_,fromKPage:location?.href,timeOnSite:Math.floor((new Date-I)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[y,w,I,m,c]);return J(()=>{l&&u(new Date)},[l]),J(()=>{const f=()=>{u(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),b.current?Ai.createPortal(v.createElement("div",{className:"waterfall",style:{display:l?"block":"none"}},v.createElement(fn,{icon:Js,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:g}),v.createElement(Xs,Object.assign({reportTagsView:D},t))),b.current):null};var mn=ce(Ks);const Qs=t=>v.createElement(mn,Object.assign({},t));var Zs=ce(Qs);const ea=Ae(Zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:zs,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 Si=Object.freeze({__proto__:null,Appoint:ss,AppointForm:eo,Commodity:is,CommodityDetail:Rl,CommodityDetailDiroNew:Jl,CommodityDiro:ms,CommodityDiroNew:ws,HashTag:ea,Link:cs,MultiCommodity:Os,MultiCommodityDiro:_s,MultiCommodityDiroNew:Bs,Prompt:Wl});const ta="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ia="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",na=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:l,position:o}=t,a=Ee(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:r,bffEventReport:c}=me(),[d,p]=$(e),h=Oe(ia),m=Oe(ta),w=Ht(()=>Ce(void 0,void 0,void 0,function*(){var b,I,u,g,y,E,D,f,O,C,S,x,A,T,_,P,j,B,G,H;if(d){p(!1);const L=(u=yield r?.({videoItemId:(I=(b=l.video)===null||b===void 0?void 0:b.itemId)!==null&&I!==void 0?I:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(y=(g=l.video)===null||g===void 0?void 0:g.itemId)!==null&&y!==void 0?y:"",contentName:(D=(E=l.video)===null||E===void 0?void 0:E.title)!==null&&D!==void 0?D:"",contentTags:JSON.stringify((O=(f=l.video)===null||f===void 0?void 0:f.tags)!==null&&O!==void 0?O:[]),position:o+"",contentFormat:!((C=l.video)===null||C===void 0)&&C.url?"video":"image",traceInfo:(S=l.video)===null||S===void 0?void 0:S.traceInfo}}),L||p(!0)}else{p(!0);const L=(x=yield s?.({content:JSON.stringify(l)}))!==null&&x!==void 0?x:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(T=(A=l.video)===null||A===void 0?void 0:A.itemId)!==null&&T!==void 0?T:"",contentName:(P=(_=l.video)===null||_===void 0?void 0:_.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((B=(j=l.video)===null||j===void 0?void 0:j.tags)!==null&&B!==void 0?B:[]),position:o+"",contentFormat:!((G=l.video)===null||G===void 0)&&G.url?"video":"image",traceInfo:(H=l.video)===null||H===void 0?void 0:H.traceInfo}}),L||p(!1)}}),200);return v.createElement("button",Object.assign({},a,{onClick:w}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||h:n||m,alt:"icon"}))};var hn=ce(na);const oa=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,videoRef:s})=>{const[r,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:h,openHashtag:m,bffFbReport:w}=me(),b=Z(0),[I,u]=$(!1),[g,y]=$(!0),{isActive:E}=un(),D=Z(null),[f,O]=$(""),C=`pb-cache-video-${e}`,S=Z(null),x=ee(()=>a?.mode==="2",[a]),A=ee(()=>{var U;return a?.mode==="2"?`translateY(-${50+((U=a?.offsetTop)!==null&&U!==void 0?U:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),T=ee(()=>{var U;return((U=t?.video)===null||U===void 0?void 0:U.cover)||f},[f,t]),_=ee(()=>x?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[x]),P=ee(()=>a?.bgWay==="1",[a]),j=ee(()=>P&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,P]);J(()=>{s&&s?.muted(l)},[l,s]);const B=ue(()=>{s&&s?.play()},[s]),G=Oe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),H=ue(()=>{var U,W,ie,ne,oe,q,pe,se,re;if(!s)return;u(!0),c(!1);const he=n[e];if(he&&s?.duration()){b.current=s?.currentTime()||0;const R=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2),Q=g?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ne=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(oe=he.video)===null||oe===void 0?void 0:oe.title)!==null&&q!==void 0?q:"",playType:Q,startTime:F,videoDuration:R,contentTags:JSON.stringify((se=(pe=he.video)===null||pe===void 0?void 0:pe.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(re=he.video)===null||re===void 0?void 0:re.traceInfo}}),y(!1)}},[d,n,e,g,s]),L=ue(()=>{var U;if(!s||f||!x)return;const W=document.getElementById("player-container-id_html5_api");if(!W||(W.style.objectFit="contain",!((U=t?.video)===null||U===void 0)&&U.cover||!D||!D.current||P))return;const ie=()=>{const ne=W,oe=D?.current,q=oe.getContext("2d"),pe=window?.innerWidth,se=window?.innerHeight;oe.height=se,oe.width=pe,q?.drawImage(ne,0,0,oe.width,oe.height),O(oe.toDataURL())};ie(),setTimeout(()=>{ie()},500)},[s,P,t,f,x]),z=ue(()=>{s&&L()},[s,L]);ue(()=>{u(!0)},[]);const M=ue(U=>()=>{if(!s||!I)return;const W=s?.paused();switch(U){case"start":if(!W)return;s?.play(),c(!1);break;case"pause":if(W)return;s?.pause(),c(!0);break;default:W?s?.play():s?.pause(),c(!W);break}},[I,s]),k=ue(()=>{var U,W,ie,ne,oe,q,pe,se,re;if(!s||o!==e)return;const he=n[e],R=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2);if(s?.duration()){const Q=(s?.currentTime()-b.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ne=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(oe=he.video)===null||oe===void 0?void 0:oe.title)!==null&&q!==void 0?q:"",endTime:F,videoDuration:R,playDuration:Q,contentTags:JSON.stringify((se=(pe=he.video)===null||pe===void 0?void 0:pe.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(re=he.video)===null||re===void 0?void 0:re.traceInfo}})}},[n,e,d,s,o]);J(()=>{if(!E||!s)return;const U=t.video.url;if(!U)return;c(!1);const W=document.querySelector(`#${C}`),ie=document.querySelector("#player-container-id"),ne=document.querySelector("#player-container-id-copy");if(!(!ie&&!ne))return W?.appendChild(ie||ne),s?.src(U),s?.on("loadedmetadata",z),s?.on("loadeddata",L),s?.on("playing",H),s?.on("pause",k),s?.on("ended",B),()=>{ne?.appendChild(ie),s?.off("loadedmetadata",z),s?.off("loadeddata",L),s?.off("playing",H),s?.off("pause",k),s?.off("ended",B)}},[E,C,t,s]),J(()=>{!s||!I||(E?(w?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[E,I,s]),J(()=>{if(!E||!s)return;!s?.paused()&&m?s?.pause():m||s?.play()},[m,E,s]),J(()=>{if(!E)return;const U=()=>{M("start")(),w?.({eventName:"ViewContent"})},W=M("pause");return Xe.on(Ve.PAGE_DID_SHOW,U),Xe.on(Ve.PAGE_DID_HIDE,W),()=>{Xe.off(Ve.PAGE_DID_SHOW,U),Xe.off(Ve.PAGE_DID_HIDE,W)}},[M,E]);const V=ee(()=>!p?.placeholder_image||I?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[I,p?.placeholder_image]);return J(()=>{if(!s)return;const U=()=>{var W;o===e&&(!((W=t?.video)===null||W===void 0)&&W.url)&&s&&!r&&M("pause")()};return window.addEventListener("beforeunload",U),()=>{window.removeEventListener("beforeunload",U)}},[o,e,t,s,M,r]),t.video?v.createElement(v.Fragment,null,x?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:M(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&v.createElement(Le,{src:T,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},_)}),v.createElement("canvas",{ref:D,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:S,id:C,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:G}))),V):v.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:M()},v.createElement("div",{className:"n-full-screen",ref:S,id:C,style:{width:"100%",height:"100%"}}),V,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:G}))):null};var la=ce(oa);const sa=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[o,a]=$(t),s=r=>{r.stopPropagation();const c=!o;a(c),n?.(c)};return v.createElement("button",{style:l,className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",src:o?e:i}))};var gn=ce(sa);const aa=({imageUrl:t,style:e})=>{const[i,n]=$(!0);qe(),J(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const l=Oe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${o}`,style:e},v.createElement("img",{src:t||l}))},bn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,l=ee(()=>n?.mode==="2",[n]),o=ee(()=>{var c;return n?.mode==="2"?`translateY(-${50+((c=n?.offsetTop)!==null&&c!==void 0?c:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),a=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),s=ee(()=>n?.bgWay==="1",[n]),r=ee(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},r)},(!l||!s)&&v.createElement(Le,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),l&&v.createElement(Le,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:o,left:0,right:0}}))},ra=({imgUrls:t,width:e,height:i,rec:n,index:l,onReportViewImageEnd:o,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var r;const c=Z(),{isActive:d}=un(),{sxpParameter:p,openHashtag:h}=me(),[m,w]=$(!1);return J(()=>{m&&d?(c?.current&&c.current.swiper.autoplay.start(),h?o(n):a(l)):(w(!0),c?.current&&c.current.swiper.autoplay.stop())},[n,d,o,h,l,a,m]),v.createElement(st,{ref:c,defaultValue:0,direction:"horizontal",modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((r=s?.delay)!==null&&r!==void 0?r:3)*1e3}},t?.map(b=>v.createElement(Ge,{key:b},v.createElement(bn,{src:b,height:i,imgUrlsPostConfig:s}))))};var da=ce(ra);const ca=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:o})=>{const[a,s]=$(!1),{setWaterFallData:r,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:h}=me(),m=w=>{p?h?.(!0):d?.(n),r?.(i?{hashTag:w,itemId:e,itemType:i,rec:l}:{hashTag:w,rec:l}),c?.(!0)};return ee(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Vt,null,t?.map((w,b)=>v.createElement(Ge,{key:b,hidden:a?!1:b>=6,className:"clc-sxp-bottom-hashtag-item",style:o,onClick:()=>m(w)},`#${w}`))))};var yn=ce(ca),ua="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 Rt(t){return ce(function(e){const{$store:i}=Vn(),n=o=>{let a=o;const s=o.match(/{{.*?}}/g);return s?.length&&s.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=_i(i,d);return a=a.replace(r,p),p}})}),a},l=ee(()=>{var o,a,s;const{bindDatas:r}=e,c=Ee(e,["bindDatas"]);if((o=r?.forEach)===null||o===void 0||o.call(r,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:h}=d;h.replace(/{{\s*([\w.]+)\s*}}/g,(m,w)=>{var b,I;if(w){const u=(I=(b=_i(i,w))!==null&&b!==void 0?b:e[p])!==null&&I!==void 0?I:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=gt(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},l,l.eventMap))})}const pa=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:l}=qe(),o=ee(()=>{var a,s,r,c,d,p,h,m,w,b,I,u,g,y,E,D,f,O,C,S,x,A,T,_,P,j,B,G,H,L,z;if(!t?.video)return null;let M=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?M="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?M="\u5546\u54C1CTA":M=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const k=i?.[M];if(((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((h=t?.video)===null||h===void 0)&&h.bindProduct)||((m=k?.item)===null||m===void 0?void 0:m.type)==="Commodity"&&!(!((w=t?.video)===null||w===void 0)&&w.bindProduct)||((b=k?.item)===null||b===void 0?void 0:b.type)==="CommodityDiroNew"&&!(!((I=t?.video)===null||I===void 0)&&I.bindProduct)||((u=k?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((y=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||y===void 0)&&y.length)||((E=k?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiro"&&!(!((f=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||f===void 0)&&f.length)||((O=k?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((S=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||S===void 0)&&S.length))return null;if(k&&n){const V=n[(x=k?.item)===null||x===void 0?void 0:x.type],U=Rt(V),W=(A=V?.extend)===null||A===void 0?void 0:A.defaulSetting,ie=((P=(_=(T=k?.item)===null||T===void 0?void 0:T.event)===null||_===void 0?void 0:_.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return v.createElement(U,Object.assign({style:Object.assign(Object.assign(Object.assign({},W?.style),(j=k?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},W?.textStyle),(B=k?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=k?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},W?.props,(L=k?.item)===null||L===void 0?void 0:L.props,{event:((z=k?.item)===null||z===void 0?void 0:z.event)||{},schema:l,id:k?.id,key:k?.id,recData:t,isExternalLink:ie,index:e}))}else return null},[t,n,i,l]);return v.createElement(v.Fragment,null,o)};var wn=ce(pa);const Sn=({nudge:t})=>{var e,i,n,l,o,a,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(o=(l=t?.size)===null||l===void 0?void 0:l.height)!==null&&o!==void 0?o:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})},(s=t?.content)!==null&&s!==void 0?s:"")))},Ti="FOR U",va=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=$(Ti),{getRecommendVideos:l,setRtcList:o,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:r,swiperRef:c,waterFallData:d}=me(),p=ee(()=>[Ti,...t],[t]),h=m=>()=>{if(m===i)return;let w;m!==Ti&&(w=m),r?.(!0),l?.({themeTag:w}).then(b=>{var I,u,g,y;Xe.emit(Ve.CHANGE_THEME_TAG,w),o?.((I=b?.recList)!==null&&I!==void 0?I:[]),a?.((u=b?.recList)!==null&&u!==void 0?u:[]),e?.(0),s?.(0),(y=(g=c?.current)===null||g===void 0?void 0:g.swiper)===null||y===void 0||y.slideTo(0)}).finally(()=>{r?.(!1)}),n(m)};return d||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},p.map(m=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${m===i?"clc-sxp-tagbar-list-item-active":""}`,key:m,onClick:h(m)},m))))};var Tn=ce(va);const xn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:l,resolver:o,data:a=[],ctaType:s,tipText:r,nudge:c,_schema:d,hashTagStyle:p,tagList:h=[],licenseUrl:m})=>{var w,b,I,u,g,y,E,D,f,O;const{schema:C}=qe(),[S,x]=$(0),A=Z(0),[T,_]=$(!1),[P,j]=$(!0),B=Z(),G=Z(),[H,L]=$(!1),[z,M]=$(!1),{loadVideos:k,bffEventReport:V,loading:U,setPopupDetailData:W,ctaEvent:ie,swiperRef:ne,waterFallData:oe,setOpenHashtag:q,appDomain:pe,openHashtag:se,loadingImage:re,isFromHashtag:he,popupDetailData:R,bffFbReport:F}=me(),[Q,Se]=$(null),be=Z(),{productView:Te}=Re(),ye=ee(()=>a.length>0&&!U&&Gn(),[a,U]),xe=ue(()=>{if(a.length<=0)return;$e();const N=location.search.slice(1),te=ki.parse(N.replace(/\+/g,"%2B"));for(const le in te)te[le]=te[le].replace(/%2B/g,"+");const Y=le=>{var de;return(de=te[le])!==null&&de!==void 0?de:""};V?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:Y("utm_source"),utmMedium:Y("utm_medium"),utmCampaign:Y("utm_campaign"),utmId:Y("utm_id"),utmContent:Y("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),F?.({eventName:"PageView"}),_(!0)},[V,a.length,F]),$e=()=>{B.current=new Date,G.current=new Date,Fn()},Ke=Z();J(()=>{if(!Ke.current&&!Q){Ke.current=!0;const N=TCPlayer("player-container-id",{licenseUrl:m,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});N?.ready(()=>{Se(N)})}},[Q,m]),J(()=>{T||xe()},[xe,T]),J(()=>{var N;const te=a?.findIndex(Y=>{var le,de,ve,X,fe,ge,we,Be,ze;return s==="\u591A\u5546\u54C1CTA"?((le=Y?.video)===null||le===void 0?void 0:le.bindProducts)&&((ve=(de=Y?.video)===null||de===void 0?void 0:de.bindProducts)===null||ve===void 0?void 0:ve.length)>0:s==="\u5546\u54C1CTA"?(X=Y?.video)===null||X===void 0?void 0:X.bindProduct:((ge=(fe=Y?.video)===null||fe===void 0?void 0:fe.bindCta)===null||ge===void 0?void 0:ge.itemId)===s&&(((we=Y?.video)===null||we===void 0?void 0:we.url)||((ze=(Be=Y?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||ze===void 0?void 0:ze.length))})||0;(N=ne?.current)===null||N===void 0||N.swiper.slideTo(te)},[s,ne]),J(()=>{const N=a?.[S],te=()=>{var Y,le,de,ve,X,fe,ge,we,Be,ze,tt,it,nt,ot,Qe;if(document.visibilityState==="hidden"){Xe.emit(Ve.PAGE_DID_HIDE,N),ct(N),Ft(N);let We="";R&&(!((le=(Y=N?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||le===void 0)&&le.length||!((de=N?.video)===null||de===void 0)&&de.bindProduct)?We="pdpPage":R&&l?.[(fe=(X=(ve=N.video)===null||ve===void 0?void 0:ve.bindCta)===null||X===void 0?void 0:X.itemId)!==null&&fe!==void 0?fe:""].item.type==="Appoint"?We="formPage":he?We="hashTagPage":!((ge=N?.video)===null||ge===void 0)&&ge.url?We="videoPage":!((we=N?.video)===null||we===void 0)&&we.imgUrls&&(!((ze=(Be=N?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||ze===void 0)&&ze.length)?We="imagePage":N?.product&&(We="productPage"),V?.({eventInfo:{sessionDuration:Math.floor((new Date-B.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(tt=N?.video)===null||tt===void 0?void 0:tt.itemId,productId:(it=N?.product)===null||it===void 0?void 0:it.itemId,position:S+"",fromKName:We,fromKPage:location?.href,ctatId:(Qe=(ot=(nt=N.video)===null||nt===void 0?void 0:nt.bindCta)===null||ot===void 0?void 0:ot.itemId)!==null&&Qe!==void 0?Qe:""}})}else document.visibilityState==="visible"&&(xe(),Ii(S),Xe.emit(Ve.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",te),()=>{document.removeEventListener("visibilitychange",te)}},[S,V,B,a,xe,R,he,l]);const je=ee(()=>{let N=0;return t?.logoUrl&&t?.isShowLogo&&(N+=45),h.length>0&&(N+=45,oe&&(N-=45)),i-N},[t,i,h,oe]),mt=ee(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),at=ue((N,te)=>{var Y,le,de,ve;return!((Y=N.video)===null||Y===void 0)&&Y.url?v.createElement(la,{rec:N,index:te,muted:P,data:a,height:je,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:Q}):!((le=N.video)===null||le===void 0)&&le.imgUrls?v.createElement(da,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:je,rec:N,index:te,onReportViewImageEnd:ct,onViewImageStartEvent:Ii,imgUrlsPostConfig:t?.imgUrlsPost}):N.product&&Array.isArray(t?.productPost)&&((de=t?.productPost)===null||de===void 0?void 0:de.length)>0?(ve=t?.productPost)===null||ve===void 0?void 0:ve.map((X,fe)=>{var ge,we,Be,ze,tt,it,nt,ot;const Qe=o[(ge=X?.item)===null||ge===void 0?void 0:ge.type],We=Rt(Qe),Ye=(we=Qe?.extend)===null||we===void 0?void 0:we.defaulSetting;return v.createElement(We,Object.assign({key:`${te}${fe}`,textStyle:Object.assign(Object.assign({},Ye?.textStyle),(Be=X?.item)===null||Be===void 0?void 0:Be.textStyle),bindDatas:(tt=(ze=X?.item)===null||ze===void 0?void 0:ze.bindDatas)!==null&&tt!==void 0?tt:[]},Ye?.props,(it=X?.item)===null||it===void 0?void 0:it.props,{event:((nt=X?.item)===null||nt===void 0?void 0:nt.event)||{},schema:C,id:X?.id,viewTime:G.current,rec:N,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},Ye?.style),(ot=X?.item)===null||ot===void 0?void 0:ot.style),{height:"100%",overflow:"auto"}),index:te}))}):null},[n,a,je,P,S,t?.productPost,G,r,o,C,Q]),rt=ue(N=>{M(N)},[]),ht=ee(()=>z?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[z]),dt=ue((N,te)=>{var Y,le,de,ve,X,fe,ge;return N.video?v.createElement(v.Fragment,null,((Y=N.video)===null||Y===void 0?void 0:Y.title)&&!z&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Sn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(wn,{rec:N,index:te,tempMap:l,resolver:o})):null,v.createElement("div",null,v.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(de=(le=N.video)===null||le===void 0?void 0:le.title)!==null&&de!==void 0?de:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:rt}),v.createElement(yn,{index:S,tags:(X=(ve=N?.video)===null||ve===void 0?void 0:ve.hashTags)!==null&&X!==void 0?X:[],itemId:(fe=N?.video)===null||fe===void 0?void 0:fe.itemId,itemType:!((ge=N.video)===null||ge===void 0)&&ge.itemId?"VIDEO":null,rec:N,hashTagStyle:p})))):null},[e,S,l,o,r,c,p,t,rt,z,ht]),De=ue((N,te)=>{var Y,le,de,ve;if(!t?.isShowLike)return;let X=(Y=t?.likeIconY)!==null&&Y!==void 0?Y:400;return oe&&X<40&&(X+=40),N.video?v.createElement(hn,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{[(le=t.likeIconXPosit)!==null&&le!==void 0?le:"right"]:(de=t.likeIconX)!==null&&de!==void 0?de:0,[(ve=t.likeIconYPosit)!==null&&ve!==void 0?ve:"bottom"]:X},position:te}):null},[t,oe]),ct=N=>{var te,Y,le,de,ve,X;if(!(!((te=N.video)===null||te===void 0)&&te.url)&&(!((Y=N.video)===null||Y===void 0)&&Y.imgUrls)){const fe=Date.now(),ge=(fe-A.current)/1e3;V?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(de=(le=N.video)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",contentName:(ve=N.video.title)!==null&&ve!==void 0?ve:"",imageEndTime:`${fe}`,playDuration:`${ge}`,contentTags:JSON.stringify((X=N.video.tags)!==null&&X!==void 0?X:[]),position:S+"",contentFormat:"image",traceInfo:N.video.traceInfo}})}},ut=N=>{var te,Y,le,de,ve,X,fe,ge;G.current=new Date;const we=a[N.previousIndex];we&&(N.previousIndex-N.activeIndex<0?(V?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Y=(te=we.video)===null||te===void 0?void 0:te.itemId)!==null&&Y!==void 0?Y:"",productId:(de=(le=we.product)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",requestId:null}}),ct(we)):(V?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(X=(ve=we.video)===null||ve===void 0?void 0:ve.itemId)!==null&&X!==void 0?X:"",productId:(ge=(fe=we.product)===null||fe===void 0?void 0:fe.itemId)!==null&&ge!==void 0?ge:"",requestId:null}}),ct(we)),Ft(we))},Ft=N=>{var te,Y,le;!(!((te=N?.video)===null||te===void 0)&&te.url)&&!(!((Y=N?.video)===null||Y===void 0)&&Y.imgUrls)&&N?.product&&(Te(N,N.product,(le=N?.product)===null||le===void 0?void 0:le.bindCta,G.current,S),F?.({eventName:"ProductView"}))};J(()=>{const N=a[S];se&&Ft(N)},[se,a,S]);const Ii=N=>{var te,Y,le,de,ve,X;const fe=a[N];if(!(!((te=fe?.video)===null||te===void 0)&&te.url)&&(!((Y=fe?.video)===null||Y===void 0)&&Y.imgUrls)){const ge=Date.now();A.current=ge,V?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(de=(le=fe.video)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",contentName:(ve=fe.video.title)!==null&&ve!==void 0?ve:"",imageStartTime:`${ge}`,contentTags:JSON.stringify((X=fe.video.tags)!==null&&X!==void 0?X:[]),position:N+"",contentFormat:"image",traceInfo:fe.video.traceInfo}}),F?.({eventName:"ViewContent"})}},xt=ee(()=>{const N=a?.map((te,Y)=>S===Y||Y-1===S||Y+1===S?te:null);return oe?N:N.concat([{loading:!0}])},[a,S,oe]),In=ee(()=>U?v.createElement("div",{style:{height:je,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):xt?.map((N,te)=>v.createElement(Ge,{key:te,virtualIndex:te},N&&v.createElement(v.Fragment,null,N?.loading?v.createElement("div",{style:{height:je,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,at(N,te),dt(N,te),De(N,te))))),[n,a,je,U,dt,at,xt,re]),Cn=Oe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),_n=Oe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},oe&&v.createElement(fn,{icon:ua,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{q?.(!0)}}),mt,v.createElement(Tn,{tagList:h,setActiveIndex:x}),ye?v.createElement(aa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((w=t?.swipeTipOffset)!==null&&w!==void 0?w:0)}%`}}):null,v.createElement(st,{ref:ne,onSlideChange:()=>{ne.current.swiper.allowTouchMove=!1,setTimeout(()=>{ne.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:N=>{x(N.activeIndex),!se&&(ut(N),!oe&&N?.activeIndex+2>=a?.length&&(H||(L(!0),k?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:je},v.createElement(gn,{style:{position:"fixed",visibility:!((I=(b=a?.[S])===null||b===void 0?void 0:b.video)===null||I===void 0)&&I.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(g=t?.muteIconX)!==null&&g!==void 0?g:0,[(y=t?.muteIconYPosit)!==null&&y!==void 0?y:"bottom"]:(E=t?.muteIconY)!==null&&E!==void 0?E:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Cn,unactiveIcon:t?.muteIcon?t?.muteIcon:_n,onChange:j}),In),v.createElement(mn,Object.assign({},(O=(f=(D=t?.hashTag)===null||D===void 0?void 0:D[0])===null||f===void 0?void 0:f.item)===null||O===void 0?void 0:O.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:be,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},fa=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o})=>v.createElement(st,{defaultValue:0,direction:"horizontal",modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>v.createElement(Ge,{key:a},v.createElement(bn,{src:a,height:i,imgUrlsPostConfig:n}))));var ma=ce(fa);const ha=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:s})=>{const[r,c]=$(!1),d=Z(null),{bffEventReport:p,sxpParameter:h,waterFallData:m,openHashtag:w}=me(),b=Z(0),[I,u]=$(!1),[g,y]=$(!0),E=Z(null),[D,f]=$("");J(()=>{d.current&&(d.current.muted=l)},[l]);const O=ue(()=>{var L;(L=d.current)===null||L===void 0||L.play()},[]),C=Oe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=ue(()=>{var L,z,M,k,V,U,W,ie,ne,oe,q,pe,se;c(!1);const re=n[e];if(re&&(!((L=d?.current)===null||L===void 0)&&L.duration)){b.current=((z=d?.current)===null||z===void 0?void 0:z.currentTime)||0;const he=((k=(M=d.current)===null||M===void 0?void 0:M.duration)!==null&&k!==void 0?k:0).toFixed(2),R=((U=(V=d.current)===null||V===void 0?void 0:V.currentTime)!==null&&U!==void 0?U:0).toFixed(2),F=g?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ie=(W=re.video)===null||W===void 0?void 0:W.itemId)!==null&&ie!==void 0?ie:"",contentName:(oe=(ne=re.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",playType:F,startTime:R,videoDuration:he,contentTags:JSON.stringify((pe=(q=re.video)===null||q===void 0?void 0:q.tags)!==null&&pe!==void 0?pe:[]),position:e+"",contentFormat:"video",traceInfo:(se=re.video)===null||se===void 0?void 0:se.traceInfo}}),y(!1)}},[p,n,e,g]),x=ue(()=>{u(!0)},[]),A=ue(L=>()=>{var z,M,k,V,U;if(!I)return;const W=(z=d.current)===null||z===void 0?void 0:z.paused;switch(L){case"start":if(!W)return;(M=d.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if(W)return;(k=d.current)===null||k===void 0||k.pause(),c(!0);break;default:W?(V=d.current)===null||V===void 0||V.play():(U=d.current)===null||U===void 0||U.pause(),c(!W);break}},[I]),T=ue(()=>{var L,z,M,k,V,U,W,ie,ne,oe,q,pe,se;const re=n[e],he=((z=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&z!==void 0?z:0).toFixed(2),R=((k=(M=d.current)===null||M===void 0?void 0:M.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((V=d?.current)===null||V===void 0)&&V.duration){const F=(((U=d?.current)===null||U===void 0?void 0:U.currentTime)-b.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ie=(W=re.video)===null||W===void 0?void 0:W.itemId)!==null&&ie!==void 0?ie:"",contentName:(oe=(ne=re.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",endTime:R,videoDuration:he,playDuration:F,contentTags:JSON.stringify((pe=(q=re.video)===null||q===void 0?void 0:q.tags)!==null&&pe!==void 0?pe:[]),position:e+"",contentFormat:"video",traceInfo:(se=re.video)===null||se===void 0?void 0:se.traceInfo}})}},[n,e,p]),_=ee(()=>a?.mode==="2",[a]),P=ee(()=>{var L;return a?.mode==="2"?`translateY(-${50+((L=a?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),j=ee(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||D},[D,t]),B=ue(()=>{if(!E||!d||!d.current||!E.current)return;const L=d?.current,z=E?.current,M=z.getContext("2d"),k=window?.innerWidth,V=window?.innerHeight;z.height=V,z.width=k,M?.drawImage(L,0,0,z.width,z.height),f(z.toDataURL())},[]);J(()=>{var L,z,M,k;if(d.current){if(c(!1),!d.current.src){const V=t.video.url;if(V.includes(".m3u8"))if(Pi.isSupported()){const U=new Pi;U.loadSource(V),U.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=V;else d.current.src=V;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(L=d.current)===null||L===void 0||L.addEventListener("loadedmetadata",x),(z=d.current)===null||z===void 0||z.addEventListener("canplay",x),(M=d.current)===null||M===void 0||M.addEventListener("playing",S),(k=d.current)===null||k===void 0||k.addEventListener("loadeddata",B),()=>{var V,U,W,ie;(V=d.current)===null||V===void 0||V.removeEventListener("loadedmetadata",x),(U=d.current)===null||U===void 0||U.removeEventListener("canplay",x),(W=d.current)===null||W===void 0||W.removeEventListener("playing",S),(ie=d.current)===null||ie===void 0||ie.removeEventListener("loadeddata",B)}}},[x,S,t.video,B]);const G=ee(()=>!h?.placeholder_image||I?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:h?.placeholder_image}),[I,h?.placeholder_image]);J(()=>{const L=()=>{var z,M;o===e&&(!((z=t?.video)===null||z===void 0)&&z.url)&&(!((M=d?.current)===null||M===void 0)&&M.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[o,e,t,d,A,r]);const H=ee(()=>_?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[_]);return t.video?v.createElement(v.Fragment,null,_?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Le,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),v.createElement("canvas",{ref:E,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:C}))),G):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:O}),G,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:C}))):null};var ga=ce(ha);const xi={};Object.values(Si).forEach(t=>{xi[t.extend.type]=t});const ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ya="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",wa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:s=664,containerWidth:r=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),d.length>0&&(f+=45),s-f},[e,s,d]),h=(f,O)=>{var C,S,x,A;if(!((C=f.video)===null||C===void 0)&&C.url)return v.createElement(ga,{rec:f,index:O,muted:!0,width:r,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((S=f.video)===null||S===void 0)&&S.imgUrls)return v.createElement(ma,{key:f.video.itemId,imgUrls:f.video.imgUrls,width:r,height:p,rec:f,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(f.product&&f.product&&Array.isArray(e?.productPost)&&((x=e?.productPost)===null||x===void 0?void 0:x.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((T,_)=>{var P,j,B,G,H,L,z,M;const k=xi[(P=T?.item)===null||P===void 0?void 0:P.type],V=Rt(k),U=(j=k?.extend)===null||j===void 0?void 0:j.defaulSetting;return v.createElement(V,Object.assign({key:`${O}${_}`,textStyle:Object.assign(Object.assign({},U?.textStyle),(B=T?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=T?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},U?.props,(L=T?.item)===null||L===void 0?void 0:L.props,{event:((z=T?.item)===null||z===void 0?void 0:z.event)||{},id:T?.id,rec:f,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},U?.style),(M=T?.item)===null||M===void 0?void 0:M.style),{width:r,height:p,overflow:"auto"}),index:O}))})},m=ee(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),w=(f,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(wn,{rec:f,index:O,tempMap:l,resolver:xi})):null,b=(f,O)=>{var C,S,x,A,T,_,P;return f.video?v.createElement(v.Fragment,null,((C=f.video)===null||C===void 0?void 0:C.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Sn,{nudge:n}),w(f,O),v.createElement("div",null,v.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(x=(S=f.video)===null||S===void 0?void 0:S.title)!==null&&x!==void 0?x:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(yn,{index:O,tags:(T=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&T!==void 0?T:[],itemId:(_=f?.video)===null||_===void 0?void 0:_.itemId,itemType:!((P=f.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:a}))):null},I=Oe(ya,c),u=Oe(ba,c),g=(f,O)=>{var C,S,x,A;if(!e?.isShowLike)return;let T=(C=e?.likeIconY)!==null&&C!==void 0?C:400;return T<40&&(T+=40),f.video?v.createElement(hn,{key:f.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:I,unActicveIcon:(x=e?.unlikeIcon)!==null&&x!==void 0?x:u,position:O,active:f.isCollected,recData:f,className:"clc-sxp-like-button",style:{top:T,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},y=Oe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),E=Oe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),D=(f,O)=>{var C,S,x,A;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},m,v.createElement(Tn,{tagList:d}),v.createElement(gn,{style:{position:"absolute",right:(C=e?.muteIconX)!==null&&C!==void 0?C:0,visibility:!((x=(S=t?.[O])===null||S===void 0?void 0:S.video)===null||x===void 0)&&x.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:y,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),h(f,O),b(f,O),g(f,O))};return v.createElement("div",{className:K({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((f,O)=>D(f,O)))};var Sa=ce(wa);const Ta=()=>{const{schema:t,resolver:e,popup:i}=qe(),{setPopupDetailData:n,popupDetailData:l,bffEventReport:o}=me(),{productView:a}=Re(),[s,r]=$(),c=Z(null);J(()=>{const h=()=>{c.current=new Date};return h(),window.addEventListener("pageshow",h),()=>{window.removeEventListener("pageshow",h)}},[]),J(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,r(i))},[i]);const d=()=>{var h,m,w,b;if(!i||i?.id===""||!s||new Date-c.current<((h=i?.duration)!==null&&h!==void 0?h:0))return;r(Object.assign(Object.assign({},i),{id:""}));const I=l,u=(m=I?.video)===null||m===void 0?void 0:m.bindProduct,g=(b=(w=I?.video)===null||w===void 0?void 0:w.bindProduct)===null||b===void 0?void 0:b.bindCta;u&&g&&a(I,u,g,c.current,l?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var h,m,w;return(w=(m=(h=t?.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||m===void 0?void 0:m.popupList)===null||w===void 0?void 0:w.map((b,I)=>{var u,g,y,E,D,f,O,C,S,x,A,T,_,P;if(b?.id===i?.id){const j=e[(u=b?.item)===null||u===void 0?void 0:u.type],B=Rt(j),G=((E=(y=(g=b?.item)===null||g===void 0?void 0:g.event)===null||y===void 0?void 0:y.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",H=((O=(f=(D=b?.item)===null||D===void 0?void 0:D.event)===null||f===void 0?void 0:f.onClick)===null||O===void 0?void 0:O.linkType)==="popup",L=(C=j?.extend)===null||C===void 0?void 0:C.defaulSetting;return v.createElement(B,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},L?.style),(S=b?.item)===null||S===void 0?void 0:S.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},L?.textStyle),(x=b?.item)===null||x===void 0?void 0:x.textStyle),bindDatas:(T=(A=b?.item)===null||A===void 0?void 0:A.bindDatas)!==null&&T!==void 0?T:[]},L?.props,(_=b?.item)===null||_===void 0?void 0:_.props,{event:((P=b?.item)===null||P===void 0?void 0:P.event)||{},schema:t,id:b?.id,isExternalLink:G,isPopup:H,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Bt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Ei={};Object.values(Si).forEach(t=>{Ei[t.extend.type]=t});const xa=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:o,licenseUrl:a,enabledMetaConversionApi:s})=>{var r,c,d,p,h,m;const w=ee(()=>{var b;return location?.search?(b=location?.search)===null||b===void 0?void 0:b.replace("?",""):""},[]);return v.createElement(Gi,{resolver:Ei,enableDataSource:!1,schema:t?.data,utmVal:w},v.createElement(Ri,{utmVal:w,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(m=(h=t?.sxp_parameter)===null||h===void 0?void 0:h.hash_tag_size)!==null&&m!==void 0?m:n,loadingImage:l,appDomain:o,enabledMetaConversionApi:s,render:({rtcList:b,tagList:I})=>{var u;return v.createElement(v.Fragment,null,v.createElement(xn,Object.assign({},(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf,{tagList:I,data:b,resolver:Ei,licenseUrl:a})),v.createElement(Ta,null))}}))};var Ea=ce(xa);const En=yt({}),Ia=({children:t,data:e})=>{var i,n,l,o,a,s;const[r,c]=$(!1);return v.createElement(En.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.personalized_recommend,placeholderImage:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:r,setOpenHashtag:c}},t)};function Ca(){return bt(En)}export{Sa as DiyPortalPreview,Ia as EditorDataProvider,Bt as Modal,Ri as SxpDataSourceProvider,Ea as SxpPageCore,xn as SxpPageRender,qn as core,zn as default,ke as defaultSetting,Si as materials,Ca as useEditorDataProvider};
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:f?.info})))},oe=()=>{var q;return v.createElement(v.Fragment,null,(m||M?.link)&&v.createElement("button",{onClick:U,className:"pb-commondity-btn",style:O},(q=k?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))};return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:K(Object.assign({},p))},S),M&&((a=M?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(st,{height:ie,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:D?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:D?.delay*1e3}},(s=M?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement($e,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ie,height:ie}},v.createElement(Be,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${D?.translateY})%`},src:q}))))),!(!((r=M?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=E?.bottom_image)!==null&&c!==void 0?c:I,alt:""})),v.createElement("div",{className:"pb-commondity-content"},ne({isPost:w}))),oe(),v.createElement(Bt,{visible:H,onClose:()=>L(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},ne({isPost:!1})),oe()))};var Vl=ce(zl);const Rl=Me(Vl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:to},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],pi,vi,Hl=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Oe?.fontOptions,initialValue:(vi=(pi=Oe?.fontOptions)===null||pi===void 0?void 0:pi[0])===null||vi===void 0?void 0:vi.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],vn="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 Ul=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:l,src:o}=t;switch(i){case 2:return n||null;case 3:return o||null;default:return l&&l.length>0?(e=l[0])===null||e===void 0?void 0:e.url:null}},Gl=t=>{var{content:e,btnText:i,style:n,icon:l,isPopup:o,isExternalLink:a,onClose:s,onClick:r,submitButtonStyle:c}=t,d=Ie(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=me(),{jumpToWeb:b}=Fe(),h=typeof l=="string"?l:Ul(l),y=()=>{var m,I,u;if(a){const w=p,g=(m=w?.video)===null||m===void 0?void 0:m.bindProduct,T=(u=(I=w?.video)===null||I===void 0?void 0:I.bindProduct)===null||u===void 0?void 0:u.bindCta,D=p?.index;b(w,g,T,D)}o||s?.(),r?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${K(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:h??vn})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",style:c,onClick:y},i))};var $l=ce(Gl);const Wl=Me($l,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Hl,bindableProps:[],interactionRender:Fl},defaulSetting:{props:{icon:vn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var fi,mi,Yl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-100,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(fi=ae?.[0])===null||fi===void 0?void 0:fi.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:ae,initialValue:(mi=ae?.[0])===null||mi===void 0?void 0:mi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ql=t=>{var e,i,n,l,o,a,s,r,c,d,p,b,{style:h,isDefault:y,rec:m,viewTime:I,isPost:u,bottom_image:w,tipText:g,swiper:T,commodityStyles:D,buttonStyle:f,index:O}=t,_=Ie(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:S}=me(),{popupDetailData:E,bffEventReport:A,isPreview:x,swiperRef:C,bffFbReport:P}=me(),{jumpToWeb:j,productView:B}=Fe(),G=Z(null);Z(null),Z(null),$(!1),$(!1),$(!0);const[H,L]=$(!1),V=Z(null),M=u?m:E,k=u?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,z=u?(i=M?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=M?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,U=u?O:E?.index,W=()=>{k?.link&&(j(M,k,z,U),u||B(M,k,z,I||V.current,U),window.location.href=window.getJointUtmLink(k.link))};J(()=>{u||P?.({eventName:"ProductView"})},[u,P]),J(()=>{const q=()=>{V.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const ie=ee(()=>{var q,pe,se,re,he;return k?.currency&&k?.price?`${(se=(pe=(q=k?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||pe===void 0?void 0:pe.toUpperCase())!==null&&se!==void 0?se:""}${(he=(re=k?.price)===null||re===void 0?void 0:re.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"\xA3102,300.00"},[k?.price,k?.currency]),ne=x?375:(o=h?.width)!==null&&o!==void 0?o:window.innerWidth,oe=({isPost:q})=>v.createElement("div",{hidden:!!k&&(!k?.info||k?.info==="")},v.createElement(zt,{isPost:q,onClick:()=>L(!0),className:"pb-commondityDiroNew-info",style:D?.info,foldText:g?.foldText,unfoldText:g?.unfoldText,text:k?.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 v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:G,className:K(Object.assign({},h))},_),k&&((a=k?.homePage)===null||a===void 0?void 0:a.length)>0&&v.createElement(st,{height:ne,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:T?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:T?.delay*1e3}},(s=k?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement($e,{key:q},v.createElement("div",{style:{overflow:"hidden",width:ne,height:ne}},v.createElement(Be,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${T?.translateY})%`},src:q}))))),!(!((r=k?.homePage)===null||r===void 0)&&r.length)&&v.createElement("div",{className:K({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:K({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=S?.bottom_image)!==null&&c!==void 0?c:w,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:D?.title},(d=k?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!k&&(!k?.collection||k?.collection===""),style:D?.collection},k?.collection||"Black Macrocannage Calfskin")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.price,style:D?.price},ie),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.taxInfo,style:D?.taxInfo},(p=k?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!k||k?.link)&&v.createElement("button",{onClick:W,className:"pb-commondityDiroNew-btn",style:f},(b=z?.enTitle)!==null&&b!==void 0?b:"Shop now"),oe({isPost:u}))),v.createElement(Bt,{visible:H,onClose:()=>L(!1)},oe({isPost:!1})))};var Xl=ce(ql);const Jl=Me(Xl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Yl},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 hi,gi,ze=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-100,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ae,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(hi=ae?.[0])===null||hi===void 0?void 0:hi.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:ae,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(gi=ae?.[0])===null||gi===void 0?void 0:gi.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 fn(t){const e=Z(null),[i,n]=$(!1);return J(()=>{e.current=new IntersectionObserver(([l])=>{n(l.isIntersecting)})},[]),J(()=>{var l;return t?.current&&((l=e?.current)===null||l===void 0||l.observe(t?.current)),()=>{var o;(o=e?.current)===null||o===void 0||o.disconnect()}},[t]),i}const Ql=t=>{var{rec:e,children:i,className:n,onClick:l,style:o,isExternalLink:a=!1,index:s}=t;Ie(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=Z(null),c=fn(r),{popup:d}=Xe(),{setPopupDetailData:p,ctaEvent:b}=me(),{jumpToWeb:h}=Fe();J(()=>{var m,I;if(c&&r?.current){const u=(I=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&I!==void 0?I:e?.video;b?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,r,e,b,s]);const y=It(()=>{var m,I,u,w,g,T,D,f;const O=(I=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&I!==void 0?I:e?.video;if(b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),a){if(!((w=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||w===void 0)&&w.link){const _=(g=e?.video)===null||g===void 0?void 0:g.bindCta,S=(T=e?.video)===null||T===void 0?void 0:T.bindProduct;h(e,S,_,s),window.location.href=window.getJointUtmLink((f=(D=e?.video)===null||D===void 0?void 0:D.bindProduct)===null||f===void 0?void 0:f.link)}}else l?.()},d?.duration);return v.createElement("div",{ref:r,className:n,style:o,onClick:y},i)};var Tt=ce(Ql),Zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const es=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:I,translateY:u=0}=t,w=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=me(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(o=(n=(i=h?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(l=T?.homePage)===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&a!==void 0?a:y;return v.createElement(Tt,Object.assign({isExternalLink:I,rec:h,className:K(Object.assign({},p)),style:{display:"flex"}},w),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Zl["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=T?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop Now")))};var ts=ce(es);const is=Me(ts,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Kl,bindableProps:[],settingRender:ze},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 ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const os=t=>{var e,i,n,l,{content:o,style:a,bgImg:s,recData:r,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,b=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:h}=me(),y=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(Tt,Object.assign({isExternalLink:p,rec:r,className:K(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},b),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:h?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),v.createElement("div",{className:K(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(l=y?.enTitle)!==null&&l!==void 0?l:"Product Name"))};var ls=ce(os);const ss=Me(ls,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ns,settingRender:ze?.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 as={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const rs=t=>{var e,i,n,l,o,{content:a,style:s,bgImg:r,recData:c,bottom_image:d,ctaTempStyles:p,index:b}=t,h=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:m}=me(),{jumpToWeb:I}=Fe(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,w=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,g=()=>{u?.link&&(I(c,w,u,b),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(Tt,Object.assign({index:b,rec:c,className:K(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},h,{onClick:g}),v.createElement("div",{className:K(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(l=(n=u?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&l!==void 0?l:d})),v.createElement("div",{className:K({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:as["tow-line-ellipsis"],style:p?.ctaTitle},(o=u?.enTitle)!==null&&o!==void 0?o:"Product Name")))};var ds=ce(rs);const cs=Me(ds,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:ze?.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 us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ps={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const vs=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:I,translateY:u=0}=t,w=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=me(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(o=(n=(i=h?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(l=T?.homePage)===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&a!==void 0?a:y;return v.createElement(Tt,Object.assign({isExternalLink:I,rec:h,className:K(Object.assign({},p)),style:{display:"flex"}},w),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ps["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=T?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop Now")))};var fs=ce(vs);const ms=Me(fs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:us,settingRender:ze,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 hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const bs=t=>{var e,i,n,l,o,a,s,r,c,{content:d,style:p,bgImg:b,recData:h,bottom_image:y,ctaTempStyles:m,isExternalLink:I,translateY:u=0}=t,w=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=me(),T=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(o=(n=(i=h?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(l=T?.homePage)===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&a!==void 0?a:y;return v.createElement(Tt,Object.assign({isExternalLink:I,rec:h,className:K(Object.assign({},p)),style:{display:"flex"}},w),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},v.createElement(Be,{className:K({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:gs["tow-line-ellipsis"],style:m?.title},(s=T?.title)!==null&&s!==void 0?s:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=T?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop now")))};var ys=ce(bs);const ws=Me(ys,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:hs,bindableProps:[],settingRender:ze},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 Ss=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ts=({children:t,isPadding:e=!0})=>v.createElement(st,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[vo,po,uo],style:{padding:e?"0 12px 0 20px":0}},t);var Vt=ce(Ts);const xs=({src:t,rec:e,item:i,index:n,style:l})=>{const o=Z(null),a=fn(o),{ctaEvent:s}=me();return J(()=>{a&&t&&o?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[a,t,o,e,s,i,n]),v.createElement("div",{ref:o,hidden:!t,className:K({width:"100%",height:"100%"})},v.createElement(Be,{className:K(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},l)),src:t}))};var bi=ce(xs),Es={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Is=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,h=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:I}=me(),{popup:u}=Xe(),{jumpToWeb:w}=Fe(),[g,T]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),m?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(w(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},g?.map(f=>{var O,_,S,E,A,x,C;return v.createElement($e,Object.assign({hidden:a&&!f?.bindCta,key:f?.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:I?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:f,index:p,style:{transform:`translateY(${b}%)`}})),v.createElement("div",{className:K({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Es["two-line-ellipsis"],style:c?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var Cs=ce(Is);const _s=Me(Cs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ss,bindableProps:[],settingRender:ze},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 Ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ks={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const As=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,h=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=me(),{ctaEvent:m,setPopupDetailData:I}=me(),{popup:u}=Xe(),[w,g]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:T}=Fe(),D=It(f=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),I?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(T(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},w?.map(f=>{var O,_,S,E,A,x,C;return v.createElement($e,Object.assign({hidden:a&&!f?.bindCta,key:f.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:y?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:f,index:p,style:{transform:`translateY(${b}%)`}})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ks["two-line-ellipsis"],style:c?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:K(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var Ps=ce(As);const Os=Me(Ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Ds,settingRender:ze,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 Ms=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ls={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ns=t=>{var e,i,{content:n,style:l,bgImg:o,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,h=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:I}=me(),{popup:u}=Xe(),{jumpToWeb:w}=Fe(),[g,T]=$((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,f,p),m?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:f}),index:p})),d?f?.link&&(w(a,f,f.bindCta,p),window.location.href=window.getJointUtmLink(f.link)):s?.()},u?.duration);return v.createElement(Vt,{isPadding:!!a},g?.map(f=>{var O,_,S,E,A,x,C;return v.createElement($e,Object.assign({hidden:a&&!f?.bindCta,key:f?.itemId,className:K(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>D(f)}),v.createElement("div",{className:K(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(bi,{src:(E=(S=(O=f?.cover)!==null&&O!==void 0?O:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:I?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:f,index:p,style:{transform:`translateY(${b}%)`}})),v.createElement("div",{className:K({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Ls["tow-line-ellipsis"],style:c?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:K(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop now")))}))};var js=ce(Ns);const Bs=Me(js,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Ms,bindableProps:[],settingRender:ze},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 yi,wi,zs=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ae,name:["fontFamily"],initialValue:(yi=ae?.[0])===null||yi===void 0?void 0:yi.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:ae,initialValue:(wi=ae?.[0])===null||wi===void 0?void 0:wi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Vs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var l;const{waterFallData:o,setOpenHashtag:a}=me();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(l=o?.hashTag)!==null&&l!==void 0?l:"\u6807\u9898"}`))};var mn=ce(Vs),Rs=null,Fs="3d989325-e7d6-4a74-8a97-98febdf5b567",Hs=null,Us=null,Gs={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"},$s=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Ws="Handbags",Ys={productUserId:Rs,requestId:Fs,channel:Hs,rtc:Us,tag:Gs,recList:$s,hashTag:Ws};const qs=t=>{const{rec:e,index:i,list:n,reportTagsView:l,textStyles:o,space:a}=t,{swiperRef:s,setRtcList:r,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=me(),[b,h]=$(!1),y=Z(null),m=Z(null),I=Z(null),u=Z(null),[w,g]=$(""),T=ee(()=>{var S,E,A,x,C,P,j,B,G,H;return!((S=e?.video)===null||S===void 0)&&S.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((x=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||x===void 0)&&x.length?(P=(C=e?.video)===null||C===void 0?void 0:C.imgUrls)===null||P===void 0?void 0:P[0]:!((B=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||B===void 0)&&B.length?(H=(G=e?.product)===null||G===void 0?void 0:G.homePage)===null||H===void 0?void 0:H[0]:p?.bottom_image||""},[e,p?.bottom_image]),D=ee(()=>{var S,E;return((S=e?.product)===null||S===void 0?void 0:S.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),f=ee(()=>{var S,E,A,x,C,P,j,B,G;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(P=(C=(x=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||x===void 0?void 0:x.split("-")[1])===null||C===void 0?void 0:C.toUpperCase())!==null&&P!==void 0?P:""}${(G=(B=(j=e?.product)===null||j===void 0?void 0:j.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&G!==void 0?G:""}`:null},[e]);J(()=>{const S=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(m.current===null||T==="")return;b&&w?y.current.setSrc(w):y.current.setSrc(T),S.unobserve(m.current)}})});return S.observe(m.current),()=>{S.disconnect()}},[T,b,w]);const O=(S,E,A)=>{const x=S/E;return A/x};J(()=>{const S=I?.current;S===null||T===""||!b||(S.src=T,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const E=u?.current;if(!E)return;const A=E.getContext("2d"),x=window?.innerWidth/2,C=O(S.videoWidth,S.videoHeight,x);E.height=C,E.width=x,A?.drawImage(S,0,0,E.width,E.height),g(E.toDataURL()),S.remove(),E.remove()})},[T,b]);const _=()=>{l(),r?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:m,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:a}},v.createElement("div",{className:"list-content-listItem-picture"},b&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Be,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:o?.title},D&&D),v.createElement("div",{className:"list-content-listItem-info-price",style:o?.price,hidden:!f},f)))};function Xs(t){var e,i,n,l,o,a,s,r,c,d,p,b,{reportTagsView:h}=t,y=Ie(t,["reportTagsView"]);const{waterFallData:m,getRecommendVideos:I,hashTagSize:u,loadingImage:w,isOpenHashTag:g}=me(),[T,D]=$(),[f,O]=$(),[_,S]=$(!1),E=Z(null),[A,x]=$(!1);ue(()=>{A||(x(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(P=>{var j;D(T?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),x(!1)}))},[m,I,T,A]),J(()=>{var P,j;if(S(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:u,maxSize:u}).then(B=>{var G,H;O(B),D((H=(G=B?.recList)===null||G===void 0?void 0:G.filter(L=>L?.video!==null||L?.product!==null))!==null&&H!==void 0?H:[]),S(!1)}),g){const B=Ys;O(B),D((j=(P=B?.recList)===null||P===void 0?void 0:P.filter(G=>G?.video!==null||G?.product!==null))!==null&&j!==void 0?j:[]),S(!1)}},[m,I,u,g]);const C=()=>{var P,j;!((P=f?.tag)===null||P===void 0)&&P.link&&(h(),window.location.href=(j=f?.tag)===null||j===void 0?void 0:j.link)};return v.createElement(v.Fragment,null,_?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:E},v.createElement("div",{className:"list-info",style:(e=y?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=f?.tag)===null||i===void 0?void 0:i.info),v.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:C,style:Object.assign(Object.assign({},(l=y?.textStyles)===null||l===void 0?void 0:l.hashTagLink),{marginBottom:y?.space})},((o=f?.tag)===null||o===void 0?void 0:o.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},T?.map((P,j)=>v.createElement(qs,Object.assign({key:j,index:j,rec:P,list:T,reportTagsView:h},y)))),v.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=f?.tag)===null||a===void 0)&&a.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((r=y?.buttonBgStyle)===null||r===void 0?void 0:r.height)||((c=y?.buttonStyle)===null||c===void 0?void 0:c.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((d=f?.tag)===null||d===void 0)&&d.link),style:y?.buttonBgStyle}),v.createElement("div",{hidden:!(!((p=f?.tag)===null||p===void 0)&&p.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},y?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{className:"list-btn",style:y?.buttonStyle,onClick:C},((b=f?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection"))))}var Js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Ks=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:l,swiperRef:o,setWaterFallData:a,cacheRtcList:s,setRtcList:r,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:b,isFromHashtag:h,bffEventReport:y}=me();Z(null);const m=Z(null),[I,u]=$();J(()=>{const f=document.getElementById("sxp-render"),O=document.getElementById("water-fall");O?m.current=O:(m.current=document.createElement("div"),m.current.setAttribute("id","water-fall"),f?.appendChild(m.current))},[]);const w=()=>{const f=Ci(d,s);!f&&s&&s?.length&&r?.(s),D(),a?.(void 0),b?.(!1),setTimeout(()=>{var O,_;f||(_=(O=o?.current)===null||O===void 0?void 0:O.swiper)===null||_===void 0||_.slideTo(c,0,!1),n?.(!1)},0)},[g,T]=$();J(()=>{i&&T(i)},[i]);const D=ue(()=>{var f,O,_,S,E,A;const x=g?.rec;if(!x)return;let C="";h?C="hashTagPage":!((f=x?.video)===null||f===void 0)&&f.url?C="videoPage":!((_=(O=x?.video)===null||O===void 0?void 0:O.imgUrls)===null||_===void 0)&&_.length&&(C="imagePage"),y?.({eventInfo:{contentId:(S=x?.video)===null||S===void 0?void 0:S.itemId,position:c+"",contentTags:JSON.stringify((E=x?.video)===null||E===void 0?void 0:E.tags),traceInfo:(A=x?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([g?.hashTag]),fromKName:C,fromKPage:location?.href,timeOnSite:Math.floor((new Date-I)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,y,I,h,c]);return J(()=>{l&&u(new Date)},[l]),J(()=>{const f=()=>{u(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),m.current?Ai.createPortal(v.createElement("div",{className:"waterfall",style:{display:l?"block":"none"}},v.createElement(mn,{icon:Js,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),v.createElement(Xs,Object.assign({reportTagsView:D},t))),m.current):null};var hn=ce(Ks);const Qs=t=>v.createElement(hn,Object.assign({},t));var Zs=ce(Qs);const ea=Me(Zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:zs,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 Si=Object.freeze({__proto__:null,Appoint:ss,AppointForm:eo,Commodity:is,CommodityDetail:Rl,CommodityDetailDiroNew:Jl,CommodityDiro:ms,CommodityDiroNew:ws,HashTag:ea,Link:cs,MultiCommodity:Os,MultiCommodityDiro:_s,MultiCommodityDiroNew:Bs,Prompt:Wl});const ta="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ia="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",na=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:l,position:o}=t,a=Ie(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:r,bffEventReport:c}=me(),[d,p]=$(e),b=Ne(ia),h=Ne(ta),y=Ht(()=>ke(void 0,void 0,void 0,function*(){var m,I,u,w,g,T,D,f,O,_,S,E,A,x,C,P,j,B,G,H;if(d){p(!1);const L=(u=yield r?.({videoItemId:(I=(m=l.video)===null||m===void 0?void 0:m.itemId)!==null&&I!==void 0?I:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(g=(w=l.video)===null||w===void 0?void 0:w.itemId)!==null&&g!==void 0?g:"",contentName:(D=(T=l.video)===null||T===void 0?void 0:T.title)!==null&&D!==void 0?D:"",contentTags:JSON.stringify((O=(f=l.video)===null||f===void 0?void 0:f.tags)!==null&&O!==void 0?O:[]),position:o+"",contentFormat:!((_=l.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(S=l.video)===null||S===void 0?void 0:S.traceInfo}}),L||p(!0)}else{p(!0);const L=(E=yield s?.({content:JSON.stringify(l)}))!==null&&E!==void 0?E:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(A=l.video)===null||A===void 0?void 0:A.itemId)!==null&&x!==void 0?x:"",contentName:(P=(C=l.video)===null||C===void 0?void 0:C.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((B=(j=l.video)===null||j===void 0?void 0:j.tags)!==null&&B!==void 0?B:[]),position:o+"",contentFormat:!((G=l.video)===null||G===void 0)&&G.url?"video":"image",traceInfo:(H=l.video)===null||H===void 0?void 0:H.traceInfo}}),L||p(!1)}}),200);return v.createElement("button",Object.assign({},a,{onClick:y}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||b:n||h,alt:"icon"}))};var gn=ce(na);const oa=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,videoRef:s})=>{const[r,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:b,openHashtag:h,bffFbReport:y}=me(),m=Z(0),[I,u]=$(!1),[w,g]=$(!0),{isActive:T}=pn(),D=Z(null),[f,O]=$(""),_=`pb-cache-video-${e}`,S=Z(null),E=ee(()=>a?.mode==="2",[a]),A=ee(()=>{var U;return a?.mode==="2"?`translateY(-${50+((U=a?.offsetTop)!==null&&U!==void 0?U:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),x=ee(()=>{var U;return((U=t?.video)===null||U===void 0?void 0:U.cover)||f},[f,t]),C=ee(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),P=ee(()=>a?.bgWay==="1",[a]),j=ee(()=>P&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,P]);J(()=>{s&&s?.muted(l)},[l,s]);const B=ue(()=>{s&&s?.play()},[s]),G=Ne("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),H=ue(()=>{var U,W,ie,ne,oe,q,pe,se,re;if(!s)return;u(!0),c(!1);const he=n[e];if(he&&s?.duration()){m.current=s?.currentTime()||0;const R=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2),Q=w?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ne=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(oe=he.video)===null||oe===void 0?void 0:oe.title)!==null&&q!==void 0?q:"",playType:Q,startTime:F,videoDuration:R,contentTags:JSON.stringify((se=(pe=he.video)===null||pe===void 0?void 0:pe.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(re=he.video)===null||re===void 0?void 0:re.traceInfo}}),g(!1)}},[d,n,e,w,s]),L=ue(()=>{var U;if(!s||f||!E)return;const W=document.getElementById("player-container-id_html5_api");if(!W||(W.style.objectFit="contain",!((U=t?.video)===null||U===void 0)&&U.cover||!D||!D.current||P))return;const ie=()=>{const ne=W,oe=D?.current,q=oe.getContext("2d"),pe=window?.innerWidth,se=window?.innerHeight;oe.height=se,oe.width=pe,q?.drawImage(ne,0,0,oe.width,oe.height),O(oe.toDataURL())};ie(),setTimeout(()=>{ie()},500)},[s,P,t,f,E]),V=ue(()=>{s&&L()},[s,L]);ue(()=>{u(!0)},[]);const M=ue(U=>()=>{if(!s||!I)return;const W=s?.paused();switch(U){case"start":if(!W)return;s?.play(),c(!1);break;case"pause":if(W)return;s?.pause(),c(!0);break;default:W?s?.play():s?.pause(),c(!W);break}},[I,s]),k=ue(()=>{var U,W,ie,ne,oe,q,pe,se,re;if(!s||o!==e)return;const he=n[e],R=((U=s?.duration())!==null&&U!==void 0?U:0).toFixed(2),F=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2);if(s?.duration()){const Q=(s?.currentTime()-m.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ne=(ie=he.video)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:"",contentName:(q=(oe=he.video)===null||oe===void 0?void 0:oe.title)!==null&&q!==void 0?q:"",endTime:F,videoDuration:R,playDuration:Q,contentTags:JSON.stringify((se=(pe=he.video)===null||pe===void 0?void 0:pe.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(re=he.video)===null||re===void 0?void 0:re.traceInfo}})}},[n,e,d,s,o]);J(()=>{if(!T||!s)return;const U=t.video.url;if(!U)return;c(!1);const W=document.querySelector(`#${_}`),ie=document.querySelector("#player-container-id"),ne=document.querySelector("#player-container-id-copy");if(!(!ie&&!ne))return W?.appendChild(ie||ne),s?.src(U),s?.on("loadedmetadata",V),s?.on("loadeddata",L),s?.on("playing",H),s?.on("pause",k),s?.on("ended",B),()=>{ne?.appendChild(ie),s?.off("loadedmetadata",V),s?.off("loadeddata",L),s?.off("playing",H),s?.off("pause",k),s?.off("ended",B)}},[T,_,t,s]),J(()=>{!s||!I||(T?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[T,I,s]),J(()=>{if(!T||!s)return;!s?.paused()&&h?s?.pause():h||s?.play()},[h,T,s]),J(()=>{if(!T)return;const U=()=>{M("start")(),y?.({eventName:"ViewContent"})},W=M("pause");return Je.on(Re.PAGE_DID_SHOW,U),Je.on(Re.PAGE_DID_HIDE,W),()=>{Je.off(Re.PAGE_DID_SHOW,U),Je.off(Re.PAGE_DID_HIDE,W)}},[M,T]);const z=ee(()=>!p?.placeholder_image||I?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[I,p?.placeholder_image]);return J(()=>{if(!s)return;const U=()=>{var W;o===e&&(!((W=t?.video)===null||W===void 0)&&W.url)&&s&&!r&&M("pause")()};return window.addEventListener("beforeunload",U),()=>{window.removeEventListener("beforeunload",U)}},[o,e,t,s,M,r]),t.video?v.createElement(v.Fragment,null,E?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:M(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&v.createElement(Be,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},C)}),v.createElement("canvas",{ref:D,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:G}))),z):v.createElement("div",{className:"video-container",key:t.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:M()},v.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),z,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:G}))):null};var la=ce(oa);const sa=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[o,a]=$(t),s=r=>{r.stopPropagation();const c=!o;a(c),n?.(c)};return v.createElement("button",{style:l,className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",src:o?e:i}))};var bn=ce(sa);const aa=({imageUrl:t,style:e})=>{const[i,n]=$(!0);Xe(),J(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const l=Ne("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${o}`,style:e},v.createElement("img",{src:t||l}))},yn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,l=ee(()=>n?.mode==="2",[n]),o=ee(()=>{var c;return n?.mode==="2"?`translateY(-${50+((c=n?.offsetTop)!==null&&c!==void 0?c:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),a=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),s=ee(()=>n?.bgWay==="1",[n]),r=ee(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},r)},(!l||!s)&&v.createElement(Be,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),l&&v.createElement(Be,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:o,left:0,right:0}}))},ra=({imgUrls:t,width:e,height:i,rec:n,index:l,onReportViewImageEnd:o,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var r;const c=Z(),{isActive:d}=pn(),{sxpParameter:p,openHashtag:b}=me(),[h,y]=$(!1);return J(()=>{h&&d?(c?.current&&c.current.swiper.autoplay.start(),b?o(n):a(l)):(y(!0),c?.current&&c.current.swiper.autoplay.stop())},[n,d,o,b,l,a,h]),v.createElement(st,{ref:c,defaultValue:0,direction:"horizontal",modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((r=s?.delay)!==null&&r!==void 0?r:3)*1e3}},t?.map(m=>v.createElement($e,{key:m},v.createElement(yn,{src:m,height:i,imgUrlsPostConfig:s}))))};var da=ce(ra);const ca=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:o})=>{const[a,s]=$(!1),{setWaterFallData:r,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:b}=me(),h=y=>{p?b?.(!0):d?.(n),r?.(i?{hashTag:y,itemId:e,itemType:i,rec:l}:{hashTag:y,rec:l}),c?.(!0)};return ee(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Vt,null,t?.map((y,m)=>v.createElement($e,{key:m,hidden:a?!1:m>=6,className:"clc-sxp-bottom-hashtag-item",style:o,onClick:()=>h(y)},`#${y}`))))};var wn=ce(ca),ua="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 Rt(t){return ce(function(e){const{$store:i}=Rn(),n=o=>{let a=o;const s=o.match(/{{.*?}}/g);return s?.length&&s.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=_i(i,d);return a=a.replace(r,p),p}})}),a},l=ee(()=>{var o,a,s;const{bindDatas:r}=e,c=Ie(e,["bindDatas"]);if((o=r?.forEach)===null||o===void 0||o.call(r,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:b}=d;b.replace(/{{\s*([\w.]+)\s*}}/g,(h,y)=>{var m,I;if(y){const u=(I=(m=_i(i,y))!==null&&m!==void 0?m:e[p])!==null&&I!==void 0?I:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=gt(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},l,l.eventMap))})}const pa=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:l}=Xe(),o=ee(()=>{var a,s,r,c,d,p,b,h,y,m,I,u,w,g,T,D,f,O,_,S,E,A,x,C,P,j,B,G,H,L,V;if(!t?.video)return null;let M=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?M="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?M="\u5546\u54C1CTA":M=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const k=i?.[M];if(((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((h=k?.item)===null||h===void 0?void 0:h.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((m=k?.item)===null||m===void 0?void 0:m.type)==="CommodityDiroNew"&&!(!((I=t?.video)===null||I===void 0)&&I.bindProduct)||((u=k?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((g=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||g===void 0)&&g.length)||((T=k?.item)===null||T===void 0?void 0:T.type)==="MultiCommodityDiro"&&!(!((f=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||f===void 0)&&f.length)||((O=k?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((S=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||S===void 0)&&S.length))return null;if(k&&n){const z=n[(E=k?.item)===null||E===void 0?void 0:E.type],U=Rt(z),W=(A=z?.extend)===null||A===void 0?void 0:A.defaulSetting,ie=((P=(C=(x=k?.item)===null||x===void 0?void 0:x.event)===null||C===void 0?void 0:C.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return v.createElement(U,Object.assign({style:Object.assign(Object.assign(Object.assign({},W?.style),(j=k?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},W?.textStyle),(B=k?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=k?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},W?.props,(L=k?.item)===null||L===void 0?void 0:L.props,{event:((V=k?.item)===null||V===void 0?void 0:V.event)||{},schema:l,id:k?.id,key:k?.id,recData:t,isExternalLink:ie,index:e}))}else return null},[t,n,i,l]);return v.createElement(v.Fragment,null,o)};var Sn=ce(pa);const Tn=({nudge:t})=>{var e,i,n,l,o,a,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(o=(l=t?.size)===null||l===void 0?void 0:l.height)!==null&&o!==void 0?o:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Ti="FOR U",va=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=$(Ti),{getRecommendVideos:l,setRtcList:o,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:r,swiperRef:c,waterFallData:d}=me(),p=ee(()=>[Ti,...t],[t]),b=h=>()=>{if(h===i)return;let y;h!==Ti&&(y=h),r?.(!0),l?.({themeTag:y}).then(m=>{var I,u,w,g;Je.emit(Re.CHANGE_THEME_TAG,y),o?.((I=m?.recList)!==null&&I!==void 0?I:[]),a?.((u=m?.recList)!==null&&u!==void 0?u:[]),e?.(0),s?.(0),(g=(w=c?.current)===null||w===void 0?void 0:w.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{r?.(!1)}),n(h)};return d||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},p.map(h=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${h===i?"clc-sxp-tagbar-list-item-active":""}`,key:h,onClick:b(h)},h))))};var xn=ce(va);const En=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:l,resolver:o,data:a=[],ctaType:s,tipText:r,nudge:c,_schema:d,hashTagStyle:p,tagList:b=[],licenseUrl:h})=>{var y,m,I,u,w,g,T,D,f,O;const{schema:_}=Xe(),[S,E]=$(0),A=Z(0),[x,C]=$(!1),[P,j]=$(!0),B=Z(),G=Z(),[H,L]=$(!1),[V,M]=$(!1),{loadVideos:k,bffEventReport:z,loading:U,setPopupDetailData:W,ctaEvent:ie,swiperRef:ne,waterFallData:oe,setOpenHashtag:q,appDomain:pe,openHashtag:se,loadingImage:re,isFromHashtag:he,popupDetailData:R,bffFbReport:F}=me(),[Q,Se]=$(null),ye=Z(),{productView:Ee}=Fe(),ge=ee(()=>a.length>0&&!U&&Gn(),[a,U]),Te=ue(()=>{if(a.length<=0)return;We();const N=location.search.slice(1),te=ki.parse(N.replace(/\+/g,"%2B"));for(const le in te)te[le]=te[le].replace(/%2B/g,"+");const Y=le=>{var de;return(de=te[le])!==null&&de!==void 0?de:""};z?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:Y("utm_source"),utmMedium:Y("utm_medium"),utmCampaign:Y("utm_campaign"),utmId:Y("utm_id"),utmContent:Y("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),F?.({eventName:"PageView"}),C(!0)},[z,a.length,F]),We=()=>{B.current=new Date,G.current=new Date,Hn()},Qe=Z();J(()=>{if(!Qe.current&&!Q){Qe.current=!0;const N=TCPlayer("player-container-id",{licenseUrl:h,controls:!1,autoplay:!1,loop:!1,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0});N?.ready(()=>{Se(N)})}},[Q,h]),J(()=>{x||Te()},[Te,x]),J(()=>{var N;const te=a?.findIndex(Y=>{var le,de,ve,X,fe,be,_e,De,we;return s==="\u591A\u5546\u54C1CTA"?((le=Y?.video)===null||le===void 0?void 0:le.bindProducts)&&((ve=(de=Y?.video)===null||de===void 0?void 0:de.bindProducts)===null||ve===void 0?void 0:ve.length)>0:s==="\u5546\u54C1CTA"?(X=Y?.video)===null||X===void 0?void 0:X.bindProduct:((be=(fe=Y?.video)===null||fe===void 0?void 0:fe.bindCta)===null||be===void 0?void 0:be.itemId)===s&&(((_e=Y?.video)===null||_e===void 0?void 0:_e.url)||((we=(De=Y?.video)===null||De===void 0?void 0:De.imgUrls)===null||we===void 0?void 0:we.length))})||0;(N=ne?.current)===null||N===void 0||N.swiper.slideTo(te)},[s,ne]),J(()=>{const N=a?.[S],te=()=>{var Y,le,de,ve,X,fe,be,_e,De,we,xe,it,nt,ot,Ze;if(document.visibilityState==="hidden"){Je.emit(Re.PAGE_DID_HIDE,N),ct(N),Ft(N);let Ye="";R&&(!((le=(Y=N?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||le===void 0)&&le.length||!((de=N?.video)===null||de===void 0)&&de.bindProduct)?Ye="pdpPage":R&&l?.[(fe=(X=(ve=N.video)===null||ve===void 0?void 0:ve.bindCta)===null||X===void 0?void 0:X.itemId)!==null&&fe!==void 0?fe:""].item.type==="Appoint"?Ye="formPage":he?Ye="hashTagPage":!((be=N?.video)===null||be===void 0)&&be.url?Ye="videoPage":!((_e=N?.video)===null||_e===void 0)&&_e.imgUrls&&(!((we=(De=N?.video)===null||De===void 0?void 0:De.imgUrls)===null||we===void 0)&&we.length)?Ye="imagePage":N?.product&&(Ye="productPage"),z?.({eventInfo:{sessionDuration:Math.floor((new Date-B.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(xe=N?.video)===null||xe===void 0?void 0:xe.itemId,productId:(it=N?.product)===null||it===void 0?void 0:it.itemId,position:S+"",fromKName:Ye,fromKPage:location?.href,ctatId:(Ze=(ot=(nt=N.video)===null||nt===void 0?void 0:nt.bindCta)===null||ot===void 0?void 0:ot.itemId)!==null&&Ze!==void 0?Ze:""}})}else document.visibilityState==="visible"&&(Te(),Ii(S),Je.emit(Re.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",te),()=>{document.removeEventListener("visibilitychange",te)}},[S,z,B,a,Te,R,he,l]);const Ve=ee(()=>{let N=0;return t?.logoUrl&&t?.isShowLogo&&(N+=45),b.length>0&&(N+=45,oe&&(N-=45)),i-N},[t,i,b,oe]),mt=ee(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),at=ue((N,te)=>{var Y,le,de,ve;return!((Y=N.video)===null||Y===void 0)&&Y.url?v.createElement(la,{rec:N,index:te,muted:P,data:a,height:Ve,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:Q}):!((le=N.video)===null||le===void 0)&&le.imgUrls?v.createElement(da,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:Ve,rec:N,index:te,onReportViewImageEnd:ct,onViewImageStartEvent:Ii,imgUrlsPostConfig:t?.imgUrlsPost}):N.product&&Array.isArray(t?.productPost)&&((de=t?.productPost)===null||de===void 0?void 0:de.length)>0?(ve=t?.productPost)===null||ve===void 0?void 0:ve.map((X,fe)=>{var be,_e,De,we,xe,it,nt,ot;const Ze=o[(be=X?.item)===null||be===void 0?void 0:be.type],Ye=Rt(Ze),qe=(_e=Ze?.extend)===null||_e===void 0?void 0:_e.defaulSetting;return v.createElement(Ye,Object.assign({key:`${te}${fe}`,textStyle:Object.assign(Object.assign({},qe?.textStyle),(De=X?.item)===null||De===void 0?void 0:De.textStyle),bindDatas:(xe=(we=X?.item)===null||we===void 0?void 0:we.bindDatas)!==null&&xe!==void 0?xe:[]},qe?.props,(it=X?.item)===null||it===void 0?void 0:it.props,{event:((nt=X?.item)===null||nt===void 0?void 0:nt.event)||{},schema:_,id:X?.id,viewTime:G.current,rec:N,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},qe?.style),(ot=X?.item)===null||ot===void 0?void 0:ot.style),{height:"100%",overflow:"auto"}),index:te}))}):null},[n,a,Ve,P,S,t?.productPost,G,r,o,_,Q]),rt=ue(N=>{M(N)},[]),ht=ee(()=>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]),dt=ue((N,te)=>{var Y,le,de,ve,X,fe,be;return N.video?v.createElement(v.Fragment,null,((Y=N.video)===null||Y===void 0?void 0:Y.title)&&!V&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Tn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Sn,{rec:N,index:te,tempMap:l,resolver:o})):null,v.createElement("div",null,v.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(de=(le=N.video)===null||le===void 0?void 0:le.title)!==null&&de!==void 0?de:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:rt}),v.createElement(wn,{index:S,tags:(X=(ve=N?.video)===null||ve===void 0?void 0:ve.hashTags)!==null&&X!==void 0?X:[],itemId:(fe=N?.video)===null||fe===void 0?void 0:fe.itemId,itemType:!((be=N.video)===null||be===void 0)&&be.itemId?"VIDEO":null,rec:N,hashTagStyle:p})))):null},[e,S,l,o,r,c,p,t,rt,V,ht]),Pe=ue((N,te)=>{var Y,le,de,ve;if(!t?.isShowLike)return;let X=(Y=t?.likeIconY)!==null&&Y!==void 0?Y:400;return oe&&X<40&&(X+=40),N.video?v.createElement(gn,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{[(le=t.likeIconXPosit)!==null&&le!==void 0?le:"right"]:(de=t.likeIconX)!==null&&de!==void 0?de:0,[(ve=t.likeIconYPosit)!==null&&ve!==void 0?ve:"bottom"]:X},position:te}):null},[t,oe]),ct=N=>{var te,Y,le,de,ve,X;if(!(!((te=N.video)===null||te===void 0)&&te.url)&&(!((Y=N.video)===null||Y===void 0)&&Y.imgUrls)){const fe=Date.now(),be=(fe-A.current)/1e3;z?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(de=(le=N.video)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",contentName:(ve=N.video.title)!==null&&ve!==void 0?ve:"",imageEndTime:`${fe}`,playDuration:`${be}`,contentTags:JSON.stringify((X=N.video.tags)!==null&&X!==void 0?X:[]),position:S+"",contentFormat:"image",traceInfo:N.video.traceInfo}})}},ut=N=>{var te,Y,le,de,ve,X,fe,be,_e,De;G.current=new Date;const we=a[N.previousIndex];if(!we)return;N.previousIndex-N.activeIndex<0?(z?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Y=(te=we.video)===null||te===void 0?void 0:te.itemId)!==null&&Y!==void 0?Y:"",productId:(de=(le=we.product)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",requestId:null}}),ct(we)):(z?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(X=(ve=we.video)===null||ve===void 0?void 0:ve.itemId)!==null&&X!==void 0?X:"",productId:(be=(fe=we.product)===null||fe===void 0?void 0:fe.itemId)!==null&&be!==void 0?be:"",requestId:null}}),ct(we)),Ft(we);const xe=a[N.activeIndex];!(!((_e=xe?.video)===null||_e===void 0)&&_e.url)&&!(!((De=xe?.video)===null||De===void 0)&&De.imgUrls)&&xe?.product&&F?.({eventName:"ProductView"})},Ft=N=>{var te,Y,le;!(!((te=N?.video)===null||te===void 0)&&te.url)&&!(!((Y=N?.video)===null||Y===void 0)&&Y.imgUrls)&&N?.product&&Ee(N,N.product,(le=N?.product)===null||le===void 0?void 0:le.bindCta,G.current,S)};J(()=>{const N=a[S];se&&Ft(N)},[se,a,S]);const Ii=N=>{var te,Y,le,de,ve,X;const fe=a[N];if(!(!((te=fe?.video)===null||te===void 0)&&te.url)&&(!((Y=fe?.video)===null||Y===void 0)&&Y.imgUrls)){const be=Date.now();A.current=be,z?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(de=(le=fe.video)===null||le===void 0?void 0:le.itemId)!==null&&de!==void 0?de:"",contentName:(ve=fe.video.title)!==null&&ve!==void 0?ve:"",imageStartTime:`${be}`,contentTags:JSON.stringify((X=fe.video.tags)!==null&&X!==void 0?X:[]),position:N+"",contentFormat:"image",traceInfo:fe.video.traceInfo}}),F?.({eventName:"ViewContent"})}},xt=ee(()=>{const N=a?.map((te,Y)=>S===Y||Y-1===S||Y+1===S?te:null);return oe?N:N.concat([{loading:!0}])},[a,S,oe]),Cn=ee(()=>U?v.createElement("div",{style:{height:Ve,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):xt?.map((N,te)=>v.createElement($e,{key:te,virtualIndex:te},N&&v.createElement(v.Fragment,null,N?.loading?v.createElement("div",{style:{height:Ve,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,at(N,te),dt(N,te),Pe(N,te))))),[n,a,Ve,U,dt,at,xt,re]),_n=Ne("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Dn=Ne("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},oe&&v.createElement(mn,{icon:ua,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{q?.(!0)}}),mt,v.createElement(xn,{tagList:b,setActiveIndex:E}),ge?v.createElement(aa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,v.createElement(st,{ref:ne,onSlideChange:()=>{ne.current.swiper.allowTouchMove=!1,setTimeout(()=>{ne.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:N=>{E(N.activeIndex),!se&&(ut(N),!oe&&N?.activeIndex+2>=a?.length&&(H||(L(!0),k?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:Ve},v.createElement(bn,{style:{position:"fixed",visibility:!((I=(m=a?.[S])===null||m===void 0?void 0:m.video)===null||I===void 0)&&I.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(w=t?.muteIconX)!==null&&w!==void 0?w:0,[(g=t?.muteIconYPosit)!==null&&g!==void 0?g:"bottom"]:(T=t?.muteIconY)!==null&&T!==void 0?T:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:_n,unactiveIcon:t?.muteIcon?t?.muteIcon:Dn,onChange:j}),Cn),v.createElement(hn,Object.assign({},(O=(f=(D=t?.hashTag)===null||D===void 0?void 0:D[0])===null||f===void 0?void 0:f.item)===null||O===void 0?void 0:O.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:ye,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},fa=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:o})=>v.createElement(st,{defaultValue:0,direction:"horizontal",modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(a=>v.createElement($e,{key:a},v.createElement(yn,{src:a,height:i,imgUrlsPostConfig:n}))));var ma=ce(fa);const ha=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:o,videoPostConfig:a,width:s})=>{const[r,c]=$(!1),d=Z(null),{bffEventReport:p,sxpParameter:b,waterFallData:h,openHashtag:y}=me(),m=Z(0),[I,u]=$(!1),[w,g]=$(!0),T=Z(null),[D,f]=$("");J(()=>{d.current&&(d.current.muted=l)},[l]);const O=ue(()=>{var L;(L=d.current)===null||L===void 0||L.play()},[]),_=Ne("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=ue(()=>{var L,V,M,k,z,U,W,ie,ne,oe,q,pe,se;c(!1);const re=n[e];if(re&&(!((L=d?.current)===null||L===void 0)&&L.duration)){m.current=((V=d?.current)===null||V===void 0?void 0:V.currentTime)||0;const he=((k=(M=d.current)===null||M===void 0?void 0:M.duration)!==null&&k!==void 0?k:0).toFixed(2),R=((U=(z=d.current)===null||z===void 0?void 0:z.currentTime)!==null&&U!==void 0?U:0).toFixed(2),F=w?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ie=(W=re.video)===null||W===void 0?void 0:W.itemId)!==null&&ie!==void 0?ie:"",contentName:(oe=(ne=re.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",playType:F,startTime:R,videoDuration:he,contentTags:JSON.stringify((pe=(q=re.video)===null||q===void 0?void 0:q.tags)!==null&&pe!==void 0?pe:[]),position:e+"",contentFormat:"video",traceInfo:(se=re.video)===null||se===void 0?void 0:se.traceInfo}}),g(!1)}},[p,n,e,w]),E=ue(()=>{u(!0)},[]),A=ue(L=>()=>{var V,M,k,z,U;if(!I)return;const W=(V=d.current)===null||V===void 0?void 0:V.paused;switch(L){case"start":if(!W)return;(M=d.current)===null||M===void 0||M.play(),c(!1);break;case"pause":if(W)return;(k=d.current)===null||k===void 0||k.pause(),c(!0);break;default:W?(z=d.current)===null||z===void 0||z.play():(U=d.current)===null||U===void 0||U.pause(),c(!W);break}},[I]),x=ue(()=>{var L,V,M,k,z,U,W,ie,ne,oe,q,pe,se;const re=n[e],he=((V=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&V!==void 0?V:0).toFixed(2),R=((k=(M=d.current)===null||M===void 0?void 0:M.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((z=d?.current)===null||z===void 0)&&z.duration){const F=(((U=d?.current)===null||U===void 0?void 0:U.currentTime)-m.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ie=(W=re.video)===null||W===void 0?void 0:W.itemId)!==null&&ie!==void 0?ie:"",contentName:(oe=(ne=re.video)===null||ne===void 0?void 0:ne.title)!==null&&oe!==void 0?oe:"",endTime:R,videoDuration:he,playDuration:F,contentTags:JSON.stringify((pe=(q=re.video)===null||q===void 0?void 0:q.tags)!==null&&pe!==void 0?pe:[]),position:e+"",contentFormat:"video",traceInfo:(se=re.video)===null||se===void 0?void 0:se.traceInfo}})}},[n,e,p]),C=ee(()=>a?.mode==="2",[a]),P=ee(()=>{var L;return a?.mode==="2"?`translateY(-${50+((L=a?.offsetTop)!==null&&L!==void 0?L:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),j=ee(()=>{var L;return((L=t?.video)===null||L===void 0?void 0:L.cover)||D},[D,t]),B=ue(()=>{if(!T||!d||!d.current||!T.current)return;const L=d?.current,V=T?.current,M=V.getContext("2d"),k=window?.innerWidth,z=window?.innerHeight;V.height=z,V.width=k,M?.drawImage(L,0,0,V.width,V.height),f(V.toDataURL())},[]);J(()=>{var L,V,M,k;if(d.current){if(c(!1),!d.current.src){const z=t.video.url;if(z.includes(".m3u8"))if(Pi.isSupported()){const U=new Pi;U.loadSource(z),U.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=z;else d.current.src=z;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(L=d.current)===null||L===void 0||L.addEventListener("loadedmetadata",E),(V=d.current)===null||V===void 0||V.addEventListener("canplay",E),(M=d.current)===null||M===void 0||M.addEventListener("playing",S),(k=d.current)===null||k===void 0||k.addEventListener("loadeddata",B),()=>{var z,U,W,ie;(z=d.current)===null||z===void 0||z.removeEventListener("loadedmetadata",E),(U=d.current)===null||U===void 0||U.removeEventListener("canplay",E),(W=d.current)===null||W===void 0||W.removeEventListener("playing",S),(ie=d.current)===null||ie===void 0||ie.removeEventListener("loadeddata",B)}}},[E,S,t.video,B]);const G=ee(()=>!b?.placeholder_image||I?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:b?.placeholder_image}),[I,b?.placeholder_image]);J(()=>{const L=()=>{var V,M;o===e&&(!((V=t?.video)===null||V===void 0)&&V.url)&&(!((M=d?.current)===null||M===void 0)&&M.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",L),()=>{window.removeEventListener("beforeunload",L)}},[o,e,t,d,A,r]);const H=ee(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t.video?v.createElement(v.Fragment,null,C?v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Be,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},H)}),v.createElement("canvas",{ref:T,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))),G):v.createElement("div",{className:"video-container",key:t.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:O}),G,v.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))):null};var ga=ce(ha);const xi={};Object.values(Si).forEach(t=>{xi[t.extend.type]=t});const ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ya="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",wa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:o,hashTagStyle:a,containerHeight:s=664,containerWidth:r=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),d.length>0&&(f+=45),s-f},[e,s,d]),b=(f,O)=>{var _,S,E,A;if(!((_=f.video)===null||_===void 0)&&_.url)return v.createElement(ga,{rec:f,index:O,muted:!0,width:r,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((S=f.video)===null||S===void 0)&&S.imgUrls)return v.createElement(ma,{key:f.video.itemId,imgUrls:f.video.imgUrls,width:r,height:p,rec:f,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(f.product&&f.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((x,C)=>{var P,j,B,G,H,L,V,M;const k=xi[(P=x?.item)===null||P===void 0?void 0:P.type],z=Rt(k),U=(j=k?.extend)===null||j===void 0?void 0:j.defaulSetting;return v.createElement(z,Object.assign({key:`${O}${C}`,textStyle:Object.assign(Object.assign({},U?.textStyle),(B=x?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(H=(G=x?.item)===null||G===void 0?void 0:G.bindDatas)!==null&&H!==void 0?H:[]},U?.props,(L=x?.item)===null||L===void 0?void 0:L.props,{event:((V=x?.item)===null||V===void 0?void 0:V.event)||{},id:x?.id,rec:f,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},U?.style),(M=x?.item)===null||M===void 0?void 0:M.style),{width:r,height:p,overflow:"auto"}),index:O}))})},h=ee(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(f,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Sn,{rec:f,index:O,tempMap:l,resolver:xi})):null,m=(f,O)=>{var _,S,E,A,x,C,P;return f.video?v.createElement(v.Fragment,null,((_=f.video)===null||_===void 0?void 0:_.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Tn,{nudge:n}),y(f,O),v.createElement("div",null,v.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(S=f.video)===null||S===void 0?void 0:S.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},o),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(wn,{index:O,tags:(x=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&x!==void 0?x:[],itemId:(C=f?.video)===null||C===void 0?void 0:C.itemId,itemType:!((P=f.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:a}))):null},I=Ne(ya,c),u=Ne(ba,c),w=(f,O)=>{var _,S,E,A;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),f.video?v.createElement(gn,{key:f.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:I,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:u,position:O,active:f.isCollected,recData:f,className:"clc-sxp-like-button",style:{top:x,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},g=Ne("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),T=Ne("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),D=(f,O)=>{var _,S,E,A;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},h,v.createElement(xn,{tagList:d}),v.createElement(bn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((E=(S=t?.[O])===null||S===void 0?void 0:S.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:g,unactiveIcon:e?.muteIcon?e?.muteIcon:T}),b(f,O),m(f,O),w(f,O))};return v.createElement("div",{className:K({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((f,O)=>D(f,O)))};var Sa=ce(wa);const Ta=()=>{const{schema:t,resolver:e,popup:i}=Xe(),{setPopupDetailData:n,popupDetailData:l,bffEventReport:o}=me(),{productView:a}=Fe(),[s,r]=$(),c=Z(null);J(()=>{const b=()=>{c.current=new Date};return b(),window.addEventListener("pageshow",b),()=>{window.removeEventListener("pageshow",b)}},[]),J(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,r(i))},[i]);const d=()=>{var b,h,y,m;if(!i||i?.id===""||!s||new Date-c.current<((b=i?.duration)!==null&&b!==void 0?b:0))return;r(Object.assign(Object.assign({},i),{id:""}));const I=l,u=(h=I?.video)===null||h===void 0?void 0:h.bindProduct,w=(m=(y=I?.video)===null||y===void 0?void 0:y.bindProduct)===null||m===void 0?void 0:m.bindCta;u&&w&&a(I,u,w,c.current,l?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var b,h,y;return(y=(h=(b=t?.sxpPageConf)===null||b===void 0?void 0:b.globalConfig)===null||h===void 0?void 0:h.popupList)===null||y===void 0?void 0:y.map((m,I)=>{var u,w,g,T,D,f,O,_,S,E,A,x,C,P;if(m?.id===i?.id){const j=e[(u=m?.item)===null||u===void 0?void 0:u.type],B=Rt(j),G=((T=(g=(w=m?.item)===null||w===void 0?void 0:w.event)===null||g===void 0?void 0:g.onClick)===null||T===void 0?void 0:T.linkType)==="externalLink",H=((O=(f=(D=m?.item)===null||D===void 0?void 0:D.event)===null||f===void 0?void 0:f.onClick)===null||O===void 0?void 0:O.linkType)==="popup",L=(_=j?.extend)===null||_===void 0?void 0:_.defaulSetting;return v.createElement(B,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},L?.style),(S=m?.item)===null||S===void 0?void 0:S.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},L?.textStyle),(E=m?.item)===null||E===void 0?void 0:E.textStyle),bindDatas:(x=(A=m?.item)===null||A===void 0?void 0:A.bindDatas)!==null&&x!==void 0?x:[]},L?.props,(C=m?.item)===null||C===void 0?void 0:C.props,{event:((P=m?.item)===null||P===void 0?void 0:P.event)||{},schema:t,id:m?.id,isExternalLink:G,isPopup:H,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Bt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Ei={};Object.values(Si).forEach(t=>{Ei[t.extend.type]=t});const xa=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:o,licenseUrl:a,enabledMetaConversionApi:s})=>{var r,c,d,p,b,h;const y=ee(()=>{var m;return location?.search?(m=location?.search)===null||m===void 0?void 0:m.replace("?",""):""},[]);return v.createElement($i,{resolver:Ei,enableDataSource:!1,schema:t?.data,utmVal:y},v.createElement(Fi,{utmVal:y,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(h=(b=t?.sxp_parameter)===null||b===void 0?void 0:b.hash_tag_size)!==null&&h!==void 0?h:n,loadingImage:l,appDomain:o,enabledMetaConversionApi:s,render:({rtcList:m,tagList:I})=>{var u;return v.createElement(v.Fragment,null,v.createElement(En,Object.assign({},(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf,{tagList:I,data:m,resolver:Ei,licenseUrl:a})),v.createElement(Ta,null))}}))};var Ea=ce(xa);const In=yt({}),Ia=({children:t,data:e})=>{var i,n,l,o,a,s;const[r,c]=$(!1);return v.createElement(In.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.personalized_recommend,placeholderImage:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:r,setOpenHashtag:c}},t)};function Ca(){return bt(In)}export{Sa as DiyPortalPreview,Ia as EditorDataProvider,Bt as Modal,Fi as SxpDataSourceProvider,Ea as SxpPageCore,En as SxpPageRender,qn as core,Vn as default,Oe as defaultSetting,Si as materials,Ca as useEditorDataProvider};
7
7
  //# sourceMappingURL=index.min.js.map