pb-sxp-ui 1.0.70 → 1.0.72

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 (55) hide show
  1. package/dist/index.cjs +167 -131
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +167 -131
  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 +171 -134
  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/DiyPortalPreview/VideoWidget.js +15 -16
  14. package/es/core/components/DiyPortalPreview/index.js +8 -8
  15. package/es/core/components/SxpPageCore/index.js +2 -2
  16. package/es/core/components/SxpPageRender/FormatImage.js +2 -1
  17. package/es/core/components/SxpPageRender/LikeButton/index.js +11 -11
  18. package/es/core/components/SxpPageRender/Nudge/index.js +2 -2
  19. package/es/core/components/SxpPageRender/VideoWidget/index.js +13 -13
  20. package/es/core/components/SxpPageRender/WaterFall/List.js +5 -9
  21. package/es/core/components/SxpPageRender/index.js +39 -30
  22. package/es/core/components/SxpPageRender/typing.d.ts +1 -0
  23. package/es/core/context/SxpDataSourceProvider.d.ts +1 -0
  24. package/es/core/context/SxpDataSourceProvider.js +12 -4
  25. package/es/materials/sxp/HashTag/settingRender.d.ts +2 -7
  26. package/es/materials/sxp/HashTag/settingRender.js +0 -5
  27. package/es/materials/sxp/defaultSetting.js +1 -1
  28. package/es/materials/sxp/template/Commodity/index.js +4 -4
  29. package/es/materials/sxp/template/CommodityDiro/index.js +4 -4
  30. package/es/materials/sxp/template/CommodityDiroNew/index.js +4 -4
  31. package/es/materials/sxp/template/MultiCommodity/index.js +4 -4
  32. package/es/materials/sxp/template/MultiCommodityDiro/index.js +4 -4
  33. package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +4 -4
  34. package/lib/core/components/DiyPortalPreview/VideoWidget.js +15 -16
  35. package/lib/core/components/DiyPortalPreview/index.js +8 -8
  36. package/lib/core/components/SxpPageCore/index.js +2 -2
  37. package/lib/core/components/SxpPageRender/FormatImage.js +1 -0
  38. package/lib/core/components/SxpPageRender/LikeButton/index.js +11 -11
  39. package/lib/core/components/SxpPageRender/Nudge/index.js +2 -2
  40. package/lib/core/components/SxpPageRender/VideoWidget/index.js +13 -13
  41. package/lib/core/components/SxpPageRender/WaterFall/List.js +5 -9
  42. package/lib/core/components/SxpPageRender/index.js +39 -30
  43. package/lib/core/components/SxpPageRender/typing.d.ts +1 -0
  44. package/lib/core/context/SxpDataSourceProvider.d.ts +1 -0
  45. package/lib/core/context/SxpDataSourceProvider.js +12 -4
  46. package/lib/materials/sxp/HashTag/settingRender.d.ts +2 -7
  47. package/lib/materials/sxp/HashTag/settingRender.js +0 -5
  48. package/lib/materials/sxp/defaultSetting.js +1 -1
  49. package/lib/materials/sxp/template/Commodity/index.js +4 -4
  50. package/lib/materials/sxp/template/CommodityDiro/index.js +4 -4
  51. package/lib/materials/sxp/template/CommodityDiroNew/index.js +4 -4
  52. package/lib/materials/sxp/template/MultiCommodity/index.js +4 -4
  53. package/lib/materials/sxp/template/MultiCommodityDiro/index.js +4 -4
  54. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +4 -4
  55. package/package.json +1 -2
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 Dn}from"uuid";import kn from"pako";import f,{useContext as bt,useMemo as ne,createContext as yt,memo as pe,useState as G,useRef as ee,useEffect as K,useCallback as ve,forwardRef as Ct,useImperativeHandle as Di,useLayoutEffect as An}from"react";import ki from"qs";import Pn from"eventemitter3";import{css as Q}from"@emotion/css";import*as Ai from"react-dom";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 o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function ke(t,e,i,n){function o(l){return l instanceof i?l:new i(function(a){a(l)})}return new(i||(i=Promise))(function(l,a){function s(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?l(d.value):o(d.value).then(s,r)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const On=/:\w+/g;var Pi=(t,e)=>ke(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:a,url:s,urlParams:r,name:c,queryString:d,headers:p,body:b}=e[o];let g=s;r&&Object.entries(r).forEach(([y,m])=>{g=g.replace(On,I=>I===y?m:I)}),d&&(g+=d),n[l]=c;try{const y=yield fetch(g,{method:a,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(b)}).then(m=>m.json());i[l]=y}catch(y){console.error("DataSource request error: ",y),i[l]={}}}return{$store:i,idMapName:n}});const Oi="SXP_TOKEN_INFO",Mn=(t,e)=>ke(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),a=window.localStorage.getItem(Oi);let s=JSON.parse(a||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Oi,JSON.stringify(s))}}return s});function _t(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const Ln=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Nn=()=>{const t=Dn();return t?.replaceAll?t.replaceAll("-",""):Ln(32)};function Mi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=kn.inflate(n,{to:"string"});return JSON.parse(o)}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 Ce=null;const zn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ce||(Ce=new Bn),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(o=>ke(void 0,void 0,void 0,function*(){var l,a;const s=yield o.json(),r=Mi((l=s?.data)===null||l===void 0?void 0:l.data);if(r){const{$store:c}=yield Pi(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(o=>ke(void 0,void 0,void 0,function*(){var l;const a=yield o.json();if(!a.success)return;const s=Mi((l=a?.data)===null||l===void 0?void 0:l.data);return a.data.data=s,a.data}))}),getSxpRecommendVideoData:t=>ke(void 0,void 0,void 0,function*(){if(!Ce)return;const e=yield Mn(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 o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function Je(){return bt(Ui)}function Vn(){return bt(Hi)}const Gt="feRealSessionIdKey",Li=()=>{const t=Nn();return`${Date.now()}${t}`},Rn=()=>{let t=Hn();return t||(t=Li(),window.sessionStorage.setItem(Gt,t)),t},Fn=()=>{const t=Li();window.sessionStorage.setItem(Gt,t)},Hn=()=>window.sessionStorage.getItem(Gt),Ni="SXP_FAKE_USER_ID",ji="FAKE_USER_STATE",Bi=()=>{let t=window.localStorage.getItem(Ni);return Et(t)&&(t=_t(36,62),window.localStorage.setItem(Ni,t)),t},Un=()=>{const t=window.localStorage.getItem(ji);return Et(t)&&window.localStorage.setItem(ji,"true"),Et(t)};function Be(t,e){const{appDomain:i}=he();return ne(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const Ke=new Pn;var Fe;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Fe||(Fe={}));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"],Gn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:a=!1,sxpParameter:s,appDomain:r,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:b=!1,isShowTag:g=!0})=>{const[y,m]=G([]),[I,u]=G([]),[w,h]=G(!1),[S,D]=G({rtc:"",requestId:""}),v=ee(null),M=ee(!1),[_,T]=G(),[E,A]=G(),[x,C]=G(p),[P,j]=G([]),[B,H]=G(0),[F,N]=G(!1),[R,L]=G(null),k=ee();K(()=>{const V=U=>{k.current=U};return Ke.on(Fe.CHANGE_THEME_TAG,V),()=>{Ke.off(Fe.CHANGE_THEME_TAG,V)}},[]),K(()=>{C(p)},[p]);const $=ne(()=>e?.find(V=>V.type===$t.BFF),[e]),z=ve((V,U)=>{if(!$)return;const ae=$.url,Se=Bi();if(U?.query){const we=ki.stringify(U.query);V=`${V}?${we}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ae}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},$.headers),{"x-user-id":Se}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ae}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Se},$.headers),method:U.method,body:JSON.stringify(U.body)}).then(we=>we.json()).catch(we=>Promise.reject(we))},[$]),W=ve(V=>ke(void 0,void 0,void 0,function*(){var U,ae,Se,we,Ee;if(V={maxSize:(U=V?.maxSize)!==null&&U!==void 0?U:o,defaultSize:(ae=V?.defaultSize)!==null&&ae!==void 0?ae:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const Pe=(Ee=(we=(Se=i?.split("&"))===null||Se===void 0?void 0:Se.filter(Ge=>{const Me=Ge.split("=")[0];return Vi.includes(Me)}))===null||we===void 0?void 0:we.join("&"))!==null&&Ee!==void 0?Ee:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(Pe)})}const ge=yield z?.("/recommend/list",{method:"GET",query:V});if(ge?.success)return V?.hashTag||D({rtc:ge.data.rtc,requestId:ge.data.requestId}),ge?.data}),[z,i,o,l]),re=ve(()=>ke(void 0,void 0,void 0,function*(){var V,U;if(y.length<=0)return;const ae=yield W({hashTag:E?.hashTag,"itemFilter.itemId":E?.itemId,"itemFilter.itemType":E?.itemType,themeTag:k.current});m(y.concat((V=ae?.recList)!==null&&V!==void 0?V:[])),j(P.concat((U=ae?.recList)!==null&&U!==void 0?U:[]))}),[W,y,E,P]),ie=ve(({userInfo:V,eventInfo:U})=>{if(!n)return;V||(V={});const ae=Rn(),Se=Object.assign({sessionID:ae,rtc:S.rtc,requestId:S.requestId},U),we=Object.entries(V).map(([ge,Pe])=>({name:ge,value:Pe})),Ee=Object.entries(Se).map(([ge,Pe])=>Pe&&{name:ge,value:Pe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",Se),console.log("========= \u7ED3\u675F ========="),z?.("/event/report",{method:"POST",body:{userInfo:we,eventInfo:Ee},type:"beacon"})},[z,S,n]),le=ve(V=>{var U,{eventName:ae,actionSource:Se="website",eventSourceUrl:we=(U=window?.location)===null||U===void 0?void 0:U.href,externalId:Ee}=V;if(!n||!b)return;const ge=Bi();return z?.("/fb/events",{method:"POST",body:{eventName:ae,actionSource:Se,eventSourceUrl:we,userData:{externalId:ge}},type:"beacon"})},[z,n,b]),q=ve(V=>ke(void 0,void 0,void 0,function*(){const U=yield z?.("/recommend/like",{method:"POST",body:V});return U?.success}),[z]),fe=ve(V=>ke(void 0,void 0,void 0,function*(){const U=yield z?.("/recommend/unlike",{method:"POST",body:V});return U?.success}),[z]),ce=ve(V=>ke(void 0,void 0,void 0,function*(){const U=yield z?.("/customform",{method:"POST",body:V});return U?.success}),[z]),X=ve(()=>ke(void 0,void 0,void 0,function*(){var V,U,ae,Se,we;if(!(!i||!g))try{const Ee=(ae=(U=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(Pe=>{const Ge=Pe.split("=")[0];return Vi.includes(Ge)}))===null||U===void 0?void 0:U.join("&"))!==null&&ae!==void 0?ae:"",ge=yield z?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Ee)}});u((we=(Se=ge?.data)===null||Se===void 0?void 0:Se.tags)!==null&&we!==void 0?we:[])}catch(Ee){console.log("e",Ee)}}),[z,i,g]),oe=ve((V,U,ae,Se)=>{var we,Ee,ge,Pe,Ge,Me,ft,rt,dt,mt,ct,ht;const Te=ae?.bindCta,Ft=((we=U?.video)===null||we===void 0?void 0:we.bindProduct)||((Ee=U?.video)===null||Ee===void 0?void 0:Ee.bindProducts)&&((Pe=(ge=U?.video)===null||ge===void 0?void 0:ge.bindProducts)===null||Pe===void 0?void 0:Pe.length)>0;let Ze="";F?Ze="hashTagPage":!((Ge=U?.video)===null||Ge===void 0)&&Ge.url?Ze="videoPage":!((ft=(Me=U?.video)===null||Me===void 0?void 0:Me.imgUrls)===null||ft===void 0)&&ft.length&&(Ze="imagePage"),ie?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(rt=Te?.itemId)!==null&&rt!==void 0?rt:"",ctaName:(dt=Te?.title)!==null&&dt!==void 0?dt:"",contentTags:JSON.stringify(Te?.tags),position:Se+"",contentId:(ct=(mt=U?.video)===null||mt===void 0?void 0:mt.itemId)!==null&&ct!==void 0?ct:"",productId:Ft?ae?.itemId:"",traceInfo:(ht=Te?.traceInfo)!==null&&ht!==void 0?ht:"",fromKName:Ze})})},[ie,F]);K(()=>{h(!0),X(),W().then(V=>{var U,ae;m((U=V?.recList)!==null&&U!==void 0?U:[]),j((ae=V?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{h(!1),M.current=!0})},[]),K(()=>{M.current&&(h(!0),X(),W().then(V=>{var U,ae;m((U=V?.recList)!==null&&U!==void 0?U:[]),j((ae=V?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{h(!1)}))},[W,X]);const Oe=Be("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return f.createElement(zi.Provider,{value:{rtcList:y,setRtcList:m,mutateLike:q,mutateUnlike:fe,submitForm:ce,popupDetailData:_,loadVideos:re,setPopupDetailData:T,getRecommendVideos:W,bffEventReport:ie,utmVal:i,isPreview:a,loading:w,sxpParameter:s,waterFallData:E,setWaterFallData:A,ctaEvent:oe,swiperRef:v,openHashtag:x,setOpenHashtag:C,cacheRtcList:P,setCacheRtcList:j,cacheActiveIndex:B,setCacheActiveIndex:H,isFromHashtag:F,setIsFromHashtag:N,appDomain:r,hashTagSize:c,loadingImage:d??Oe,isOpenHashTag:p,tagList:I,setLoading:h,videoRef:R,setVideoRef:L,bffFbReport:le}},t({rtcList:y,mutateLike:q,mutateUnlike:fe,submitForm:ce,tagList:I}))};var Ri=pe(Gn);function he(){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:[]}),$n=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=Je(),[a,s]=G(l.__STORE__||{}),[r,c]=G([]);K(()=>{var b;e||Ci(r,l?.dataSource)||c((b=l?.dataSource)!==null&&b!==void 0?b:[])},[l?.dataSource,e]);const d=ve(()=>ke(void 0,void 0,void 0,function*(){const{$store:b,idMapName:g}=yield Pi("",r);s(b),p(b,g)}),[r]),p=(b,g)=>{const y=[];Object.entries(b).forEach(([m,I])=>{Object.keys(I).forEach(u=>{const w={label:`${g[m]} - ${u}`,value:`{{ ${m}.${u} }}`};y.push(w)})}),o(y)};return K(()=>{e||d()},[d,e,l]),i?f.createElement(Hi.Provider,{value:{$store:l.__STORE__||a,options:n,configs:r}},t):t};var Wn=pe($n);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=f.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:o=!0,utmVal:l},a)=>{const[s,r]=G(null),[c,d]=G(n||{pointData:[Dt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,b]=G([Dt]),[g,y]=G([[Dt]]),[m,I]=G([]),[u,w]=G(Wt);typeof window<"u"&&(window.sxpPopup=(M,_)=>{w(Object.assign(Object.assign(Object.assign({},Wt),{id:M}),_))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),K(()=>{y([c.pointData]),I([])},[c.type]);const h=ve(M=>{const _=gt(c);_&&(_.dataSource=M,d?.(_))},[c]),[S,D]=G();Di(a,()=>({loadSchema(M){M&&(y([M.pointData]),d(M))},exportSchema(){return gt(c)},getPageInfoData(){return S},initPageInfoData(M){M&&D(M)}}));const v=ne(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return f.createElement(Ui.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:r,setSchema:d,saveDataSource:h,prePiontData:p,setPrePiontData:b,pageInfoData:S,setPageInfoData:M=>D(Object.assign(Object.assign({},S),M)),undoStack:g,redoStack:m,setRedoStack:I,setUndoStack:y,getCurPageConf:v,popup:u,setPopup:w}},f.createElement(Wn,{isSsr:i,enable:o},t))});var Yn=Object.freeze({__proto__:null,EditorCore:Gi}),qn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const de=[{label:"defalut",value:"appFont"}],Yt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Xn=Yt&&Yt!==""?JSON.parse(Yt):[];var Le={fontOptions:[...de,...Xn]},qt,Xt,Jt,Jn=[{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:de,initialValue:(qt=de?.[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:Le?.fontOptions,initialValue:(Jt=(Xt=Le?.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 He(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=he(),o=ve((a,s,r,c)=>{var d,p,b,g,y,m,I,u,w,h,S,D,v,M;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":!((g=a?.video)===null||g===void 0)&&g.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:(h=s?.collection)!==null&&h!==void 0?h:"",fromKName:_,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:c+"",contentId:(D=(S=a?.video)===null||S===void 0?void 0:S.itemId)!==null&&D!==void 0?D:"",ctatId:(v=r?.itemId)!==null&&v!==void 0?v:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=ve((a,s,r,c,d)=>{var p,b,g,y;let m="";e&&(!((b=(p=a?.video)===null||p===void 0?void 0:p.bindProducts)===null||b===void 0)&&b.length||!((g=a?.video)===null||g===void 0)&&g.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:o,productView:l}}const Kn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:a,submitText:s,layoutType:r,isExternalLink:c,isPopup:d,onClick:p,onClose:b,submitButtonStyle:g}=t,y=Ie(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:m,popupDetailData:I}=he(),{jumpToWeb:u}=He(),w=ee(),[h,S]=G(!1),D=ne(()=>[{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"}],[]);ne(()=>{if(r===void 0){const M=gt(e)||D;return M?.map(_=>Object.assign(Object.assign({},_),{title:void 0,fieldProps:{placeholder:_?.title}}))}else return gt(e)||D},[r,e,D]);const v=Ht(()=>ke(void 0,void 0,void 0,function*(){var M,_,T,E,A,x;const C=yield(M=w?.current)===null||M===void 0?void 0:M.getFieldsValue();if(!C)return;const P=(T=(_=Object.keys(C))===null||_===void 0?void 0:_.map(B=>{var H;return{name:B,value:(H=C[B])!==null&&H!==void 0?H:""}}))===null||T===void 0?void 0:T.filter(B=>B?.value);if(!P||!P?.length)return;S(!0);const j=yield m?.({attributes:P});if(S(!1),j){if(c){const B=I,H=(E=B?.video)===null||E===void 0?void 0:E.bindProduct,F=(x=(A=B?.video)===null||A===void 0?void 0:A.bindProduct)===null||x===void 0?void 0:x.bindCta,N=I?.index;u(B,H,F,N)}d||b?.(),p?.()}}),1e3);return f.createElement("div",{className:"pb-appoint-form"},f.createElement("div",{className:`pb-appoint-form-title ${Q(Object.assign({},o))}`},n),f.createElement("div",Object.assign({className:Q(Object.assign({},i))},y),f.createElement("div",{className:"pb-appoint-form-container"})),f.createElement("div",{className:"pb-appoint-form-btn-wrapper"},f.createElement("button",{onClick:v,className:"pb-appoint-form-btn",style:Object.assign({color:a,background:l},g)},h?f.createElement(f.Fragment,null,"loading..."):s)))};var Qn=pe(Kn);function Ne(t,e){return t.extend=e,t}const Zn=Ne(Qn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Jn,bindableProps:[],interactionRender:qn},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,eo=[{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:de,name:["fontFamily"],initialValue:(Kt=de?.[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:de,initialValue:(Qt=de?.[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 Ue(){const t=typeof document<"u"?document:{};return Zt(t,Wi),t}const to={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 Ae(){const t=typeof window<"u"?window:{};return Zt(t,to),t}function tt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function io(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function ut(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function ze(){return Date.now()}function no(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 oo(t,e){e===void 0&&(e="x");const i=Ae();let n,o,l;const a=no(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function kt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function lo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function je(){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&&!lo(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,a=o.length;l<a;l+=1){const s=o[l],r=Object.getOwnPropertyDescriptor(n,s);r!==void 0&&r.enumerable&&(kt(t[s])&&kt(n[s])?n[s].__swiper__?t[s]=n[s]:je(t[s],n[s]):!kt(t[s])&&kt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:je(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 o=Ae(),l=-e.translate;let a=null,s;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(b,g)=>c==="next"&&b>=g||c==="prev"&&b<=g,p=()=>{s=new Date().getTime(),a===null&&(a=s);const b=Math.max(Math.min((s-a)/r,1),0),g=.5-Math.cos(b*Math.PI)/2;let y=l+g*(i-l);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})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function $e(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:tt(e)),i}function so(t){const e=Ae(),i=Ue(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,a=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+r-a}}function ao(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 ro(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 it(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 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=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 We(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function co(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=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=ze(),r;const c=[];function d(h){let M=0,_=0,T=0,E=0;return"detail"in h&&(_=h.detail),"wheelDelta"in h&&(_=-h.wheelDelta/120),"wheelDeltaY"in h&&(_=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=_,_=0),T=M*10,E=_*10,"deltaY"in h&&(E=h.deltaY),"deltaX"in h&&(T=h.deltaX),h.shiftKey&&!T&&(T=E,E=0),(T||E)&&h.deltaMode&&(h.deltaMode===1?(T*=40,E*=40):(T*=800,E*=800)),T&&!M&&(M=T<1?-1:1),E&&!_&&(_=E<1?-1:1),{spinX:M,spinY:_,pixelX:T,pixelY:E}}function p(){e.enabled&&(e.mouseEntered=!0)}function b(){e.enabled&&(e.mouseEntered=!1)}function g(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ze()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&ze()-s<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),s=new l.Date().getTime(),!1)}function y(h){const S=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&S.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&S.releaseOnEdges)return!0;return!1}function m(h){let S=h,D=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const v=e.params.mousewheel;e.params.cssMode&&S.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const _=M&&M.contains(S.target);if(!e.mouseEntered&&!_&&!v.releaseOnEdges)return!0;S.originalEvent&&(S=S.originalEvent);let T=0;const E=e.rtlTranslate?-1:1,A=d(S);if(v.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))T=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))T=-A.pixelY;else return!0;else T=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(T===0)return!0;v.invert&&(T=-T);let x=e.getTranslate()+T*v.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&&S.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:ze(),delta:Math.abs(T),direction:Math.sign(T),raw:h};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)&&g(C):g(C),y(C))return!0}else{const C={time:ze(),delta:Math.abs(T),direction:Math.sign(T)},P=r&&C.time<r.time+500&&C.delta<=r.delta&&C.direction===r.direction;if(!P){r=void 0;let j=e.getTranslate()+T*v.sensitivity;const B=e.isBeginning,H=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!B&&e.isBeginning||!H&&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 F=c.length?c[c.length-1]:void 0,N=c[0];if(c.push(C),F&&(C.delta>F.delta||C.direction!==F.direction))c.splice(0);else if(c.length>=15&&C.time-N.time<500&&N.delta-C.delta>=1&&C.delta<=6){const R=T>0?.8:.2;r=C,c.splice(0),a=ut(()=>{e.slideToClosest(e.params.speed,!0,void 0,R)},0)}a||(a=ut(()=>{r=C,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",S),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),v.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return S.preventDefault?S.preventDefault():S.returnValue=!1,!1}function I(h){let S=e.el;e.params.mousewheel.eventsTarget!=="container"&&(S=document.querySelector(e.params.mousewheel.eventsTarget)),S[h]("mouseenter",p),S[h]("mouseleave",b),S[h]("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 Xi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=$e(t.el,`.${n[o]}`)[0];l||(l=wt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function pt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Mt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let 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:h}=e.params.pagination;u&&(u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${h}-${w}`),u=u[`${w==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${h}-${w}-${w}`)))}function d(u){const w=u.target.closest(pt(e.params.pagination.bulletClass));if(!w)return;u.preventDefault();const h=Ot(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function p(){const u=e.rtl,w=e.params.pagination;if(r())return;let h=e.pagination.el;h=We(h);let S,D;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(S=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,S=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let T,E,A;if(w.dynamicBullets&&(a=ti(_[0],e.isHorizontal()?"width":"height",!0),h.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&D!==void 0&&(s+=S-(D||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),T=Math.max(S-s,0),E=T+(Math.min(_.length,w.dynamicMainBullets)-1),A=(E+T)/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)}),h.length>1)_.forEach(x=>{const C=Ot(x);C===S?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(C>=T&&C<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),C===T&&c(x,"prev"),C===E&&c(x,"next"))});else{const x=_[S];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&_.forEach((C,P)=>{C.setAttribute("part",P===S?"bullet-active":"bullet")}),w.dynamicBullets){const C=_[T],P=_[E];for(let j=T;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`})}}h.forEach((_,T)=>{if(w.type==="fraction"&&(_.querySelectorAll(pt(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(S+1)}),_.querySelectorAll(pt(w.totalClass)).forEach(E=>{E.textContent=w.formatFractionTotal(M)})),w.type==="progressbar"){let E;w.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(S+1)/M;let x=1,C=1;E==="horizontal"?x=A:C=A,_.querySelectorAll(pt(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,S+1,M),T===0&&o("paginationRender",_)):(T===0&&o("paginationRender",_),o("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 h=e.pagination.el;h=We(h);let S="";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 v=0;v<D;v+=1)u.renderBullet?S+=u.renderBullet.call(e,v,u.bulletClass):S+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?S=u.renderFraction.call(e,u.currentClass,u.totalClass):S=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?S=u.renderProgressbar.call(e,u.progressbarFillClass):S=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(D=>{u.type!=="custom"&&(D.innerHTML=S||""),u.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(pt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",h[0])}function g(){e.params.pagination=Xi(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(h=>qi(h,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=We(w),w.forEach(h=>{u.type==="bullets"&&u.clickable&&h.classList.add(...(u.clickableClass||"").split(" ")),h.classList.add(u.modifierClass+u.type),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(h.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&h.classList.add(u.progressbarOppositeClass),u.clickable&&h.addEventListener("click",d),e.enabled||h.classList.add(u.lockClass)}))}function y(){const u=e.params.pagination;if(r())return;let w=e.pagination.el;w&&(w=We(w),w.forEach(h=>{h.classList.remove(u.hiddenClass),h.classList.remove(u.modifierClass+u.type),h.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(h.classList.remove(...(u.clickableClass||"").split(" ")),h.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.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=We(w),w.forEach(h=>{h.classList.remove(u.horizontalClass,u.verticalClass),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(g(),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=We(u),u.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,w)=>{const h=w.target,S=We(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const D=S[0].classList.contains(e.params.pagination.hiddenClass);o(D===!0?"paginationShow":"paginationHide"),S.forEach(v=>v.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=We(u),u.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),g(),b(),p()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=We(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:g,destroy:y})}function uo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ue();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 g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:C}=e,{dragEl:P,el:j}=x,B=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=d,N=(p-d)*H;C?(N=-N,N>0?(F=d-N,N=0):-N+d>p&&(F=p+N)):N<0?(F=d+N,N=0):N+d>p&&(F=p-N),e.isHorizontal()?(P.style.transform=`translate3d(${N}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${N}px, 0)`,P.style.height=`${F}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)-so(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 H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*B;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:B,dragEl:H}=P;a=!0,c=x.target===H?I(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),j.style.transitionDuration="100ms",H.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"),o("scrollbarDragStart",x)}function h(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",o("scrollbarDragMove",x))}function S(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=ut(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),C.snapOnRelease&&e.slideToClosest())}function D(x){const{scrollbar:C,params:P}=e,j=C.el;if(!j)return;const B=j,H=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!B)return;const N=x==="on"?"addEventListener":"removeEventListener";B[N]("pointerdown",w,H),l[N]("pointermove",h,H),l[N]("pointerup",S,F)}function v(){!e.params.scrollbar.el||!e.scrollbar.el||D("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||D("off")}function _(){const{scrollbar:x,el:C}=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=l.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(pt(e.params.scrollbar.dragClass)),B||(B=wt("div",e.params.scrollbar.dragClass),j.append(B))),Object.assign(x,{el:j,dragEl:B}),P.draggable&&v(),j&&j.classList[e.enabled?"remove":"add"](...tt(e.params.scrollbar.lockClass))}function T(){const x=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...tt(e.isHorizontal()?x.horizontalClass:x.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:C}=e.scrollbar;C=We(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(),g())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{g()}),n("setTransition",(x,C)=>{y(C)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...tt(e.params.scrollbar.lockClass))}),n("destroy",()=>{T()});const E=()=>{e.el.classList.remove(...tt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...tt(e.params.scrollbar.scrollbarDisabledClass)),_(),m(),g()},A=()=>{e.el.classList.add(...tt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...tt(e.params.scrollbar.scrollbarDisabledClass)),T()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:m,setTranslate:g,init:_,destroy:T})}function Lt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,r=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),b,g,y,m,I,u,w;function h(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!w&&E())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?b=!0:b&&(c=d,b=!1);const F=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/r),s=requestAnimationFrame(()=>{S()})},D=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(R=>R.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},v=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),S();let N=typeof F>"u"?e.params.autoplay.delay:F;r=e.params.autoplay.delay,c=e.params.autoplay.delay;const R=D();!Number.isNaN(R)&&R>0&&typeof F>"u"&&(N=R,r=R,c=R),d=N;const L=e.params.speed,k=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{v()})))};return N>0?(clearTimeout(a),a=setTimeout(()=>{k()},N)):requestAnimationFrame(()=>{k()}),N},M=()=>{p=new Date().getTime(),e.autoplay.running=!0,v(),o("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),o("autoplayStop")},T=(F,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),F||(u=!0);const R=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,N){I&&(d=e.params.autoplay.delay),I=!1,R();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),R())},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,v(d)):v(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const F=Ue();F.visibilityState==="hidden"&&(u=!0,T(!0)),F.visibilityState==="visible"&&E()},x=F=>{F.pointerType==="mouse"&&(u=!0,w=!0,!(e.animating||e.autoplay.paused)&&T(!0))},C=F=>{F.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=()=>{Ue().addEventListener("visibilitychange",A)},H=()=>{Ue().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),B(),M())}),n("destroy",()=>{j(),H(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(y||u)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():T(!0,!0)}),n("beforeTransitionStart",(F,N,R)=>{e.destroyed||!e.autoplay.running||(R||!e.params.autoplay.disableOnInteraction?T(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}g=!0,y=!1,u=!1,m=setTimeout(()=>{u=!0,y=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){y=!1,g=!1;return}y&&e.params.cssMode&&E(),y=!1,g=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:M,stop:_,pause:T,resume:E})}function po(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const 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:ze()})}function s(r){let{currentPos:c}=r;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:b,snapGrid:g,touchEventsData:y}=e,I=ze()-y.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<g.length?e.slideTo(g.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(y.velocities.length>1){const _=y.velocities.pop(),T=y.velocities.pop(),E=_.position-T.position,A=_.time-T.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(A>150||ze()-_.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 h=e.translate+w;b&&(h=-h);let S=!1,D;const v=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())d.freeMode.momentumBounce?(h+e.maxTranslate()<-v&&(h=e.maxTranslate()-v),D=e.maxTranslate(),S=!0,y.allowMomentumBounce=!0):h=e.maxTranslate(),d.loop&&d.centeredSlides&&(M=!0);else if(h>e.minTranslate())d.freeMode.momentumBounce?(h-e.minTranslate()>v&&(h=e.minTranslate()+v),D=e.minTranslate(),S=!0,y.allowMomentumBounce=!0):h=e.minTranslate(),d.loop&&d.centeredSlides&&(M=!0);else if(d.freeMode.sticky){let _;for(let T=0;T<g.length;T+=1)if(g[T]>-h){_=T;break}Math.abs(g[_]-h)<Math.abs(g[_-1]-h)||e.swipeDirection==="next"?h=g[_]:h=g[_-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(b?u=Math.abs((-h-e.translate)/e.velocity):u=Math.abs((h-e.translate)/e.velocity),d.freeMode.sticky){const _=Math.abs((b?-h:h)-e.translate),T=e.slidesSizesGrid[e.activeIndex];_<T?u=d.speed:_<2*T?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&S?(e.updateProgress(D),e.setTransition(u),e.setTranslate(h),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(h),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ei(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),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:l,onTouchMove:a,onTouchEnd:s}})}let ii;function vo(){const t=Ae(),e=Ue();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=vo()),ii}let ni;function fo(t){let{userAgent:e}=t===void 0?{}:t;const i=Ji(),n=Ae(),o=n.navigator.platform,l=e||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,r=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),b=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=o==="Win32";let y=o==="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=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),y=!1),c&&!g&&(a.os="android",a.android=!0),(d||b||p)&&(a.os="ios",a.ios=!0),a}function Ki(t){return t===void 0&&(t={}),ni||(ni=fo(t)),ni}let oi;function mo(){const t=Ae(),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 o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),a=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:a,isWebView:o}}function ho(){return oi||(oi=mo()),oi}function go(t){let{swiper:e,on:i,emit:n}=t;const o=Ae();let l=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{a=o.requestAnimationFrame(()=>{const{width:b,height:g}=e;let y=b,m=g;p.forEach(I=>{let{contentBoxSize:u,contentRect:w,target:h}=I;h&&h!==e.el||(y=w?w.width:(u[0]||u).inlineSize,m=w?w.height:(u[0]||u).blockSize)}),(y!==b||m!==g)&&s()})}),l.observe(e.el))},c=()=>{a&&o.cancelAnimationFrame(a),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){r();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function bo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],a=Ae(),s=function(d,p){p===void 0&&(p={});const b=a.MutationObserver||a.WebkitMutationObserver,g=new b(y=>{if(e.__preventObserver__)return;if(y.length===1){o("observerUpdate",y[0]);return}const m=function(){o("observerUpdate",y[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});g.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(g)},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=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",c)}var yo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];e.apply(n,a)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(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 wo(){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(it(n,"padding-left")||0,10)-parseInt(it(n,"padding-right")||0,10),i=i-parseInt(it(n,"padding-top")||0,10)-parseInt(it(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 So(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:a,wrongRTL:s}=t,r=t.virtual&&i.virtual.enabled,c=r?t.virtual.slides.length:t.slides.length,d=$e(o,`.${t.params.slideClass}, swiper-slide`),p=r?t.virtual.slides.length:d.length;let b=[];const g=[],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 h=i.spaceBetween,S=-m,D=0,v=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,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 M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let _;const T=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<p;E+=1){_=0;let A;if(d[E]&&(A=d[E]),M&&t.grid.updateSlide(E,A,d),!(d[E]&&it(A,"display")==="none")){if(i.slidesPerView==="auto"){T&&(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"),H=e(x,"padding-right"),F=e(x,"margin-left"),N=e(x,"margin-right"),R=x.getPropertyValue("box-sizing");if(R&&R==="border-box")_=j+F+N;else{const{clientWidth:L,offsetWidth:k}=A;_=j+B+H+F+N+(k-L)}}C&&(A.style.transform=C),P&&(A.style.webkitTransform=P),i.roundLengths&&(_=Math.floor(_))}else _=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),d[E]&&(d[E].style[t.getDirectionLabel("width")]=`${_}px`);d[E]&&(d[E].swiperSlideSize=_),y.push(_),i.centeredSlides?(S=S+_/2+D/2+h,D===0&&E!==0&&(S=S-l/2-h),E===0&&(S=S-l/2-h),Math.abs(S)<1/1e3&&(S=0),i.roundLengths&&(S=Math.floor(S)),v%i.slidesPerGroup===0&&b.push(S),g.push(S)):(i.roundLengths&&(S=Math.floor(S)),(v-Math.min(t.params.slidesPerGroupSkip,v))%t.params.slidesPerGroup===0&&b.push(S),g.push(S),S=S+_+h),t.virtualSize+=_+h,D=_,v+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+I,a&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(_,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-l&&E.push(x)}b=E,Math.floor(t.virtualSize-l)-Math.floor(b[b.length-1])>1&&b.push(t.virtualSize-l)}if(r&&i.loop){const E=y[0]+h;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),g.push(g[g.length-1]+E),t.virtualSize+=E}if(b.length===0&&(b=[0]),h!==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]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(x=>{E+=x+(h||0)}),E-=h;const A=E-l;b=b.map(x=>x<=0?-m:x>A?A+I:x)}if(i.centerInsufficientSlides){let E=0;if(y.forEach(A=>{E+=A+(h||0)}),E-=h,E<l){const A=(l-E)/2;b.forEach((x,C)=>{b[C]=x-A}),g.forEach((x,C)=>{g[C]=x+A})}}if(Object.assign(t,{slides:d,snapGrid:b,slidesGrid:g,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")),g.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 To(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(a(s))}else i.push(a(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function xo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function Eo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;o&&(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-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),g=-(a-d),y=g+e.slidesSizesGrid[r],m=g>=0&&g<=e.size-e.slidesSizesGrid[r];(g>=0&&g<e.size-1||y>1&&y<=e.size||g<=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=o?-p:p,c.originalProgress=o?-b:b}}function Io(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:a,progressLoop:s}=e;const r=l,c=a;if(n===0)o=0,l=!0,a=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,a=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),b=e.slidesGrid[d],g=e.slidesGrid[p],y=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=b?s=(m-b)/y:s=(m+y-g)/y,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!r&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(r&&!l||c&&!a)&&e.emit("fromEdge"),e.emit("progress",o)}function Co(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,s=p=>$e(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(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),r=s(`[data-swiper-slide-index="${p}"]`)}else r=s(`[data-swiper-slide-index="${o}"]`);else a?(r=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):r=e[o];r&&(r.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=ro(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=ao(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 o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},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),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=o,s=[a-e];s.push(...Array.from({length:e}).map((r,c)=>a+n+c)),t.slides.forEach((r,c)=>{s.includes(r.column)&&li(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let a=o-e;a<=l+e;a+=1){const s=(a%i+i)%i;(s<o||s>l)&&li(t,s)}else for(let a=Math.max(o-e,0);a<=Math.min(l+e,i-1);a+=1)a!==o&&(a>l||a<o)&&li(t,a)};function _o(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function Do(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:a,snapIndex:s}=e;let r=t,c;const d=g=>{let y=g-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=_o(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const g=Math.min(o.slidesPerGroupSkip,r);c=g+Math.floor((r-g)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),r===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(r===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(r);return}const p=e.grid&&o.grid&&o.grid.rows>1;let b;if(e.virtual&&o.virtual.enabled&&o.loop)b=d(r);else if(p){const g=e.slides.filter(m=>m.column===r)[0];let y=parseInt(g.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(g),0)),b=Math.floor(y/o.grid.rows)}else if(e.slides[r]){const g=e.slides[r].getAttribute("data-swiper-slide-index");g?b=parseInt(g,10):b=r}else b=r;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:b,previousIndex:l,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 ko(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,a;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,a=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Ao={updateSize:wo,updateSlides:So,updateAutoHeight:To,updateSlidesOffset:xo,updateSlidesProgress:Eo,updateProgress:Io,updateSlidesClasses:Co,updateActiveIndex:Do,updateClickedSlide:ko};function Po(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let a=oo(l,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Oo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:a}=i;let s=0,r=0;const c=0;i.isHorizontal()?s=n?-t:t:r=t,o.roundLengths&&(s=Math.floor(s),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:r,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-r:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),l.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 Mo(){return-this.snapGrid[0]}function Lo(){return-this.snapGrid[this.snapGrid.length-1]}function No(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:a,wrapperEl:s}=l;if(l.animating&&a.preventInteractionOnTransition)return!1;const r=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>r?d=r:n&&t<c?d=c:d=t,l.updateProgress(d),a.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return Yi({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(b){!l||l.destroyed||b.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var jo={getTranslate:Po,setTranslate:Oo,minTranslate:Mo,maxTranslate:Lo,translateTo:No};function Bo(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:o}=t;const{activeIndex:l,previousIndex:a}=e;let s=n;if(s||(l>a?s="next":l<a?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==a){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function zo(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 Vo(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 Ro={setTransition:Bo,transitionStart:zo,transitionEnd:Vo};function Fo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let a=t;a<0&&(a=0);const{params:s,snapGrid:r,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:b,wrapperEl:g,enabled:y}=l;if(l.animating&&s.preventInteractionOnTransition||!y&&!n&&!o||l.destroyed)return!1;const m=Math.min(l.params.slidesPerGroupSkip,a);let I=m+Math.floor((a-m)/l.params.slidesPerGroup);I>=r.length&&(I=r.length-1);const u=-r[I];if(s.normalizeSlideIndex)for(let h=0;h<c.length;h+=1){const S=-Math.floor(u*100),D=Math.floor(c[h]*100),v=Math.floor(c[h+1]*100);typeof c[h+1]<"u"?S>=D&&S<v-(v-D)/2?a=h:S>=D&&S<v&&(a=h+1):S>=D&&(a=h)}if(l.initialized&&a!==p&&(!l.allowSlideNext&&(b?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==a))return!1;a!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let w;if(a>p?w="next":a<p?w="prev":w="reset",b&&-u===l.translate||!b&&u===l.translate)return l.updateActiveIndex(a),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),w!=="reset"&&(l.transitionStart(i,w),l.transitionEnd(i,w)),!1;if(s.cssMode){const h=l.isHorizontal(),S=b?u:-u;if(e===0){const D=l.virtual&&l.params.virtual.enabled;D&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),D&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[h?"scrollLeft":"scrollTop"]=S})):g[h?"scrollLeft":"scrollTop"]=S,D&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Yi({swiper:l,targetPosition:S,side:h?"left":"top"}),!0;g.scrollTo({[h?"left":"top"]:S,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(a),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,w),e===0?l.transitionEnd(i,w):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(S){!l||l.destroyed||S.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,w))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Ho(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let s;if(l){const b=a*o.params.grid.rows;s=o.slides.filter(g=>g.getAttribute("data-swiper-slide-index")*1===b)[0].column}else s=o.getSlideIndexByData(a);const r=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=r-s<d;if(c&&(p=p||s<Math.ceil(d/2)),p){const b=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:b,slideTo:!0,activeSlideIndex:b==="next"?s+1:s-r+1,slideRealIndex:b==="next"?o.realIndex:void 0})}if(l){const b=a*o.params.grid.rows;a=o.slides.filter(g=>g.getAttribute("data-swiper-slide-index")*1===b)[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,e,i,n)}),o}function Uo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:a}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(a&&!c&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+r,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function Go(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:a,rtlTranslate:s,enabled:r,animating:c}=n;if(!r||n.destroyed)return n;const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function b(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const g=b(p),y=l.map(u=>b(u));let m=l[y.indexOf(g)-1];if(typeof m>"u"&&o.cssMode){let u;l.forEach((w,h)=>{g>=w&&(u=h)}),typeof u<"u"&&(m=l[u>0?u-1:u])}let I=0;if(typeof m<"u"&&(I=a.indexOf(m),I<0&&(I=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function $o(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 Wo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,l),s=a+Math.floor((l-a)/o.params.slidesPerGroup),r=o.rtlTranslate?o.translate:-o.translate;if(r>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];r-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];r-c<=(d-c)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Yo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex($e(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),ut(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex($e(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),ut(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var qo={slideTo:Fo,slideToLoop:Ho,slideNext:Uo,slidePrev:Go,slideReset:$o,slideToClosest:Wo,slideToClickedSlide:Yo};function Xo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{$e(n,`.${i.slideClass}, swiper-slide`).forEach((p,b)=>{p.setAttribute("data-swiper-slide-index",b)})},l=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%a!==0,r=l&&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)");o()}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)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Jo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,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:g}=r,{centeredSlides:y}=g;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&g.virtual.enabled){i&&(!g.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):g.centeredSlides&&r.snapIndex<g.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=g.slidesPerView;m==="auto"?m=r.slidesPerViewDynamic():(m=Math.ceil(parseFloat(g.slidesPerView,10)),y&&m%2===0&&(m=m+1));const I=g.slidesPerGroupAuto?m:g.slidesPerGroup;let u=I;u%I!==0&&(u+=I-u%I),u+=g.loopAdditionalSlides,r.loopedSlides=u;const w=r.grid&&g.grid&&g.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&&g.grid.fill==="row"&&Pt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],S=[];let D=r.activeIndex;typeof l>"u"?l=r.getSlideIndex(c.filter(C=>C.classList.contains(g.slideActiveClass))[0]):D=l;const v=n==="next"||!n,M=n==="prev"||!n;let _=0,T=0;const E=w?Math.ceil(c.length/g.grid.rows):c.length,x=(w?c[l].column:l)+(y&&typeof o>"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&&h.push(B)}else h.push(E-P-1)}}else if(x+m>E-u){T=Math.max(x-(E-u*2),I);for(let C=0;C<T;C+=1){const P=C-Math.floor(C/E)*E;w?c.forEach((j,B)=>{j.column===P&&S.push(B)}):S.push(P)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),M&&h.forEach(C=>{c[C].swiperLoopMoveDOM=!0,b.prepend(c[C]),c[C].swiperLoopMoveDOM=!1}),v&&S.forEach(C=>{c[C].swiperLoopMoveDOM=!0,b.append(c[C]),c[C].swiperLoopMoveDOM=!1}),r.recalcSlides(),g.slidesPerView==="auto"?r.updateSlides():w&&(h.length>0&&M||S.length>0&&v)&&r.slides.forEach((C,P)=>{r.grid.updateSlide(P,C,r.slides)}),g.watchSlidesProgress&&r.updateSlidesOffset(),i){if(h.length>0&&M){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),o&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else if(o){const C=w?h.length/g.grid.rows:h.length;r.slideTo(r.activeIndex+C,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(S.length>0&&v)if(typeof e>"u"){const C=r.slidesGrid[D],j=r.slidesGrid[D-T]-C;s?r.setTranslate(r.translate-j):(r.slideTo(D-T,0,!1,!0),o&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-j,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-j))}else{const C=w?S.length/g.grid.rows:S.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:o,activeSlideIndex:l,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...C,slideTo:P.params.slidesPerView===g.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===g.slidesPerView?i:!1})}r.emit("loopFix")}function Ko(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Qo={loopCreate:Xo,loopFix:Jo,loopDestroy:Ko};function Zo(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 el(){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 tl={setGrabCursor:Zo,unsetGrabCursor:el};function il(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ue()||n===Ae())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function Zi(t,e,i){const n=Ae(),{params:o}=t,l=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return l&&(i<=a||i>=n.innerWidth-a)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function nl(t){const e=this,i=Ue();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Zi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:a,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let r=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(r=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,b=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(b?il(p,r):r.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!r.closest(l.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const g=a.currentX,y=a.currentY;if(!Zi(e,n,g))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=g,a.startY=y,o.touchStartTime=ze(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let m=!0;r.matches(o.focusableElements)&&(m=!1,r.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const I=m&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||I)&&!r.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ol(t){const e=Ue(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:a,enabled:s}=i;if(!s||!o.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(v=>v.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){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=ze());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&r.target===e.activeElement&&r.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",r),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const b=l.currentX-l.startX,g=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(b**2+g**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let v;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:b*b+g*g>=25&&(v=Math.atan2(Math.abs(g),Math.abs(b))*180/Math.PI,n.isScrolling=i.isHorizontal()?v>o.touchAngle:90-v>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&r.cancelable&&r.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&r.stopPropagation();let y=i.isHorizontal()?b:g,m=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(y=Math.abs(y)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),l.diff=y,y*=o.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&&!o.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 v=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(v)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&u&&w&&Math.abs(y)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let S=!0,D=o.resistanceRatio;if(o.touchReleaseOnEdges&&(D=0),y>0?(u&&w&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(S=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**D))):y<0&&(u&&w&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(S=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**D))),S&&(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),o.threshold>0)if(Math.abs(y)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function ll(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(D=>D.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:a,touches:s,rtlTranslate: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=ze(),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=ze(),ut(()=>{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 g;if(a.followFinger?g=r?e.translate:-e.translate:g=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:g});return}const y=g>=-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 v=D<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[D+v]<"u"?(y||g>=c[D]&&g<c[D+v])&&(m=D,I=c[D+v]-c[D]):(y||g>=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 h=(g-c[m])/I,S=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(b>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:m+S):e.slideTo(m)),e.swipeDirection==="prev"&&(h>1-a.longSwipesRatio?e.slideTo(m+S):w!==null&&h<0&&Math.abs(h)>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+S):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:m+S),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function en(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function sl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function al(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function rl(t){const e=this;Nt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function dl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const tn=(t,e)=>{const i=Ue(),{params:n,el:o,wrapperEl:l,device:a}=t,s=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",c=e;i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[r]("touchstart",t.onTouchStart,{passive:!1}),o[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)&&o[r]("click",t.onClick,!0),n.cssMode&&l[r]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",en,!0):t[c]("observerUpdate",en,!0),o[r]("load",t.onLoad,{capture:!0})};function cl(){const t=this,{params:e}=t;t.onTouchStart=nl.bind(t),t.onTouchMove=ol.bind(t),t.onTouchEnd=ll.bind(t),t.onDocumentTouchStart=dl.bind(t),e.cssMode&&(t.onScroll=al.bind(t)),t.onClick=sl.bind(t),t.onLoad=rl.bind(t),tn(t,"on")}function ul(){tn(this,"off")}var pl={attachEvents:cl,detachEvents:ul};const nn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function vl(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const a=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const r=(a in l?l[a]:void 0)||t.originalParams,c=nn(t,n),d=nn(t,r),p=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(r.grid.fill&&r.grid.fill==="column"||!r.grid.fill&&n.grid.fill==="column")&&o.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,h=r[u]&&r[u].enabled;w&&!h&&t[u].disable(),!w&&h&&t[u].enable()});const b=r.direction&&r.direction!==n.direction,g=n.loop&&(r.slidesPerView!==n.slidesPerView||b),y=n.loop;b&&i&&t.changeDirection(),je(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&&(g?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&I?(t.loopCreate(e),t.updateSlides()):y&&!I&&t.loopDestroy()),t.emit("breakpoint",r)}function fl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Ae(),l=e==="window"?o.innerHeight:i.clientHeight,a=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const r=parseFloat(s.substr(1));return{value:l*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"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=r):c<=i.clientWidth&&(n=r)}return n||"max"}var ml={setBreakpoint:vl,getBreakpoint:fl};function hl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function gl(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,a=hl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),o.classList.add(...e),t.emitContainerClasses()}function bl(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var yl={addClasses:gl,removeClasses:bl};function wl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Sl={checkOverflow:wl},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 Tl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){je(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){je(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),je(e,n)}}const ri={eventsEmitter:yo,update:Ao,translate:jo,transition:Ro,slide:qo,loop:Qo,grabCursor:tl,events:pl,breakpoints:ml,checkOverflow:Sl,classes:yl},di={};let ci=class Qe{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=je({},i),e&&!i.el&&(i.el=e);const a=Ue();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(p=>{const b=je({},i,{el:p});d.push(new Qe(b))}),d}const s=this;s.__swiper__=!0,s.support=Ji(),s.device=Ki({userAgent:i.userAgent}),s.browser=ho(),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:Tl(i,r),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=je({},ai,r);return s.params=je({},c,di,i),s.originalParams=je({},s.params),s.passedParams=je({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=$e(i,`.${n.slideClass}, swiper-slide`),l=Ot(o[0]);return Ot(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=$e(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),a=(n.maxTranslate()-o)*e+o;n.translateTo(a,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:a,slidesSizesGrid:s,size:r,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,b;for(let g=c+1;g<l.length;g+=1)l[g]&&!b&&(p+=Math.ceil(l[g].swiperSlideSize),d+=1,p>r&&(b=!0));for(let g=c-1;g>=0;g-=1)l[g]&&!b&&(p+=l[g].swiperSlideSize,d+=1,p>r&&(b=!0))}else if(e==="current")for(let p=c+1;p<l.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 o(){const a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(a.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):$e(n,o())[0];return!a&&i.params.createElements&&(a=wt("div",i.params.wrapperClass),n.append(a),$e(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"||it(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||it(n,"direction")==="rtl"),wrongRTL:it(a,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Nt(i,l):l.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:o,el:l,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach(r=>{r.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.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,io(n)),n.destroyed=!0),null}static extendDefaults(e){je(di,e)}static get extendedDefaults(){return di}static get defaults(){return ai}static installModule(e){Qe.prototype.__modules__||(Qe.prototype.__modules__=[]);const i=Qe.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Qe.installModule(i)),Qe):(Qe.installModule(e),Qe)}};Object.keys(ri).forEach(t=>{Object.keys(ri[t]).forEach(e=>{ci.prototype[e]=ri[t][e]})}),ci.use([go,bo]);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 st(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function vt(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]:st(e[n])&&st(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:vt(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 xl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function El(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:a,scrollbarEl:s,paginationEl:r}=t;const c=o.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:d,pagination:p,navigation:b,scrollbar:g,virtual:y,thumbs:m}=e;let I,u,w,h,S,D,v,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(I=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(w=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&g&&!g.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(S=!0);const _=T=>{e[T]&&(e[T].destroy(),T==="navigation"?(e.isElement&&(e[T].prevEl.remove(),e[T].nextEl.remove()),d[T].prevEl=void 0,d[T].nextEl=void 0,e[T].prevEl=void 0,e[T].nextEl=void 0):(e.isElement&&e[T].el.remove(),d[T].el=void 0,e[T].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?D=!0:!d.loop&&n.loop?v=!0:M=!0),c.forEach(T=>{if(st(d[T])&&st(n[T]))Object.assign(d[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&_(T);else{const E=n[T];(E===!0||E===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?E===!1&&_(T):d[T]=n[T]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&y&&d.virtual.enabled?(y.slides=i,y.update(!0)):o.includes("virtual")&&y&&d.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),o.includes("children")&&i&&d.loop&&(M=!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()),h&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),g.init(),g.updateSize(),g.setTranslate()),S&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),l&&(d.navigation.nextEl=l),a&&(d.navigation.prevEl=a),b.init(),b.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(D||M)&&e.loopDestroy(),(v||M)&&e.loopCreate(),e.update()}function Il(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};vt(i,ai),i._emitClasses=!0,i.init=!1;const l={},a=on.map(r=>r.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(r=>{typeof t[r]>"u"||(a.indexOf(r)>=0?st(t[r])?(i[r]={},o[r]={},vt(i[r],t[r]),vt(o[r],t[r])):(i[r]=t[r],o[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]:l[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:o,rest:l,events:n}}function Cl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:a,swiper:s}=t;ln(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),sn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),an(e)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(i)}function _l(t,e,i,n,o){const l=[];if(!e)return l;const a=r=>{l.indexOf(r)<0&&l.push(r)};if(i&&n){const r=n.map(o),c=i.map(o);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(st(t[r])&&st(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)}),l}const Dl=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 f.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 kl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return f.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 o=cn(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Al(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to: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>=l&&d<=a&&c.push(e[n(d)]);return c.map((d,p)=>f.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function St(t,e){return typeof window>"u"?K(t,e):An(t,e)}const ui=yt(null),un=()=>bt(ui),Pl=yt(null),at=Ct(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:a,...s}=t===void 0?{}:t,r=!1;const[c,d]=G("swiper"),[p,b]=G(null),[g,y]=G(!1),m=ee(!1),I=ee(null),u=ee(null),w=ee(null),h=ee(null),S=ee(null),D=ee(null),v=ee(null),M=ee(null),{params:_,passedParams:T,rest:E,events:A}=Il(s),{slides:x,slots:C}=kl(l),P=()=>{y(!g)};Object.assign(_.on,{_containerClasses(N,R){d(R)}});const j=()=>{Object.assign(_.on,A),r=!0;const N={..._};if(delete N.wrapperClass,u.current=new ci(N),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const R={cache:!1,slides:x,renderExternal:b,renderExternalUpdate:!1};vt(u.current.params.virtual,R),vt(u.current.originalParams.virtual,R)}};I.current||j(),u.current&&u.current.on("_beforeBreakpoint",P);const B=()=>{r||!A||!u.current||Object.keys(A).forEach(N=>{u.current.on(N,A[N])})},H=()=>{!A||!u.current||Object.keys(A).forEach(N=>{u.current.off(N,A[N])})};K(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),K(()=>{!m.current&&u.current&&(u.current.emitSlidesClasses(),m.current=!0)}),St(()=>{if(e&&(e.current=I.current),!!I.current)return u.current.destroyed&&j(),Cl({el:I.current,nextEl:S.current,prevEl:D.current,paginationEl:v.current,scrollbarEl:M.current,swiper:u.current},_),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),St(()=>{B();const N=_l(T,w.current,x,h.current,R=>R.key);return w.current=T,h.current=x,N.length&&u.current&&!u.current.destroyed&&El({swiper:u.current,slides:x,passedParams:T,changedParams:N,nextEl:S.current,prevEl:D.current,scrollbarEl:M.current,paginationEl:v.current}),()=>{H()}}),St(()=>{Dl(u.current)},[p]);function F(){return _.virtual?Al(u.current,x,p):x.map((N,R)=>f.cloneElement(N,{swiper:u.current,swiperSlideIndex:R}))}return f.createElement(n,jt({ref:I,className:rn(`${c}${i?` ${i}`:""}`)},E),f.createElement(Pl.Provider,{value:u.current},C["container-start"],f.createElement(o,{className:xl(_.wrapperClass)},C["wrapper-start"],F(),C["wrapper-end"]),ln(_)&&f.createElement(f.Fragment,null,f.createElement("div",{ref:D,className:"swiper-button-prev"}),f.createElement("div",{ref:S,className:"swiper-button-next"})),an(_)&&f.createElement("div",{ref:M,className:"swiper-scrollbar"}),sn(_)&&f.createElement("div",{ref:v,className:"swiper-pagination"}),C["container-end"]))});at.displayName="Swiper";const Ye=Ct(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:a,lazy:s,virtualIndex:r,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=ee(null),[b,g]=G("swiper-slide"),[y,m]=G(!1);function I(S,D,v){D===p.current&&g(v)}St(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){b!=="swiper-slide"&&g("swiper-slide");return}return l.on("_slideClass",I),()=>{l&&l.off("_slideClass",I)}}}),St(()=>{l&&p.current&&!l.destroyed&&g(l.getSlideClasses(p.current))},[l]);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,h=()=>{m(!0)};return f.createElement(i,jt({ref:p,className:rn(`${b}${o?` ${o}`:""}`),"data-swiper-slide-index":r,onLoad:h},d),a&&f.createElement(ui.Provider,{value:u},f.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},w(),s&&!y&&f.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&f.createElement(ui.Provider,{value:u},w(),s&&!y&&f.createElement("div",{className:"swiper-lazy-preloader"})))});Ye.displayName="SwiperSlide";const Ol="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Ml=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var a;const[s,r]=G(!1),c=ee(null);K(()=>{const b=document.getElementById("sxp-render"),g=document.getElementById("pb-modal");g?c.current=g:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),b?.appendChild(c.current))},[]);const d=ne(()=>l?.id&&l?.id!==""||t,[t,l]);if(K(()=>{d?r(!0):setTimeout(()=>{r(!1)},l?.duration)},[d,l]),!c.current)return null;const p=Ht(()=>{e?.()},300);return Ai.createPortal(f.createElement(f.Fragment,null,s&&f.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},f.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((a=l?.duration)!==null&&a!==void 0?a:0)/1e3+"s"},onClick:b=>{b.stopPropagation(),b.preventDefault()}},f.createElement("div",{onClick:e,className:"modal-icon-wrapper"},f.createElement("img",{src:Ol,alt:"close",className:"modal-icon"})),i))),c.current)};var Bt=pe(Ml);const Ll=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let a=0;a<n.length&&(o.push(n[a]),!(o.join(" ").length>=e));a++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Nl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:a,isPost:s,onChange:r})=>{const[c,d]=G(!1),[p,b]=G(!1),g=Number(i?.lineClamp||2),y=ee(null),m=ee(null),I=ve(()=>{d(!c)},[c,r]);return ne(()=>!c&&t.length>e?Ll(t,e)+"...":t,[t,e,c]),K(()=>{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]),f.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},f.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":g,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),f.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&f.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??I},c?a||"show less":l||"show more"))};var zt=pe(Nl);const jl=Ct((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:a}=t,[s,r]=G();return Di(e,()=>({setSrc:c=>{r(c)}})),K(()=>{r(i)},[i]),ee(null),f.createElement(f.Fragment,null,s?.includes(".avif")?f.createElement("picture",null,f.createElement("source",{type:"image/avif",srcSet:s}),f.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),f.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),f.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:c=>{n?.(c.target)}})):f.createElement("img",{className:l,src:s,style:o,loading:a,onLoad:c=>{n?.(c.target)}}))});var Ve=pe(jl);const Bl=t=>{var e,i,n,o,l,a,s,r,c,{content:d,style:p,bgImg:b,onClick:g,schema:y,isDefault:m,bottom_image:I,tipText:u,isPost:w,viewTime:h,rec:S,swiper:D,commodityStyles:v,buttonStyle:M,index:_}=t,T=Ie(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=he(),{popupDetailData:A,bffEventReport:x,isPreview:C,bffFbReport:P}=he(),{jumpToWeb:j,productView:B}=He(),H=ee(null),[F,N]=G(!1),R=w?S:A,L=w?R?.product:(e=R?.video)===null||e===void 0?void 0:e.bindProduct,k=w?(i=R?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=R?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,$=w?_:A?.index,z=()=>{L?.link&&(j(R,L,k,$),w||B(R,L,k,h||H.current,$),window.location.href=window.getJointUtmLink(L.link))};K(()=>{w||P?.({eventName:"ProductView"})},[w,P]),K(()=>{const q=()=>{H.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const W=ne(()=>{var q,fe,ce,X,oe;return L?.currency&&L?.price?`${(ce=(fe=(q=L?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||fe===void 0?void 0:fe.toUpperCase())!==null&&ce!==void 0?ce:""}${(oe=(X=L?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&oe!==void 0?oe:""}`:"$7,000"},[L?.price,L?.currency]),re=C?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,ie=({isPost:q})=>{var fe,ce,X;return f.createElement("div",null,f.createElement("div",{className:"pb-commondity-content-collection",style:v?.collection,hidden:!!L&&(!L?.collection||L?.collection==="")},(fe=L?.collection)!==null&&fe!==void 0?fe:"Tiffany Lock"),f.createElement("div",{className:"pb-commondity-content-title",style:v?.title,hidden:!!L&&!L?.title},(ce=L?.title)!==null&&ce!==void 0?ce:"Pendant in Yellow Gold with Diamonds, Medium"),f.createElement("div",{className:"pb-commondity-content-price",style:v?.price,hidden:!!L&&!L?.price},W),f.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},f.createElement(zt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>N(!0),isPost:q,text:(X=L?.info)!==null&&X!==void 0?X:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
2
2
  bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
3
3
  collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
4
4
  necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
5
- 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style: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:v?.info})))},le=()=>{var q;return f.createElement(f.Fragment,null,(m||L?.link)&&f.createElement("button",{onClick:z,className:"pb-commondity-btn",style:M},(q=k?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))};return f.createElement("div",{className:"pb-commondity"},f.createElement("div",Object.assign({className:Q(Object.assign({},p))},T),L&&((a=L?.homePage)===null||a===void 0?void 0:a.length)>0&&f.createElement(at,{height:re,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=L?.homePage)===null||s===void 0?void 0:s.map(q=>f.createElement(Ye,{key:q},f.createElement("div",{style:{overflow:"hidden",width:re,height:re}},f.createElement(Ve,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${D?.translateY})%`},src:q}))))),!(!((r=L?.homePage)===null||r===void 0)&&r.length)&&f.createElement("div",{className:Q({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},f.createElement("img",{className:Q({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=E?.bottom_image)!==null&&c!==void 0?c:I,alt:""})),f.createElement("div",{className:"pb-commondity-content"},ie({isPost:w}))),le(),f.createElement(Bt,{visible:F,onClose:()=>N(!1)},f.createElement("div",{style:{paddingBottom:"80px"}},ie({isPost:!1})),le()))};var zl=pe(Bl);const Vl=Ne(zl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:eo},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 Rl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],pi,vi,Fl=[{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:Le?.fontOptions,initialValue:(vi=(pi=Le?.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 Hl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Ul=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:a,onClose:s,onClick:r,submitButtonStyle:c}=t,d=Ie(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=he(),{jumpToWeb:b}=He(),g=typeof o=="string"?o:Hl(o),y=()=>{var m,I,u;if(a){const w=p,h=(m=w?.video)===null||m===void 0?void 0:m.bindProduct,S=(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,h,S,D)}l||s?.(),r?.()};return f.createElement("div",Object.assign({className:`pb-prompt ${Q(Object.assign({},n))}`},d),f.createElement("div",{className:"pb-prompt-icon"},f.createElement("img",{width:"100%",src:g??pn})),f.createElement("div",{className:"pb-prompt-content"},e),f.createElement("button",{className:"pb-prompt-btn",style:c,onClick:y},i))};var Gl=pe(Ul);const $l=Ne(Gl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Fl,bindableProps:[],interactionRender:Rl},defaulSetting:{props:{icon:pn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var fi,mi,Wl=[{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:de,name:["fontFamily"],initialValue:(fi=de?.[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:de,initialValue:(mi=de?.[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 Yl=t=>{var e,i,n,o,l,a,s,r,c,d,p,b,{style:g,isDefault:y,rec:m,viewTime:I,isPost:u,bottom_image:w,tipText:h,swiper:S,commodityStyles:D,buttonStyle:v,index:M}=t,_=Ie(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);G(!0);const{sxpParameter:T}=he(),{popupDetailData:E,bffEventReport:A,isPreview:x,swiperRef:C,bffFbReport:P}=he(),{jumpToWeb:j,productView:B}=He(),H=ee(null);ee(null),ee(null),G(!1),G(!1),G(!0);const[F,N]=G(!1),R=ee(null),L=u?m:E,k=u?L?.product:(e=L?.video)===null||e===void 0?void 0:e.bindProduct,$=u?(i=L?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=L?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,z=u?M:E?.index,W=()=>{k?.link&&(j(L,k,$,z),u||B(L,k,$,I||R.current,z),window.location.href=window.getJointUtmLink(k.link))};K(()=>{u||P?.({eventName:"ProductView"})},[u,P]),K(()=>{const q=()=>{R.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const re=ne(()=>{var q,fe,ce,X,oe;return k?.currency&&k?.price?`${(ce=(fe=(q=k?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||fe===void 0?void 0:fe.toUpperCase())!==null&&ce!==void 0?ce:""}${(oe=(X=k?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&oe!==void 0?oe:""}`:"\xA3102,300.00"},[k?.price,k?.currency]),ie=x?375:(l=g?.width)!==null&&l!==void 0?l:window.innerWidth,le=({isPost:q})=>f.createElement("div",{hidden:!!k&&(!k?.info||k?.info==="")},f.createElement(zt,{isPost:q,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:D?.info,foldText:h?.foldText,unfoldText:h?.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 f.createElement("div",{className:"pb-commondityDiroNew"},f.createElement("div",Object.assign({ref:H,className:Q(Object.assign({},g))},_),k&&((a=k?.homePage)===null||a===void 0?void 0:a.length)>0&&f.createElement(at,{height:ie,modules:[Mt,Lt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:S?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:S?.delay*1e3}},(s=k?.homePage)===null||s===void 0?void 0:s.map(q=>f.createElement(Ye,{key:q},f.createElement("div",{style:{overflow:"hidden",width:ie,height:ie}},f.createElement(Ve,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",transform:`translateY(${S?.translateY})%`},src:q}))))),!(!((r=k?.homePage)===null||r===void 0)&&r.length)&&f.createElement("div",{className:Q({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},f.createElement("img",{className:Q({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=T?.bottom_image)!==null&&c!==void 0?c:w,alt:""})),f.createElement("div",{className:"pb-commondityDiroNew-content"},f.createElement("div",{className:"pb-commondityDiroNew-content-top"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:D?.title},(d=k?.title)!==null&&d!==void 0?d:"Large Dior Toujours Bag"),f.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!k&&(!k?.collection||k?.collection===""),style:D?.collection},k?.collection||"Black Macrocannage Calfskin")),f.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.price,style:D?.price},re),f.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)&&f.createElement("button",{onClick:W,className:"pb-commondityDiroNew-btn",style:v},(b=$?.enTitle)!==null&&b!==void 0?b:"Shop now"),le({isPost:u}))),f.createElement(Bt,{visible:F,onClose:()=>N(!1)},le({isPost:!1})))};var ql=pe(Yl);const Xl=Ne(ql,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Wl},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,Re=[{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:de,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(hi=de?.[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:de,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(gi=de?.[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"]}]}],Jl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function vn(t){const e=ee(null),[i,n]=G(!1);return K(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),K(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Kl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:a=!1,index:s}=t;Ie(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=ee(null),c=vn(r),{popup:d}=Je(),{setPopupDetailData:p,ctaEvent:b}=he(),{jumpToWeb:g}=He();K(()=>{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,h,S,D,v;const M=(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,M,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 _=(h=e?.video)===null||h===void 0?void 0:h.bindCta,T=(S=e?.video)===null||S===void 0?void 0:S.bindProduct;g(e,T,_,s),window.location.href=window.getJointUtmLink((v=(D=e?.video)===null||D===void 0?void 0:D.bindProduct)===null||v===void 0?void 0:v.link)}}else o?.()},d?.duration);return f.createElement("div",{ref:r,className:n,style:l,onClick:y},i)};var Tt=pe(Kl),Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Zl=t=>{var e,i,n,o,l,a,s,r,c,{content:d,style:p,bgImg:b,recData:g,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:h}=he(),S=(e=g?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(l=(n=(i=g?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&a!==void 0?a:y;return f.createElement(Tt,Object.assign({isExternalLink:I,rec:g,className:Q(Object.assign({},p)),style:{display:"flex"}},w),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},f.createElement(Ve,{className:Q({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),f.createElement("div",{className:Q({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Ql["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),f.createElement("div",{className:Q(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=S?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop Now")))};var es=pe(Zl);const ts=Ne(es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Jl,bindableProps:[],settingRender:Re},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 is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ns=t=>{var e,i,n,o,{content:l,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:g}=he(),y=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return f.createElement(Tt,Object.assign({isExternalLink:p,rec:r,className:Q(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},b),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},f.createElement("img",{className:Q({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:g?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=y?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var os=pe(ns);const ls=Ne(os,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:is,settingRender:Re?.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 ss={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const as=t=>{var e,i,n,o,l,{content:a,style:s,bgImg:r,recData:c,bottom_image:d,ctaTempStyles:p,index:b}=t,g=Ie(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:m}=he(),{jumpToWeb:I}=He(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,w=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{u?.link&&(I(c,w,u,b),window.location.href=window.getJointUtmLink(u.link))};return f.createElement(Tt,Object.assign({index:b,rec:c,className:Q(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},g,{onClick:h}),f.createElement("div",{className:Q(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},f.createElement(Ve,{className:Q({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&o!==void 0?o:d})),f.createElement("div",{className:Q({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},f.createElement("div",{className:ss["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var rs=pe(as);const ds=Ne(rs,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Re?.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 cs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],us={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const ps=t=>{var e,i,n,o,l,a,s,r,c,{content:d,style:p,bgImg:b,recData:g,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:h}=he(),S=(e=g?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(l=(n=(i=g?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&a!==void 0?a:y;return f.createElement(Tt,Object.assign({isExternalLink:I,rec:g,className:Q(Object.assign({},p)),style:{display:"flex"}},w),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},f.createElement(Ve,{className:Q({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),f.createElement("div",{className:Q({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:us["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),f.createElement("div",{className:Q(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=S?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop Now")))};var vs=pe(ps);const fs=Ne(vs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:cs,settingRender:Re,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 ms=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],hs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const gs=t=>{var e,i,n,o,l,a,s,r,c,{content:d,style:p,bgImg:b,recData:g,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:h}=he(),S=(e=g?.video)===null||e===void 0?void 0:e.bindProduct,D=(a=(l=(n=(i=g?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&a!==void 0?a:y;return f.createElement(Tt,Object.assign({isExternalLink:I,rec:g,className:Q(Object.assign({},p)),style:{display:"flex"}},w),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},f.createElement(Ve,{className:Q({width:"100%",objectFit:"cover",height:"100%",display:"block",transform:`translateY(${u}%)`}),src:D})),f.createElement("div",{className:Q({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},f.createElement("div",{className:hs["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),f.createElement("div",{className:Q(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(c=(r=S?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&c!==void 0?c:"Shop now")))};var bs=pe(gs);const ys=Ne(bs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:ms,bindableProps:[],settingRender:Re},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 ws=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ss=({children:t,isPadding:e=!0})=>f.createElement(at,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[po,uo,co],style:{padding:e?"0 12px 0 20px":0}},t);var Vt=pe(Ss);const Ts=({src:t,rec:e,item:i,index:n,style:o})=>{const l=ee(null),a=vn(l),{ctaEvent:s}=he();return K(()=>{a&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[a,t,l,e,s,i,n]),f.createElement("div",{ref:l,hidden:!t,className:Q({width:"100%",height:"100%"})},f.createElement(Ve,{className:Q(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var bi=pe(Ts),xs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Es=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,g=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:I}=he(),{popup:u}=Je(),{jumpToWeb:w}=He(),[h,S]=G((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(v=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,v,p),m?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:v}),index:p})),d?v?.link&&(w(a,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Vt,{isPadding:!!a},h?.map(v=>{var M,_,T,E,A,x,C;return f.createElement(Ye,Object.assign({hidden:a&&!v?.bindCta,key:v?.itemId,className:Q(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},g,{onClick:()=>D(v)}),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},f.createElement(bi,{src:(E=(T=(M=v?.cover)!==null&&M!==void 0?M:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:I?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:v,index:p,style:{transform:`translateY(${b}%)`}})),f.createElement("div",{className:Q({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:xs["two-line-ellipsis"],style:c?.title},(A=v?.title)!==null&&A!==void 0?A:"Product Name"),f.createElement("div",{className:Q(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var Is=pe(Es);const Cs=Ne(Is,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:ws,bindableProps:[],settingRender:Re},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 _s=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ds={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ks=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,g=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=he(),{ctaEvent:m,setPopupDetailData:I}=he(),{popup:u}=Je(),[w,h]=G((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:S}=He(),D=It(v=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,v,p),I?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:v}),index:p})),d?v?.link&&(S(a,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Vt,{isPadding:!!a},w?.map(v=>{var M,_,T,E,A,x,C;return f.createElement(Ye,Object.assign({hidden:a&&!v?.bindCta,key:v.itemId,className:Q(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},g,{onClick:()=>D(v)}),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},f.createElement(bi,{src:(E=(T=(M=v?.cover)!==null&&M!==void 0?M:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:y?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:v,index:p,style:{transform:`translateY(${b}%)`}})),f.createElement("div",{className:Q({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Ds["two-line-ellipsis"],style:c?.title},(A=v?.title)!==null&&A!==void 0?A:"Product Name"),f.createElement("div",{className:Q(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var As=pe(ks);const Ps=Ne(As,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:_s,settingRender:Re,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 Os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ms={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ls=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:s,bottom_image:r,ctaTempStyles:c,isExternalLink:d,index:p,translateY:b=0}=t,g=Ie(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:I}=he(),{popup:u}=Je(),{jumpToWeb:w}=He(),[h,S]=G((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),D=It(v=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,v,p),m?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:v}),index:p})),d?v?.link&&(w(a,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Vt,{isPadding:!!a},h?.map(v=>{var M,_,T,E,A,x,C;return f.createElement(Ye,Object.assign({hidden:a&&!v?.bindCta,key:v?.itemId,className:Q(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},g,{onClick:()=>D(v)}),f.createElement("div",{className:Q(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},f.createElement(bi,{src:(E=(T=(M=v?.cover)!==null&&M!==void 0?M:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:I?.bottom_image)!==null&&E!==void 0?E:r,rec:a,item:v,index:p,style:{transform:`translateY(${b}%)`}})),f.createElement("div",{className:Q({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},f.createElement("div",{className:Ms["tow-line-ellipsis"],style:c?.title},(A=v?.title)!==null&&A!==void 0?A:"Product Name"),f.createElement("div",{className:Q(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop now")))}))};var Ns=pe(Ls);const js=Ne(Ns,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Os,bindableProps:[],settingRender:Re},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,Bs=[{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:de,name:["fontFamily"],initialValue:(yi=de?.[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:de,initialValue:(wi=de?.[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 zs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:a}=he();return f.createElement("div",{className:"clc-sxp-nav",style:e},f.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),f.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var fn=pe(zs),Vs=null,Rs="3d989325-e7d6-4a74-8a97-98febdf5b567",Fs=null,Hs=null,Us={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"},Gs=[{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}],$s="Handbags",Ws={productUserId:Vs,requestId:Rs,channel:Fs,rtc:Hs,tag:Us,recList:Gs,hashTag:$s};const Ys=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:a}=t,{swiperRef:s,setRtcList:r,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=he(),[b,g]=G(!1),y=ee(null),m=ee(null),I=ee(null),u=ee(null),[w,h]=G(""),S=ne(()=>{var T,E,A,x,C,P,j,B,H,F;return!((T=e?.video)===null||T===void 0)&&T.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?(F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0?void 0:F[0]:p?.bottom_image||""},[e,p?.bottom_image]),D=ne(()=>{var T,E;return((T=e?.product)===null||T===void 0?void 0:T.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),v=ne(()=>{var T,E,A,x,C,P,j,B,H;return!((T=e?.product)===null||T===void 0)&&T.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:""}${(H=(B=(j=e?.product)===null||j===void 0?void 0:j.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);K(()=>{const T=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(m.current===null||S==="")return;b&&w?y.current.setSrc(w):y.current.setSrc(S),T.unobserve(m.current)}})});return T.observe(m.current),()=>{T.disconnect()}},[S,b,w]);const M=(T,E,A)=>{const x=T/E;return A/x};K(()=>{const T=I?.current;T===null||S===""||!b||(T.src=S,T.currentTime=1,T.crossOrigin="anonymous",T.onloadeddata=()=>{const E=u?.current;if(!E)return;const A=E.getContext("2d"),x=window?.innerWidth/2,C=M(T.videoWidth,T.videoHeight,x);E.height=C,E.width=x,A?.drawImage(T,0,0,E.width,E.height),h(E.toDataURL()),T.remove(),E.remove()})},[S,b]);const _=()=>{o(),r?.(n),setTimeout(()=>{var T;(T=s?.current)===null||T===void 0||T.swiper.slideTo(i,0,!1),c?.(!1)},0)};return f.createElement("div",{ref:m,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:a}},f.createElement("div",{className:"list-content-listItem-picture"},b&&f.createElement("div",{style:{display:"none"}},f.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),f.createElement("canvas",{ref:u})),f.createElement(Ve,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),f.createElement("div",{className:"list-content-listItem-info"},f.createElement("div",{className:`list-content-listItem-info-title ${v?"list-content-listItem-info-nowrap":""}`,style:l?.title},D&&D),f.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!v},v)))};function qs(t){var e,i,n,o,l,a,s,r,c,d,p,b,{reportTagsView:g}=t,y=Ie(t,["reportTagsView"]);const{waterFallData:m,getRecommendVideos:I,hashTagSize:u,loadingImage:w,isOpenHashTag:h}=he(),[S,D]=G(),[v,M]=G(),[_,T]=G(!1),E=ee(null),[A,x]=G(!1);ve(()=>{A||(x(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(P=>{var j;D(S?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),x(!1)}))},[m,I,S,A]),K(()=>{var P,j;if(T(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:u,maxSize:u}).then(B=>{var H,F;M(B),D((F=(H=B?.recList)===null||H===void 0?void 0:H.filter(N=>N?.video!==null||N?.product!==null))!==null&&F!==void 0?F:[]),T(!1)}),h){const B=Ws;M(B),D((j=(P=B?.recList)===null||P===void 0?void 0:P.filter(H=>H?.video!==null||H?.product!==null))!==null&&j!==void 0?j:[]),T(!1)}},[m,I,u,h]);const C=()=>{var P,j;!((P=v?.tag)===null||P===void 0)&&P.link&&(g(),window.location.href=(j=v?.tag)===null||j===void 0?void 0:j.link)};return f.createElement(f.Fragment,null,_?f.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):f.createElement("div",{className:"list"},f.createElement("div",{className:"list-scroll",ref:E},f.createElement("div",{className:"list-info",style:(e=y?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=v?.tag)===null||i===void 0?void 0:i.info),f.createElement("div",{hidden:!(!((n=v?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:C,style:Object.assign(Object.assign({},(o=y?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:y?.space})},((l=v?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),f.createElement("div",{className:"list-content"},S?.map((P,j)=>f.createElement(Ys,Object.assign({key:j,index:j,rec:P,list:S,reportTagsView:g},y)))),f.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),f.createElement("div",{hidden:!(!((a=v?.tag)===null||a===void 0)&&a.link),style:{height:!((s=v?.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}})),f.createElement("div",{className:"list-bottom",hidden:!(!((d=v?.tag)===null||d===void 0)&&d.link),style:y?.buttonBgStyle}),f.createElement("div",{hidden:!(!((p=v?.tag)===null||p===void 0)&&p.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},y?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},f.createElement("button",{className:"list-btn",style:y?.buttonStyle,onClick:C},((b=v?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection"))))}var Xs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Js=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:a,cacheRtcList:s,setRtcList:r,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:b,isFromHashtag:g,bffEventReport:y}=he();ee(null);const m=ee(null),[I,u]=G();K(()=>{const v=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?m.current=M:(m.current=document.createElement("div"),m.current.setAttribute("id","water-fall"),v?.appendChild(m.current))},[]);const w=()=>{const v=Ci(d,s);!v&&s&&s?.length&&r?.(s),D(),a?.(void 0),b?.(!1),setTimeout(()=>{var M,_;v||(_=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||_===void 0||_.slideTo(c,0,!1),n?.(!1)},0)},[h,S]=G();K(()=>{i&&S(i)},[i]);const D=ve(()=>{var v,M,_,T,E,A;const x=h?.rec;if(!x)return;let C="";g?C="hashTagPage":!((v=x?.video)===null||v===void 0)&&v.url?C="videoPage":!((_=(M=x?.video)===null||M===void 0?void 0:M.imgUrls)===null||_===void 0)&&_.length&&(C="imagePage"),y?.({eventInfo:{contentId:(T=x?.video)===null||T===void 0?void 0:T.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([h?.hashTag]),fromKName:C,fromKPage:location?.href,timeOnSite:Math.floor((new Date-I)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,y,I,g,c]);return K(()=>{o&&u(new Date)},[o]),K(()=>{const v=()=>{u(new Date)};return window.addEventListener("pageshow",v),()=>{window.removeEventListener("pageshow",v)}},[]),m.current?Ai.createPortal(f.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},f.createElement(fn,{icon:Xs,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),f.createElement(qs,Object.assign({reportTagsView:D},t))),m.current):null};var mn=pe(Js);const Ks=t=>f.createElement(mn,Object.assign({},t));var Qs=pe(Ks);const Zs=Ne(Qs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Bs,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:ls,AppointForm:Zn,Commodity:ts,CommodityDetail:Vl,CommodityDetailDiroNew:Xl,CommodityDiro:fs,CommodityDiroNew:ys,HashTag:Zs,Link:ds,MultiCommodity:Ps,MultiCommodityDiro:Cs,MultiCommodityDiroNew:js,Prompt:$l});const ea="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ta="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ia=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,a=Ie(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:r,bffEventReport:c}=he(),[d,p]=G(e),b=Be(ta),g=Be(ea),y=Ht(()=>ke(void 0,void 0,void 0,function*(){var m,I,u,w,h,S,D,v,M,_,T,E,A,x,C,P,j,B,H,F;if(d){p(!1);const N=(u=yield r?.({videoItemId:(I=(m=o?.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:(h=(w=o?.video)===null||w===void 0?void 0:w.itemId)!==null&&h!==void 0?h:"",contentName:(D=(S=o?.video)===null||S===void 0?void 0:S.title)!==null&&D!==void 0?D:"",contentTags:JSON.stringify((M=(v=o?.video)===null||v===void 0?void 0:v.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((_=o?.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(T=o?.video)===null||T===void 0?void 0:T.traceInfo}}),N||p(!0)}else{p(!0);const N=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(A=o?.video)===null||A===void 0?void 0:A.itemId)!==null&&x!==void 0?x:"",contentName:(P=(C=o?.video)===null||C===void 0?void 0:C.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((B=(j=o?.video)===null||j===void 0?void 0:j.tags)!==null&&B!==void 0?B:[]),position:l+"",contentFormat:!((H=o?.video)===null||H===void 0)&&H.url?"video":"image",traceInfo:(F=o?.video)===null||F===void 0?void 0:F.traceInfo}}),N||p(!1)}}),200);return f.createElement("button",Object.assign({},a,{onClick:y}),f.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||b:n||g,alt:"icon"}))};var hn=pe(ia);const na=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,videoRef:s})=>{const[r,c]=G(!1),{bffEventReport:d,sxpParameter:p,waterFallData:b,openHashtag:g,bffFbReport:y}=he(),m=ee(0),[I,u]=G(!1),[w,h]=G(!0),{isActive:S}=un(),D=ee(null),[v,M]=G(""),_=`pb-cache-video-${e}`,T=ee(null),E=ne(()=>a?.mode==="2",[a]),A=ne(()=>{var z;return a?.mode==="2"?`translateY(-${50+((z=a?.offsetTop)!==null&&z!==void 0?z:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),x=ne(()=>{var z;return((z=t?.video)===null||z===void 0?void 0:z.cover)||v},[v,t]),C=ne(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),P=ne(()=>a?.bgWay==="1",[a]),j=ne(()=>P&&a?.bgColor?{backgroundColor:a?.bgColor}:{},[a,P]);K(()=>{s&&s?.muted(o)},[o,s]);const B=ve(()=>{s&&s?.play()},[s]),H=Be("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=ve(()=>{var z,W,re,ie,le,q,fe,ce,X;if(!s)return;u(!0),c(!1);const oe=n[e];if(oe&&s?.duration()){m.current=s?.currentTime()||0;const Oe=((z=s?.duration())!==null&&z!==void 0?z:0).toFixed(2),V=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2),U=w?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ie=(re=oe?.video)===null||re===void 0?void 0:re.itemId)!==null&&ie!==void 0?ie:"",contentName:(q=(le=oe?.video)===null||le===void 0?void 0:le.title)!==null&&q!==void 0?q:"",playType:U,startTime:V,videoDuration:Oe,contentTags:JSON.stringify((ce=(fe=oe?.video)===null||fe===void 0?void 0:fe.tags)!==null&&ce!==void 0?ce:[]),position:e+"",contentFormat:"video",traceInfo:(X=oe?.video)===null||X===void 0?void 0:X.traceInfo}}),h(!1)}},[d,n,e,w,s]),N=ve(()=>{var z;if(!s||v||!E)return;const W=document.getElementById("player-container-id_html5_api");if(!W||(W.style.objectFit="contain",!((z=t?.video)===null||z===void 0)&&z.cover||!D||!D.current||P))return;const re=()=>{const ie=W,le=D?.current,q=le.getContext("2d"),fe=window?.innerWidth,ce=window?.innerHeight;le.height=ce,le.width=fe,q?.drawImage(ie,0,0,le.width,le.height),M(le.toDataURL())};re(),setTimeout(()=>{re()},500)},[s,P,t,v,E]),R=ve(()=>{s&&N()},[s,N]);ve(()=>{u(!0)},[]);const L=ve(z=>()=>{if(!s||!I)return;const W=s?.paused();switch(z){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=ve(()=>{var z,W,re,ie,le,q,fe,ce,X;if(!s||l!==e)return;const oe=n[e],Oe=((z=s?.duration())!==null&&z!==void 0?z:0).toFixed(2),V=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2);if(s?.duration()){const U=(s?.currentTime()-m.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ie=(re=oe?.video)===null||re===void 0?void 0:re.itemId)!==null&&ie!==void 0?ie:"",contentName:(q=(le=oe?.video)===null||le===void 0?void 0:le.title)!==null&&q!==void 0?q:"",endTime:V,videoDuration:Oe,playDuration:U,contentTags:JSON.stringify((ce=(fe=oe?.video)===null||fe===void 0?void 0:fe.tags)!==null&&ce!==void 0?ce:[]),position:e+"",contentFormat:"video",traceInfo:(X=oe?.video)===null||X===void 0?void 0:X.traceInfo}})}},[n,e,d,s,l]);K(()=>{if(!S||!s)return;const z=t?.video.url;if(!z)return;s?.src(z),c(!1);const W=document.querySelector(`#${_}`),re=document.querySelector("#player-container-id"),ie=document.querySelector("#player-container-id-copy");if(!(!re&&!ie))return W?.appendChild(re||ie),s?.on("loadedmetadata",R),s?.on("loadeddata",N),s?.on("playing",F),s?.on("pause",k),s?.on("ended",B),()=>{ie?.appendChild(re),s?.off("loadedmetadata",R),s?.off("loadeddata",N),s?.off("playing",F),s?.off("pause",k),s?.off("ended",B)}},[S,_,t,s]),K(()=>{!s||!I||(S?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[S,I,s]),K(()=>{if(!S||!s)return;!s?.paused()&&g?s?.pause():g||s?.play()},[g,S,s]),K(()=>{if(!S)return;const z=()=>{L("start")(),y?.({eventName:"ViewContent"})},W=L("pause");return Ke.on(Fe.PAGE_DID_SHOW,z),Ke.on(Fe.PAGE_DID_HIDE,W),()=>{Ke.off(Fe.PAGE_DID_SHOW,z),Ke.off(Fe.PAGE_DID_HIDE,W)}},[L,S]);const $=ne(()=>!p?.placeholder_image||I?null:f.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[I,p?.placeholder_image]);return K(()=>{if(!s)return;const z=()=>{var W;l===e&&(!((W=t?.video)===null||W===void 0)&&W.url)&&s&&!r&&L("pause")()};return window.addEventListener("beforeunload",z),()=>{window.removeEventListener("beforeunload",z)}},[l,e,t,s,L,r]),t?.video?f.createElement(f.Fragment,null,E?f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&f.createElement(Ve,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},C)}),f.createElement("canvas",{ref:D,style:{display:"none"}}),f.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},f.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},f.createElement("div",{className:"n-full-screen",ref:T,id:_,style:{width:"100%",height:"100%"}}),f.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:H}))),$):f.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},f.createElement("div",{className:"n-full-screen",ref:T,id:_,style:{width:"100%",height:"100%"}}),$,f.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:H}))):null};var oa=pe(na);const la=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,a]=G(t),s=r=>{r.stopPropagation();const c=!l;a(c),n?.(c)};return f.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},f.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var gn=pe(la);const sa=({imageUrl:t,style:e})=>{const[i,n]=G(!0);Je(),K(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Be("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=ne(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return f.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},f.createElement("img",{src:t||o}))},bn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=ne(()=>n?.mode==="2",[n]),l=ne(()=>{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=ne(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=ne(()=>n?.bgWay==="1",[n]),r=ne(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return f.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},r)},(!o||!s)&&f.createElement(Ve,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a)}),o&&f.createElement(Ve,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},aa=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:a,imgUrlsPostConfig:s})=>{var r;const c=ee(),{isActive:d}=un(),{sxpParameter:p,openHashtag:b}=he(),[g,y]=G(!1);return K(()=>{g&&d?(c?.current&&c.current.swiper.autoplay.start(),b?l(n):a(o)):(y(!0),c?.current&&c.current.swiper.autoplay.stop())},[n,d,l,b,o,a,g]),f.createElement(at,{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=>f.createElement(Ye,{key:m},f.createElement(bn,{src:m,height:i,imgUrlsPostConfig:s}))))};var ra=pe(aa);const da=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[a,s]=G(!1),{setWaterFallData:r,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:b}=he(),g=y=>{p?b?.(!0):d?.(n),r?.(i?{hashTag:y,itemId:e,itemType:i,rec:o}:{hashTag:y,rec:o}),c?.(!0)};return ne(()=>t.length<=6?null:f.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!a)},a?"show less":"show more"),[a,t]),f.createElement("div",{className:"clc-sxp-bottom-hashtag"},f.createElement(Vt,null,t?.map((y,m)=>f.createElement(Ye,{key:m,hidden:a?!1:m>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>g(y)},`#${y}`))))};var yn=pe(da),ca="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 pe(function(e){const{$store:i}=Vn(),n=l=>{let a=l;const s=l.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},o=ne(()=>{var l,a,s;const{bindDatas:r}=e,c=Ie(e,["bindDatas"]);if((l=r?.forEach)===null||l===void 0||l.call(r,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:b}=d;b.replace(/{{\s*([\w.]+)\s*}}/g,(g,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 f.createElement(t,Object.assign({},o,o.eventMap))})}const ua=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Je(),l=ne(()=>{var a,s,r,c,d,p,b,g,y,m,I,u,w,h,S,D,v,M,_,T,E,A,x,C,P,j,B,H,F,N,R;if(!t?.video)return null;let L=null;!((s=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?L="\u5546\u54C1CTA":L=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const k=i?.[L];if(((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((g=k?.item)===null||g===void 0?void 0:g.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"&&!(!((h=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||h===void 0)&&h.length)||((S=k?.item)===null||S===void 0?void 0:S.type)==="MultiCommodityDiro"&&!(!((v=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||v===void 0)&&v.length)||((M=k?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((T=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||T===void 0)&&T.length))return null;if(k&&n){const $=n[(E=k?.item)===null||E===void 0?void 0:E.type],z=Rt($),W=(A=$?.extend)===null||A===void 0?void 0:A.defaulSetting,re=((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 f.createElement(z,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:(F=(H=k?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},W?.props,(N=k?.item)===null||N===void 0?void 0:N.props,{event:((R=k?.item)===null||R===void 0?void 0:R.event)||{},schema:o,id:k?.id,key:k?.id,recData:t,isExternalLink:re,index:e}))}else return null},[t,n,i,o]);return f.createElement(f.Fragment,null,l)};var wn=pe(ua);const Sn=({nudge:t})=>{var e,i,n,o,l,a,s;return f.createElement(f.Fragment,null,t?.isOpen&&f.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(a=t?.borderRadius)!==null&&a!==void 0?a:4}},t?.icon?f.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,f.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",pa=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=G(Ti),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:a,setCacheActiveIndex:s,setLoading:r,swiperRef:c,waterFallData:d}=he(),p=ne(()=>[Ti,...t],[t]),b=g=>()=>{if(g===i)return;let y;g!==Ti&&(y=g),r?.(!0),o?.({themeTag:y}).then(m=>{var I,u,w,h;Ke.emit(Fe.CHANGE_THEME_TAG,y),l?.((I=m?.recList)!==null&&I!==void 0?I:[]),a?.((u=m?.recList)!==null&&u!==void 0?u:[]),e?.(0),s?.(0),(h=(w=c?.current)===null||w===void 0?void 0:w.swiper)===null||h===void 0||h.slideTo(0)}).finally(()=>{r?.(!1)}),n(g)};return d||t.length<=0?null:f.createElement("div",{className:"clc-sxp-tagbar"},f.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},p.map(g=>f.createElement("li",{className:`clc-sxp-tagbar-list-item ${g===i?"clc-sxp-tagbar-list-item-active":""}`,key:g,onClick:b(g)},g))))};var Tn=pe(pa);const xn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:a=[],ctaType:s,tipText:r,nudge:c,_schema:d,hashTagStyle:p,tagList:b=[],licenseUrl:g})=>{var y,m,I,u,w,h,S,D,v,M;const{schema:_}=Je(),[T,E]=G(0),A=ee(0),[x,C]=G(!1),[P,j]=G(!0),B=ee(),H=ee(),[F,N]=G(!1),[R,L]=G(!1),{loadVideos:k,bffEventReport:$,loading:z,setPopupDetailData:W,ctaEvent:re,swiperRef:ie,waterFallData:le,setOpenHashtag:q,appDomain:fe,openHashtag:ce,loadingImage:X,isFromHashtag:oe,popupDetailData:Oe,bffFbReport:V}=he(),[U,ae]=G(null),Se=ee(),{productView:we}=He(),Ee=ne(()=>a.length>0&&!z&&Un(),[a,z]),ge=ve(()=>{if(a.length<=0)return;Pe();const O=location.search.slice(1),Z=ki.parse(O.replace(/\+/g,"%2B"));for(const te in Z)Z[te]=Z[te].replace(/%2B/g,"+");const Y=te=>{var ue;return(ue=Z[te])!==null&&ue!==void 0?ue:""};$?.({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}}),V?.({eventName:"PageView"}),C(!0)},[$,a.length,V]),Pe=()=>{B.current=new Date,H.current=new Date,Fn()},Ge=ee();K(()=>{var O,Z,Y;if(!Ge.current&&!U&&Se?.current&&a?.length>0){Ge.current=!0;const te=TCPlayer("player-container-id",{licenseUrl:g,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:[{src:(Y=(Z=(O=a?.[0])===null||O===void 0?void 0:O.video)===null||Z===void 0?void 0:Z.url)!==null&&Y!==void 0?Y:""}]});te?.ready(()=>{ae(te)})}},[U,g,a]),K(()=>{x||ge()},[ge,x]),K(()=>{var O;const Z=a?.findIndex(Y=>{var te,ue,me,J,se,ye,_e,De,be;return s==="\u591A\u5546\u54C1CTA"?((te=Y?.video)===null||te===void 0?void 0:te.bindProducts)&&((me=(ue=Y?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||me===void 0?void 0:me.length)>0:s==="\u5546\u54C1CTA"?(J=Y?.video)===null||J===void 0?void 0:J.bindProduct:((ye=(se=Y?.video)===null||se===void 0?void 0:se.bindCta)===null||ye===void 0?void 0:ye.itemId)===s&&(((_e=Y?.video)===null||_e===void 0?void 0:_e.url)||((be=(De=Y?.video)===null||De===void 0?void 0:De.imgUrls)===null||be===void 0?void 0:be.length))})||0;(O=ie?.current)===null||O===void 0||O.swiper.slideTo(Z)},[s,ie]),K(()=>{const O=a?.[T],Z=()=>{var Y,te,ue,me,J,se,ye,_e,De,be,xe,nt,ot,lt,et;if(document.visibilityState==="hidden"){Ke.emit(Fe.PAGE_DID_HIDE,O),Te(O),Ze(O);let qe="";Oe&&(!((te=(Y=O?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||te===void 0)&&te.length||!((ue=O?.video)===null||ue===void 0)&&ue.bindProduct)?qe="pdpPage":Oe&&o?.[(se=(J=(me=O?.video)===null||me===void 0?void 0:me.bindCta)===null||J===void 0?void 0:J.itemId)!==null&&se!==void 0?se:""].item.type==="Appoint"?qe="formPage":oe?qe="hashTagPage":!((ye=O?.video)===null||ye===void 0)&&ye.url?qe="videoPage":!((_e=O?.video)===null||_e===void 0)&&_e.imgUrls&&(!((be=(De=O?.video)===null||De===void 0?void 0:De.imgUrls)===null||be===void 0)&&be.length)?qe="imagePage":O?.product&&(qe="productPage"),$?.({eventInfo:{sessionDuration:Math.floor((new Date-B.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(xe=O?.video)===null||xe===void 0?void 0:xe.itemId,productId:(nt=O?.product)===null||nt===void 0?void 0:nt.itemId,position:T+"",fromKName:qe,fromKPage:location?.href,ctatId:(et=(lt=(ot=O?.video)===null||ot===void 0?void 0:ot.bindCta)===null||lt===void 0?void 0:lt.itemId)!==null&&et!==void 0?et:""}})}else document.visibilityState==="visible"&&(ge(),Ii(T),Ke.emit(Fe.PAGE_DID_SHOW,O))};return document.addEventListener("visibilitychange",Z),()=>{document.removeEventListener("visibilitychange",Z)}},[T,$,B,a,ge,Oe,oe,o]);const Me=ne(()=>{let O=0;return t?.logoUrl&&t?.isShowLogo&&(O+=45),b.length>0&&(O+=45,le&&(O-=45)),i-O},[t,i,b,le]),ft=ne(()=>t?.logoUrl&&t?.isShowLogo?f.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},f.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),rt=ve((O,Z)=>{var Y,te,ue,me;return!((Y=O?.video)===null||Y===void 0)&&Y.url?f.createElement(oa,{rec:O,index:Z,muted:P,data:a,height:Me,activeIndex:T,videoPostConfig:t?.videoPost,videoRef:U}):!((te=O?.video)===null||te===void 0)&&te.imgUrls?f.createElement(ra,{key:O?.video.itemId,imgUrls:O?.video.imgUrls,width:n,height:Me,rec:O,index:Z,onReportViewImageEnd:Te,onViewImageStartEvent:Ii,imgUrlsPostConfig:t?.imgUrlsPost}):O.product&&Array.isArray(t?.productPost)&&((ue=t?.productPost)===null||ue===void 0?void 0:ue.length)>0?(me=t?.productPost)===null||me===void 0?void 0:me.map((J,se)=>{var ye,_e,De,be,xe,nt,ot,lt;const et=l[(ye=J?.item)===null||ye===void 0?void 0:ye.type],qe=Rt(et),Xe=(_e=et?.extend)===null||_e===void 0?void 0:_e.defaulSetting;return f.createElement(qe,Object.assign({key:`${Z}${se}`,textStyle:Object.assign(Object.assign({},Xe?.textStyle),(De=J?.item)===null||De===void 0?void 0:De.textStyle),bindDatas:(xe=(be=J?.item)===null||be===void 0?void 0:be.bindDatas)!==null&&xe!==void 0?xe:[]},Xe?.props,(nt=J?.item)===null||nt===void 0?void 0:nt.props,{event:((ot=J?.item)===null||ot===void 0?void 0:ot.event)||{},schema:_,id:J?.id,viewTime:H.current,rec:O,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},Xe?.style),(lt=J?.item)===null||lt===void 0?void 0:lt.style),{height:"100%",overflow:"auto"}),index:Z}))}):null},[n,a,Me,P,T,t?.productPost,H,r,l,_,U]),dt=ve(O=>{L(O)},[]),mt=ne(()=>R?{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"},[R]),ct=ve((O,Z)=>{var Y,te,ue,me,J,se,ye;return O?.video?f.createElement(f.Fragment,null,((Y=O?.video)===null||Y===void 0?void 0:Y.title)&&!R&&f.createElement("div",{className:"clc-sxp-bottom-shadow"}),f.createElement("div",{className:"clc-sxp-bottom"},f.createElement(Sn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?f.createElement("div",{className:"clc-sxp-bottom-card"},f.createElement(wn,{rec:O,index:Z,tempMap:o,resolver:l})):null,f.createElement("div",null,f.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(ue=(te=O?.video)===null||te===void 0?void 0:te.title)!==null&&ue!==void 0?ue:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:dt}),f.createElement(yn,{index:T,tags:(J=(me=O?.video)===null||me===void 0?void 0:me.hashTags)!==null&&J!==void 0?J:[],itemId:(se=O?.video)===null||se===void 0?void 0:se.itemId,itemType:!((ye=O?.video)===null||ye===void 0)&&ye.itemId?"VIDEO":null,rec:O,hashTagStyle:p})))):null},[e,T,o,l,r,c,p,t,dt,R,mt]),ht=ve((O,Z)=>{var Y,te,ue,me;if(!t?.isShowLike)return;let J=(Y=t?.likeIconY)!==null&&Y!==void 0?Y:400;return le&&J<40&&(J+=40),O?.video?f.createElement(hn,{key:O.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:O.isCollected,recData:O,className:"clc-sxp-like-button",style:{[(te=t.likeIconXPosit)!==null&&te!==void 0?te:"right"]:(ue=t.likeIconX)!==null&&ue!==void 0?ue:0,[(me=t.likeIconYPosit)!==null&&me!==void 0?me:"bottom"]:J},position:Z}):null},[t,le]),Te=O=>{var Z,Y,te,ue,me,J;if(!(!((Z=O?.video)===null||Z===void 0)&&Z.url)&&(!((Y=O?.video)===null||Y===void 0)&&Y.imgUrls)){const se=Date.now(),ye=(se-A.current)/1e3;$?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ue=(te=O?.video)===null||te===void 0?void 0:te.itemId)!==null&&ue!==void 0?ue:"",contentName:(me=O?.video.title)!==null&&me!==void 0?me:"",imageEndTime:`${se}`,playDuration:`${ye}`,contentTags:JSON.stringify((J=O?.video.tags)!==null&&J!==void 0?J:[]),position:T+"",contentFormat:"image",traceInfo:O?.video.traceInfo}})}},Ft=O=>{var Z,Y,te,ue,me,J,se,ye,_e,De;H.current=new Date;const be=a[O.previousIndex];if(!be)return;O.previousIndex-O.activeIndex<0?($?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Y=(Z=be?.video)===null||Z===void 0?void 0:Z.itemId)!==null&&Y!==void 0?Y:"",productId:(ue=(te=be?.product)===null||te===void 0?void 0:te.itemId)!==null&&ue!==void 0?ue:"",requestId:null}}),Te(be)):($?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(J=(me=be?.video)===null||me===void 0?void 0:me.itemId)!==null&&J!==void 0?J:"",productId:(ye=(se=be.product)===null||se===void 0?void 0:se.itemId)!==null&&ye!==void 0?ye:"",requestId:null}}),Te(be)),Ze(be);const xe=a[O.activeIndex];!(!((_e=xe?.video)===null||_e===void 0)&&_e.url)&&!(!((De=xe?.video)===null||De===void 0)&&De.imgUrls)&&xe?.product&&V?.({eventName:"ProductView"})},Ze=O=>{var Z,Y,te;!(!((Z=O?.video)===null||Z===void 0)&&Z.url)&&!(!((Y=O?.video)===null||Y===void 0)&&Y.imgUrls)&&O?.product&&we(O,O.product,(te=O?.product)===null||te===void 0?void 0:te.bindCta,H.current,T)};K(()=>{const O=a[T];ce&&Ze(O)},[ce,a,T]);const Ii=O=>{var Z,Y,te,ue,me,J;const se=a[O];if(!(!((Z=se?.video)===null||Z===void 0)&&Z.url)&&(!((Y=se?.video)===null||Y===void 0)&&Y.imgUrls)){const ye=Date.now();A.current=ye,$?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ue=(te=se?.video)===null||te===void 0?void 0:te.itemId)!==null&&ue!==void 0?ue:"",contentName:(me=se?.video.title)!==null&&me!==void 0?me:"",imageStartTime:`${ye}`,contentTags:JSON.stringify((J=se?.video.tags)!==null&&J!==void 0?J:[]),position:O+"",contentFormat:"image",traceInfo:se?.video.traceInfo}}),V?.({eventName:"ViewContent"})}},xt=ne(()=>{const O=a?.map((Z,Y)=>T===Y||Y-1===T||Y+1===T?Z:null);return le?O:O.concat([{loading:!0}])},[a,T,le]),In=ne(()=>z?f.createElement("div",{style:{height:Me,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:X,alt:"loading...",style:{objectFit:"contain"}})):xt?.map((O,Z)=>f.createElement(Ye,{key:Z,virtualIndex:Z},O&&f.createElement(f.Fragment,null,O?.loading?f.createElement("div",{style:{height:Me,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:X,alt:"loading...",style:{objectFit:"contain"}})):f.createElement(f.Fragment,null,rt(O,Z),ct(O,Z),ht(O,Z))))),[n,a,Me,z,ct,rt,xt,X]),Cn=Be("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),_n=Be("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return f.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},le&&f.createElement(fn,{icon:ca,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{q?.(!0)}}),ft,f.createElement(Tn,{tagList:b,setActiveIndex:E}),Ee?f.createElement(sa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,f.createElement(at,{ref:ie,onSlideChange:()=>{ie.current.swiper.allowTouchMove=!1,setTimeout(()=>{ie.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:O=>{E(O.activeIndex),!ce&&(Ft(O),!le&&O?.activeIndex+2>=a?.length&&(F||(N(!0),k?.(Math.ceil(T/10)+1).then(()=>{N(!1)}))))},direction:"vertical",height:Me},f.createElement(gn,{style:{position:"fixed",visibility:!((I=(m=a?.[T])===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,[(h=t?.muteIconYPosit)!==null&&h!==void 0?h:"bottom"]:(S=t?.muteIconY)!==null&&S!==void 0?S:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Cn,unactiveIcon:t?.muteIcon?t?.muteIcon:_n,onChange:j}),In),f.createElement(mn,Object.assign({},(M=(v=(D=t?.hashTag)===null||D===void 0?void 0:D[0])===null||v===void 0?void 0:v.item)===null||M===void 0?void 0:M.props)),f.createElement("div",{style:{position:"absolute",zIndex:-100}},f.createElement("video",{ref:Se,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),f.createElement("div",{id:"player-container-id-copy"})))},va=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>f.createElement(at,{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=>f.createElement(Ye,{key:a},f.createElement(bn,{src:a,height:i,imgUrlsPostConfig:n}))));var fa=pe(va);const ma=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:a,width:s})=>{const[r,c]=G(!1),d=ee(null),{bffEventReport:p,sxpParameter:b,waterFallData:g,openHashtag:y}=he(),m=ee(0),[I,u]=G(!1),[w,h]=G(!0),S=ee(null),[D,v]=G("");K(()=>{d.current&&(d.current.muted=o)},[o]);const M=ve(()=>{var N;(N=d.current)===null||N===void 0||N.play()},[]),_=Be("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),T=ve(()=>{var N,R,L,k,$,z,W,re,ie,le,q,fe,ce;c(!1);const X=n[e];if(X&&(!((N=d?.current)===null||N===void 0)&&N.duration)){m.current=((R=d?.current)===null||R===void 0?void 0:R.currentTime)||0;const oe=((k=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&k!==void 0?k:0).toFixed(2),Oe=((z=($=d.current)===null||$===void 0?void 0:$.currentTime)!==null&&z!==void 0?z:0).toFixed(2),V=w?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(re=(W=X?.video)===null||W===void 0?void 0:W.itemId)!==null&&re!==void 0?re:"",contentName:(le=(ie=X?.video)===null||ie===void 0?void 0:ie.title)!==null&&le!==void 0?le:"",playType:V,startTime:Oe,videoDuration:oe,contentTags:JSON.stringify((fe=(q=X?.video)===null||q===void 0?void 0:q.tags)!==null&&fe!==void 0?fe:[]),position:e+"",contentFormat:"video",traceInfo:(ce=X?.video)===null||ce===void 0?void 0:ce.traceInfo}}),h(!1)}},[p,n,e,w]),E=ve(()=>{u(!0)},[]),A=ve(N=>()=>{var R,L,k,$,z;if(!I)return;const W=(R=d.current)===null||R===void 0?void 0:R.paused;switch(N){case"start":if(!W)return;(L=d.current)===null||L===void 0||L.play(),c(!1);break;case"pause":if(W)return;(k=d.current)===null||k===void 0||k.pause(),c(!0);break;default:W?($=d.current)===null||$===void 0||$.play():(z=d.current)===null||z===void 0||z.pause(),c(!W);break}},[I]),x=ve(()=>{var N,R,L,k,$,z,W,re,ie,le,q,fe,ce;const X=n[e],oe=((R=(N=d.current)===null||N===void 0?void 0:N.duration)!==null&&R!==void 0?R:0).toFixed(2),Oe=((k=(L=d.current)===null||L===void 0?void 0:L.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!(($=d?.current)===null||$===void 0)&&$.duration){const V=(((z=d?.current)===null||z===void 0?void 0:z.currentTime)-m.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(re=(W=X?.video)===null||W===void 0?void 0:W.itemId)!==null&&re!==void 0?re:"",contentName:(le=(ie=X?.video)===null||ie===void 0?void 0:ie.title)!==null&&le!==void 0?le:"",endTime:Oe,videoDuration:oe,playDuration:V,contentTags:JSON.stringify((fe=(q=X?.video)===null||q===void 0?void 0:q.tags)!==null&&fe!==void 0?fe:[]),position:e+"",contentFormat:"video",traceInfo:(ce=X?.video)===null||ce===void 0?void 0:ce.traceInfo}})}},[n,e,p]),C=ne(()=>a?.mode==="2",[a]),P=ne(()=>{var N;return a?.mode==="2"?`translateY(-${50+((N=a?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[a]),j=ne(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||D},[D,t]),B=ve(()=>{if(!S||!d||!d.current||!S.current)return;const N=d?.current,R=S?.current,L=R.getContext("2d"),k=window?.innerWidth,$=window?.innerHeight;R.height=$,R.width=k,L?.drawImage(N,0,0,R.width,R.height),v(R.toDataURL())},[]);K(()=>{var N,R,L,k;if(d.current){if(c(!1),!d.current.src){const $=t?.video.url;if($.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const z=new window.Hls;z.loadSource($),z.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=$;else d.current.src=$;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(N=d.current)===null||N===void 0||N.addEventListener("loadedmetadata",E),(R=d.current)===null||R===void 0||R.addEventListener("canplay",E),(L=d.current)===null||L===void 0||L.addEventListener("playing",T),(k=d.current)===null||k===void 0||k.addEventListener("loadeddata",B),()=>{var $,z,W,re;($=d.current)===null||$===void 0||$.removeEventListener("loadedmetadata",E),(z=d.current)===null||z===void 0||z.removeEventListener("canplay",E),(W=d.current)===null||W===void 0||W.removeEventListener("playing",T),(re=d.current)===null||re===void 0||re.removeEventListener("loadeddata",B)}}},[E,T,t?.video,B]);const H=ne(()=>!b?.placeholder_image||I?null:f.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:b?.placeholder_image}),[I,b?.placeholder_image]);K(()=>{const N=()=>{var R,L;l===e&&(!((R=t?.video)===null||R===void 0)&&R.url)&&(!((L=d?.current)===null||L===void 0)&&L.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,d,A,r]);const F=ne(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t?.video?f.createElement(f.Fragment,null,C?f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},f.createElement(Ve,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),f.createElement("canvas",{ref:S,style:{display:"none"}}),f.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},f.createElement("div",{style:{position:"relative",width:s,height:"100%"}},f.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:M,style:{width:"100%",height:i,objectFit:"contain"}}),f.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))),H):f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},f.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:M}),H,f.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:_}))):null};var ha=pe(ma);const xi={};Object.values(Si).forEach(t=>{xi[t.extend.type]=t});const ga="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ba="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ya=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:a,containerHeight:s=664,containerWidth:r=375,appDomain:c,tagList:d=[]})=>{const p=ne(()=>{let v=0;return e?.logoUrl&&e?.isShowLogo&&(v+=45),d.length>0&&(v+=45),s-v},[e,s,d]),b=(v,M)=>{var _,T,E,A;if(!((_=v?.video)===null||_===void 0)&&_.url)return f.createElement(ha,{rec:v,index:M,muted:!0,width:r,data:t??[],height:p,activeIndex:M,videoPostConfig:e?.videoPost});if(!((T=v?.video)===null||T===void 0)&&T.imgUrls)return f.createElement(fa,{key:v?.video.itemId,imgUrls:v?.video.imgUrls,width:r,height:p,rec:v,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(v.product&&v.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,H,F,N,R,L;const k=xi[(P=x?.item)===null||P===void 0?void 0:P.type],$=Rt(k),z=(j=k?.extend)===null||j===void 0?void 0:j.defaulSetting;return f.createElement($,Object.assign({key:`${M}${C}`,textStyle:Object.assign(Object.assign({},z?.textStyle),(B=x?.item)===null||B===void 0?void 0:B.textStyle),bindDatas:(F=(H=x?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},z?.props,(N=x?.item)===null||N===void 0?void 0:N.props,{event:((R=x?.item)===null||R===void 0?void 0:R.event)||{},id:x?.id,rec:v,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},z?.style),(L=x?.item)===null||L===void 0?void 0:L.style),{width:r,height:p,overflow:"auto"}),index:M}))})},g=ne(()=>e?.logoUrl&&e?.isShowLogo?f.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},f.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(v,M)=>e?.isShowCTA===void 0||e?.isShowCTA?f.createElement("div",{className:"clc-sxp-bottom-card"},f.createElement(wn,{rec:v,index:M,tempMap:o,resolver:xi})):null,m=(v,M)=>{var _,T,E,A,x,C,P;return v?.video?f.createElement(f.Fragment,null,((_=v?.video)===null||_===void 0?void 0:_.title)&&f.createElement("div",{className:"clc-sxp-bottom-shadow"}),f.createElement("div",{className:"clc-sxp-bottom"},f.createElement(Sn,{nudge:n}),y(v,M),f.createElement("div",null,f.createElement(zt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(T=v?.video)===null||T===void 0?void 0:T.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),f.createElement(yn,{index:M,tags:(x=(A=v?.video)===null||A===void 0?void 0:A.hashTags)!==null&&x!==void 0?x:[],itemId:(C=v?.video)===null||C===void 0?void 0:C.itemId,itemType:!((P=v?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:v,hashTagStyle:a}))):null},I=Be(ba,c),u=Be(ga,c),w=(v,M)=>{var _,T,E,A;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),v?.video?f.createElement(hn,{key:v.position,activeIcon:(T=e?.likeIcon)!==null&&T!==void 0?T:I,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:u,position:M,active:v.isCollected,recData:v,className:"clc-sxp-like-button",style:{top:x,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},h=Be("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),S=Be("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),D=(v,M)=>{var _,T,E,A;return f.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},g,f.createElement(Tn,{tagList:d}),f.createElement(gn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((E=(T=t?.[M])===null||T===void 0?void 0:T.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:h,unactiveIcon:e?.muteIcon?e?.muteIcon:S}),b(v,M),m(v,M),w(v,M))};return f.createElement("div",{className:Q({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((v,M)=>D(v,M)))};var wa=pe(ya);const Sa=()=>{const{schema:t,resolver:e,popup:i}=Je(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=he(),{productView:a}=He(),[s,r]=G(),c=ee(null);K(()=>{const b=()=>{c.current=new Date};return b(),window.addEventListener("pageshow",b),()=>{window.removeEventListener("pageshow",b)}},[]),K(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,r(i))},[i]);const d=()=>{var b,g,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=o,u=(g=I?.video)===null||g===void 0?void 0:g.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,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ne(()=>{var b,g,y;return(y=(g=(b=t?.sxpPageConf)===null||b===void 0?void 0:b.globalConfig)===null||g===void 0?void 0:g.popupList)===null||y===void 0?void 0:y.map((m,I)=>{var u,w,h,S,D,v,M,_,T,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),H=((S=(h=(w=m?.item)===null||w===void 0?void 0:w.event)===null||h===void 0?void 0:h.onClick)===null||S===void 0?void 0:S.linkType)==="externalLink",F=((M=(v=(D=m?.item)===null||D===void 0?void 0:D.event)===null||v===void 0?void 0:v.onClick)===null||M===void 0?void 0:M.linkType)==="popup",N=(_=j?.extend)===null||_===void 0?void 0:_.defaulSetting;return f.createElement(B,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},N?.style),(T=m?.item)===null||T===void 0?void 0:T.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},N?.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:[]},N?.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:H,isPopup:F,onClose:d}))}else return f.createElement(f.Fragment,null)})},[t,i,e,d]);return f.createElement(Bt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Ei={};Object.values(Si).forEach(t=>{Ei[t.extend.type]=t});const Ta=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:a,enabledMetaConversionApi:s})=>{var r,c,d,p,b,g,y,m,I;const u=ne(()=>{var w;return location?.search?(w=location?.search)===null||w===void 0?void 0:w.replace("?",""):""},[]);return f.createElement(Gi,{resolver:Ei,enableDataSource:!1,schema:t?.data,utmVal:u},f.createElement(Ri,{utmVal:u,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:(g=(b=t?.sxp_parameter)===null||b===void 0?void 0:b.hash_tag_size)!==null&&g!==void 0?g:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(I=(m=(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||I===void 0?void 0:I.isShowTag,render:({rtcList:w,tagList:h})=>{var S;return f.createElement(f.Fragment,null,f.createElement(xn,Object.assign({},(S=t?.data)===null||S===void 0?void 0:S.sxpPageConf,{tagList:h,data:w,resolver:Ei,licenseUrl:a})),f.createElement(Sa,null))}}))};var xa=pe(Ta);const En=yt({}),Ea=({children:t,data:e})=>{var i,n,o,l,a,s;const[r,c]=G(!1);return f.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:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:r,setOpenHashtag:c}},t)};function Ia(){return bt(En)}export{wa as DiyPortalPreview,Ea as EditorDataProvider,Bt as Modal,Ri as SxpDataSourceProvider,xa as SxpPageCore,xn as SxpPageRender,Yn as core,zn as default,Le as defaultSetting,Si as materials,Ia as useEditorDataProvider};
7
7
  //# sourceMappingURL=index.min.js.map