pb-sxp-ui 1.0.86 → 1.0.87

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 (61) hide show
  1. package/dist/index.cjs +208 -265
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +209 -266
  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 +208 -265
  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/Consent/index.js +2 -2
  14. package/es/core/components/DiyPortalPreview/VideoWidget.js +3 -3
  15. package/es/core/components/SxpPageRender/FingerSwipeTip/index.js +1 -1
  16. package/es/core/components/SxpPageRender/FormatImage.js +2 -2
  17. package/es/core/components/SxpPageRender/LikeButton/index.js +1 -1
  18. package/es/core/components/SxpPageRender/Navbar.js +1 -1
  19. package/es/core/components/SxpPageRender/Nudge/index.js +1 -1
  20. package/es/core/components/SxpPageRender/Tagbar.js +6 -7
  21. package/es/core/components/SxpPageRender/ToggleButton/index.js +2 -2
  22. package/es/core/components/SxpPageRender/VideoWidget/index.js +3 -3
  23. package/es/core/components/SxpPageRender/WaterFall/List.js +2 -2
  24. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +17 -52
  25. package/es/core/components/SxpPageRender/WaterFall/index.js +2 -4
  26. package/es/core/components/SxpPageRender/index.js +48 -52
  27. package/es/core/context/SxpDataSourceProvider.d.ts +4 -0
  28. package/es/core/context/SxpDataSourceProvider.js +20 -17
  29. package/es/core/hooks/useEventReport.d.ts +1 -1
  30. package/es/core/hooks/useEventReport.js +13 -10
  31. package/es/materials/sxp/popup/AppointForm/index.js +1 -1
  32. package/es/materials/sxp/popup/CommodityDetail/index.js +3 -3
  33. package/es/materials/sxp/popup/CommodityDetailDiro/index.js +4 -4
  34. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +3 -3
  35. package/es/materials/sxp/popup/Prompt/index.js +2 -2
  36. package/es/materials/sxp/template/Appoint/index.js +1 -1
  37. package/lib/core/components/Consent/index.js +2 -2
  38. package/lib/core/components/DiyPortalPreview/VideoWidget.js +3 -3
  39. package/lib/core/components/SxpPageRender/FingerSwipeTip/index.js +1 -1
  40. package/lib/core/components/SxpPageRender/FormatImage.js +2 -2
  41. package/lib/core/components/SxpPageRender/LikeButton/index.js +1 -1
  42. package/lib/core/components/SxpPageRender/Navbar.js +1 -1
  43. package/lib/core/components/SxpPageRender/Nudge/index.js +1 -1
  44. package/lib/core/components/SxpPageRender/Tagbar.js +7 -8
  45. package/lib/core/components/SxpPageRender/ToggleButton/index.js +2 -2
  46. package/lib/core/components/SxpPageRender/VideoWidget/index.js +3 -3
  47. package/lib/core/components/SxpPageRender/WaterFall/List.js +2 -2
  48. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +17 -52
  49. package/lib/core/components/SxpPageRender/WaterFall/index.js +2 -4
  50. package/lib/core/components/SxpPageRender/index.js +48 -52
  51. package/lib/core/context/SxpDataSourceProvider.d.ts +4 -0
  52. package/lib/core/context/SxpDataSourceProvider.js +21 -18
  53. package/lib/core/hooks/useEventReport.d.ts +1 -1
  54. package/lib/core/hooks/useEventReport.js +13 -10
  55. package/lib/materials/sxp/popup/AppointForm/index.js +1 -1
  56. package/lib/materials/sxp/popup/CommodityDetail/index.js +3 -3
  57. package/lib/materials/sxp/popup/CommodityDetailDiro/index.js +4 -4
  58. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +3 -3
  59. package/lib/materials/sxp/popup/Prompt/index.js +2 -2
  60. package/lib/materials/sxp/template/Appoint/index.js +1 -1
  61. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Ee=require("lodash"),wn=require("uuid"),Sn=require("pako"),o=require("react"),Bt=require("qs"),Tn=require("eventemitter3"),ee=require("@emotion/css"),xn=require("@ant-design/pro-components"),En=require("react-dom");function Cn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var Si=Cn(En);function De(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 Le(t,e,i,n){function l(s){return s instanceof i?s:new i(function(d){d(s)})}return new(i||(i=Promise))(function(s,d){function a(c){try{u(n.next(c))}catch(v){d(v)}}function r(c){try{u(n.throw(c))}catch(v){d(v)}}function u(c){c.done?s(c.value):l(c.value).then(a,r)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const In=/:\w+/g;var Ti=(t,e)=>Le(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:s,method:d,url:a,urlParams:r,name:u,queryString:c,headers:v,body:m}=e[l];let w=a;r&&Object.entries(r).forEach(([y,S])=>{w=w.replace(In,I=>I===y?S:I)}),c&&(w+=c),n[s]=u;try{const y=yield fetch(w,{method:d,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(m)}).then(S=>S.json());i[s]=y}catch(y){console.error("DataSource request error: ",y),i[s]={}}}return{$store:i,idMapName:n}});const xi="SXP_TOKEN_INFO",_n=(t,e)=>Le(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),s=t.getApiUrl(),d=window.localStorage.getItem(xi);let a=JSON.parse(d||"{}");if(Date.now()>((i=a?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${s}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(c=>c.json());if(u.success){const c=u.data;a=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(xi,JSON.stringify(a))}}return a});function Tt(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 s;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",l=0;l<36;l++)n[l]||(s=0|Math.random()*16,n[l]=i[l===19?s&3|8:s])}return n.join("")}const kn=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},Dn=()=>{const t=wn.v4();return t?.replaceAll?t.replaceAll("-",""):kn(32)};function Ei(t){const i=atob(t).split("").map(function(s){return s.charCodeAt(0)}),n=new Uint8Array(i),l=Sn.inflate(n,{to:"string"});return JSON.parse(l)}let Rt=null;const An={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Pn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Rt)return Rt;Rt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?An[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Pe=null;const On={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Pe||(Pe=new Pn),n&&Pe.setApiUrl(n),Pe.setAppId(t),Pe.setTenantId(e),Pe.setEnv(i)},getDetail:t=>{if(!Pe)return;const e=Pe.getTenantId(),i=Pe.getAppId(),n=Pe.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Le(void 0,void 0,void 0,function*(){var s,d;const a=yield l.json(),r=Ei((s=a?.data)===null||s===void 0?void 0:s.data);if(r){const{$store:u}=yield Ti(n,(d=r?.dataSource)!==null&&d!==void 0?d:[]);a.data.data=r,Object.assign(a.data.data,{__STORE__:u})}return a}))},getSxpDetailByPageId:t=>Le(void 0,void 0,void 0,function*(){if(!Pe)return;const e=Pe.getTenantId(),i=Pe.getAppId(),n=Pe.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Le(void 0,void 0,void 0,function*(){var s;const d=yield l.json();if(!d.success)return;const a=Ei((s=d?.data)===null||s===void 0?void 0:s.data);return d.data.data=a,d.data}))}),getSxpRecommendVideoData:t=>Le(void 0,void 0,void 0,function*(){if(!Pe)return;const e=yield _n(Pe,t),i=Tt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Ee.isEmpty(n)&&(n=Tt(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(s=>s.json());return l?.data||null})};function tt(){return o.useContext(ji)}function Mn(){return o.useContext(Li)}const zt="feRealSessionIdKey",Ci=()=>{const t=Dn();return`${Date.now()}${t}`},Ln=()=>{let t=Nn();return t||(t=Ci(),window.sessionStorage.setItem(zt,t)),t},jn=()=>{const t=Ci();window.sessionStorage.setItem(zt,t)},Nn=()=>window.sessionStorage.getItem(zt),Ii="SXP_FAKE_USER_ID",_i="FAKE_USER_STATE",ki="AGREE_POLICY",Di=()=>{let t=window.localStorage.getItem(Ii);return Ee.isEmpty(t)&&(t=Tt(36,62),window.localStorage.setItem(Ii,t)),t},Bn=()=>{const t=window.localStorage.getItem(_i);return Ee.isEmpty(t)&&window.localStorage.setItem(_i,"true"),Ee.isEmpty(t)};function He(t,e){const{appDomain:i}=fe();return o.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const it=new Tn;var We;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(We||(We={}));const Rn=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:l,privacy_policy_title:s})=>{const{setIsAgreePolicy:d,bffEventReport:a}=fe(),r=o.useMemo(()=>{const v=location.search.slice(1),m=Bt.parse(v.replace(/\+/g,"%2B"));for(const w in m)m[w]=m[w].replace(/%2B/g,"+");return m},[]),u=v=>{var m;return(m=r[v])!==null&&m!==void 0?m:null};o.useEffect(()=>{a?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:u("utm_source"),utmMedium:u("utm_medium"),utmCampaign:u("utm_campaign"),utmId:u("utm_id"),utmContent:u("utm_content"),clSource:u("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const c=()=>{a?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),d?.(!0),window.localStorage.setItem(ki,"yes")};return o.createElement("div",{className:"consent-bg"},o.createElement("div",{className:"consent"},o.createElement("div",{className:"consent-col"},o.createElement("div",{className:"consent-title"},i??"Privacy Policy"),o.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),o.createElement("div",{className:"consent-col"},o.createElement("button",{className:"consent-btn",onClick:c},"Agree"),o.createElement("a",{className:"consent-policy",target:"_blank",href:l},s??"More information"))))};var zn=o.memo(Rn);const Ai=o.createContext({rtcList:[],tagList:[]});var Ft;(function(t){t[t.BFF=5]="BFF"})(Ft||(Ft={}));const Pi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Fn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:s,isPreview:d=!1,sxpParameter:a,appDomain:r,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:m=!1,consentHeight:w,consentWidth:y,isShowTag:S=!0,isOpenConsent:I=!1,globalConfig:p,isEditor:b=!1})=>{var f,x,_;const[h,P]=o.useState([]),[C,g]=o.useState([]),[E,A]=o.useState(!1),[T,D]=o.useState({rtc:"",requestId:""}),O=o.useRef(null),L=o.useRef(!1),[z,V]=o.useState(()=>!!window.localStorage.getItem(ki)),[B,N]=o.useState(),[R,j]=o.useState(),[k,Y]=o.useState(v),[F,G]=o.useState([]),[J,te]=o.useState(0),[W,pe]=o.useState(!1),[$,le]=o.useState(null),X=o.useRef(),K=o.useRef(),me=o.useMemo(()=>{var H,U,ne,be;return((be=(ne=(U=(H=p?.consent)===null||H===void 0?void 0:H[0])===null||U===void 0?void 0:U.item)===null||ne===void 0?void 0:ne.props)===null||be===void 0?void 0:be.privacy_necessity)&&!z&&!b||I},[z,p,I,b]);o.useEffect(()=>{const H=U=>{X.current=U};return it.on(We.CHANGE_THEME_TAG,H),()=>{it.off(We.CHANGE_THEME_TAG,H)}},[]),o.useEffect(()=>{Y(v)},[v]);const Ce=o.useMemo(()=>e?.find(H=>H.type===Ft.BFF),[e]),se=o.useCallback((H,U)=>{if(!Ce)return;const ne=Ce.url,be=Di();if(U?.query){const ge=Bt.stringify(U.query);H=`${H}?${ge}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ne}/api/v1${H}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Ce.headers),{"x-user-id":be}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ne}/api/v1${H}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":be},Ce.headers),method:U.method,body:JSON.stringify(U.body)}).then(ge=>ge.json()).catch(ge=>Promise.reject(ge))},[Ce]),Be=o.useCallback(H=>Le(void 0,void 0,void 0,function*(){var U,ne,be,ge,Te;if(H={maxSize:(U=H?.maxSize)!==null&&U!==void 0?U:l,defaultSize:(ne=H?.defaultSize)!==null&&ne!==void 0?ne:s,"itemFilter.itemId":H?.["itemFilter.itemId"],"itemFilter.itemType":H?.["itemFilter.itemType"],hashTag:H?.hashTag,traceInfo:H?.traceInfo,themeTag:H?.themeTag},i){const xe=(Te=(ge=(be=i?.split("&"))===null||be===void 0?void 0:be.filter(Xe=>{const Je=Xe.split("=")[0];return Pi.includes(Je)}))===null||ge===void 0?void 0:ge.join("&"))!==null&&Te!==void 0?Te:"";H=Object.assign(Object.assign({},H),{channel:decodeURIComponent(xe)})}const ye=yield se?.("/recommend/list",{method:"GET",query:H});if(ye?.success)return H?.hashTag||D({rtc:ye.data.rtc,requestId:ye.data.requestId}),ye?.data}),[se,i,l,s]),re=o.useCallback(()=>Le(void 0,void 0,void 0,function*(){var H,U;if(h.length<=0)return;const ne=yield Be({hashTag:R?.hashTag,"itemFilter.itemId":R?.itemId,"itemFilter.itemType":R?.itemType,themeTag:X.current});P(h.concat((H=ne?.recList)!==null&&H!==void 0?H:[])),G(F.concat((U=ne?.recList)!==null&&U!==void 0?U:[]))}),[Be,h,R,F]),oe=o.useCallback(({userInfo:H,eventInfo:U})=>{if(!n)return;H||(H={});const ne=Ln(),be=Object.assign({sessionID:ne,rtc:T.rtc,requestId:T.requestId},U),ge=Object.entries(H).map(([ye,xe])=>({name:ye,value:xe})),Te=Object.entries(be).map(([ye,xe])=>xe&&{name:ye,value:xe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",H),console.log("eventInfo:",be),console.log("========= \u7ED3\u675F ========="),se?.("/event/report",{method:"POST",body:{userInfo:ge,eventInfo:Te},type:"beacon"})},[se,T,n]),he=o.useCallback(H=>{var U,{eventName:ne,actionSource:be="website",eventSourceUrl:ge=(U=window?.location)===null||U===void 0?void 0:U.href,externalId:Te}=H;if(!n||!m)return;const ye=Di();return se?.("/fb/events",{method:"POST",body:{eventName:ne,actionSource:be,eventSourceUrl:ge,userData:{externalId:ye}},type:"beacon"})},[se,n,m]),ae=o.useCallback(H=>Le(void 0,void 0,void 0,function*(){const U=yield se?.("/recommend/like",{method:"POST",body:H});return U?.success}),[se]),$e=o.useCallback(H=>Le(void 0,void 0,void 0,function*(){const U=yield se?.("/recommend/unlike",{method:"POST",body:H});return U?.success}),[se]),Ae=o.useCallback(H=>Le(void 0,void 0,void 0,function*(){const U=yield se?.("/customform",{method:"POST",body:H});return U?.success}),[se]),qe=o.useCallback(()=>Le(void 0,void 0,void 0,function*(){var H,U,ne,be,ge;if(!(!i||!S))try{const Te=(ne=(U=(H=i?.split("&"))===null||H===void 0?void 0:H.filter(xe=>{const Xe=xe.split("=")[0];return Pi.includes(Xe)}))===null||U===void 0?void 0:U.join("&"))!==null&&ne!==void 0?ne:"",ye=yield se?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Te)}});g((ge=(be=ye?.data)===null||be===void 0?void 0:be.tags)!==null&&ge!==void 0?ge:[])}catch(Te){console.log("e",Te)}}),[se,i,S]),et=o.useCallback((H,U,ne,be)=>{var ge,Te,ye,xe,Xe,Je,mt,ht,gt,M,ie,q;const Q=ne?.bindCta,ce=((ge=U?.video)===null||ge===void 0?void 0:ge.bindProduct)||((Te=U?.video)===null||Te===void 0?void 0:Te.bindProducts)&&((xe=(ye=U?.video)===null||ye===void 0?void 0:ye.bindProducts)===null||xe===void 0?void 0:xe.length)>0;let ve="";W?ve="hashTagPage":!((Xe=U?.video)===null||Xe===void 0)&&Xe.url?ve="videoPage":!((mt=(Je=U?.video)===null||Je===void 0?void 0:Je.imgUrls)===null||mt===void 0)&&mt.length&&(ve="imagePage"),oe?.({eventInfo:Object.assign(Object.assign({},H),{ctaId:(ht=Q?.itemId)!==null&&ht!==void 0?ht:"",ctaName:(gt=Q?.title)!==null&&gt!==void 0?gt:"",contentTags:JSON.stringify(Q?.tags),position:be+"",contentId:(ie=(M=U?.video)===null||M===void 0?void 0:M.itemId)!==null&&ie!==void 0?ie:"",productId:ce?ne?.itemId:"",traceInfo:(q=Q?.traceInfo)!==null&&q!==void 0?q:"",fromKName:ve})})},[oe,W]),Ie=o.useCallback(()=>{var H,U;const ne=location.search.slice(1),be=Bt.parse(ne.replace(/\+/g,"%2B"));for(const ye in be)be[ye]=be[ye].replace(/%2B/g,"+");const ge=ye=>{var xe;return(xe=be[ye])!==null&&xe!==void 0?xe:""},Te=new Date;K.current=Te,oe?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:ge("utm_source"),utmMedium:ge("utm_medium"),utmCampaign:ge("utm_campaign"),utmId:ge("utm_id"),utmContent:ge("utm_content"),enterTime:Math.floor(Te/1e3)+"",requestId:null,enterUrl:(U=(H=window?.location)===null||H===void 0?void 0:H.href)!==null&&U!==void 0?U:"",clSource:ge("cl_source")}})},[oe]);o.useEffect(()=>{Ie()},[]),o.useEffect(()=>{me||(A(!0),qe(),Be().then(H=>{var U,ne;P((U=H?.recList)!==null&&U!==void 0?U:[]),G((ne=H?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{oe({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),A(!1),L.current=!0}))},[me]),o.useEffect(()=>{L.current&&(A(!0),qe(),Be().then(H=>{var U,ne;P((U=H?.recList)!==null&&U!==void 0?U:[]),G((ne=H?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{A(!1)}))},[Be,qe]);const Nt=He("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return o.createElement(Ai.Provider,{value:{rtcList:h,setRtcList:P,mutateLike:ae,mutateUnlike:$e,submitForm:Ae,popupDetailData:B,loadVideos:re,setPopupDetailData:N,getRecommendVideos:Be,bffEventReport:oe,utmVal:i,isPreview:d,loading:E,sxpParameter:a,waterFallData:R,setWaterFallData:j,ctaEvent:et,swiperRef:O,openHashtag:k,setOpenHashtag:Y,cacheRtcList:F,setCacheRtcList:G,cacheActiveIndex:J,setCacheActiveIndex:te,isFromHashtag:W,setIsFromHashtag:pe,appDomain:r,hashTagSize:u,loadingImage:c??Nt,isOpenHashTag:v,tagList:C,setLoading:A,videoRef:$,setVideoRef:le,bffFbReport:he,isAgreePolicy:z,setIsAgreePolicy:V,curTime:K,h5EnterLink:Ie,themeTag:X}},me?o.createElement(zn,Object.assign({},(_=(x=(f=p?.consent)===null||f===void 0?void 0:f[0])===null||x===void 0?void 0:x.item)===null||_===void 0?void 0:_.props)):t({rtcList:h,mutateLike:ae,mutateUnlike:$e,submitForm:Ae,tagList:C}))};var Oi=o.memo(Fn);function fe(){return o.useContext(Ai)}var Mi;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(Mi||(Mi={}));const Li=o.createContext({$store:{},options:[],configs:[]}),Vn=({children:t,isSsr:e,enable:i})=>{const[n,l]=o.useState([]),{schema:s}=tt(),[d,a]=o.useState(s.__STORE__||{}),[r,u]=o.useState([]);o.useEffect(()=>{var m;e||Ee.isEqual(r,s?.dataSource)||u((m=s?.dataSource)!==null&&m!==void 0?m:[])},[s?.dataSource,e]);const c=o.useCallback(()=>Le(void 0,void 0,void 0,function*(){const{$store:m,idMapName:w}=yield Ti("",r);a(m),v(m,w)}),[r]),v=(m,w)=>{const y=[];Object.entries(m).forEach(([S,I])=>{Object.keys(I).forEach(p=>{const b={label:`${w[S]} - ${p}`,value:`{{ ${S}.${p} }}`};y.push(b)})}),l(y)};return o.useEffect(()=>{e||c()},[c,e,s]),i?o.createElement(Li.Provider,{value:{$store:s.__STORE__||d,options:n,configs:r}},t):t};var Hn=o.memo(Vn);const xt={id:Tt(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},Vt={id:"",duration:0,name:"none"},ji=o.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[xt],redoStack:[],popup:Vt,setPopup:()=>{}}),Ni=o.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:s},d)=>{const[a,r]=o.useState(null),[u,c]=o.useState(n||{pointData:[xt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,m]=o.useState([xt]),[w,y]=o.useState([[xt]]),[S,I]=o.useState([]),[p,b]=o.useState(Vt);typeof window<"u"&&(window.sxpPopup=(P,C)=>{b(Object.assign(Object.assign(Object.assign({},Vt),{id:P}),C))}),typeof window<"u"&&(window.getJointUtmLink=P=>P?.indexOf("?")!==-1?P+(s?"&"+s:""):P+(s?"?"+s:"")),o.useEffect(()=>{y([u.pointData]),I([])},[u.type]);const f=o.useCallback(P=>{const C=Ee.cloneDeep(u);C&&(C.dataSource=P,c?.(C))},[u]),[x,_]=o.useState();o.useImperativeHandle(d,()=>({loadSchema(P){P&&(y([P.pointData]),c(P))},exportSchema(){return Ee.cloneDeep(u)},getPageInfoData(){return x},initPageInfoData(P){P&&_(P)}}));const h=o.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return o.createElement(ji.Provider,{value:{resolver:e,currentNode:a,schema:u,setCurrentNode:r,setSchema:c,saveDataSource:f,prePiontData:v,setPrePiontData:m,pageInfoData:x,setPageInfoData:P=>_(Object.assign(Object.assign({},x),P)),undoStack:w,redoStack:S,setRedoStack:I,setUndoStack:y,getCurPageConf:h,popup:p,setPopup:b}},o.createElement(Hn,{isSsr:i,enable:l},t))});var Un=Object.freeze({__proto__:null,EditorCore:Ni}),Gn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ue=[{label:"defalut",value:"appFont"}],Ht=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),$n=Ht&&Ht!==""?JSON.parse(Ht):[];var Fe={fontOptions:[...ue,...$n]},Ut,Gt,$t,Wn=[{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:ue,initialValue:(Ut=ue?.[0])===null||Ut===void 0?void 0:Ut.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:Fe?.fontOptions,initialValue:($t=(Gt=Fe?.fontOptions)===null||Gt===void 0?void 0:Gt[0])===null||$t===void 0?void 0:$t.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Re(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=fe(),l=o.useCallback((a,r,u,c)=>{var v,m,w,y,S,I,p,b,f,x,_,h,P,C;let g="";e&&(!((m=(v=a?.video)===null||v===void 0?void 0:v.bindProducts)===null||m===void 0)&&m.length||!((w=a?.video)===null||w===void 0)&&w.bindProduct)?g="pdpPage":n?g="hashTagPage":!((y=a?.video)===null||y===void 0)&&y.url?g="videoPage":!((S=a?.video)===null||S===void 0)&&S.imgUrls&&(!((p=(I=a?.video)===null||I===void 0?void 0:I.imgUrls)===null||p===void 0)&&p.length)?g="imagePage":a?.product&&(g="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(b=r?.itemId)!==null&&b!==void 0?b:"",productName:(f=r?.title)!==null&&f!==void 0?f:"",price:r?.price?r?.price+"":"0",productCollection:(x=r?.collection)!==null&&x!==void 0?x:"",fromKName:g,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:c+"",contentId:(h=(_=a?.video)===null||_===void 0?void 0:_.itemId)!==null&&h!==void 0?h:"",ctatId:(P=u?.itemId)!==null&&P!==void 0?P:"",traceInfo:(C=r?.traceInfo)!==null&&C!==void 0?C:""}})},[t,e,n]),s=o.useCallback((a,r,u,c,v)=>{var m,w,y,S;let I="";e&&(!((w=(m=a?.video)===null||m===void 0?void 0:m.bindProducts)===null||w===void 0)&&w.length||!((y=a?.video)===null||y===void 0)&&y.bindProduct)?I="pdpPage":a?.product&&(I="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price?r?.price+"":"0",productCollection:r?.collection,fromKName:I,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:v+"",contentId:(S=a?.video)===null||S===void 0?void 0:S.itemId,ctatId:u?.itemId,traceInfo:r?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),d=o.useCallback((a,r,u)=>{t?.({eventInfo:{lastFeed:a,themeTags:r?`[${r}]`:"",hashTags:u?`[${u}]`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:l,productView:s,backMainFeed:d}}const Yn=t=>{var{columns:e,style:i,title:n,textStyle:l,submitBgColor:s,submitColor:d,submitText:a,layoutType:r,isExternalLink:u,isPopup:c,onClick:v,onClose:m,submitButtonStyle:w}=t,y=De(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:S,popupDetailData:I}=fe(),{jumpToWeb:p}=Re(),b=o.useRef(),[f,x]=o.useState(!1),_=o.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),h=o.useMemo(()=>{if(r===void 0){const C=Ee.cloneDeep(e)||_;return C?.map(g=>Object.assign(Object.assign({},g),{title:void 0,fieldProps:{placeholder:g?.title}}))}else return Ee.cloneDeep(e)||_},[r,e,_]),P=Ee.debounce(()=>Le(void 0,void 0,void 0,function*(){var C,g,E,A,T,D;const O=yield(C=b?.current)===null||C===void 0?void 0:C.getFieldsValue();if(!O)return;const L=(E=(g=Object.keys(O))===null||g===void 0?void 0:g.map(V=>{var B;return{name:V,value:(B=O[V])!==null&&B!==void 0?B:""}}))===null||E===void 0?void 0:E.filter(V=>V?.value);if(!L||!L?.length)return;x(!0);const z=yield S?.({attributes:L});if(x(!1),z){if(u){const V=I,B=(A=V?.video)===null||A===void 0?void 0:A.bindProduct,N=(D=(T=V?.video)===null||T===void 0?void 0:T.bindProduct)===null||D===void 0?void 0:D.bindCta,R=I?.index;p(V,B,N,R)}c||m?.(),v?.()}}),1e3);return o.createElement("div",{className:"pb-appoint-form"},o.createElement("div",{className:`pb-appoint-form-title ${ee.css(Object.assign({},l))}`},n),o.createElement("div",Object.assign({className:ee.css(Object.assign({},i))},y),o.createElement("div",{className:"pb-appoint-form-container"},o.createElement(xn.BetaSchemaForm,{columns:h,submitter:!1,layout:r,autoFocusFirstInput:!1,size:"large",formRef:b,className:"panel-reset"}))),o.createElement("div",{className:"pb-appoint-form-btn-wrapper"},o.createElement("button",{onClick:P,className:"pb-appoint-form-btn",style:Object.assign({color:d,background:s},w)},f?o.createElement(o.Fragment,null,"loading..."):a)))};var qn=o.memo(Yn);function ze(t,e){return t.extend=e,t}const Xn=ze(qn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Wn,bindableProps:[],interactionRender:Gn},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 Wt,Yt,Jn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ue,name:["fontFamily"],initialValue:(Wt=ue?.[0])===null||Wt===void 0?void 0:Wt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ue,initialValue:(Yt=ue?.[0])===null||Yt===void 0?void 0:Yt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Bi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function qt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Bi(e[i])&&Bi(t[i])&&Object.keys(e[i]).length>0&&qt(t[i],e[i])})}const Ri={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 Ye(){const t=typeof document<"u"?document:{};return qt(t,Ri),t}const Kn={document:Ri,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 je(){const t=typeof window<"u"?window:{};return qt(t,Kn),t}function lt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Qn(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 Ue(){return Date.now()}function Zn(t){const e=je();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function eo(t,e){e===void 0&&(e="x");const i=je();let n,l,s;const d=Zn(t);return i.WebKitCSSMatrix?(l=d.transform||d.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix(l==="none"?"":l)):(s=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?l=s.m41:n.length===16?l=parseFloat(n[12]):l=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?l=s.m42:n.length===16?l=parseFloat(n[13]):l=parseFloat(n[5])),l||0}function Et(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function to(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ve(){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&&!to(n)){const l=Object.keys(Object(n)).filter(s=>e.indexOf(s)<0);for(let s=0,d=l.length;s<d;s+=1){const a=l[s],r=Object.getOwnPropertyDescriptor(n,a);r!==void 0&&r.enumerable&&(Et(t[a])&&Et(n[a])?n[a].__swiper__?t[a]=n[a]:Ve(t[a],n[a]):!Et(t[a])&&Et(n[a])?(t[a]={},n[a].__swiper__?t[a]=n[a]:Ve(t[a],n[a])):t[a]=n[a])}}}return t}function Ct(t,e,i){t.style.setProperty(e,i)}function zi(t){let{swiper:e,targetPosition:i,side:n}=t;const l=je(),s=-e.translate;let d=null,a;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const u=i>s?"next":"prev",c=(m,w)=>u==="next"&&m>=w||u==="prev"&&m<=w,v=()=>{a=new Date().getTime(),d===null&&(d=a);const m=Math.max(Math.min((a-d)/r,1),0),w=.5-Math.cos(m*Math.PI)/2;let y=s+w*(i-s);if(c(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),c(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(v)};v()}function Ke(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function It(t){try{console.warn(t);return}catch{}}function yt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:lt(e)),i}function io(t){const e=je(),i=Ye(),n=t.getBoundingClientRect(),l=i.body,s=t.clientTop||l.clientTop||0,d=t.clientLeft||l.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-s,left:n.left+r-d}}function no(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 oo(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 st(t,e){return je().getComputedStyle(t,null).getPropertyValue(e)}function _t(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Fi(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 Xt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Jt(t,e,i){const n=je();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 Qe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function lo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s=je();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 d,a=Ue(),r;const u=[];function c(f){let P=0,C=0,g=0,E=0;return"detail"in f&&(C=f.detail),"wheelDelta"in f&&(C=-f.wheelDelta/120),"wheelDeltaY"in f&&(C=-f.wheelDeltaY/120),"wheelDeltaX"in f&&(P=-f.wheelDeltaX/120),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(P=C,C=0),g=P*10,E=C*10,"deltaY"in f&&(E=f.deltaY),"deltaX"in f&&(g=f.deltaX),f.shiftKey&&!g&&(g=E,E=0),(g||E)&&f.deltaMode&&(f.deltaMode===1?(g*=40,E*=40):(g*=800,E*=800)),g&&!P&&(P=g<1?-1:1),E&&!C&&(C=E<1?-1:1),{spinX:P,spinY:C,pixelX:g,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function w(f){return e.params.mousewheel.thresholdDelta&&f.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ue()-a<e.params.mousewheel.thresholdTime?!1:f.delta>=6&&Ue()-a<60?!0:(f.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",f.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",f.raw)),a=new s.Date().getTime(),!1)}function y(f){const x=e.params.mousewheel;if(f.direction<0){if(e.isEnd&&!e.params.loop&&x.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&x.releaseOnEdges)return!0;return!1}function S(f){let x=f,_=!0;if(!e.enabled||f.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const h=e.params.mousewheel;e.params.cssMode&&x.preventDefault();let P=e.el;e.params.mousewheel.eventsTarget!=="container"&&(P=document.querySelector(e.params.mousewheel.eventsTarget));const C=P&&P.contains(x.target);if(!e.mouseEntered&&!C&&!h.releaseOnEdges)return!0;x.originalEvent&&(x=x.originalEvent);let g=0;const E=e.rtlTranslate?-1:1,A=c(x);if(h.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))g=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))g=-A.pixelY;else return!0;else g=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(g===0)return!0;h.invert&&(g=-g);let T=e.getTranslate()+g*h.sensitivity;if(T>=e.minTranslate()&&(T=e.minTranslate()),T<=e.maxTranslate()&&(T=e.maxTranslate()),_=e.params.loop?!0:!(T===e.minTranslate()||T===e.maxTranslate()),_&&e.params.nested&&x.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:Ue(),delta:Math.abs(g),direction:Math.sign(g),raw:f};u.length>=2&&u.shift();const O=u.length?u[u.length-1]:void 0;if(u.push(D),O?(D.direction!==O.direction||D.delta>O.delta||D.time>O.time+150)&&w(D):w(D),y(D))return!0}else{const D={time:Ue(),delta:Math.abs(g),direction:Math.sign(g)},O=r&&D.time<r.time+500&&D.delta<=r.delta&&D.direction===r.direction;if(!O){r=void 0;let L=e.getTranslate()+g*h.sensitivity;const z=e.isBeginning,V=e.isEnd;if(L>=e.minTranslate()&&(L=e.minTranslate()),L<=e.maxTranslate()&&(L=e.maxTranslate()),e.setTransition(0),e.setTranslate(L),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!V&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(d),d=void 0,u.length>=15&&u.shift();const B=u.length?u[u.length-1]:void 0,N=u[0];if(u.push(D),B&&(D.delta>B.delta||D.direction!==B.direction))u.splice(0);else if(u.length>=15&&D.time-N.time<500&&N.delta-D.delta>=1&&D.delta<=6){const R=g>0?.8:.2;r=D,u.splice(0),d=pt(()=>{e.slideToClosest(e.params.speed,!0,void 0,R)},0)}d||(d=pt(()=>{r=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||l("scroll",x),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return x.preventDefault?x.preventDefault():x.returnValue=!1,!1}function I(f){let x=e.el;e.params.mousewheel.eventsTarget!=="container"&&(x=document.querySelector(e.params.mousewheel.eventsTarget)),x[f]("mouseenter",v),x[f]("mouseleave",m),x[f]("wheel",S)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",S),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,S),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:p,disable:b})}function Vi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let s=Ke(t.el,`.${n[l]}`)[0];s||(s=yt("div",n[l]),s.className=n[l],t.el.append(s)),i[l]=s,e[l]=s}}),i}function vt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function kt(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let d,a=0;function r(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,b){const{bulletActiveClass:f}=e.params.pagination;p&&(p=p[`${b==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${f}-${b}`),p=p[`${b==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${f}-${b}-${b}`)))}function c(p){const b=p.target.closest(vt(e.params.pagination.bulletClass));if(!b)return;p.preventDefault();const f=_t(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===f)return;e.slideToLoop(f)}else e.slideTo(f)}function v(){const p=e.rtl,b=e.params.pagination;if(r())return;let f=e.pagination.el;f=Qe(f);let x,_;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,P=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(_=e.previousRealIndex||0,x=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(x=e.snapIndex,_=e.previousSnapIndex):(_=e.previousIndex||0,x=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let g,E,A;if(b.dynamicBullets&&(d=Jt(C[0],e.isHorizontal()?"width":"height",!0),f.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${d*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&_!==void 0&&(a+=x-(_||0),a>b.dynamicMainBullets-1?a=b.dynamicMainBullets-1:a<0&&(a=0)),g=Math.max(x-a,0),E=g+(Math.min(C.length,b.dynamicMainBullets)-1),A=(E+g)/2),C.forEach(T=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${b.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();T.classList.remove(...D)}),f.length>1)C.forEach(T=>{const D=_t(T);D===x?T.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),b.dynamicBullets&&(D>=g&&D<=E&&T.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),D===g&&u(T,"prev"),D===E&&u(T,"next"))});else{const T=C[x];if(T&&T.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&C.forEach((D,O)=>{D.setAttribute("part",O===x?"bullet-active":"bullet")}),b.dynamicBullets){const D=C[g],O=C[E];for(let L=g;L<=E;L+=1)C[L]&&C[L].classList.add(...`${b.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(O,"next")}}if(b.dynamicBullets){const T=Math.min(C.length,b.dynamicMainBullets+4),D=(d*T-d)/2-A*d,O=p?"right":"left";C.forEach(L=>{L.style[e.isHorizontal()?O:"top"]=`${D}px`})}}f.forEach((C,g)=>{if(b.type==="fraction"&&(C.querySelectorAll(vt(b.currentClass)).forEach(E=>{E.textContent=b.formatFractionCurrent(x+1)}),C.querySelectorAll(vt(b.totalClass)).forEach(E=>{E.textContent=b.formatFractionTotal(P)})),b.type==="progressbar"){let E;b.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(x+1)/P;let T=1,D=1;E==="horizontal"?T=A:D=A,C.querySelectorAll(vt(b.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${D})`,O.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(C.innerHTML=b.renderCustom(e,x+1,P),g===0&&l("paginationRender",C)):(g===0&&l("paginationRender",C),l("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](b.lockClass)})}function m(){const p=e.params.pagination;if(r())return;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let f=e.pagination.el;f=Qe(f);let x="";if(p.type==="bullets"){let _=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&_>b&&(_=b);for(let h=0;h<_;h+=1)p.renderBullet?x+=p.renderBullet.call(e,h,p.bulletClass):x+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?x=p.renderFraction.call(e,p.currentClass,p.totalClass):x=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?x=p.renderProgressbar.call(e,p.progressbarFillClass):x=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],f.forEach(_=>{p.type!=="custom"&&(_.innerHTML=x||""),p.type==="bullets"&&e.pagination.bullets.push(..._.querySelectorAll(vt(p.bulletClass)))}),p.type!=="custom"&&l("paginationRender",f[0])}function w(){e.params.pagination=Vi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let b;typeof p.el=="string"&&e.isElement&&(b=e.el.querySelector(p.el)),!b&&typeof p.el=="string"&&(b=[...document.querySelectorAll(p.el)]),b||(b=p.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(p.el)],b.length>1&&(b=b.filter(f=>Fi(f,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=Qe(b),b.forEach(f=>{p.type==="bullets"&&p.clickable&&f.classList.add(...(p.clickableClass||"").split(" ")),f.classList.add(p.modifierClass+p.type),f.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(f.classList.add(`${p.modifierClass}${p.type}-dynamic`),a=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&f.classList.add(p.progressbarOppositeClass),p.clickable&&f.addEventListener("click",c),e.enabled||f.classList.add(p.lockClass)}))}function y(){const p=e.params.pagination;if(r())return;let b=e.pagination.el;b&&(b=Qe(b),b.forEach(f=>{f.classList.remove(p.hiddenClass),f.classList.remove(p.modifierClass+p.type),f.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(f.classList.remove(...(p.clickableClass||"").split(" ")),f.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(f=>f.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:b}=e.pagination;b=Qe(b),b.forEach(f=>{f.classList.remove(p.horizontalClass,p.verticalClass),f.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(w(),m(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{m(),v()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Qe(p),p.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,b)=>{const f=b.target,x=Qe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&x&&x.length>0&&!f.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&f===e.navigation.nextEl||e.navigation.prevEl&&f===e.navigation.prevEl))return;const _=x[0].classList.contains(e.params.pagination.hiddenClass);l(_===!0?"paginationShow":"paginationHide"),x.forEach(h=>h.classList.toggle(e.params.pagination.hiddenClass))}});const S=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Qe(p),p.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),w(),m(),v()},I=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Qe(p),p.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:S,disable:I,render:m,update:v,init:w,destroy:y})}function so(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s=Ye();let d=!1,a=null,r=null,u,c,v,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T,rtlTranslate:D}=e,{dragEl:O,el:L}=T,z=e.params.scrollbar,V=e.params.loop?e.progressLoop:e.progress;let B=c,N=(v-c)*V;D?(N=-N,N>0?(B=c-N,N=0):-N+c>v&&(B=v+N)):N<0?(B=c+N,N=0):N+c>v&&(B=v-N),e.isHorizontal()?(O.style.transform=`translate3d(${N}px, 0, 0)`,O.style.width=`${B}px`):(O.style.transform=`translate3d(0px, ${N}px, 0)`,O.style.height=`${B}px`),z.hide&&(clearTimeout(a),L.style.opacity=1,a=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function y(T){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${T}ms`)}function S(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T}=e,{dragEl:D,el:O}=T;D.style.width="",D.style.height="",v=e.isHorizontal()?O.offsetWidth:O.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,m>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&T.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(T){return e.isHorizontal()?T.clientX:T.clientY}function p(T){const{scrollbar:D,rtlTranslate:O}=e,{el:L}=D;let z;z=(I(T)-io(L)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),z=Math.max(Math.min(z,1),0),O&&(z=1-z);const V=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(V),e.setTranslate(V),e.updateActiveIndex(),e.updateSlidesClasses()}function b(T){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:L}=e,{el:z,dragEl:V}=O;d=!0,u=T.target===V?I(T)-T.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,T.preventDefault(),T.stopPropagation(),L.style.transitionDuration="100ms",V.style.transitionDuration="100ms",p(T),clearTimeout(r),z.style.transitionDuration="0ms",D.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",T)}function f(T){const{scrollbar:D,wrapperEl:O}=e,{el:L,dragEl:z}=D;d&&(T.preventDefault&&T.cancelable?T.preventDefault():T.returnValue=!1,p(T),O.style.transitionDuration="0ms",L.style.transitionDuration="0ms",z.style.transitionDuration="0ms",l("scrollbarDragMove",T))}function x(T){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:L}=e,{el:z}=O;d&&(d=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),D.hide&&(clearTimeout(r),r=pt(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",T),D.snapOnRelease&&e.slideToClosest())}function _(T){const{scrollbar:D,params:O}=e,L=D.el;if(!L)return;const z=L,V=O.passiveListeners?{passive:!1,capture:!1}:!1,B=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const N=T==="on"?"addEventListener":"removeEventListener";z[N]("pointerdown",b,V),s[N]("pointermove",f,V),s[N]("pointerup",x,B)}function h(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function P(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function C(){const{scrollbar:T,el:D}=e;e.params.scrollbar=Vi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let L;if(typeof O.el=="string"&&e.isElement&&(L=e.el.querySelector(O.el)),!L&&typeof O.el=="string"){if(L=s.querySelectorAll(O.el),!L.length)return}else L||(L=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&L.length>1&&D.querySelectorAll(O.el).length===1&&(L=D.querySelector(O.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let z;L&&(z=L.querySelector(vt(e.params.scrollbar.dragClass)),z||(z=yt("div",e.params.scrollbar.dragClass),L.append(z))),Object.assign(T,{el:L,dragEl:z}),O.draggable&&h(),L&&L.classList[e.enabled?"remove":"add"](...lt(e.params.scrollbar.lockClass))}function g(){const T=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...lt(e.isHorizontal()?T.horizontalClass:T.verticalClass)),P()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const T=e.params.scrollbar;let{el:D}=e.scrollbar;D=Qe(D),D.forEach(O=>{O.classList.remove(T.horizontalClass,T.verticalClass),O.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(C(),S(),w())}),n("update resize observerUpdate lock unlock changeDirection",()=>{S()}),n("setTranslate",()=>{w()}),n("setTransition",(T,D)=>{y(D)}),n("enable disable",()=>{const{el:T}=e.scrollbar;T&&T.classList[e.enabled?"remove":"add"](...lt(e.params.scrollbar.lockClass))}),n("destroy",()=>{g()});const E=()=>{e.el.classList.remove(...lt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...lt(e.params.scrollbar.scrollbarDisabledClass)),C(),S(),w()},A=()=>{e.el.classList.add(...lt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...lt(e.params.scrollbar.scrollbarDisabledClass)),g()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:S,setTranslate:w,init:C,destroy:g})}function Dt(t){let{swiper:e,extendParams:i,on:n,emit:l,params:s}=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 d,a,r=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,v=new Date().getTime(),m,w,y,S,I,p,b;function f(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",f),!(b||B.detail&&B.detail.bySwiperTouchMove)&&E())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const B=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=B,l("autoplayTimeLeft",B,B/r),a=requestAnimationFrame(()=>{x()})},_=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.filter(R=>R.classList.contains("swiper-slide-active"))[0]:B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},h=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),x();let N=typeof B>"u"?e.params.autoplay.delay:B;r=e.params.autoplay.delay,u=e.params.autoplay.delay;const R=_();!Number.isNaN(R)&&R>0&&typeof B>"u"&&(N=R,r=R,u=R),c=N;const j=e.params.speed,k=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(j,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,j,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(j,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,j,!0,!0),l("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{h()})))};return N>0?(clearTimeout(d),d=setTimeout(()=>{k()},N)):requestAnimationFrame(()=>{k()}),N},P=()=>{v=new Date().getTime(),e.autoplay.running=!0,h(),l("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(d),cancelAnimationFrame(a),l("autoplayStop")},g=(B,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(d),B||(p=!0);const R=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",f):E()};if(e.autoplay.paused=!0,N){I&&(c=e.params.autoplay.delay),I=!1,R();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),R())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,h(c)):h(),e.autoplay.paused=!1,l("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const B=Ye();B.visibilityState==="hidden"&&(p=!0,g(!0)),B.visibilityState==="visible"&&E()},T=B=>{B.pointerType==="mouse"&&(p=!0,b=!0,!(e.animating||e.autoplay.paused)&&g(!0))},D=B=>{B.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&E())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",T),e.el.addEventListener("pointerleave",D))},L=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",T),e.el.removeEventListener("pointerleave",D))},z=()=>{Ye().addEventListener("visibilitychange",A)},V=()=>{Ye().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(O(),z(),P())}),n("destroy",()=>{L(),V(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(y||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():g(!0,!0)}),n("beforeTransitionStart",(B,N,R)=>{e.destroyed||!e.autoplay.running||(R||!e.params.autoplay.disableOnInteraction?g(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}w=!0,y=!1,p=!1,S=setTimeout(()=>{p=!0,y=!0,g(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!w)){if(clearTimeout(S),clearTimeout(d),e.params.autoplay.disableOnInteraction){y=!1,w=!1;return}y&&e.params.cssMode&&E(),y=!1,w=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:P,stop:C,pause:g,resume:E})}function ao(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 s(){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 d(){if(e.params.cssMode)return;const{touchEventsData:r,touches:u}=e;r.velocities.length===0&&r.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ue()})}function a(r){let{currentPos:u}=r;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:m,snapGrid:w,touchEventsData:y}=e,I=Ue()-y.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<w.length?e.slideTo(w.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(y.velocities.length>1){const C=y.velocities.pop(),g=y.velocities.pop(),E=C.position-g.position,A=C.time-g.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Ue()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,y.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const b=e.velocity*p;let f=e.translate+b;m&&(f=-f);let x=!1,_;const h=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let P;if(f<e.maxTranslate())c.freeMode.momentumBounce?(f+e.maxTranslate()<-h&&(f=e.maxTranslate()-h),_=e.maxTranslate(),x=!0,y.allowMomentumBounce=!0):f=e.maxTranslate(),c.loop&&c.centeredSlides&&(P=!0);else if(f>e.minTranslate())c.freeMode.momentumBounce?(f-e.minTranslate()>h&&(f=e.minTranslate()+h),_=e.minTranslate(),x=!0,y.allowMomentumBounce=!0):f=e.minTranslate(),c.loop&&c.centeredSlides&&(P=!0);else if(c.freeMode.sticky){let C;for(let g=0;g<w.length;g+=1)if(w[g]>-f){C=g;break}Math.abs(w[C]-f)<Math.abs(w[C-1]-f)||e.swipeDirection==="next"?f=w[C]:f=w[C-1],f=-f}if(P&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-f-e.translate)/e.velocity):p=Math.abs((f-e.translate)/e.velocity),c.freeMode.sticky){const C=Math.abs((m?-f:f)-e.translate),g=e.slidesSizesGrid[e.activeIndex];C<g?p=c.speed:C<2*g?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&x?(e.updateProgress(_),e.setTransition(p),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Xt(v,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(_),Xt(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(p),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Xt(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||I>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:d,onTouchEnd:a}})}let Kt;function ro(){const t=je(),e=Ye();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Hi(){return Kt||(Kt=ro()),Kt}let Qt;function co(t){let{userAgent:e}=t===void 0?{}:t;const i=Hi(),n=je(),l=n.navigator.platform,s=e||n.navigator.userAgent,d={ios:!1,android:!1},a=n.screen.width,r=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const v=s.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),w=l==="Win32";let y=l==="MacIntel";const S=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&i.touch&&S.indexOf(`${a}x${r}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),u&&!w&&(d.os="android",d.android=!0),(c||m||v)&&(d.os="ios",d.ios=!0),d}function Ui(t){return t===void 0&&(t={}),Qt||(Qt=co(t)),Qt}let Zt;function uo(){const t=je(),e=Ui();let i=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[r,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=r<16||r===16&&u<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),s=n(),d=s||l&&e.ios;return{isSafari:i||s,needPerspectiveFix:i,need3dFix:d,isWebView:l}}function po(){return Zt||(Zt=uo()),Zt}function vo(t){let{swiper:e,on:i,emit:n}=t;const l=je();let s=null,d=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(v=>{d=l.requestAnimationFrame(()=>{const{width:m,height:w}=e;let y=m,S=w;v.forEach(I=>{let{contentBoxSize:p,contentRect:b,target:f}=I;f&&f!==e.el||(y=b?b.width:(p[0]||p).inlineSize,S=b?b.height:(p[0]||p).blockSize)}),(y!==m||S!==w)&&a()})}),s.observe(e.el))},u=()=>{d&&l.cancelAnimationFrame(d),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){r();return}l.addEventListener("resize",a),l.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),l.removeEventListener("resize",a),l.removeEventListener("orientationchange",c)})}function fo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s=[],d=je(),a=function(c,v){v===void 0&&(v={});const m=d.MutationObserver||d.WebkitMutationObserver,w=new m(y=>{if(e.__preventObserver__)return;if(y.length===1){l("observerUpdate",y[0]);return}const S=function(){l("observerUpdate",y[0])};d.requestAnimationFrame?d.requestAnimationFrame(S):d.setTimeout(S,0)});w.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),s.push(w)},r=()=>{if(e.params.observer){if(e.params.observeParents){const c=Fi(e.hostEl);for(let v=0;v<c.length;v+=1)a(c[v])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},u=()=>{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",u)}var mo={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(s=>{n.eventsListeners[s]||(n.eventsListeners[s]=[]),n.eventsListeners[s][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 s=arguments.length,d=new Array(s),a=0;a<s;a++)d[a]=arguments[a];e.apply(n,d)}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,s)=>{(l===e||l.__emitterProxy&&l.__emitterProxy===e)&&i.eventsListeners[n].splice(s,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var l=arguments.length,s=new Array(l),d=0;d<l;d++)s[d]=arguments[d];return typeof s[0]=="string"||Array.isArray(s[0])?(e=s[0],i=s.slice(1,s.length),n=t):(e=s[0].events,i=s[0].data,n=s[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].forEach(u=>{u.apply(n,i)})}),t}};function ho(){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(st(n,"padding-left")||0,10)-parseInt(st(n,"padding-right")||0,10),i=i-parseInt(st(n,"padding-top")||0,10)-parseInt(st(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 go(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:s,rtlTranslate:d,wrongRTL:a}=t,r=t.virtual&&i.virtual.enabled,u=r?t.virtual.slides.length:t.slides.length,c=Ke(l,`.${t.params.slideClass}, swiper-slide`),v=r?t.virtual.slides.length:c.length;let m=[];const w=[],y=[];let S=i.slidesOffsetBefore;typeof S=="function"&&(S=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,b=t.slidesGrid.length;let f=i.spaceBetween,x=-S,_=0,h=0;if(typeof s>"u")return;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*s:typeof f=="string"&&(f=parseFloat(f)),t.virtualSize=-f,c.forEach(E=>{d?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ct(n,"--swiper-centered-offset-before",""),Ct(n,"--swiper-centered-offset-after",""));const P=i.grid&&i.grid.rows>1&&t.grid;P?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let C;const g=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<v;E+=1){C=0;let A;if(c[E]&&(A=c[E]),P&&t.grid.updateSlide(E,A,c),!(c[E]&&st(A,"display")==="none")){if(i.slidesPerView==="auto"){g&&(c[E].style[t.getDirectionLabel("width")]="");const T=getComputedStyle(A),D=A.style.transform,O=A.style.webkitTransform;if(D&&(A.style.transform="none"),O&&(A.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?Jt(A,"width",!0):Jt(A,"height",!0);else{const L=e(T,"width"),z=e(T,"padding-left"),V=e(T,"padding-right"),B=e(T,"margin-left"),N=e(T,"margin-right"),R=T.getPropertyValue("box-sizing");if(R&&R==="border-box")C=L+B+N;else{const{clientWidth:j,offsetWidth:k}=A;C=L+z+V+B+N+(k-j)}}D&&(A.style.transform=D),O&&(A.style.webkitTransform=O),i.roundLengths&&(C=Math.floor(C))}else C=(s-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${C}px`);c[E]&&(c[E].swiperSlideSize=C),y.push(C),i.centeredSlides?(x=x+C/2+_/2+f,_===0&&E!==0&&(x=x-s/2-f),E===0&&(x=x-s/2-f),Math.abs(x)<1/1e3&&(x=0),i.roundLengths&&(x=Math.floor(x)),h%i.slidesPerGroup===0&&m.push(x),w.push(x)):(i.roundLengths&&(x=Math.floor(x)),(h-Math.min(t.params.slidesPerGroupSkip,h))%t.params.slidesPerGroup===0&&m.push(x),w.push(x),x=x+C+f),t.virtualSize+=C+f,_=C,h+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+I,d&&a&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+f}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+f}px`),P&&t.grid.updateWrapperSize(C,m),!i.centeredSlides){const E=[];for(let A=0;A<m.length;A+=1){let T=m[A];i.roundLengths&&(T=Math.floor(T)),m[A]<=t.virtualSize-s&&E.push(T)}m=E,Math.floor(t.virtualSize-s)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-s)}if(r&&i.loop){const E=y[0]+f;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),T=E*i.slidesPerGroup;for(let D=0;D<A;D+=1)m.push(m[m.length-1]+T)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+E),w.push(w[w.length-1]+E),t.virtualSize+=E}if(m.length===0&&(m=[0]),f!==0){const E=t.isHorizontal()&&d?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,T)=>!i.cssMode||i.loop?!0:T!==c.length-1).forEach(A=>{A.style[E]=`${f}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(T=>{E+=T+(f||0)}),E-=f;const A=E-s;m=m.map(T=>T<=0?-S:T>A?A+I:T)}if(i.centerInsufficientSlides){let E=0;y.forEach(T=>{E+=T+(f||0)}),E-=f;const A=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(E+A<s){const T=(s-E-A)/2;m.forEach((D,O)=>{m[O]=D-T}),w.forEach((D,O)=>{w[O]=D+T})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:w,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ct(n,"--swiper-centered-offset-before",`${-m[0]}px`),Ct(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(T=>T+E),t.slidesGrid=t.slidesGrid.map(T=>T+A)}if(v!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),w.length!==b&&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);v<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function bo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let l=0,s;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const d=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{i.push(a)});else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){const a=e.activeIndex+s;if(a>e.slides.length&&!n)break;i.push(d(a))}else i.push(d(e.activeIndex));for(s=0;s<i.length;s+=1)if(typeof i[s]<"u"){const a=i[s].offsetHeight;l=a>l?a:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}px`)}function yo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const Gi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function wo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:l,snapGrid:s}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let d=-t;l&&(d=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let r=0;r<n.length;r+=1){const u=n[r];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(d+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),m=(d-s[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),w=-(d-c),y=w+e.slidesSizesGrid[r],S=w>=0&&w<=e.size-e.slidesSizesGrid[r],I=w>=0&&w<e.size-1||y>1&&y<=e.size||w<=0&&y>=e.size;I&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(r)),Gi(u,I,i.slideVisibleClass),Gi(u,S,i.slideFullyVisibleClass),u.progress=l?-v:v,u.originalProgress=l?-m:m}}function So(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:s,isEnd:d,progressLoop:a}=e;const r=s,u=d;if(n===0)l=0,s=!0,d=!0;else{l=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;s=c||l<=0,d=v||l>=1,c&&(l=0),v&&(l=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],w=e.slidesGrid[v],y=e.slidesGrid[e.slidesGrid.length-1],S=Math.abs(t);S>=m?a=(S-m)/y:a=(S+y-w)/y,a>1&&(a-=1)}Object.assign(e,{progress:l,progressLoop:a,isBeginning:s,isEnd:d}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),s&&!r&&e.emit("reachBeginning toEdge"),d&&!u&&e.emit("reachEnd toEdge"),(r&&!s||u&&!d)&&e.emit("fromEdge"),e.emit("progress",l)}const ei=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function To(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,s=t.virtual&&i.virtual.enabled,d=t.grid&&i.grid&&i.grid.rows>1,a=v=>Ke(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];let r,u,c;if(s)if(i.loop){let v=l-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),r=a(`[data-swiper-slide-index="${v}"]`)}else r=a(`[data-swiper-slide-index="${l}"]`);else d?(r=e.filter(v=>v.column===l)[0],c=e.filter(v=>v.column===l+1)[0],u=e.filter(v=>v.column===l-1)[0]):r=e[l];r&&(d||(c=oo(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),u=no(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(v=>{ei(v,v===r,i.slideActiveClass),ei(v,v===c,i.slideNextClass),ei(v,v===u,i.slidePrevClass)}),t.emitSlidesClasses()}const At=(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()}},ti=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},ii=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 d=l,a=[d-e];a.push(...Array.from({length:e}).map((r,u)=>d+n+u)),t.slides.forEach((r,u)=>{a.includes(r.column)&&ti(t,u)});return}const s=l+n-1;if(t.params.rewind||t.params.loop)for(let d=l-e;d<=s+e;d+=1){const a=(d%i+i)%i;(a<l||a>s)&&ti(t,a)}else for(let d=Math.max(l-e,0);d<=Math.min(s+e,i-1);d+=1)d!==l&&(d>s||d<l)&&ti(t,d)};function xo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let l;for(let s=0;s<e.length;s+=1)typeof e[s+1]<"u"?n>=e[s]&&n<e[s+1]-(e[s+1]-e[s])/2?l=s:n>=e[s]&&n<e[s+1]&&(l=s+1):n>=e[s]&&(l=s);return i.normalizeSlideIndex&&(l<0||typeof l>"u")&&(l=0),l}function Eo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:l,activeIndex:s,realIndex:d,snapIndex:a}=e;let r=t,u;const c=w=>{let y=w-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=xo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const w=Math.min(l.slidesPerGroupSkip,r);u=w+Math.floor((r-w)/l.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),r===s&&!e.params.loop){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(r===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(r);return}const v=e.grid&&l.grid&&l.grid.rows>1;let m;if(e.virtual&&l.virtual.enabled&&l.loop)m=c(r);else if(v){const w=e.slides.filter(S=>S.column===r)[0];let y=parseInt(w.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(w),0)),m=Math.floor(y/l.grid.rows)}else if(e.slides[r]){const w=e.slides[r].getAttribute("data-swiper-slide-index");w?m=parseInt(w,10):m=r}else m=r;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:d,realIndex:m,previousIndex:s,activeIndex:r}),e.initialized&&ii(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(d!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Co(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(a=>{!l&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(l=a)});let s=!1,d;if(l){for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===l){s=!0,d=a;break}}if(l&&s)i.clickedSlide=l,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(l.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=d;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Io={updateSize:ho,updateSlides:go,updateAutoHeight:bo,updateSlidesOffset:yo,updateSlidesProgress:wo,updateProgress:So,updateSlidesClasses:To,updateActiveIndex:Eo,updateClickedSlide:Co};function _o(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:l,wrapperEl:s}=e;if(i.virtualTranslate)return n?-l:l;if(i.cssMode)return l;let d=eo(s,t);return d+=e.cssOverflowAdjustment(),n&&(d=-d),d||0}function ko(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:s,progress:d}=i;let a=0,r=0;const u=0;i.isHorizontal()?a=n?-t:t:r=t,l.roundLengths&&(a=Math.floor(a),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:r,l.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-r:l.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),s.style.transform=`translate3d(${a}px, ${r}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==d&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Do(){return-this.snapGrid[0]}function Ao(){return-this.snapGrid[this.snapGrid.length-1]}function Po(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 s=this,{params:d,wrapperEl:a}=s;if(s.animating&&d.preventInteractionOnTransition)return!1;const r=s.minTranslate(),u=s.maxTranslate();let c;if(n&&t>r?c=r:n&&t<u?c=u:c=t,s.updateProgress(c),d.cssMode){const v=s.isHorizontal();if(e===0)a[v?"scrollLeft":"scrollTop"]=-c;else{if(!s.support.smoothScroll)return zi({swiper:s,targetPosition:-c,side:v?"left":"top"}),!0;a.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(s.setTransition(0),s.setTranslate(c),i&&(s.emit("beforeTransitionStart",e,l),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(c),i&&(s.emit("beforeTransitionStart",e,l),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(m){!s||s.destroyed||m.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,i&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var Oo={getTranslate:_o,setTranslate:ko,minTranslate:Do,maxTranslate:Ao,translateTo:Po};function Mo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function $i(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:s,previousIndex:d}=e;let a=n;if(a||(s>d?a="next":s<d?a="prev":a="reset"),e.emit(`transition${l}`),i&&s!==d){if(a==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),a==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function Lo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),$i({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function jo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),$i({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var No={setTransition:Mo,transitionStart:Lo,transitionEnd:jo};function Bo(t,e,i,n,l){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;let d=t;d<0&&(d=0);const{params:a,snapGrid:r,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:m,wrapperEl:w,enabled:y}=s;if(!y&&!n&&!l||s.destroyed||s.animating&&a.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=s.params.speed);const S=Math.min(s.params.slidesPerGroupSkip,d);let I=S+Math.floor((d-S)/s.params.slidesPerGroup);I>=r.length&&(I=r.length-1);const p=-r[I];if(a.normalizeSlideIndex)for(let f=0;f<u.length;f+=1){const x=-Math.floor(p*100),_=Math.floor(u[f]*100),h=Math.floor(u[f+1]*100);typeof u[f+1]<"u"?x>=_&&x<h-(h-_)/2?d=f:x>=_&&x<h&&(d=f+1):x>=_&&(d=f)}if(s.initialized&&d!==v&&(!s.allowSlideNext&&(m?p>s.translate&&p>s.minTranslate():p<s.translate&&p<s.minTranslate())||!s.allowSlidePrev&&p>s.translate&&p>s.maxTranslate()&&(v||0)!==d))return!1;d!==(c||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(p);let b;if(d>v?b="next":d<v?b="prev":b="reset",m&&-p===s.translate||!m&&p===s.translate)return s.updateActiveIndex(d),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),a.effect!=="slide"&&s.setTranslate(p),b!=="reset"&&(s.transitionStart(i,b),s.transitionEnd(i,b)),!1;if(a.cssMode){const f=s.isHorizontal(),x=m?p:-p;if(e===0){const _=s.virtual&&s.params.virtual.enabled;_&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),_&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{w[f?"scrollLeft":"scrollTop"]=x})):w[f?"scrollLeft":"scrollTop"]=x,_&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return zi({swiper:s,targetPosition:x,side:f?"left":"top"}),!0;w.scrollTo({[f?"left":"top"]:x,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(p),s.updateActiveIndex(d),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,n),s.transitionStart(i,b),e===0?s.transitionEnd(i,b):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(x){!s||s.destroyed||x.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,b))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Ro(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;typeof e>"u"&&(e=l.params.speed);const s=l.grid&&l.params.grid&&l.params.grid.rows>1;let d=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)d=d+l.virtual.slidesBefore;else{let a;if(s){const m=d*l.params.grid.rows;a=l.slides.filter(w=>w.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=l.getSlideIndexByData(d);const r=s?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:u}=l.params;let c=l.params.slidesPerView;c==="auto"?c=l.slidesPerViewDynamic():(c=Math.ceil(parseFloat(l.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=r-a<c;if(u&&(v=v||a<Math.ceil(c/2)),n&&u&&l.params.slidesPerView!=="auto"&&!s&&(v=!1),v){const m=u?a<l.activeIndex?"prev":"next":a-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?a+1:a-r+1,slideRealIndex:m==="next"?l.realIndex:void 0})}if(s){const m=d*l.params.grid.rows;d=l.slides.filter(w=>w.getAttribute("data-swiper-slide-index")*1===m)[0].column}else d=l.getSlideIndexByData(d)}return requestAnimationFrame(()=>{l.slideTo(d,e,i,n)}),l}function zo(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:l,params:s,animating:d}=n;if(!l||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<s.slidesPerGroupSkip?1:a,u=n.virtual&&s.virtual.enabled;if(s.loop){if(d&&!u&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+r,t,e,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function Fo(t,e,i){e===void 0&&(e=!0);const n=this,{params:l,snapGrid:s,slidesGrid:d,rtlTranslate:a,enabled:r,animating:u}=n;if(!r||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const c=n.virtual&&l.virtual.enabled;if(l.loop){if(u&&!c&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=a?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const w=m(v),y=s.map(p=>m(p));let S=s[y.indexOf(w)-1];if(typeof S>"u"&&l.cssMode){let p;s.forEach((b,f)=>{w>=b&&(p=f)}),typeof p<"u"&&(S=s[p>0?p-1:p])}let I=0;if(typeof S<"u"&&(I=d.indexOf(S),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 p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function Vo(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function Ho(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;typeof t>"u"&&(t=l.params.speed);let s=l.activeIndex;const d=Math.min(l.params.slidesPerGroupSkip,s),a=d+Math.floor((s-d)/l.params.slidesPerGroup),r=l.rtlTranslate?l.translate:-l.translate;if(r>=l.snapGrid[a]){const u=l.snapGrid[a],c=l.snapGrid[a+1];r-u>(c-u)*n&&(s+=l.params.slidesPerGroup)}else{const u=l.snapGrid[a-1],c=l.snapGrid[a];r-u<=(c-u)*n&&(s-=l.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,l.slidesGrid.length-1),l.slideTo(s,t,e,i)}function Uo(){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,s;const d=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;s=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(Ke(i,`${d}[data-swiper-slide-index="${s}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Ke(i,`${d}[data-swiper-slide-index="${s}"]`)[0]),pt(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var Go={slideTo:Bo,slideToLoop:Ro,slideNext:zo,slidePrev:Fo,slideReset:Vo,slideToClosest:Ho,slideToClickedSlide:Uo};function $o(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const l=()=>{Ke(n,`.${i.slideClass}, swiper-slide`).forEach((v,m)=>{v.setAttribute("data-swiper-slide-index",m)})},s=e.grid&&i.grid&&i.grid.rows>1,d=i.slidesPerGroup*(s?i.grid.rows:1),a=e.slides.length%d!==0,r=s&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const m=e.isElement?yt("swiper-slide",[i.slideBlankClass]):yt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(a){if(i.loopAddBlankSlides){const c=d-e.slides.length%d;u(c),e.recalcSlides(),e.updateSlides()}else It("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 c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else It("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 Wo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:s,byController:d,byMousewheel:a}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:m,params:w}=r,{centeredSlides:y}=w;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&w.virtual.enabled){i&&(!w.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):w.centeredSlides&&r.snapIndex<w.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=c,r.allowSlideNext=v,r.emit("loopFix");return}let S=w.slidesPerView;S==="auto"?S=r.slidesPerViewDynamic():(S=Math.ceil(parseFloat(w.slidesPerView,10)),y&&S%2===0&&(S=S+1));const I=w.slidesPerGroupAuto?S:w.slidesPerGroup;let p=I;p%I!==0&&(p+=I-p%I),p+=w.loopAdditionalSlides,r.loopedSlides=p;const b=r.grid&&w.grid&&w.grid.rows>1;u.length<S+p?It("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"):b&&w.grid.fill==="row"&&It("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],x=[];let _=r.activeIndex;typeof s>"u"?s=r.getSlideIndex(u.filter(D=>D.classList.contains(w.slideActiveClass))[0]):_=s;const h=n==="next"||!n,P=n==="prev"||!n;let C=0,g=0;const E=b?Math.ceil(u.length/w.grid.rows):u.length,T=(b?u[s].column:s)+(y&&typeof l>"u"?-S/2+.5:0);if(T<p){C=Math.max(p-T,I);for(let D=0;D<p-T;D+=1){const O=D-Math.floor(D/E)*E;if(b){const L=E-O-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===L&&f.push(z)}else f.push(E-O-1)}}else if(T+S>E-p){g=Math.max(T-(E-p*2),I);for(let D=0;D<g;D+=1){const O=D-Math.floor(D/E)*E;b?u.forEach((L,z)=>{L.column===O&&x.push(z)}):x.push(O)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),P&&f.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),h&&x.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.append(u[D]),u[D].swiperLoopMoveDOM=!1}),r.recalcSlides(),w.slidesPerView==="auto"?r.updateSlides():b&&(f.length>0&&P||x.length>0&&h)&&r.slides.forEach((D,O)=>{r.grid.updateSlide(O,D,r.slides)}),w.watchSlidesProgress&&r.updateSlidesOffset(),i){if(f.length>0&&P){if(typeof e>"u"){const D=r.slidesGrid[_],L=r.slidesGrid[_+C]-D;a?r.setTranslate(r.translate-L):(r.slideTo(_+Math.ceil(C),0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-L,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-L))}else if(l){const D=b?f.length/w.grid.rows:f.length;r.slideTo(r.activeIndex+D,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(x.length>0&&h)if(typeof e>"u"){const D=r.slidesGrid[_],L=r.slidesGrid[_-g]-D;a?r.setTranslate(r.translate-L):(r.slideTo(_-g,0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-L,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-L))}else{const D=b?x.length/w.grid.rows:x.length;r.slideTo(r.activeIndex-D,0,!1,!0)}}if(r.allowSlidePrev=c,r.allowSlideNext=v,r.controller&&r.controller.control&&!d){const D={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:s,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...D,slideTo:O.params.slidesPerView===w.slidesPerView?i:!1})}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix({...D,slideTo:r.controller.control.params.slidesPerView===w.slidesPerView?i:!1})}r.emit("loopFix")}function Yo(){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 s=typeof l.swiperSlideIndex>"u"?l.getAttribute("data-swiper-slide-index")*1:l.swiperSlideIndex;n[s]=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 qo={loopCreate:$o,loopFix:Wo,loopDestroy:Yo};function Xo(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 Jo(){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 Ko={setGrabCursor:Xo,unsetGrabCursor:Jo};function Qo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Ye()||n===je())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 Wi(t,e,i){const n=je(),{params:l}=t,s=l.edgeSwipeDetection,d=l.edgeSwipeThreshold;return s&&(i<=d||i>=n.innerWidth-d)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function Zo(t){const e=this,i=Ye();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"){Wi(e,n,n.targetTouches[0].pageX);return}const{params:s,touches:d,enabled:a}=e;if(!a||!s.simulateTouch&&n.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let r=n.target;if(s.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(r=c[0]);const v=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(s.noSwiping&&(m?Qo(v,r):r.closest(v))){e.allowClick=!0;return}if(s.swipeHandler&&!r.closest(s.swipeHandler))return;d.currentX=n.pageX,d.currentY=n.pageY;const w=d.currentX,y=d.currentY;if(!Wi(e,n,w))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=w,d.startY=y,l.touchStartTime=Ue(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(l.allowThresholdMove=!1);let S=!0;r.matches(l.focusableElements)&&(S=!1,r.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const I=S&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||I)&&!r.isContentEditable&&n.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function el(t){const e=Ye(),i=this,n=i.touchEventsData,{params:l,touches:s,rtlTranslate:d,enabled:a}=i;if(!a||!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 u;if(r.type==="touchmove"){if(u=[...r.changedTouches].filter(h=>h.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=r;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",r);return}const c=u.pageX,v=u.pageY;if(r.preventedByNestedSwiper){s.startX=c,s.startY=v;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(s,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Ue());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(v<s.startY&&i.translate<=i.maxTranslate()||v>s.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<s.startX&&i.translate<=i.maxTranslate()||c>s.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),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=v;const m=s.currentX-s.startX,w=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(m**2+w**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let h;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:m*m+w*w>=25&&(h=Math.atan2(Math.abs(w),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?h>l.touchAngle:90-h>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(n.startMoving=!0),n.isScrolling||r.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&r.cancelable&&r.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&r.stopPropagation();let y=i.isHorizontal()?m:w,S=i.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;l.oneWayMovement&&(y=Math.abs(y)*(d?1:-1),S=Math.abs(S)*(d?1:-1)),s.diff=y,y*=l.touchRatio,d&&(y=-y,S=-S);const I=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=S>0?"prev":"next";const p=i.params.loop&&!l.cssMode,b=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(h)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let f;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&p&&b&&Math.abs(y)>=1){Object.assign(s,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let x=!0,_=l.resistanceRatio;if(l.touchReleaseOnEdges&&(_=0),y>0?(p&&b&&!f&&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()&&(x=!1,l.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**_))):y<0&&(p&&b&&!f&&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()&&(x=!1,l.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**_))),x&&(r.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),l.threshold>0)if(Math.abs(y)>l.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.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 tl(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(_=>_.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:d,touches:a,rtlTranslate:r,slidesGrid:u,enabled:c}=e;if(!c||!d.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&d.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}d.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Ue(),m=v-i.touchStartTime;if(e.allowClick){const _=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(_&&_[0]||n.target,_),e.emit("tap click",n),m<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Ue(),pt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||a.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 w;if(d.followFinger?w=r?e.translate:-e.translate:w=-i.currentTranslate,d.cssMode)return;if(d.freeMode&&d.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:w});return}const y=w>=-e.maxTranslate()&&!e.params.loop;let S=0,I=e.slidesSizesGrid[0];for(let _=0;_<u.length;_+=_<d.slidesPerGroupSkip?1:d.slidesPerGroup){const h=_<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;typeof u[_+h]<"u"?(y||w>=u[_]&&w<u[_+h])&&(S=_,I=u[_+h]-u[_]):(y||w>=u[_])&&(S=_,I=u[u.length-1]-u[u.length-2])}let p=null,b=null;d.rewind&&(e.isBeginning?b=d.virtual&&d.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const f=(w-u[S])/I,x=S<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;if(m>d.longSwipesMs){if(!d.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(f>=d.longSwipesRatio?e.slideTo(d.rewind&&e.isEnd?p:S+x):e.slideTo(S)),e.swipeDirection==="prev"&&(f>1-d.longSwipesRatio?e.slideTo(S+x):b!==null&&f<0&&Math.abs(f)>d.longSwipesRatio?e.slideTo(b):e.slideTo(S))}else{if(!d.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(S+x):e.slideTo(S):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:S+x),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:S))}}function Yi(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:l,snapGrid:s}=t,d=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=d&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!d?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&&s!==t.snapGrid&&t.checkOverflow()}function il(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function nl(){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 s=t.maxTranslate()-t.minTranslate();s===0?l=0:l=(t.translate-t.minTranslate())/s,l!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ol(t){const e=this;At(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function ll(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const qi=(t,e)=>{const i=Ye(),{params:n,el:l,wrapperEl:s,device:d}=t,a=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",u=e;!l||typeof l=="string"||(i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),l[r]("touchstart",t.onTouchStart,{passive:!1}),l[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:a}),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&&s[r]("scroll",t.onScroll),n.updateOnWindowResize?t[u](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",Yi,!0):t[u]("observerUpdate",Yi,!0),l[r]("load",t.onLoad,{capture:!0}))};function sl(){const t=this,{params:e}=t;t.onTouchStart=Zo.bind(t),t.onTouchMove=el.bind(t),t.onTouchEnd=tl.bind(t),t.onDocumentTouchStart=ll.bind(t),e.cssMode&&(t.onScroll=nl.bind(t)),t.onClick=il.bind(t),t.onLoad=ol.bind(t),qi(t,"on")}function al(){qi(this,"off")}var rl={attachEvents:sl,detachEvents:al};const Xi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function dl(){const t=this,{realIndex:e,initialized:i,params:n,el:l}=t,s=n.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const d=t.getBreakpoint(s,t.params.breakpointsBase,t.el);if(!d||t.currentBreakpoint===d)return;const r=(d in s?s[d]:void 0)||t.originalParams,u=Xi(t,n),c=Xi(t,r),v=t.params.grabCursor,m=r.grabCursor,w=n.enabled;u&&!c?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(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()),v&&!m?t.unsetGrabCursor():!v&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(f=>{if(typeof r[f]>"u")return;const x=n[f]&&n[f].enabled,_=r[f]&&r[f].enabled;x&&!_&&t[f].disable(),!x&&_&&t[f].enable()});const y=r.direction&&r.direction!==n.direction,S=n.loop&&(r.slidesPerView!==n.slidesPerView||y),I=n.loop;y&&i&&t.changeDirection(),Ve(t.params,r);const p=t.params.enabled,b=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),w&&!p?t.disable():!w&&p&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",r),i&&(S?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!I&&b?(t.loopCreate(e),t.updateSlides()):I&&!b&&t.loopDestroy()),t.emit("breakpoint",r)}function cl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const l=je(),s=e==="window"?l.innerHeight:i.clientHeight,d=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const r=parseFloat(a.substr(1));return{value:s*r,point:a}}return{value:a,point:a}});d.sort((a,r)=>parseInt(a.value,10)-parseInt(r.value,10));for(let a=0;a<d.length;a+=1){const{point:r,value:u}=d[a];e==="window"?l.matchMedia(`(min-width: ${u}px)`).matches&&(n=r):u<=i.clientWidth&&(n=r)}return n||"max"}var ul={setBreakpoint:dl,getBreakpoint:cl};function pl(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 vl(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:s}=t,d=pl(["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:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...d),l.classList.add(...e),t.emitContainerClasses()}function fl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var ml={addClasses:vl,removeClasses:fl};function hl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const l=t.slides.length-1,s=t.slidesGrid[l]+t.slidesSizesGrid[l]+n*2;t.isLocked=t.size>s}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 gl={checkOverflow:hl},ni={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 bl(t,e){return function(n){n===void 0&&(n={});const l=Object.keys(n)[0],s=n[l];if(typeof s!="object"||s===null){Ve(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 s)){Ve(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Ve(e,n)}}const oi={eventsEmitter:mo,update:Io,translate:Oo,transition:No,slide:Go,loop:qo,grabCursor:Ko,events:rl,breakpoints:ul,checkOverflow:gl,classes:ml},li={};let si=class nt{constructor(){let e,i;for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];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=Ve({},i),e&&!i.el&&(i.el=e);const d=Ye();if(i.el&&typeof i.el=="string"&&d.querySelectorAll(i.el).length>1){const c=[];return d.querySelectorAll(i.el).forEach(v=>{const m=Ve({},i,{el:v});c.push(new nt(m))}),c}const a=this;a.__swiper__=!0,a.support=Hi(),a.device=Ui({userAgent:i.userAgent}),a.browser=po(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const r={};a.modules.forEach(c=>{c({params:i,swiper:a,extendParams:bl(i,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Ve({},ni,r);return a.params=Ve({},u,li,i),a.originalParams=Ve({},a.params),a.passedParams=Ve({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.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:a.params.allowSlideNext,allowSlidePrev:a.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:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}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=Ke(i,`.${n.slideClass}, swiper-slide`),s=_t(l[0]);return _t(e)-s}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=Ke(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(),d=(n.maxTranslate()-l)*e+l;n.translateTo(d,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:s,slidesGrid:d,slidesSizesGrid:a,size:r,activeIndex:u}=n;let c=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let v=s[u]?Math.ceil(s[u].swiperSlideSize):0,m;for(let w=u+1;w<s.length;w+=1)s[w]&&!m&&(v+=Math.ceil(s[w].swiperSlideSize),c+=1,v>r&&(m=!0));for(let w=u-1;w>=0;w-=1)s[w]&&!m&&(v+=s[w].swiperSlideSize,c+=1,v>r&&(m=!0))}else if(e==="current")for(let v=u+1;v<s.length;v+=1)(i?d[v]+a[v]-d[u]<r:d[v]-d[u]<r)&&(c+=1);else for(let v=u-1;v>=0;v-=1)d[u]-d[v]<r&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(d=>{d.complete&&At(e,d)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const d=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(d,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let s;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 d=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(d.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||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(s=>{e==="vertical"?s.style.width="":s.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 d=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):Ke(n,l())[0];return!d&&i.params.createElements&&(d=yt("div",i.params.wrapperClass),n.append(d),Ke(n,`.${i.params.slideClass}`).forEach(a=>{d.append(a)})),Object.assign(i,{el:n,wrapperEl:d,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:d,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||st(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||st(n,"direction")==="rtl"),wrongRTL:st(d,"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(s=>{s.complete?At(i,s):s.addEventListener("load",d=>{At(i,d.target)})}),ii(i),i.initialized=!0,ii(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:s,wrapperEl:d,slides:a}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),d&&d.removeAttribute("style"),a&&a.length&&a.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&&typeof n.el!="string"&&(n.el.swiper=null),Qn(n)),n.destroyed=!0),null}static extendDefaults(e){Ve(li,e)}static get extendedDefaults(){return li}static get defaults(){return ni}static installModule(e){nt.prototype.__modules__||(nt.prototype.__modules__=[]);const i=nt.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>nt.installModule(i)),nt):(nt.installModule(e),nt)}};Object.keys(oi).forEach(t=>{Object.keys(oi[t]).forEach(e=>{si.prototype[e]=oi[t][e]})}),si.use([vo,fo]);const Ji=["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 ct(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]:ct(e[n])&&ct(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 Ki(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Qi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Zi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function en(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 yl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function wl(t){let{swiper:e,slides:i,passedParams:n,changedParams:l,nextEl:s,prevEl:d,scrollbarEl:a,paginationEl:r}=t;const u=l.filter(g=>g!=="children"&&g!=="direction"&&g!=="wrapperClass"),{params:c,pagination:v,navigation:m,scrollbar:w,virtual:y,thumbs:S}=e;let I,p,b,f,x,_,h,P;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(I=!0),l.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(b=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&w&&!w.el&&(f=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||d)&&(n.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(x=!0);const C=g=>{e[g]&&(e[g].destroy(),g==="navigation"?(e.isElement&&(e[g].prevEl.remove(),e[g].nextEl.remove()),c[g].prevEl=void 0,c[g].nextEl=void 0,e[g].prevEl=void 0,e[g].nextEl=void 0):(e.isElement&&e[g].el.remove(),c[g].el=void 0,e[g].el=void 0))};l.includes("loop")&&e.isElement&&(c.loop&&!n.loop?_=!0:!c.loop&&n.loop?h=!0:P=!0),u.forEach(g=>{if(ct(c[g])&&ct(n[g]))Object.assign(c[g],n[g]),(g==="navigation"||g==="pagination"||g==="scrollbar")&&"enabled"in n[g]&&!n[g].enabled&&C(g);else{const E=n[g];(E===!0||E===!1)&&(g==="navigation"||g==="pagination"||g==="scrollbar")?E===!1&&C(g):c[g]=n[g]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),l.includes("children")&&i&&y&&c.virtual.enabled?(y.slides=i,y.update(!0)):l.includes("virtual")&&y&&c.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),l.includes("children")&&i&&c.loop&&(P=!0),I&&S.init()&&S.update(!0),p&&(e.controller.control=c.controller.control),b&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),r.part.add("pagination"),e.el.appendChild(r)),r&&(c.pagination.el=r),v.init(),v.render(),v.update()),f&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),w.init(),w.updateSize(),w.setTranslate()),x&&(e.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=e.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),e.el.appendChild(s)),(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-button-prev"),d.innerHTML=e.hostEl.constructor.prevButtonSvg,d.part.add("button-prev"),e.el.appendChild(d))),s&&(c.navigation.nextEl=s),d&&(c.navigation.prevEl=d),m.init(),m.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(_||P)&&e.loopDestroy(),(h||P)&&e.loopCreate(),e.update()}function Sl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};ft(i,ni),i._emitClasses=!0,i.init=!1;const s={},d=Ji.map(r=>r.replace(/_/,"")),a=Object.assign({},t);return Object.keys(a).forEach(r=>{typeof t[r]>"u"||(d.indexOf(r)>=0?ct(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]:s[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:l,rest:s,events:n}}function Tl(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:s,scrollbarEl:d,swiper:a}=t;Ki(e)&&n&&l&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=l,a.originalParams.navigation.prevEl=l),Qi(e)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),Zi(e)&&d&&(a.params.scrollbar.el=d,a.originalParams.scrollbar.el=d),a.init(i)}function xl(t,e,i,n,l){const s=[];if(!e)return s;const d=r=>{s.indexOf(r)<0&&s.push(r)};if(i&&n){const r=n.map(l),u=i.map(l);r.join("")!==u.join("")&&d("children"),n.length!==i.length&&d("children")}return Ji.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(ct(t[r])&&ct(e[r])){const u=Object.keys(t[r]),c=Object.keys(e[r]);u.length!==c.length?d(r):(u.forEach(v=>{t[r][v]!==e[r][v]&&d(r)}),c.forEach(v=>{t[r][v]!==e[r][v]&&d(r)}))}else t[r]!==e[r]&&d(r)}),s}const El=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 Pt(){return Pt=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},Pt.apply(this,arguments)}function tn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function nn(t){const e=[];return o.Children.toArray(t).forEach(i=>{tn(i)?e.push(i):i.props&&i.props.children&&nn(i.props.children).forEach(n=>e.push(n))}),e}function Cl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(t).forEach(n=>{if(tn(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=nn(n.props.children);l.length>0?l.forEach(s=>e.push(s)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Il(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:s,to:d}=i,a=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,u=[];for(let c=a;c<r;c+=1)c>=s&&c<=d&&u.push(e[n(c)]);return u.map((c,v)=>o.cloneElement(c,{swiper:t,style:l,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function wt(t,e){return typeof window>"u"?o.useEffect(t,e):o.useLayoutEffect(t,e)}const ai=o.createContext(null),on=()=>o.useContext(ai),_l=o.createContext(null),ut=o.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:s,onSwiper:d,...a}=t===void 0?{}:t,r=!1;const[u,c]=o.useState("swiper"),[v,m]=o.useState(null),[w,y]=o.useState(!1),S=o.useRef(!1),I=o.useRef(null),p=o.useRef(null),b=o.useRef(null),f=o.useRef(null),x=o.useRef(null),_=o.useRef(null),h=o.useRef(null),P=o.useRef(null),{params:C,passedParams:g,rest:E,events:A}=Sl(a),{slides:T,slots:D}=Cl(s),O=()=>{y(!w)};Object.assign(C.on,{_containerClasses(N,R){c(R)}});const L=()=>{Object.assign(C.on,A),r=!0;const N={...C};if(delete N.wrapperClass,p.current=new si(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=T;const R={cache:!1,slides:T,renderExternal:m,renderExternalUpdate:!1};ft(p.current.params.virtual,R),ft(p.current.originalParams.virtual,R)}};I.current||L(),p.current&&p.current.on("_beforeBreakpoint",O);const z=()=>{r||!A||!p.current||Object.keys(A).forEach(N=>{p.current.on(N,A[N])})},V=()=>{!A||!p.current||Object.keys(A).forEach(N=>{p.current.off(N,A[N])})};o.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",O)}),o.useEffect(()=>{!S.current&&p.current&&(p.current.emitSlidesClasses(),S.current=!0)}),wt(()=>{if(e&&(e.current=I.current),!!I.current)return p.current.destroyed&&L(),Tl({el:I.current,nextEl:x.current,prevEl:_.current,paginationEl:h.current,scrollbarEl:P.current,swiper:p.current},C),d&&!p.current.destroyed&&d(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),wt(()=>{z();const N=xl(g,b.current,T,f.current,R=>R.key);return b.current=g,f.current=T,N.length&&p.current&&!p.current.destroyed&&wl({swiper:p.current,slides:T,passedParams:g,changedParams:N,nextEl:x.current,prevEl:_.current,scrollbarEl:P.current,paginationEl:h.current}),()=>{V()}}),wt(()=>{El(p.current)},[v]);function B(){return C.virtual?Il(p.current,T,v):T.map((N,R)=>o.cloneElement(N,{swiper:p.current,swiperSlideIndex:R}))}return o.createElement(n,Pt({ref:I,className:en(`${u}${i?` ${i}`:""}`)},E),o.createElement(_l.Provider,{value:p.current},D["container-start"],o.createElement(l,{className:yl(C.wrapperClass)},D["wrapper-start"],B(),D["wrapper-end"]),Ki(C)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:_,className:"swiper-button-prev"}),o.createElement("div",{ref:x,className:"swiper-button-next"})),Zi(C)&&o.createElement("div",{ref:P,className:"swiper-scrollbar"}),Qi(C)&&o.createElement("div",{ref:h,className:"swiper-pagination"}),D["container-end"]))});ut.displayName="Swiper";const Ze=o.forwardRef(function(t,e){let{tag:i="div",children:n,className:l="",swiper:s,zoom:d,lazy:a,virtualIndex:r,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=o.useRef(null),[m,w]=o.useState("swiper-slide"),[y,S]=o.useState(!1);function I(x,_,h){_===v.current&&w(h)}wt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!s)){if(s.destroyed){m!=="swiper-slide"&&w("swiper-slide");return}return s.on("_slideClass",I),()=>{s&&s.off("_slideClass",I)}}}),wt(()=>{s&&v.current&&!s.destroyed&&w(s.getSlideClasses(v.current))},[s]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},b=()=>typeof n=="function"?n(p):n,f=()=>{S(!0)};return o.createElement(i,Pt({ref:v,className:en(`${m}${l?` ${l}`:""}`),"data-swiper-slide-index":r,onLoad:f},c),d&&o.createElement(ai.Provider,{value:p},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof d=="number"?d:void 0},b(),a&&!y&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!d&&o.createElement(ai.Provider,{value:p},b(),a&&!y&&o.createElement("div",{className:"swiper-lazy-preloader"})))});Ze.displayName="SwiperSlide";const kl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Dl=({visible:t,onClose:e,children:i,modalStyle:n,padding:l,popup:s})=>{var d;const[a,r]=o.useState(!1),u=o.useRef(null);o.useEffect(()=>{const m=document.getElementById("sxp-render"),w=document.getElementById("pb-modal");w?u.current=w:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=o.useMemo(()=>s?.id&&s?.id!==""||t,[t,s]);if(o.useEffect(()=>{c?r(!0):setTimeout(()=>{r(!1)},s?.duration)},[c,s]),!u.current)return null;const v=Ee.debounce(()=>{e?.()},300);return Si.createPortal(o.createElement(o.Fragment,null,a&&o.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},o.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:l,animationDuration:((d=s?.duration)!==null&&d!==void 0?d:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},o.createElement("div",{onClick:e,className:"modal-icon-wrapper"},o.createElement("img",{src:kl,alt:"close",className:"modal-icon"})),i))),u.current)};var Ot=o.memo(Dl);const Al=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),l=[];for(let d=0;d<n.length&&(l.push(n[d]),!(l.join(" ").length>=e));d++);return(l.length>1&&l.length<n.length?l.slice(0,l.length-1):l).join(" ")+" "},Pl=({text:t,maxStr:e=108,style:i,className:n,onClick:l,foldText:s,unfoldText:d,isPost:a,onChange:r})=>{const[u,c]=o.useState(!1),[v,m]=o.useState(!1),w=Number(i?.lineClamp||2),y=o.useRef(null),S=o.useRef(null),I=o.useCallback(()=>{c(!u)},[u,r]);return o.useMemo(()=>!u&&t.length>e?Al(t,e)+"...":t,[t,e,u]),o.useEffect(()=>{var p,b;((p=S?.current)===null||p===void 0?void 0:p.offsetHeight)>((b=y?.current)===null||b===void 0?void 0:b.offsetHeight)&&a?m(!0):m(!1),S.current.style.display="none"},[a]),o.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},o.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!a||u?"":w,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),o.createElement("div",{ref:S,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&a&&v&&o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:l??I},u?d||"show less":s||"show more"))};var Mt=o.memo(Pl);const Ol=o.forwardRef((t,e)=>{const{src:i,onLoad:n,style:l,className:s,loading:d}=t,[a,r]=o.useState(),{swiperRef:u}=fe();return o.useImperativeHandle(e,()=>({setSrc:c=>{r(c)}})),o.useEffect(()=>{var c,v;const m=(v=(c=u?.current)===null||c===void 0?void 0:c.swiper)===null||v===void 0?void 0:v.activeIndex;(m===0||m>0)&&r(i)},[i,u]),o.useRef(null),o.createElement(o.Fragment,null,a?.includes(".avif")?o.createElement("picture",null,o.createElement("source",{type:"image/avif",srcSet:a}),o.createElement("source",{type:"image/webp",srcSet:`${a}?imageMogr2/format/webp`}),o.createElement("source",{type:"image/jpeg",srcSet:`${a}?imageMogr2/format/jpg`}),o.createElement("img",{className:s,src:a,style:l,loading:d,onLoad:c=>{n?.(c.target)}})):o.createElement("img",{className:s,src:a,style:l,loading:d,onLoad:c=>{n?.(c.target)}}))});var Ne=o.memo(Ol);const Ml=t=>{var e,i,n,l,s,d,a,r,u,{content:c,style:v,bgImg:m,onClick:w,schema:y,isDefault:S,bottom_image:I,tipText:p,isPost:b,viewTime:f,rec:x,swiper:_,commodityStyles:h,buttonStyle:P,index:C}=t,g=De(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=fe(),{popupDetailData:A,bffEventReport:T,isPreview:D,bffFbReport:O}=fe(),{jumpToWeb:L,productView:z}=Re(),V=o.useRef(null),[B,N]=o.useState(!1),R=b?x:A,j=b?R?.product:(e=R?.video)===null||e===void 0?void 0:e.bindProduct,k=b?(i=R?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=R?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,Y=b?C:A?.index,F=()=>{j?.link&&(L(R,j,k,Y),b||z(R,j,k,f||V.current,Y),window.location.href=window.getJointUtmLink(j.link))};o.useEffect(()=>{b||O?.({eventName:"ProductView"})},[b,O]),o.useEffect(()=>{const $=()=>{V.current=new Date};return $(),window.addEventListener("pageshow",$),()=>{window.removeEventListener("pageshow",$)}},[]);const G=o.useMemo(()=>{var $,le,X,K,me;return j?.currency&&j?.price?`${(X=(le=($=j?.currency)===null||$===void 0?void 0:$.split("-")[1])===null||le===void 0?void 0:le.toUpperCase())!==null&&X!==void 0?X:""}${(me=(K=j?.price)===null||K===void 0?void 0:K.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&me!==void 0?me:""}`:"$7,000"},[j?.price,j?.currency]),J=D?375:(s=v?.width)!==null&&s!==void 0?s:window.innerWidth,te=({isPost:$})=>{var le,X,K;return o.createElement("div",null,o.createElement("div",{className:"pb-commondity-content-collection",style:pe(h?.collection),hidden:!!j&&(!j?.collection||j?.collection==="")},(le=j?.collection)!==null&&le!==void 0?le:"Tiffany Lock"),o.createElement("div",{className:"pb-commondity-content-title",style:pe(h?.title),hidden:!!j&&!j?.title},(X=j?.title)!==null&&X!==void 0?X:"Pendant in Yellow Gold with Diamonds, Medium"),o.createElement("div",{className:"pb-commondity-content-price",style:pe(h?.price),hidden:!!j&&!j?.price},G),o.createElement("div",{hidden:!!j&&(!j?.info||j?.info==="")},o.createElement(Mt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>N(!0),isPost:$,text:(K=j?.info)!==null&&K!==void 0?K:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Te=require("lodash"),In=require("uuid"),_n=require("pako"),o=require("react"),Gt=require("qs"),kn=require("eventemitter3"),Z=require("@emotion/css"),Dn=require("@ant-design/pro-components"),An=require("react-dom");function Pn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var _i=Pn(An);function ke(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 Le(t,e,i,n){function l(s){return s instanceof i?s:new i(function(d){d(s)})}return new(i||(i=Promise))(function(s,d){function a(c){try{u(n.next(c))}catch(v){d(v)}}function r(c){try{u(n.throw(c))}catch(v){d(v)}}function u(c){c.done?s(c.value):l(c.value).then(a,r)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const On=/:\w+/g;var ki=(t,e)=>Le(void 0,void 0,void 0,function*(){const i={},n={};for(let l=0;l<e?.length;l++){const{id:s,method:d,url:a,urlParams:r,name:u,queryString:c,headers:v,body:m}=e[l];let y=a;r&&Object.entries(r).forEach(([b,T])=>{y=y.replace(On,_=>_===b?T:_)}),c&&(y+=c),n[s]=u;try{const b=yield fetch(y,{method:d,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(m)}).then(T=>T.json());i[s]=b}catch(b){console.error("DataSource request error: ",b),i[s]={}}}return{$store:i,idMapName:n}});const Di="SXP_TOKEN_INFO",Mn=(t,e)=>Le(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),l=t.getAppId(),s=t.getApiUrl(),d=window.localStorage.getItem(Di);let a=JSON.parse(d||"{}");if(Date.now()>((i=a?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${s}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":l||""}}).then(c=>c.json());if(u.success){const c=u.data;a=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(Di,JSON.stringify(a))}}return a});function kt(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 s;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",l=0;l<36;l++)n[l]||(s=0|Math.random()*16,n[l]=i[l===19?s&3|8:s])}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},jn=()=>{const t=In.v4();return t?.replaceAll?t.replaceAll("-",""):Ln(32)};function Ai(t){const i=atob(t).split("").map(function(s){return s.charCodeAt(0)}),n=new Uint8Array(i),l=_n.inflate(n,{to:"string"});return JSON.parse(l)}let $t=null;const Nn={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,$t)return $t;$t=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Nn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ae=null;const Rn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ae||(Ae=new Bn),n&&Ae.setApiUrl(n),Ae.setAppId(t),Ae.setTenantId(e),Ae.setEnv(i)},getDetail:t=>{if(!Ae)return;const e=Ae.getTenantId(),i=Ae.getAppId(),n=Ae.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Le(void 0,void 0,void 0,function*(){var s,d;const a=yield l.json(),r=Ai((s=a?.data)===null||s===void 0?void 0:s.data);if(r){const{$store:u}=yield ki(n,(d=r?.dataSource)!==null&&d!==void 0?d:[]);a.data.data=r,Object.assign(a.data.data,{__STORE__:u})}return a}))},getSxpDetailByPageId:t=>Le(void 0,void 0,void 0,function*(){if(!Ae)return;const e=Ae.getTenantId(),i=Ae.getAppId(),n=Ae.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(l=>Le(void 0,void 0,void 0,function*(){var s;const d=yield l.json();if(!d.success)return;const a=Ai((s=d?.data)===null||s===void 0?void 0:s.data);return d.data.data=a,d.data}))}),getSxpRecommendVideoData:t=>Le(void 0,void 0,void 0,function*(){if(!Ae)return;const e=yield Mn(Ae,t),i=kt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Te.isEmpty(n)&&(n=kt(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(s=>s.json());return l?.data||null})};function et(){return o.useContext(Vi)}function zn(){return o.useContext(Fi)}const Wt="feRealSessionIdKey",Pi=()=>{const t=jn();return`${Date.now()}${t}`},Fn=()=>{let t=Hn();return t||(t=Pi(),window.sessionStorage.setItem(Wt,t)),t},Vn=()=>{const t=Pi();window.sessionStorage.setItem(Wt,t)},Hn=()=>window.sessionStorage.getItem(Wt),Oi="SXP_FAKE_USER_ID",Mi="FAKE_USER_STATE",Li="AGREE_POLICY",ji=()=>{let t=window.localStorage.getItem(Oi);return Te.isEmpty(t)&&(t=kt(36,62),window.localStorage.setItem(Oi,t)),t},Un=()=>{const t=window.localStorage.getItem(Mi);return Te.isEmpty(t)&&window.localStorage.setItem(Mi,"true"),Te.isEmpty(t)};function Ge(t,e){const{appDomain:i}=fe();return o.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const tt=new kn;var qe;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(qe||(qe={}));const Ni=o.createContext({rtcList:[],tagList:[]});var Yt;(function(t){t[t.BFF=5]="BFF"})(Yt||(Yt={}));const Bi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Dt="FOR U",Gn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:l,defaultSize:s,isPreview:d=!1,sxpParameter:a,appDomain:r,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:m=!1,consentHeight:y,consentWidth:b,isShowTag:T=!0,isOpenConsent:_=!1,globalConfig:p,isEditor:g=!1})=>{const[f,E]=o.useState([]),[k,h]=o.useState([]),[O,I]=o.useState(!1),[x,w]=o.useState({rtc:"",requestId:""}),D=o.useRef(null),S=o.useRef(!1),[C,P]=o.useState(()=>!!window.localStorage.getItem(Li)),[M,N]=o.useState(),[V,F]=o.useState(),[j,R]=o.useState(v),[L,z]=o.useState([]),[B,G]=o.useState(0),[H,ee]=o.useState(!1),[ce,ve]=o.useState(null),W=o.useRef(),Y=o.useRef(),[q,K]=o.useState(Dt),X=o.useMemo(()=>{var U,$,ie,ge;return((ge=(ie=($=(U=p?.consent)===null||U===void 0?void 0:U[0])===null||$===void 0?void 0:$.item)===null||ie===void 0?void 0:ie.props)===null||ge===void 0?void 0:ge.privacy_necessity)&&!C&&!g||_},[C,p,_,g]);o.useEffect(()=>{const U=$=>{W.current=$};return tt.on(qe.CHANGE_THEME_TAG,U),()=>{tt.off(qe.CHANGE_THEME_TAG,U)}},[]),o.useEffect(()=>{R(v)},[v]);const ye=o.useMemo(()=>e?.find(U=>U.type===Yt.BFF),[e]),te=o.useCallback((U,$)=>{if(!ye)return;const ie=ye.url,ge=ji();if($?.query){const ue=Gt.stringify($.query);U=`${U}?${ue}`}return $.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ie}/api/v1${U}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},ye.headers),{"x-user-id":ge}),$.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ie}/api/v1${U}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ge},ye.headers),method:$.method,body:JSON.stringify($.body)}).then(ue=>ue.json()).catch(ue=>Promise.reject(ue))},[ye]),Ce=o.useCallback(U=>Le(void 0,void 0,void 0,function*(){var $,ie,ge,ue,xe;if(U={maxSize:($=U?.maxSize)!==null&&$!==void 0?$:l,defaultSize:(ie=U?.defaultSize)!==null&&ie!==void 0?ie:s,"itemFilter.itemId":U?.["itemFilter.itemId"],"itemFilter.itemType":U?.["itemFilter.itemType"],hashTag:U?.hashTag,traceInfo:U?.traceInfo,themeTag:U?.themeTag},i){const Ee=(xe=(ue=(ge=i?.split("&"))===null||ge===void 0?void 0:ge.filter(Ze=>{const nt=Ze.split("=")[0];return Bi.includes(nt)}))===null||ue===void 0?void 0:ue.join("&"))!==null&&xe!==void 0?xe:"";U=Object.assign(Object.assign({},U),{channel:decodeURIComponent(Ee)})}const be=yield te?.("/recommend/list",{method:"GET",query:U});if(be?.success)return U?.hashTag||w({rtc:be.data.rtc,requestId:be.data.requestId}),be?.data}),[te,i,l,s]),De=o.useCallback(()=>Le(void 0,void 0,void 0,function*(){var U,$;if(f.length<=0)return;const ie=yield Ce({hashTag:V?.hashTag,"itemFilter.itemId":V?.itemId,"itemFilter.itemType":V?.itemType,themeTag:W.current});E(f.concat((U=ie?.recList)!==null&&U!==void 0?U:[])),z(L.concat(($=ie?.recList)!==null&&$!==void 0?$:[]))}),[Ce,f,V,L]),Ie=o.useCallback(({userInfo:U,eventInfo:$})=>{if(!n)return;U||(U={});const ie=Fn(),ge=Object.assign({sessionID:ie,rtc:x.rtc,requestId:x.requestId},$),ue=Object.entries(U).map(([be,Ee])=>({name:be,value:Ee})),xe=Object.entries(ge).map(([be,Ee])=>Ee&&{name:be,value:Ee}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",U),console.log("eventInfo:",ge),console.log("========= \u7ED3\u675F ========="),te?.("/event/report",{method:"POST",body:{userInfo:ue,eventInfo:xe},type:"beacon"})},[te,x,n]),le=o.useCallback(U=>{var $,{eventName:ie,actionSource:ge="website",eventSourceUrl:ue=($=window?.location)===null||$===void 0?void 0:$.href,externalId:xe}=U;if(!n||!m)return;const be=ji();return te?.("/fb/events",{method:"POST",body:{eventName:ie,actionSource:ge,eventSourceUrl:ue,userData:{externalId:be}},type:"beacon"})},[te,n,m]),re=o.useCallback(U=>Le(void 0,void 0,void 0,function*(){const $=yield te?.("/recommend/like",{method:"POST",body:U});return $?.success}),[te]),me=o.useCallback(U=>Le(void 0,void 0,void 0,function*(){const $=yield te?.("/recommend/unlike",{method:"POST",body:U});return $?.success}),[te]),ne=o.useCallback(U=>Le(void 0,void 0,void 0,function*(){const $=yield te?.("/customform",{method:"POST",body:U});return $?.success}),[te]),Pe=o.useCallback(()=>Le(void 0,void 0,void 0,function*(){var U,$,ie,ge,ue;if(!(!i||!T))try{const xe=(ie=($=(U=i?.split("&"))===null||U===void 0?void 0:U.filter(Ee=>{const Ze=Ee.split("=")[0];return Bi.includes(Ze)}))===null||$===void 0?void 0:$.join("&"))!==null&&ie!==void 0?ie:"",be=yield te?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(xe)}});h((ue=(ge=be?.data)===null||ge===void 0?void 0:ge.tags)!==null&&ue!==void 0?ue:[])}catch(xe){console.log("e",xe)}}),[te,i,T]),He=o.useCallback((U,$,ie,ge)=>{var ue,xe,be,Ee,Ze,nt,Tt,ot,xt,ct,gt,lt;const Be=ie?.bindCta,Ut=((ue=$?.video)===null||ue===void 0?void 0:ue.bindProduct)||((xe=$?.video)===null||xe===void 0?void 0:xe.bindProducts)&&((Ee=(be=$?.video)===null||be===void 0?void 0:be.bindProducts)===null||Ee===void 0?void 0:Ee.length)>0;let bt="";H?bt="hashTagPage":!((Ze=$?.video)===null||Ze===void 0)&&Ze.url?bt="videoPage":!((Tt=(nt=$?.video)===null||nt===void 0?void 0:nt.imgUrls)===null||Tt===void 0)&&Tt.length&&(bt="imagePage"),Ie?.({eventInfo:Object.assign(Object.assign({},U),{ctaId:(ot=Be?.itemId)!==null&&ot!==void 0?ot:"",ctaName:(xt=Be?.title)!==null&&xt!==void 0?xt:"",contentTags:JSON.stringify(Be?.tags),position:ge+"",contentId:(gt=(ct=$?.video)===null||ct===void 0?void 0:ct.itemId)!==null&&gt!==void 0?gt:"",productId:Ut?ie?.itemId:"",traceInfo:(lt=Be?.traceInfo)!==null&&lt!==void 0?lt:"",fromKName:bt})})},[Ie,H]),Ye=o.useCallback(()=>{var U,$;const ie=location.search.slice(1),ge=Gt.parse(ie.replace(/\+/g,"%2B"));for(const be in ge)ge[be]=ge[be].replace(/%2B/g,"+");const ue=be=>{var Ee;return(Ee=ge[be])!==null&&Ee!==void 0?Ee:""},xe=new Date;Y.current=xe,Ie?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:ue("utm_source"),utmMedium:ue("utm_medium"),utmCampaign:ue("utm_campaign"),utmId:ue("utm_id"),utmContent:ue("utm_content"),enterTime:Math.floor(xe/1e3)+"",requestId:null,enterUrl:($=(U=window?.location)===null||U===void 0?void 0:U.href)!==null&&$!==void 0?$:"",clSource:ue("cl_source")}})},[Ie]);o.useEffect(()=>{Ye()},[]),o.useEffect(()=>{X||(I(!0),Pe(),Ce().then(U=>{var $,ie;E(($=U?.recList)!==null&&$!==void 0?$:[]),z((ie=U?.recList)!==null&&ie!==void 0?ie:[])}).finally(()=>{Ie({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),I(!1),S.current=!0}))},[X]),o.useEffect(()=>{S.current&&(I(!0),Pe(),Ce().then(U=>{var $,ie;E(($=U?.recList)!==null&&$!==void 0?$:[]),z((ie=U?.recList)!==null&&ie!==void 0?ie:[])}).finally(()=>{I(!1)}))},[Ce,Pe]);const dt=Ge("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return o.createElement(Ni.Provider,{value:{rtcList:f,setRtcList:E,mutateLike:re,mutateUnlike:me,submitForm:ne,popupDetailData:M,loadVideos:De,setPopupDetailData:N,getRecommendVideos:Ce,bffEventReport:Ie,utmVal:i,isPreview:d,loading:O,sxpParameter:a,waterFallData:V,setWaterFallData:F,ctaEvent:He,swiperRef:D,openHashtag:j,setOpenHashtag:R,cacheRtcList:L,setCacheRtcList:z,cacheActiveIndex:B,setCacheActiveIndex:G,isFromHashtag:H,setIsFromHashtag:ee,appDomain:r,hashTagSize:u,loadingImage:c??dt,isOpenHashTag:v,tagList:k,setLoading:I,videoRef:ce,setVideoRef:ve,bffFbReport:le,isAgreePolicy:C,setIsAgreePolicy:P,curTime:Y,h5EnterLink:Ye,themeTag:W,isShowConsent:X,selectTag:q,setSelectTag:K}},t({rtcList:f,mutateLike:re,mutateUnlike:me,submitForm:ne,tagList:k}))};var Ri=o.memo(Gn);function fe(){return o.useContext(Ni)}var zi;(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"})(zi||(zi={}));const Fi=o.createContext({$store:{},options:[],configs:[]}),$n=({children:t,isSsr:e,enable:i})=>{const[n,l]=o.useState([]),{schema:s}=et(),[d,a]=o.useState(s.__STORE__||{}),[r,u]=o.useState([]);o.useEffect(()=>{var m;e||Te.isEqual(r,s?.dataSource)||u((m=s?.dataSource)!==null&&m!==void 0?m:[])},[s?.dataSource,e]);const c=o.useCallback(()=>Le(void 0,void 0,void 0,function*(){const{$store:m,idMapName:y}=yield ki("",r);a(m),v(m,y)}),[r]),v=(m,y)=>{const b=[];Object.entries(m).forEach(([T,_])=>{Object.keys(_).forEach(p=>{const g={label:`${y[T]} - ${p}`,value:`{{ ${T}.${p} }}`};b.push(g)})}),l(b)};return o.useEffect(()=>{e||c()},[c,e,s]),i?o.createElement(Fi.Provider,{value:{$store:s.__STORE__||d,options:n,configs:r}},t):t};var Wn=o.memo($n);const At={id:kt(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},qt={id:"",duration:0,name:"none"},Vi=o.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[At],redoStack:[],popup:qt,setPopup:()=>{}}),Hi=o.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:l=!0,utmVal:s},d)=>{const[a,r]=o.useState(null),[u,c]=o.useState(n||{pointData:[At],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,m]=o.useState([At]),[y,b]=o.useState([[At]]),[T,_]=o.useState([]),[p,g]=o.useState(qt);typeof window<"u"&&(window.sxpPopup=(O,I)=>{g(Object.assign(Object.assign(Object.assign({},qt),{id:O}),I))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(s?"&"+s:""):O+(s?"?"+s:"")),o.useEffect(()=>{b([u.pointData]),_([])},[u.type]);const f=o.useCallback(O=>{const I=Te.cloneDeep(u);I&&(I.dataSource=O,c?.(I))},[u]),[E,k]=o.useState();o.useImperativeHandle(d,()=>({loadSchema(O){O&&(b([O.pointData]),c(O))},exportSchema(){return Te.cloneDeep(u)},getPageInfoData(){return E},initPageInfoData(O){O&&k(O)}}));const h=o.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return o.createElement(Vi.Provider,{value:{resolver:e,currentNode:a,schema:u,setCurrentNode:r,setSchema:c,saveDataSource:f,prePiontData:v,setPrePiontData:m,pageInfoData:E,setPageInfoData:O=>k(Object.assign(Object.assign({},E),O)),undoStack:y,redoStack:T,setRedoStack:_,setUndoStack:b,getCurPageConf:h,popup:p,setPopup:g}},o.createElement(Wn,{isSsr:i,enable:l},t))});var Yn=Object.freeze({__proto__:null,EditorCore:Hi}),qn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const de=[{label:"defalut",value:"appFont"}],Xt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Xn=Xt&&Xt!==""?JSON.parse(Xt):[];var Fe={fontOptions:[...de,...Xn]},Jt,Kt,Qt,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:(Jt=de?.[0])===null||Jt===void 0?void 0:Jt.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:Fe?.fontOptions,initialValue:(Qt=(Kt=Fe?.fontOptions)===null||Kt===void 0?void 0:Kt[0])===null||Qt===void 0?void 0:Qt.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Re(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=fe(),l=o.useCallback((a,r,u,c)=>{var v,m,y,b,T,_,p,g,f,E,k,h,O,I;let x="";e&&(!((m=(v=a?.video)===null||v===void 0?void 0:v.bindProducts)===null||m===void 0)&&m.length||!((y=a?.video)===null||y===void 0)&&y.bindProduct)?x="pdpPage":n?x="hashTagPage":!((b=a?.video)===null||b===void 0)&&b.url?x="videoPage":!((T=a?.video)===null||T===void 0)&&T.imgUrls&&(!((p=(_=a?.video)===null||_===void 0?void 0:_.imgUrls)===null||p===void 0)&&p.length)?x="imagePage":a?.product&&(x="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(g=r?.itemId)!==null&&g!==void 0?g:"",productName:(f=r?.title)!==null&&f!==void 0?f:"",price:r?.price?r?.price+"":"0",productCollection:(E=r?.collection)!==null&&E!==void 0?E:"",fromKName:x,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:c+"",contentId:(h=(k=a?.video)===null||k===void 0?void 0:k.itemId)!==null&&h!==void 0?h:"",ctatId:(O=u?.itemId)!==null&&O!==void 0?O:"",traceInfo:(I=r?.traceInfo)!==null&&I!==void 0?I:""}})},[t,e,n]),s=o.useCallback((a,r,u,c,v)=>{var m,y,b,T;let _="";e&&(!((y=(m=a?.video)===null||m===void 0?void 0:m.bindProducts)===null||y===void 0)&&y.length||!((b=a?.video)===null||b===void 0)&&b.bindProduct)?_="pdpPage":a?.product&&(_="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price?r?.price+"":"0",productCollection:r?.collection,fromKName:_,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:v+"",contentId:(T=a?.video)===null||T===void 0?void 0:T.itemId,ctatId:u?.itemId,traceInfo:r?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),d=o.useCallback((a,r,u,c)=>{r&&r===Dt&&t?.({eventInfo:{lastFeed:a,themeTags:u?`['${u}']`:"",hashTags:c?`['${c}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:l,productView:s,backMainFeed:d}}const Kn=t=>{var{columns:e,style:i,title:n,textStyle:l,submitBgColor:s,submitColor:d,submitText:a,layoutType:r,isExternalLink:u,isPopup:c,onClick:v,onClose:m,submitButtonStyle:y}=t,b=ke(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:T,popupDetailData:_}=fe(),{jumpToWeb:p}=Re(),g=o.useRef(),[f,E]=o.useState(!1),k=o.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),h=o.useMemo(()=>{if(r===void 0){const I=Te.cloneDeep(e)||k;return I?.map(x=>Object.assign(Object.assign({},x),{title:void 0,fieldProps:{placeholder:x?.title}}))}else return Te.cloneDeep(e)||k},[r,e,k]),O=Te.debounce(()=>Le(void 0,void 0,void 0,function*(){var I,x,w,D,S,C;const P=yield(I=g?.current)===null||I===void 0?void 0:I.getFieldsValue();if(!P)return;const M=(w=(x=Object.keys(P))===null||x===void 0?void 0:x.map(V=>{var F;return{name:V,value:(F=P[V])!==null&&F!==void 0?F:""}}))===null||w===void 0?void 0:w.filter(V=>V?.value);if(!M||!M?.length)return;E(!0);const N=yield T?.({attributes:M});if(E(!1),N){if(u){const V=_,F=(D=V?.video)===null||D===void 0?void 0:D.bindProduct,j=(C=(S=V?.video)===null||S===void 0?void 0:S.bindProduct)===null||C===void 0?void 0:C.bindCta,R=_?.index;p(V,F,j,R)}c||m?.(),v?.()}}),1e3);return o.createElement("div",{className:"pb-appoint-form"},o.createElement("div",{className:`pb-appoint-form-title ${Z.css(Object.assign({},l))}`},n),o.createElement("div",Object.assign({className:Z.css(Object.assign({},i))},b),o.createElement("div",{className:"pb-appoint-form-container"},o.createElement(Dn.BetaSchemaForm,{columns:h,submitter:!1,layout:r,autoFocusFirstInput:!1,size:"large",formRef:g,className:"panel-reset"}))),o.createElement("div",{className:"pb-appoint-form-btn-wrapper"},o.createElement("button",{"aria-label":a,onClick:O,className:"pb-appoint-form-btn",style:Object.assign({color:d,background:s},y)},f?o.createElement(o.Fragment,null,"loading..."):a)))};var Qn=o.memo(Kn);function ze(t,e){return t.extend=e,t}const Zn=ze(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 Zt,ei,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:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:de,name:["fontFamily"],initialValue:(Zt=de?.[0])===null||Zt===void 0?void 0:Zt.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:(ei=de?.[0])===null||ei===void 0?void 0:ei.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Ui(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ti(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ui(e[i])&&Ui(t[i])&&Object.keys(e[i]).length>0&&ti(t[i],e[i])})}const Gi={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 Xe(){const t=typeof document<"u"?document:{};return ti(t,Gi),t}const to={document:Gi,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 je(){const t=typeof window<"u"?window:{};return ti(t,to),t}function at(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 yt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function $e(){return Date.now()}function no(t){const e=je();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=je();let n,l,s;const d=no(t);return i.WebKitCSSMatrix?(l=d.transform||d.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix(l==="none"?"":l)):(s=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?l=s.m41:n.length===16?l=parseFloat(n[12]):l=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?l=s.m42:n.length===16?l=parseFloat(n[13]):l=parseFloat(n[5])),l||0}function Pt(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 Ve(){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 l=Object.keys(Object(n)).filter(s=>e.indexOf(s)<0);for(let s=0,d=l.length;s<d;s+=1){const a=l[s],r=Object.getOwnPropertyDescriptor(n,a);r!==void 0&&r.enumerable&&(Pt(t[a])&&Pt(n[a])?n[a].__swiper__?t[a]=n[a]:Ve(t[a],n[a]):!Pt(t[a])&&Pt(n[a])?(t[a]={},n[a].__swiper__?t[a]=n[a]:Ve(t[a],n[a])):t[a]=n[a])}}}return t}function Ot(t,e,i){t.style.setProperty(e,i)}function $i(t){let{swiper:e,targetPosition:i,side:n}=t;const l=je(),s=-e.translate;let d=null,a;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);const u=i>s?"next":"prev",c=(m,y)=>u==="next"&&m>=y||u==="prev"&&m<=y,v=()=>{a=new Date().getTime(),d===null&&(d=a);const m=Math.max(Math.min((a-d)/r,1),0),y=.5-Math.cos(m*Math.PI)/2;let b=s+y*(i-s);if(c(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),c(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(v)};v()}function Je(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Mt(t){try{console.warn(t);return}catch{}}function Ct(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:at(e)),i}function so(t){const e=je(),i=Xe(),n=t.getBoundingClientRect(),l=i.body,s=t.clientTop||l.clientTop||0,d=t.clientLeft||l.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-s,left:n.left+r-d}}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 rt(t,e){return je().getComputedStyle(t,null).getPropertyValue(e)}function Lt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Wi(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 ii(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ni(t,e,i){const n=je();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 Ke(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function co(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s=je();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 d,a=$e(),r;const u=[];function c(f){let O=0,I=0,x=0,w=0;return"detail"in f&&(I=f.detail),"wheelDelta"in f&&(I=-f.wheelDelta/120),"wheelDeltaY"in f&&(I=-f.wheelDeltaY/120),"wheelDeltaX"in f&&(O=-f.wheelDeltaX/120),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(O=I,I=0),x=O*10,w=I*10,"deltaY"in f&&(w=f.deltaY),"deltaX"in f&&(x=f.deltaX),f.shiftKey&&!x&&(x=w,w=0),(x||w)&&f.deltaMode&&(f.deltaMode===1?(x*=40,w*=40):(x*=800,w*=800)),x&&!O&&(O=x<1?-1:1),w&&!I&&(I=w<1?-1:1),{spinX:O,spinY:I,pixelX:x,pixelY:w}}function v(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function y(f){return e.params.mousewheel.thresholdDelta&&f.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&$e()-a<e.params.mousewheel.thresholdTime?!1:f.delta>=6&&$e()-a<60?!0:(f.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),l("scroll",f.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),l("scroll",f.raw)),a=new s.Date().getTime(),!1)}function b(f){const E=e.params.mousewheel;if(f.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function T(f){let E=f,k=!0;if(!e.enabled||f.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const h=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const I=O&&O.contains(E.target);if(!e.mouseEntered&&!I&&!h.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let x=0;const w=e.rtlTranslate?-1:1,D=c(E);if(h.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))x=-D.pixelX*w;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))x=-D.pixelY;else return!0;else x=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*w:-D.pixelY;if(x===0)return!0;h.invert&&(x=-x);let S=e.getTranslate()+x*h.sensitivity;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),k=e.params.loop?!0:!(S===e.minTranslate()||S===e.maxTranslate()),k&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:$e(),delta:Math.abs(x),direction:Math.sign(x),raw:f};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(C),P?(C.direction!==P.direction||C.delta>P.delta||C.time>P.time+150)&&y(C):y(C),b(C))return!0}else{const C={time:$e(),delta:Math.abs(x),direction:Math.sign(x)},P=r&&C.time<r.time+500&&C.delta<=r.delta&&C.direction===r.direction;if(!P){r=void 0;let M=e.getTranslate()+x*h.sensitivity;const N=e.isBeginning,V=e.isEnd;if(M>=e.minTranslate()&&(M=e.minTranslate()),M<=e.maxTranslate()&&(M=e.maxTranslate()),e.setTransition(0),e.setTranslate(M),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!N&&e.isBeginning||!V&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:C.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(d),d=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,j=u[0];if(u.push(C),F&&(C.delta>F.delta||C.direction!==F.direction))u.splice(0);else if(u.length>=15&&C.time-j.time<500&&j.delta-C.delta>=1&&C.delta<=6){const R=x>0?.8:.2;r=C,u.splice(0),d=yt(()=>{e.slideToClosest(e.params.speed,!0,void 0,R)},0)}d||(d=yt(()=>{r=C,u.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(),h.releaseOnEdges&&(M===e.minTranslate()||M===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function _(f){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[f]("mouseenter",v),E[f]("mouseleave",m),E[f]("wheel",T)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(_("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(_("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:p,disable:g})}function Yi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let s=Je(t.el,`.${n[l]}`)[0];s||(s=Ct("div",n[l]),s.className=n[l],t.el.append(s)),i[l]=s,e[l]=s}}),i}function wt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function jt(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let d,a=0;function r(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,g){const{bulletActiveClass:f}=e.params.pagination;p&&(p=p[`${g==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${f}-${g}`),p=p[`${g==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${f}-${g}-${g}`)))}function c(p){const g=p.target.closest(wt(e.params.pagination.bulletClass));if(!g)return;p.preventDefault();const f=Lt(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===f)return;e.slideToLoop(f)}else e.slideTo(f)}function v(){const p=e.rtl,g=e.params.pagination;if(r())return;let f=e.pagination.el;f=Ke(f);let E,k;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,E=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let x,w,D;if(g.dynamicBullets&&(d=ni(I[0],e.isHorizontal()?"width":"height",!0),f.forEach(S=>{S.style[e.isHorizontal()?"width":"height"]=`${d*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&k!==void 0&&(a+=E-(k||0),a>g.dynamicMainBullets-1?a=g.dynamicMainBullets-1:a<0&&(a=0)),x=Math.max(E-a,0),w=x+(Math.min(I.length,g.dynamicMainBullets)-1),D=(w+x)/2),I.forEach(S=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${g.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();S.classList.remove(...C)}),f.length>1)I.forEach(S=>{const C=Lt(S);C===E?S.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&S.setAttribute("part","bullet"),g.dynamicBullets&&(C>=x&&C<=w&&S.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),C===x&&u(S,"prev"),C===w&&u(S,"next"))});else{const S=I[E];if(S&&S.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&I.forEach((C,P)=>{C.setAttribute("part",P===E?"bullet-active":"bullet")}),g.dynamicBullets){const C=I[x],P=I[w];for(let M=x;M<=w;M+=1)I[M]&&I[M].classList.add(...`${g.bulletActiveClass}-main`.split(" "));u(C,"prev"),u(P,"next")}}if(g.dynamicBullets){const S=Math.min(I.length,g.dynamicMainBullets+4),C=(d*S-d)/2-D*d,P=p?"right":"left";I.forEach(M=>{M.style[e.isHorizontal()?P:"top"]=`${C}px`})}}f.forEach((I,x)=>{if(g.type==="fraction"&&(I.querySelectorAll(wt(g.currentClass)).forEach(w=>{w.textContent=g.formatFractionCurrent(E+1)}),I.querySelectorAll(wt(g.totalClass)).forEach(w=>{w.textContent=g.formatFractionTotal(O)})),g.type==="progressbar"){let w;g.progressbarOpposite?w=e.isHorizontal()?"vertical":"horizontal":w=e.isHorizontal()?"horizontal":"vertical";const D=(E+1)/O;let S=1,C=1;w==="horizontal"?S=D:C=D,I.querySelectorAll(wt(g.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${S}) scaleY(${C})`,P.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(I.innerHTML=g.renderCustom(e,E+1,O),x===0&&l("paginationRender",I)):(x===0&&l("paginationRender",I),l("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](g.lockClass)})}function m(){const p=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 f=e.pagination.el;f=Ke(f);let E="";if(p.type==="bullets"){let k=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>g&&(k=g);for(let h=0;h<k;h+=1)p.renderBullet?E+=p.renderBullet.call(e,h,p.bulletClass):E+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?E=p.renderFraction.call(e,p.currentClass,p.totalClass):E=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?E=p.renderProgressbar.call(e,p.progressbarFillClass):E=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],f.forEach(k=>{p.type!=="custom"&&(k.innerHTML=E||""),p.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(wt(p.bulletClass)))}),p.type!=="custom"&&l("paginationRender",f[0])}function y(){e.params.pagination=Yi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let g;typeof p.el=="string"&&e.isElement&&(g=e.el.querySelector(p.el)),!g&&typeof p.el=="string"&&(g=[...document.querySelectorAll(p.el)]),g||(g=p.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(p.el)],g.length>1&&(g=g.filter(f=>Wi(f,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=Ke(g),g.forEach(f=>{p.type==="bullets"&&p.clickable&&f.classList.add(...(p.clickableClass||"").split(" ")),f.classList.add(p.modifierClass+p.type),f.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(f.classList.add(`${p.modifierClass}${p.type}-dynamic`),a=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&f.classList.add(p.progressbarOppositeClass),p.clickable&&f.addEventListener("click",c),e.enabled||f.classList.add(p.lockClass)}))}function b(){const p=e.params.pagination;if(r())return;let g=e.pagination.el;g&&(g=Ke(g),g.forEach(f=>{f.classList.remove(p.hiddenClass),f.classList.remove(p.modifierClass+p.type),f.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(f.classList.remove(...(p.clickableClass||"").split(" ")),f.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(f=>f.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:g}=e.pagination;g=Ke(g),g.forEach(f=>{f.classList.remove(p.horizontalClass,p.verticalClass),f.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?_():(y(),m(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{m(),v()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Ke(p),p.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,g)=>{const f=g.target,E=Ke(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!f.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&f===e.navigation.nextEl||e.navigation.prevEl&&f===e.navigation.prevEl))return;const k=E[0].classList.contains(e.params.pagination.hiddenClass);l(k===!0?"paginationShow":"paginationHide"),E.forEach(h=>h.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Ke(p),p.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),y(),m(),v()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Ke(p),p.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:T,disable:_,render:m,update:v,init:y,destroy:b})}function uo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s=Xe();let d=!1,a=null,r=null,u,c,v,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S,rtlTranslate:C}=e,{dragEl:P,el:M}=S,N=e.params.scrollbar,V=e.params.loop?e.progressLoop:e.progress;let F=c,j=(v-c)*V;C?(j=-j,j>0?(F=c-j,j=0):-j+c>v&&(F=v+j)):j<0?(F=c+j,j=0):j+c>v&&(F=v-j),e.isHorizontal()?(P.style.transform=`translate3d(${j}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${j}px, 0)`,P.style.height=`${F}px`),N.hide&&(clearTimeout(a),M.style.opacity=1,a=setTimeout(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3))}function b(S){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S}=e,{dragEl:C,el:P}=S;C.style.width="",C.style.height="",v=e.isHorizontal()?P.offsetWidth:P.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${c}px`:C.style.height=`${c}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&S.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function _(S){return e.isHorizontal()?S.clientX:S.clientY}function p(S){const{scrollbar:C,rtlTranslate:P}=e,{el:M}=C;let N;N=(_(S)-so(M)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),N=Math.max(Math.min(N,1),0),P&&(N=1-N);const V=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(V),e.setTranslate(V),e.updateActiveIndex(),e.updateSlidesClasses()}function g(S){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:M}=e,{el:N,dragEl:V}=P;d=!0,u=S.target===V?_(S)-S.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),M.style.transitionDuration="100ms",V.style.transitionDuration="100ms",p(S),clearTimeout(r),N.style.transitionDuration="0ms",C.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",S)}function f(S){const{scrollbar:C,wrapperEl:P}=e,{el:M,dragEl:N}=C;d&&(S.preventDefault&&S.cancelable?S.preventDefault():S.returnValue=!1,p(S),P.style.transitionDuration="0ms",M.style.transitionDuration="0ms",N.style.transitionDuration="0ms",l("scrollbarDragMove",S))}function E(S){const C=e.params.scrollbar,{scrollbar:P,wrapperEl:M}=e,{el:N}=P;d&&(d=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),C.hide&&(clearTimeout(r),r=yt(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",S),C.snapOnRelease&&e.slideToClosest())}function k(S){const{scrollbar:C,params:P}=e,M=C.el;if(!M)return;const N=M,V=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;const j=S==="on"?"addEventListener":"removeEventListener";N[j]("pointerdown",g,V),s[j]("pointermove",f,V),s[j]("pointerup",E,F)}function h(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function I(){const{scrollbar:S,el:C}=e;e.params.scrollbar=Yi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let M;if(typeof P.el=="string"&&e.isElement&&(M=e.el.querySelector(P.el)),!M&&typeof P.el=="string"){if(M=s.querySelectorAll(P.el),!M.length)return}else M||(M=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&M.length>1&&C.querySelectorAll(P.el).length===1&&(M=C.querySelector(P.el)),M.length>0&&(M=M[0]),M.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let N;M&&(N=M.querySelector(wt(e.params.scrollbar.dragClass)),N||(N=Ct("div",e.params.scrollbar.dragClass),M.append(N))),Object.assign(S,{el:M,dragEl:N}),P.draggable&&h(),M&&M.classList[e.enabled?"remove":"add"](...at(e.params.scrollbar.lockClass))}function x(){const S=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...at(e.isHorizontal()?S.horizontalClass:S.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const S=e.params.scrollbar;let{el:C}=e.scrollbar;C=Ke(C),C.forEach(P=>{P.classList.remove(S.horizontalClass,S.verticalClass),P.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(I(),T(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{y()}),n("setTransition",(S,C)=>{b(C)}),n("enable disable",()=>{const{el:S}=e.scrollbar;S&&S.classList[e.enabled?"remove":"add"](...at(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const w=()=>{e.el.classList.remove(...at(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...at(e.params.scrollbar.scrollbarDisabledClass)),I(),T(),y()},D=()=>{e.el.classList.add(...at(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...at(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:w,disable:D,updateSize:T,setTranslate:y,init:I,destroy:x})}function Nt(t){let{swiper:e,extendParams:i,on:n,emit:l,params:s}=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 d,a,r=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,v=new Date().getTime(),m,y,b,T,_,p,g;function f(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",f),!(g||F.detail&&F.detail.bySwiperTouchMove)&&w())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const F=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=F,l("autoplayTimeLeft",F,F/r),a=requestAnimationFrame(()=>{E()})},k=()=>{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},h=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),E();let j=typeof F>"u"?e.params.autoplay.delay:F;r=e.params.autoplay.delay,u=e.params.autoplay.delay;const R=k();!Number.isNaN(R)&&R>0&&typeof F>"u"&&(j=R,r=R,u=R),c=j;const L=e.params.speed,z=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),l("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{h()})))};return j>0?(clearTimeout(d),d=setTimeout(()=>{z()},j)):requestAnimationFrame(()=>{z()}),j},O=()=>{v=new Date().getTime(),e.autoplay.running=!0,h(),l("autoplayStart")},I=()=>{e.autoplay.running=!1,clearTimeout(d),cancelAnimationFrame(a),l("autoplayStop")},x=(F,j)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(d),F||(p=!0);const R=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",f):w()};if(e.autoplay.paused=!0,j){_&&(c=e.params.autoplay.delay),_=!1,R();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),R())},w=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,h(c)):h(),e.autoplay.paused=!1,l("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const F=Xe();F.visibilityState==="hidden"&&(p=!0,x(!0)),F.visibilityState==="visible"&&w()},S=F=>{F.pointerType==="mouse"&&(p=!0,g=!0,!(e.animating||e.autoplay.paused)&&x(!0))},C=F=>{F.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&w())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",C))},M=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",C))},N=()=>{Xe().addEventListener("visibilitychange",D)},V=()=>{Xe().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(P(),N(),O())}),n("destroy",()=>{M(),V(),e.autoplay.running&&I()}),n("_freeModeStaticRelease",()=>{(b||p)&&w()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?I():x(!0,!0)}),n("beforeTransitionStart",(F,j,R)=>{e.destroyed||!e.autoplay.running||(R||!e.params.autoplay.disableOnInteraction?x(!0,!0):I())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){I();return}y=!0,b=!1,p=!1,T=setTimeout(()=>{p=!0,b=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(T),clearTimeout(d),e.params.autoplay.disableOnInteraction){b=!1,y=!1;return}b&&e.params.cssMode&&w(),b=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(_=!0)}),Object.assign(e.autoplay,{start:O,stop:I,pause:x,resume:w})}function po(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 s(){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 d(){if(e.params.cssMode)return;const{touchEventsData:r,touches:u}=e;r.velocities.length===0&&r.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:$e()})}function a(r){let{currentPos:u}=r;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:m,snapGrid:y,touchEventsData:b}=e,_=$e()-b.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(b.velocities.length>1){const I=b.velocities.pop(),x=b.velocities.pop(),w=I.position-x.position,D=I.time-x.time;e.velocity=w/D,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(D>150||$e()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,b.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const g=e.velocity*p;let f=e.translate+g;m&&(f=-f);let E=!1,k;const h=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let O;if(f<e.maxTranslate())c.freeMode.momentumBounce?(f+e.maxTranslate()<-h&&(f=e.maxTranslate()-h),k=e.maxTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.maxTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(f>e.minTranslate())c.freeMode.momentumBounce?(f-e.minTranslate()>h&&(f=e.minTranslate()+h),k=e.minTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.minTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(c.freeMode.sticky){let I;for(let x=0;x<y.length;x+=1)if(y[x]>-f){I=x;break}Math.abs(y[I]-f)<Math.abs(y[I-1]-f)||e.swipeDirection==="next"?f=y[I]:f=y[I-1],f=-f}if(O&&l("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-f-e.translate)/e.velocity):p=Math.abs((f-e.translate)/e.velocity),c.freeMode.sticky){const I=Math.abs((m?-f:f)-e.translate),x=e.slidesSizesGrid[e.activeIndex];I<x?p=c.speed:I<2*x?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&E?(e.updateProgress(k),e.setTransition(p),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ii(v,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(k),ii(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(p),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ii(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||_>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:d,onTouchEnd:a}})}let oi;function vo(){const t=je(),e=Xe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function qi(){return oi||(oi=vo()),oi}let li;function fo(t){let{userAgent:e}=t===void 0?{}:t;const i=qi(),n=je(),l=n.navigator.platform,s=e||n.navigator.userAgent,d={ios:!1,android:!1},a=n.screen.width,r=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const v=s.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=l==="Win32";let b=l==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&b&&i.touch&&T.indexOf(`${a}x${r}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),b=!1),u&&!y&&(d.os="android",d.android=!0),(c||m||v)&&(d.os="ios",d.ios=!0),d}function Xi(t){return t===void 0&&(t={}),li||(li=fo(t)),li}let si;function mo(){const t=je(),e=Xi();let i=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[r,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=r<16||r===16&&u<2}}const l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),s=n(),d=s||l&&e.ios;return{isSafari:i||s,needPerspectiveFix:i,need3dFix:d,isWebView:l}}function ho(){return si||(si=mo()),si}function go(t){let{swiper:e,on:i,emit:n}=t;const l=je();let s=null,d=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(v=>{d=l.requestAnimationFrame(()=>{const{width:m,height:y}=e;let b=m,T=y;v.forEach(_=>{let{contentBoxSize:p,contentRect:g,target:f}=_;f&&f!==e.el||(b=g?g.width:(p[0]||p).inlineSize,T=g?g.height:(p[0]||p).blockSize)}),(b!==m||T!==y)&&a()})}),s.observe(e.el))},u=()=>{d&&l.cancelAnimationFrame(d),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof l.ResizeObserver<"u"){r();return}l.addEventListener("resize",a),l.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),l.removeEventListener("resize",a),l.removeEventListener("orientationchange",c)})}function bo(t){let{swiper:e,extendParams:i,on:n,emit:l}=t;const s=[],d=je(),a=function(c,v){v===void 0&&(v={});const m=d.MutationObserver||d.WebkitMutationObserver,y=new m(b=>{if(e.__preventObserver__)return;if(b.length===1){l("observerUpdate",b[0]);return}const T=function(){l("observerUpdate",b[0])};d.requestAnimationFrame?d.requestAnimationFrame(T):d.setTimeout(T,0)});y.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),s.push(y)},r=()=>{if(e.params.observer){if(e.params.observeParents){const c=Wi(e.hostEl);for(let v=0;v<c.length;v+=1)a(c[v])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},u=()=>{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",r),n("destroy",u)}var yo={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(s=>{n.eventsListeners[s]||(n.eventsListeners[s]=[]),n.eventsListeners[s][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 s=arguments.length,d=new Array(s),a=0;a<s;a++)d[a]=arguments[a];e.apply(n,d)}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,s)=>{(l===e||l.__emitterProxy&&l.__emitterProxy===e)&&i.eventsListeners[n].splice(s,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var l=arguments.length,s=new Array(l),d=0;d<l;d++)s[d]=arguments[d];return typeof s[0]=="string"||Array.isArray(s[0])?(e=s[0],i=s.slice(1,s.length),n=t):(e=s[0].events,i=s[0].data,n=s[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].forEach(u=>{u.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(rt(n,"padding-left")||0,10)-parseInt(rt(n,"padding-right")||0,10),i=i-parseInt(rt(n,"padding-top")||0,10)-parseInt(rt(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(w,D){return parseFloat(w.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:l,size:s,rtlTranslate:d,wrongRTL:a}=t,r=t.virtual&&i.virtual.enabled,u=r?t.virtual.slides.length:t.slides.length,c=Je(l,`.${t.params.slideClass}, swiper-slide`),v=r?t.virtual.slides.length:c.length;let m=[];const y=[],b=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let _=i.slidesOffsetAfter;typeof _=="function"&&(_=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,g=t.slidesGrid.length;let f=i.spaceBetween,E=-T,k=0,h=0;if(typeof s>"u")return;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*s:typeof f=="string"&&(f=parseFloat(f)),t.virtualSize=-f,c.forEach(w=>{d?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ot(n,"--swiper-centered-offset-before",""),Ot(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let I;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<v;w+=1){I=0;let D;if(c[w]&&(D=c[w]),O&&t.grid.updateSlide(w,D,c),!(c[w]&&rt(D,"display")==="none")){if(i.slidesPerView==="auto"){x&&(c[w].style[t.getDirectionLabel("width")]="");const S=getComputedStyle(D),C=D.style.transform,P=D.style.webkitTransform;if(C&&(D.style.transform="none"),P&&(D.style.webkitTransform="none"),i.roundLengths)I=t.isHorizontal()?ni(D,"width",!0):ni(D,"height",!0);else{const M=e(S,"width"),N=e(S,"padding-left"),V=e(S,"padding-right"),F=e(S,"margin-left"),j=e(S,"margin-right"),R=S.getPropertyValue("box-sizing");if(R&&R==="border-box")I=M+F+j;else{const{clientWidth:L,offsetWidth:z}=D;I=M+N+V+F+j+(z-L)}}C&&(D.style.transform=C),P&&(D.style.webkitTransform=P),i.roundLengths&&(I=Math.floor(I))}else I=(s-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(I=Math.floor(I)),c[w]&&(c[w].style[t.getDirectionLabel("width")]=`${I}px`);c[w]&&(c[w].swiperSlideSize=I),b.push(I),i.centeredSlides?(E=E+I/2+k/2+f,k===0&&w!==0&&(E=E-s/2-f),w===0&&(E=E-s/2-f),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),h%i.slidesPerGroup===0&&m.push(E),y.push(E)):(i.roundLengths&&(E=Math.floor(E)),(h-Math.min(t.params.slidesPerGroupSkip,h))%t.params.slidesPerGroup===0&&m.push(E),y.push(E),E=E+I+f),t.virtualSize+=I+f,k=I,h+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+_,d&&a&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+f}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+f}px`),O&&t.grid.updateWrapperSize(I,m),!i.centeredSlides){const w=[];for(let D=0;D<m.length;D+=1){let S=m[D];i.roundLengths&&(S=Math.floor(S)),m[D]<=t.virtualSize-s&&w.push(S)}m=w,Math.floor(t.virtualSize-s)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-s)}if(r&&i.loop){const w=b[0]+f;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),S=w*i.slidesPerGroup;for(let C=0;C<D;C+=1)m.push(m[m.length-1]+S)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+w),y.push(y[y.length-1]+w),t.virtualSize+=w}if(m.length===0&&(m=[0]),f!==0){const w=t.isHorizontal()&&d?"marginLeft":t.getDirectionLabel("marginRight");c.filter((D,S)=>!i.cssMode||i.loop?!0:S!==c.length-1).forEach(D=>{D.style[w]=`${f}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;b.forEach(S=>{w+=S+(f||0)}),w-=f;const D=w-s;m=m.map(S=>S<=0?-T:S>D?D+_:S)}if(i.centerInsufficientSlides){let w=0;b.forEach(S=>{w+=S+(f||0)}),w-=f;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(w+D<s){const S=(s-w-D)/2;m.forEach((C,P)=>{m[P]=C-S}),y.forEach((C,P)=>{y[P]=C+S})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:y,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ot(n,"--swiper-centered-offset-before",`${-m[0]}px`),Ot(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const w=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(S=>S+w),t.slidesGrid=t.slidesGrid.map(S=>S+D)}if(v!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!r&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(w);v<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(w):D&&t.el.classList.remove(w)}}function To(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let l=0,s;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const d=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{i.push(a)});else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){const a=e.activeIndex+s;if(a>e.slides.length&&!n)break;i.push(d(a))}else i.push(d(e.activeIndex));for(s=0;s<i.length;s+=1)if(typeof i[s]<"u"){const a=i[s].offsetHeight;l=a>l?a:l}(l||l===0)&&(e.wrapperEl.style.height=`${l}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()}const Ji=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Eo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:l,snapGrid:s}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let d=-t;l&&(d=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let r=0;r<n.length;r+=1){const u=n[r];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(d+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),m=(d-s[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),y=-(d-c),b=y+e.slidesSizesGrid[r],T=y>=0&&y<=e.size-e.slidesSizesGrid[r],_=y>=0&&y<e.size-1||b>1&&b<=e.size||y<=0&&b>=e.size;_&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(r)),Ji(u,_,i.slideVisibleClass),Ji(u,T,i.slideFullyVisibleClass),u.progress=l?-v:v,u.originalProgress=l?-m:m}}function Co(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:l,isBeginning:s,isEnd:d,progressLoop:a}=e;const r=s,u=d;if(n===0)l=0,s=!0,d=!0;else{l=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;s=c||l<=0,d=v||l>=1,c&&(l=0),v&&(l=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],y=e.slidesGrid[v],b=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?a=(T-m)/b:a=(T+b-y)/b,a>1&&(a-=1)}Object.assign(e,{progress:l,progressLoop:a,isBeginning:s,isEnd:d}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),s&&!r&&e.emit("reachBeginning toEdge"),d&&!u&&e.emit("reachEnd toEdge"),(r&&!s||u&&!d)&&e.emit("fromEdge"),e.emit("progress",l)}const ai=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Io(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:l}=t,s=t.virtual&&i.virtual.enabled,d=t.grid&&i.grid&&i.grid.rows>1,a=v=>Je(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];let r,u,c;if(s)if(i.loop){let v=l-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),r=a(`[data-swiper-slide-index="${v}"]`)}else r=a(`[data-swiper-slide-index="${l}"]`);else d?(r=e.filter(v=>v.column===l)[0],c=e.filter(v=>v.column===l+1)[0],u=e.filter(v=>v.column===l-1)[0]):r=e[l];r&&(d||(c=ro(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),u=ao(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(v=>{ai(v,v===r,i.slideActiveClass),ai(v,v===c,i.slideNextClass),ai(v,v===u,i.slidePrevClass)}),t.emitSlidesClasses()}const Bt=(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()}},ri=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},di=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 d=l,a=[d-e];a.push(...Array.from({length:e}).map((r,u)=>d+n+u)),t.slides.forEach((r,u)=>{a.includes(r.column)&&ri(t,u)});return}const s=l+n-1;if(t.params.rewind||t.params.loop)for(let d=l-e;d<=s+e;d+=1){const a=(d%i+i)%i;(a<l||a>s)&&ri(t,a)}else for(let d=Math.max(l-e,0);d<=Math.min(s+e,i-1);d+=1)d!==l&&(d>s||d<l)&&ri(t,d)};function _o(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let l;for(let s=0;s<e.length;s+=1)typeof e[s+1]<"u"?n>=e[s]&&n<e[s+1]-(e[s+1]-e[s])/2?l=s:n>=e[s]&&n<e[s+1]&&(l=s+1):n>=e[s]&&(l=s);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:s,realIndex:d,snapIndex:a}=e;let r=t,u;const c=y=>{let b=y-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof r>"u"&&(r=_o(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const y=Math.min(l.slidesPerGroupSkip,r);u=y+Math.floor((r-y)/l.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),r===s&&!e.params.loop){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(r===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(r);return}const v=e.grid&&l.grid&&l.grid.rows>1;let m;if(e.virtual&&l.virtual.enabled&&l.loop)m=c(r);else if(v){const y=e.slides.filter(T=>T.column===r)[0];let b=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(y),0)),m=Math.floor(b/l.grid.rows)}else if(e.slides[r]){const y=e.slides[r].getAttribute("data-swiper-slide-index");y?m=parseInt(y,10):m=r}else m=r;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:d,realIndex:m,previousIndex:s,activeIndex:r}),e.initialized&&di(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(d!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Do(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(a=>{!l&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(l=a)});let s=!1,d;if(l){for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===l){s=!0,d=a;break}}if(l&&s)i.clickedSlide=l,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(l.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=d;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:Co,updateSlidesClasses:Io,updateActiveIndex:ko,updateClickedSlide:Do};function Po(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:l,wrapperEl:s}=e;if(i.virtualTranslate)return n?-l:l;if(i.cssMode)return l;let d=oo(s,t);return d+=e.cssOverflowAdjustment(),n&&(d=-d),d||0}function Oo(t,e){const i=this,{rtlTranslate:n,params:l,wrapperEl:s,progress:d}=i;let a=0,r=0;const u=0;i.isHorizontal()?a=n?-t:t:r=t,l.roundLengths&&(a=Math.floor(a),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:r,l.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-r:l.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),s.style.transform=`translate3d(${a}px, ${r}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==d&&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 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 s=this,{params:d,wrapperEl:a}=s;if(s.animating&&d.preventInteractionOnTransition)return!1;const r=s.minTranslate(),u=s.maxTranslate();let c;if(n&&t>r?c=r:n&&t<u?c=u:c=t,s.updateProgress(c),d.cssMode){const v=s.isHorizontal();if(e===0)a[v?"scrollLeft":"scrollTop"]=-c;else{if(!s.support.smoothScroll)return $i({swiper:s,targetPosition:-c,side:v?"left":"top"}),!0;a.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(s.setTransition(0),s.setTranslate(c),i&&(s.emit("beforeTransitionStart",e,l),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(c),i&&(s.emit("beforeTransitionStart",e,l),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(m){!s||s.destroyed||m.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,i&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var No={getTranslate:Po,setTranslate:Oo,minTranslate:Mo,maxTranslate:Lo,translateTo:jo};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 Ki(t){let{swiper:e,runCallbacks:i,direction:n,step:l}=t;const{activeIndex:s,previousIndex:d}=e;let a=n;if(a||(s>d?a="next":s<d?a="prev":a="reset"),e.emit(`transition${l}`),i&&s!==d){if(a==="reset"){e.emit(`slideResetTransition${l}`);return}e.emit(`slideChangeTransition${l}`),a==="next"?e.emit(`slideNextTransition${l}`):e.emit(`slidePrevTransition${l}`)}}function Ro(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Ki({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function zo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Ki({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Fo={setTransition:Bo,transitionStart:Ro,transitionEnd:zo};function Vo(t,e,i,n,l){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;let d=t;d<0&&(d=0);const{params:a,snapGrid:r,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:m,wrapperEl:y,enabled:b}=s;if(!b&&!n&&!l||s.destroyed||s.animating&&a.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=s.params.speed);const T=Math.min(s.params.slidesPerGroupSkip,d);let _=T+Math.floor((d-T)/s.params.slidesPerGroup);_>=r.length&&(_=r.length-1);const p=-r[_];if(a.normalizeSlideIndex)for(let f=0;f<u.length;f+=1){const E=-Math.floor(p*100),k=Math.floor(u[f]*100),h=Math.floor(u[f+1]*100);typeof u[f+1]<"u"?E>=k&&E<h-(h-k)/2?d=f:E>=k&&E<h&&(d=f+1):E>=k&&(d=f)}if(s.initialized&&d!==v&&(!s.allowSlideNext&&(m?p>s.translate&&p>s.minTranslate():p<s.translate&&p<s.minTranslate())||!s.allowSlidePrev&&p>s.translate&&p>s.maxTranslate()&&(v||0)!==d))return!1;d!==(c||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(p);let g;if(d>v?g="next":d<v?g="prev":g="reset",m&&-p===s.translate||!m&&p===s.translate)return s.updateActiveIndex(d),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),a.effect!=="slide"&&s.setTranslate(p),g!=="reset"&&(s.transitionStart(i,g),s.transitionEnd(i,g)),!1;if(a.cssMode){const f=s.isHorizontal(),E=m?p:-p;if(e===0){const k=s.virtual&&s.params.virtual.enabled;k&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),k&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[f?"scrollLeft":"scrollTop"]=E})):y[f?"scrollLeft":"scrollTop"]=E,k&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return $i({swiper:s,targetPosition:E,side:f?"left":"top"}),!0;y.scrollTo({[f?"left":"top"]:E,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(p),s.updateActiveIndex(d),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,n),s.transitionStart(i,g),e===0?s.transitionEnd(i,g):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(E){!s||s.destroyed||E.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,g))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Ho(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;if(l.destroyed)return;typeof e>"u"&&(e=l.params.speed);const s=l.grid&&l.params.grid&&l.params.grid.rows>1;let d=t;if(l.params.loop)if(l.virtual&&l.params.virtual.enabled)d=d+l.virtual.slidesBefore;else{let a;if(s){const m=d*l.params.grid.rows;a=l.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=l.getSlideIndexByData(d);const r=s?Math.ceil(l.slides.length/l.params.grid.rows):l.slides.length,{centeredSlides:u}=l.params;let c=l.params.slidesPerView;c==="auto"?c=l.slidesPerViewDynamic():(c=Math.ceil(parseFloat(l.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=r-a<c;if(u&&(v=v||a<Math.ceil(c/2)),n&&u&&l.params.slidesPerView!=="auto"&&!s&&(v=!1),v){const m=u?a<l.activeIndex?"prev":"next":a-l.activeIndex-1<l.params.slidesPerView?"next":"prev";l.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?a+1:a-r+1,slideRealIndex:m==="next"?l.realIndex:void 0})}if(s){const m=d*l.params.grid.rows;d=l.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else d=l.getSlideIndexByData(d)}return requestAnimationFrame(()=>{l.slideTo(d,e,i,n)}),l}function Uo(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:l,params:s,animating:d}=n;if(!l||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const r=n.activeIndex<s.slidesPerGroupSkip?1:a,u=n.virtual&&s.virtual.enabled;if(s.loop){if(d&&!u&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+r,t,e,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+r,t,e,i)}function Go(t,e,i){e===void 0&&(e=!0);const n=this,{params:l,snapGrid:s,slidesGrid:d,rtlTranslate:a,enabled:r,animating:u}=n;if(!r||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const c=n.virtual&&l.virtual.enabled;if(l.loop){if(u&&!c&&l.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=a?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const y=m(v),b=s.map(p=>m(p));let T=s[b.indexOf(y)-1];if(typeof T>"u"&&l.cssMode){let p;s.forEach((g,f)=>{y>=g&&(p=f)}),typeof p<"u"&&(T=s[p>0?p-1:p])}let _=0;if(typeof T<"u"&&(_=d.indexOf(T),_<0&&(_=n.activeIndex-1),l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(_=_-n.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),l.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(l.loop&&n.activeIndex===0&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(_,t,e,i)}),!0;return n.slideTo(_,t,e,i)}function $o(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function Wo(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const l=this;if(l.destroyed)return;typeof t>"u"&&(t=l.params.speed);let s=l.activeIndex;const d=Math.min(l.params.slidesPerGroupSkip,s),a=d+Math.floor((s-d)/l.params.slidesPerGroup),r=l.rtlTranslate?l.translate:-l.translate;if(r>=l.snapGrid[a]){const u=l.snapGrid[a],c=l.snapGrid[a+1];r-u>(c-u)*n&&(s+=l.params.slidesPerGroup)}else{const u=l.snapGrid[a-1],c=l.snapGrid[a];r-u<=(c-u)*n&&(s-=l.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,l.slidesGrid.length-1),l.slideTo(s,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 l=t.clickedIndex,s;const d=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;s=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(Je(i,`${d}[data-swiper-slide-index="${s}"]`)[0]),yt(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-n?(t.loopFix(),l=t.getSlideIndex(Je(i,`${d}[data-swiper-slide-index="${s}"]`)[0]),yt(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}var qo={slideTo:Vo,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 l=()=>{Je(n,`.${i.slideClass}, swiper-slide`).forEach((v,m)=>{v.setAttribute("data-swiper-slide-index",m)})},s=e.grid&&i.grid&&i.grid.rows>1,d=i.slidesPerGroup*(s?i.grid.rows:1),a=e.slides.length%d!==0,r=s&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const m=e.isElement?Ct("swiper-slide",[i.slideBlankClass]):Ct("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(a){if(i.loopAddBlankSlides){const c=d-e.slides.length%d;u(c),e.recalcSlides(),e.updateSlides()}else Mt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else if(r){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else Mt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");l()}else l();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Jo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:l,activeSlideIndex:s,byController:d,byMousewheel:a}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:m,params:y}=r,{centeredSlides:b}=y;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):y.centeredSlides&&r.snapIndex<y.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=c,r.allowSlideNext=v,r.emit("loopFix");return}let T=y.slidesPerView;T==="auto"?T=r.slidesPerViewDynamic():(T=Math.ceil(parseFloat(y.slidesPerView,10)),b&&T%2===0&&(T=T+1));const _=y.slidesPerGroupAuto?T:y.slidesPerGroup;let p=_;p%_!==0&&(p+=_-p%_),p+=y.loopAdditionalSlides,r.loopedSlides=p;const g=r.grid&&y.grid&&y.grid.rows>1;u.length<T+p?Mt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&y.grid.fill==="row"&&Mt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],E=[];let k=r.activeIndex;typeof s>"u"?s=r.getSlideIndex(u.filter(C=>C.classList.contains(y.slideActiveClass))[0]):k=s;const h=n==="next"||!n,O=n==="prev"||!n;let I=0,x=0;const w=g?Math.ceil(u.length/y.grid.rows):u.length,S=(g?u[s].column:s)+(b&&typeof l>"u"?-T/2+.5:0);if(S<p){I=Math.max(p-S,_);for(let C=0;C<p-S;C+=1){const P=C-Math.floor(C/w)*w;if(g){const M=w-P-1;for(let N=u.length-1;N>=0;N-=1)u[N].column===M&&f.push(N)}else f.push(w-P-1)}}else if(S+T>w-p){x=Math.max(S-(w-p*2),_);for(let C=0;C<x;C+=1){const P=C-Math.floor(C/w)*w;g?u.forEach((M,N)=>{M.column===P&&E.push(N)}):E.push(P)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),O&&f.forEach(C=>{u[C].swiperLoopMoveDOM=!0,m.prepend(u[C]),u[C].swiperLoopMoveDOM=!1}),h&&E.forEach(C=>{u[C].swiperLoopMoveDOM=!0,m.append(u[C]),u[C].swiperLoopMoveDOM=!1}),r.recalcSlides(),y.slidesPerView==="auto"?r.updateSlides():g&&(f.length>0&&O||E.length>0&&h)&&r.slides.forEach((C,P)=>{r.grid.updateSlide(P,C,r.slides)}),y.watchSlidesProgress&&r.updateSlidesOffset(),i){if(f.length>0&&O){if(typeof e>"u"){const C=r.slidesGrid[k],M=r.slidesGrid[k+I]-C;a?r.setTranslate(r.translate-M):(r.slideTo(k+Math.ceil(I),0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-M,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-M))}else if(l){const C=g?f.length/y.grid.rows:f.length;r.slideTo(r.activeIndex+C,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(E.length>0&&h)if(typeof e>"u"){const C=r.slidesGrid[k],M=r.slidesGrid[k-x]-C;a?r.setTranslate(r.translate-M):(r.slideTo(k-x,0,!1,!0),l&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-M,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-M))}else{const C=g?E.length/y.grid.rows:E.length;r.slideTo(r.activeIndex-C,0,!1,!0)}}if(r.allowSlidePrev=c,r.allowSlideNext=v,r.controller&&r.controller.control&&!d){const C={slideRealIndex:e,direction:n,setTranslate:l,activeSlideIndex:s,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...C,slideTo:P.params.slidesPerView===y.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===y.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(l=>{const s=typeof l.swiperSlideIndex>"u"?l.getAttribute("data-swiper-slide-index")*1:l.swiperSlideIndex;n[s]=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 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===Xe()||n===je())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 Qi(t,e,i){const n=je(),{params:l}=t,s=l.edgeSwipeDetection,d=l.edgeSwipeThreshold;return s&&(i<=d||i>=n.innerWidth-d)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function nl(t){const e=this,i=Xe();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"){Qi(e,n,n.targetTouches[0].pageX);return}const{params:s,touches:d,enabled:a}=e;if(!a||!s.simulateTouch&&n.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let r=n.target;if(s.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in n&&n.which===3||"button"in n&&n.button>0||l.isTouched&&l.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(r=c[0]);const v=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(s.noSwiping&&(m?il(v,r):r.closest(v))){e.allowClick=!0;return}if(s.swipeHandler&&!r.closest(s.swipeHandler))return;d.currentX=n.pageX,d.currentY=n.pageY;const y=d.currentX,b=d.currentY;if(!Qi(e,n,y))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=y,d.startY=b,l.touchStartTime=$e(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(l.allowThresholdMove=!1);let T=!0;r.matches(l.focusableElements)&&(T=!1,r.nodeName==="SELECT"&&(l.isTouched=!1)),i.activeElement&&i.activeElement.matches(l.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const _=T&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||_)&&!r.isContentEditable&&n.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ol(t){const e=Xe(),i=this,n=i.touchEventsData,{params:l,touches:s,rtlTranslate:d,enabled:a}=i;if(!a||!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 u;if(r.type==="touchmove"){if(u=[...r.changedTouches].filter(h=>h.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=r;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",r);return}const c=u.pageX,v=u.pageY;if(r.preventedByNestedSwiper){s.startX=c,s.startY=v;return}if(!i.allowTouchMove){r.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(s,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=$e());return}if(l.touchReleaseOnEdges&&!l.loop){if(i.isVertical()){if(v<s.startY&&i.translate<=i.maxTranslate()||v>s.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<s.startX&&i.translate<=i.maxTranslate()||c>s.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),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=v;const m=s.currentX-s.startX,y=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(m**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let h;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:m*m+y*y>=25&&(h=Math.atan2(Math.abs(y),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?h>l.touchAngle:90-h>l.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",r),typeof n.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(n.startMoving=!0),n.isScrolling||r.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!l.cssMode&&r.cancelable&&r.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&r.stopPropagation();let b=i.isHorizontal()?m:y,T=i.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;l.oneWayMovement&&(b=Math.abs(b)*(d?1:-1),T=Math.abs(T)*(d?1:-1)),s.diff=b,b*=l.touchRatio,d&&(b=-b,T=-T);const _=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const p=i.params.loop&&!l.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(h)}n.allowMomentumBounce=!1,l.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",r)}let f;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&_!==i.touchesDirection&&p&&g&&Math.abs(b)>=1){Object.assign(s,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",r),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let E=!0,k=l.resistanceRatio;if(l.touchReleaseOnEdges&&(k=0),b>0?(p&&g&&!f&&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+b)**k))):b<0&&(p&&g&&!f&&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-b)**k))),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(b)>l.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.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 ll(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(k=>k.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:d,touches:a,rtlTranslate:r,slidesGrid:u,enabled:c}=e;if(!c||!d.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&d.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}d.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=$e(),m=v-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),m<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=$e(),yt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||a.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let y;if(d.followFinger?y=r?e.translate:-e.translate:y=-i.currentTranslate,d.cssMode)return;if(d.freeMode&&d.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const b=y>=-e.maxTranslate()&&!e.params.loop;let T=0,_=e.slidesSizesGrid[0];for(let k=0;k<u.length;k+=k<d.slidesPerGroupSkip?1:d.slidesPerGroup){const h=k<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;typeof u[k+h]<"u"?(b||y>=u[k]&&y<u[k+h])&&(T=k,_=u[k+h]-u[k]):(b||y>=u[k])&&(T=k,_=u[u.length-1]-u[u.length-2])}let p=null,g=null;d.rewind&&(e.isBeginning?g=d.virtual&&d.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const f=(y-u[T])/_,E=T<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;if(m>d.longSwipesMs){if(!d.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(f>=d.longSwipesRatio?e.slideTo(d.rewind&&e.isEnd?p:T+E):e.slideTo(T)),e.swipeDirection==="prev"&&(f>1-d.longSwipesRatio?e.slideTo(T+E):g!==null&&f<0&&Math.abs(f)>d.longSwipesRatio?e.slideTo(g):e.slideTo(T))}else{if(!d.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(T+E):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:T+E),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:T))}}function Zi(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:l,snapGrid:s}=t,d=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=d&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!d?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&&s!==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 l;const s=t.maxTranslate()-t.minTranslate();s===0?l=0:l=(t.translate-t.minTranslate())/s,l!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function rl(t){const e=this;Bt(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 en=(t,e)=>{const i=Xe(),{params:n,el:l,wrapperEl:s,device:d}=t,a=!!n.nested,r=e==="on"?"addEventListener":"removeEventListener",u=e;!l||typeof l=="string"||(i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),l[r]("touchstart",t.onTouchStart,{passive:!1}),l[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:a}),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&&s[r]("scroll",t.onScroll),n.updateOnWindowResize?t[u](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",Zi,!0):t[u]("observerUpdate",Zi,!0),l[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),en(t,"on")}function ul(){en(this,"off")}var pl={attachEvents:cl,detachEvents:ul};const tn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function vl(){const t=this,{realIndex:e,initialized:i,params:n,el:l}=t,s=n.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const d=t.getBreakpoint(s,t.params.breakpointsBase,t.el);if(!d||t.currentBreakpoint===d)return;const r=(d in s?s[d]:void 0)||t.originalParams,u=tn(t,n),c=tn(t,r),v=t.params.grabCursor,m=r.grabCursor,y=n.enabled;u&&!c?(l.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(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()),v&&!m?t.unsetGrabCursor():!v&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(f=>{if(typeof r[f]>"u")return;const E=n[f]&&n[f].enabled,k=r[f]&&r[f].enabled;E&&!k&&t[f].disable(),!E&&k&&t[f].enable()});const b=r.direction&&r.direction!==n.direction,T=n.loop&&(r.slidesPerView!==n.slidesPerView||b),_=n.loop;b&&i&&t.changeDirection(),Ve(t.params,r);const p=t.params.enabled,g=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!p?t.disable():!y&&p&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",r),i&&(T?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&g?(t.loopCreate(e),t.updateSlides()):_&&!g&&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 l=je(),s=e==="window"?l.innerHeight:i.clientHeight,d=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const r=parseFloat(a.substr(1));return{value:s*r,point:a}}return{value:a,point:a}});d.sort((a,r)=>parseInt(a.value,10)-parseInt(r.value,10));for(let a=0;a<d.length;a+=1){const{point:r,value:u}=d[a];e==="window"?l.matchMedia(`(min-width: ${u}px)`).matches&&(n=r):u<=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(l=>{n[l]&&i.push(e+l)}):typeof n=="string"&&i.push(e+n)}),i}function gl(){const t=this,{classNames:e,params:i,rtl:n,el:l,device:s}=t,d=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:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...d),l.classList.add(...e),t.emitContainerClasses()}function bl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(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 l=t.slides.length-1,s=t.slidesGrid[l]+t.slidesSizesGrid[l]+n*2;t.isLocked=t.size>s}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},ci={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 l=Object.keys(n)[0],s=n[l];if(typeof s!="object"||s===null){Ve(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 s)){Ve(e,n);return}typeof t[l]=="object"&&!("enabled"in t[l])&&(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),Ve(e,n)}}const ui={eventsEmitter:yo,update:Ao,translate:No,transition:Fo,slide:qo,loop:Qo,grabCursor:tl,events:pl,breakpoints:ml,checkOverflow:Sl,classes:yl},pi={};let vi=class it{constructor(){let e,i;for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];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=Ve({},i),e&&!i.el&&(i.el=e);const d=Xe();if(i.el&&typeof i.el=="string"&&d.querySelectorAll(i.el).length>1){const c=[];return d.querySelectorAll(i.el).forEach(v=>{const m=Ve({},i,{el:v});c.push(new it(m))}),c}const a=this;a.__swiper__=!0,a.support=qi(),a.device=Xi({userAgent:i.userAgent}),a.browser=ho(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const r={};a.modules.forEach(c=>{c({params:i,swiper:a,extendParams:Tl(i,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Ve({},ci,r);return a.params=Ve({},u,pi,i),a.originalParams=Ve({},a.params),a.passedParams=Ve({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.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:a.params.allowSlideNext,allowSlidePrev:a.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:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}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=Je(i,`.${n.slideClass}, swiper-slide`),s=Lt(l[0]);return Lt(e)-s}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=Je(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(),d=(n.maxTranslate()-l)*e+l;n.translateTo(d,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:s,slidesGrid:d,slidesSizesGrid:a,size:r,activeIndex:u}=n;let c=1;if(typeof l.slidesPerView=="number")return l.slidesPerView;if(l.centeredSlides){let v=s[u]?Math.ceil(s[u].swiperSlideSize):0,m;for(let y=u+1;y<s.length;y+=1)s[y]&&!m&&(v+=Math.ceil(s[y].swiperSlideSize),c+=1,v>r&&(m=!0));for(let y=u-1;y>=0;y-=1)s[y]&&!m&&(v+=s[y].swiperSlideSize,c+=1,v>r&&(m=!0))}else if(e==="current")for(let v=u+1;v<s.length;v+=1)(i?d[v]+a[v]-d[u]<r:d[v]-d[u]<r)&&(c+=1);else for(let v=u-1;v>=0;v-=1)d[u]-d[v]<r&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(d=>{d.complete&&Bt(e,d)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function l(){const d=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(d,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let s;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 d=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(d.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||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(s=>{e==="vertical"?s.style.width="":s.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 d=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(l()):Je(n,l())[0];return!d&&i.params.createElements&&(d=Ct("div",i.params.wrapperClass),n.append(d),Je(n,`.${i.params.slideClass}`).forEach(a=>{d.append(a)})),Object.assign(i,{el:n,wrapperEl:d,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:d,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||rt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||rt(n,"direction")==="rtl"),wrongRTL:rt(d,"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(s=>{s.complete?Bt(i,s):s.addEventListener("load",d=>{Bt(i,d.target)})}),di(i),i.initialized=!0,di(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:s,wrapperEl:d,slides:a}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),l.loop&&n.loopDestroy(),i&&(n.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),d&&d.removeAttribute("style"),a&&a.length&&a.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&&typeof n.el!="string"&&(n.el.swiper=null),io(n)),n.destroyed=!0),null}static extendDefaults(e){Ve(pi,e)}static get extendedDefaults(){return pi}static get defaults(){return ci}static installModule(e){it.prototype.__modules__||(it.prototype.__modules__=[]);const i=it.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>it.installModule(i)),it):(it.installModule(e),it)}};Object.keys(ui).forEach(t=>{Object.keys(ui[t]).forEach(e=>{vi.prototype[e]=ui[t][e]})}),vi.use([go,bo]);const nn=["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 mt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function St(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:mt(e[n])&&mt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:St(t[n],e[n]):t[n]=e[n]})}function on(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function ln(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function sn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function an(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:l,nextEl:s,prevEl:d,scrollbarEl:a,paginationEl:r}=t;const u=l.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:v,navigation:m,scrollbar:y,virtual:b,thumbs:T}=e;let _,p,g,f,E,k,h,O;l.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(_=!0),l.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),l.includes("pagination")&&n.pagination&&(n.pagination.el||r)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(g=!0),l.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&y&&!y.el&&(f=!0),l.includes("navigation")&&n.navigation&&(n.navigation.prevEl||d)&&(n.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const I=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};l.includes("loop")&&e.isElement&&(c.loop&&!n.loop?k=!0:!c.loop&&n.loop?h=!0:O=!0),u.forEach(x=>{if(mt(c[x])&&mt(n[x]))Object.assign(c[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&I(x);else{const w=n[x];(w===!0||w===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?w===!1&&I(x):c[x]=n[x]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),l.includes("children")&&i&&b&&c.virtual.enabled?(b.slides=i,b.update(!0)):l.includes("virtual")&&b&&c.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),l.includes("children")&&i&&c.loop&&(O=!0),_&&T.init()&&T.update(!0),p&&(e.controller.control=c.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&&(c.pagination.el=r),v.init(),v.render(),v.update()),f&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),y.init(),y.updateSize(),y.setTranslate()),E&&(e.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=e.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),e.el.appendChild(s)),(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-button-prev"),d.innerHTML=e.hostEl.constructor.prevButtonSvg,d.part.add("button-prev"),e.el.appendChild(d))),s&&(c.navigation.nextEl=s),d&&(c.navigation.prevEl=d),m.init(),m.update()),l.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),l.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),l.includes("direction")&&e.changeDirection(n.direction,!1),(k||O)&&e.loopDestroy(),(h||O)&&e.loopCreate(),e.update()}function Cl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},l={};St(i,ci),i._emitClasses=!0,i.init=!1;const s={},d=nn.map(r=>r.replace(/_/,"")),a=Object.assign({},t);return Object.keys(a).forEach(r=>{typeof t[r]>"u"||(d.indexOf(r)>=0?mt(t[r])?(i[r]={},l[r]={},St(i[r],t[r]),St(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]:s[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:l,rest:s,events:n}}function Il(t,e){let{el:i,nextEl:n,prevEl:l,paginationEl:s,scrollbarEl:d,swiper:a}=t;on(e)&&n&&l&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=l,a.originalParams.navigation.prevEl=l),ln(e)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),sn(e)&&d&&(a.params.scrollbar.el=d,a.originalParams.scrollbar.el=d),a.init(i)}function _l(t,e,i,n,l){const s=[];if(!e)return s;const d=r=>{s.indexOf(r)<0&&s.push(r)};if(i&&n){const r=n.map(l),u=i.map(l);r.join("")!==u.join("")&&d("children"),n.length!==i.length&&d("children")}return nn.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(mt(t[r])&&mt(e[r])){const u=Object.keys(t[r]),c=Object.keys(e[r]);u.length!==c.length?d(r):(u.forEach(v=>{t[r][v]!==e[r][v]&&d(r)}),c.forEach(v=>{t[r][v]!==e[r][v]&&d(r)}))}else t[r]!==e[r]&&d(r)}),s}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 Rt(){return Rt=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},Rt.apply(this,arguments)}function rn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function dn(t){const e=[];return o.Children.toArray(t).forEach(i=>{rn(i)?e.push(i):i.props&&i.props.children&&dn(i.props.children).forEach(n=>e.push(n))}),e}function Dl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(t).forEach(n=>{if(rn(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=dn(n.props.children);l.length>0?l.forEach(s=>e.push(s)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Al(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},l=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:s,to:d}=i,a=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,u=[];for(let c=a;c<r;c+=1)c>=s&&c<=d&&u.push(e[n(c)]);return u.map((c,v)=>o.cloneElement(c,{swiper:t,style:l,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function It(t,e){return typeof window>"u"?o.useEffect(t,e):o.useLayoutEffect(t,e)}const fi=o.createContext(null),cn=()=>o.useContext(fi),Pl=o.createContext(null),ht=o.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:l="div",children:s,onSwiper:d,...a}=t===void 0?{}:t,r=!1;const[u,c]=o.useState("swiper"),[v,m]=o.useState(null),[y,b]=o.useState(!1),T=o.useRef(!1),_=o.useRef(null),p=o.useRef(null),g=o.useRef(null),f=o.useRef(null),E=o.useRef(null),k=o.useRef(null),h=o.useRef(null),O=o.useRef(null),{params:I,passedParams:x,rest:w,events:D}=Cl(a),{slides:S,slots:C}=Dl(s),P=()=>{b(!y)};Object.assign(I.on,{_containerClasses(j,R){c(R)}});const M=()=>{Object.assign(I.on,D),r=!0;const j={...I};if(delete j.wrapperClass,p.current=new vi(j),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=S;const R={cache:!1,slides:S,renderExternal:m,renderExternalUpdate:!1};St(p.current.params.virtual,R),St(p.current.originalParams.virtual,R)}};_.current||M(),p.current&&p.current.on("_beforeBreakpoint",P);const N=()=>{r||!D||!p.current||Object.keys(D).forEach(j=>{p.current.on(j,D[j])})},V=()=>{!D||!p.current||Object.keys(D).forEach(j=>{p.current.off(j,D[j])})};o.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),o.useEffect(()=>{!T.current&&p.current&&(p.current.emitSlidesClasses(),T.current=!0)}),It(()=>{if(e&&(e.current=_.current),!!_.current)return p.current.destroyed&&M(),Il({el:_.current,nextEl:E.current,prevEl:k.current,paginationEl:h.current,scrollbarEl:O.current,swiper:p.current},I),d&&!p.current.destroyed&&d(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),It(()=>{N();const j=_l(x,g.current,S,f.current,R=>R.key);return g.current=x,f.current=S,j.length&&p.current&&!p.current.destroyed&&El({swiper:p.current,slides:S,passedParams:x,changedParams:j,nextEl:E.current,prevEl:k.current,scrollbarEl:O.current,paginationEl:h.current}),()=>{V()}}),It(()=>{kl(p.current)},[v]);function F(){return I.virtual?Al(p.current,S,v):S.map((j,R)=>o.cloneElement(j,{swiper:p.current,swiperSlideIndex:R}))}return o.createElement(n,Rt({ref:_,className:an(`${u}${i?` ${i}`:""}`)},w),o.createElement(Pl.Provider,{value:p.current},C["container-start"],o.createElement(l,{className:xl(I.wrapperClass)},C["wrapper-start"],F(),C["wrapper-end"]),on(I)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:k,className:"swiper-button-prev"}),o.createElement("div",{ref:E,className:"swiper-button-next"})),sn(I)&&o.createElement("div",{ref:O,className:"swiper-scrollbar"}),ln(I)&&o.createElement("div",{ref:h,className:"swiper-pagination"}),C["container-end"]))});ht.displayName="Swiper";const Qe=o.forwardRef(function(t,e){let{tag:i="div",children:n,className:l="",swiper:s,zoom:d,lazy:a,virtualIndex:r,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=o.useRef(null),[m,y]=o.useState("swiper-slide"),[b,T]=o.useState(!1);function _(E,k,h){k===v.current&&y(h)}It(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!s)){if(s.destroyed){m!=="swiper-slide"&&y("swiper-slide");return}return s.on("_slideClass",_),()=>{s&&s.off("_slideClass",_)}}}),It(()=>{s&&v.current&&!s.destroyed&&y(s.getSlideClasses(v.current))},[s]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},g=()=>typeof n=="function"?n(p):n,f=()=>{T(!0)};return o.createElement(i,Rt({ref:v,className:an(`${m}${l?` ${l}`:""}`),"data-swiper-slide-index":r,onLoad:f},c),d&&o.createElement(fi.Provider,{value:p},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof d=="number"?d:void 0},g(),a&&!b&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!d&&o.createElement(fi.Provider,{value:p},g(),a&&!b&&o.createElement("div",{className:"swiper-lazy-preloader"})))});Qe.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:l,popup:s})=>{var d;const[a,r]=o.useState(!1),u=o.useRef(null);o.useEffect(()=>{const m=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?u.current=y:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=o.useMemo(()=>s?.id&&s?.id!==""||t,[t,s]);if(o.useEffect(()=>{c?r(!0):setTimeout(()=>{r(!1)},s?.duration)},[c,s]),!u.current)return null;const v=Te.debounce(()=>{e?.()},300);return _i.createPortal(o.createElement(o.Fragment,null,a&&o.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},o.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:l,animationDuration:((d=s?.duration)!==null&&d!==void 0?d:0)/1e3+"s"},onClick:m=>{m.stopPropagation(),m.preventDefault()}},o.createElement("div",{onClick:e,className:"modal-icon-wrapper"},o.createElement("img",{src:Ol,alt:"close",className:"modal-icon"})),i))),u.current)};var zt=o.memo(Ml);const Ll=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),l=[];for(let d=0;d<n.length&&(l.push(n[d]),!(l.join(" ").length>=e));d++);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:s,unfoldText:d,isPost:a,onChange:r})=>{const[u,c]=o.useState(!1),[v,m]=o.useState(!1),y=Number(i?.lineClamp||2),b=o.useRef(null),T=o.useRef(null),_=o.useCallback(()=>{c(!u)},[u,r]);return o.useMemo(()=>!u&&t.length>e?Ll(t,e)+"...":t,[t,e,u]),o.useEffect(()=>{var p,g;((p=T?.current)===null||p===void 0?void 0:p.offsetHeight)>((g=b?.current)===null||g===void 0?void 0:g.offsetHeight)&&a?m(!0):m(!1),T.current.style.display="none"},[a]),o.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},o.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!a||u?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),o.createElement("div",{ref:T,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&a&&v&&o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:l??_},u?d||"show less":s||"show more"))};var Ft=o.memo(jl);const Nl=o.forwardRef((t,e)=>{const{src:i,onLoad:n,style:l,className:s,loading:d}=t,[a,r]=o.useState(),{swiperRef:u}=fe();return o.useImperativeHandle(e,()=>({setSrc:c=>{r(c)}})),o.useEffect(()=>{var c,v;const m=(v=(c=u?.current)===null||c===void 0?void 0:c.swiper)===null||v===void 0?void 0:v.activeIndex;(m===0||m>0)&&r(i)},[i,u]),o.useRef(null),o.createElement(o.Fragment,null,a?.includes(".avif")?o.createElement("picture",null,o.createElement("source",{type:"image/avif",srcSet:a}),o.createElement("source",{type:"image/webp",srcSet:`${a}?imageMogr2/format/webp`}),o.createElement("source",{type:"image/jpeg",srcSet:`${a}?imageMogr2/format/jpg`}),o.createElement("img",{className:s,src:a,style:l,loading:d,onLoad:c=>{n?.(c.target)},alt:"image"})):o.createElement("img",{className:s,src:a,style:l,loading:d,onLoad:c=>{n?.(c.target)},alt:"image"}))});var Ne=o.memo(Nl);const Bl=t=>{var e,i,n,l,s,d,a,r,u,{content:c,style:v,bgImg:m,onClick:y,schema:b,isDefault:T,bottom_image:_,tipText:p,isPost:g,viewTime:f,rec:E,swiper:k,commodityStyles:h,buttonStyle:O,index:I}=t,x=ke(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:w}=fe(),{popupDetailData:D,bffEventReport:S,isPreview:C,bffFbReport:P}=fe(),{jumpToWeb:M,productView:N}=Re(),V=o.useRef(null),[F,j]=o.useState(!1),R=g?E:D,L=g?R?.product:(e=R?.video)===null||e===void 0?void 0:e.bindProduct,z=g?(i=R?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=R?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,B=g?I:D?.index,G=()=>{L?.link&&(M(R,L,z,B),g||N(R,L,z,f||V.current,B),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{g||P?.({eventName:"ProductView"})},[g,P]),o.useEffect(()=>{const Y=()=>{V.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const H=o.useMemo(()=>{var Y,q,K,X,ye;return L?.currency&&L?.price?`${(K=(q=(Y=L?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||q===void 0?void 0:q.toUpperCase())!==null&&K!==void 0?K:""}${(ye=(X=L?.price)===null||X===void 0?void 0:X.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ye!==void 0?ye:""}`:"$7,000"},[L?.price,L?.currency]),ee=C?375:(s=v?.width)!==null&&s!==void 0?s:window.innerWidth,ce=({isPost:Y})=>{var q,K,X;return o.createElement("div",null,o.createElement("div",{className:"pb-commondity-content-collection",style:W(h?.collection),hidden:!!L&&(!L?.collection||L?.collection==="")},(q=L?.collection)!==null&&q!==void 0?q:"Tiffany Lock"),o.createElement("div",{className:"pb-commondity-content-title",style:W(h?.title),hidden:!!L&&!L?.title},(K=L?.title)!==null&&K!==void 0?K:"Pendant in Yellow Gold with Diamonds, Medium"),o.createElement("div",{className:"pb-commondity-content-price",style:W(h?.price),hidden:!!L&&!L?.price},H),o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(Ft,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>j(!0),isPost:Y,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:h?.info})))},W=()=>{var $;return o.createElement(o.Fragment,null,(S||j?.link)&&o.createElement("button",{onClick:F,className:"pb-commondity-btn",style:P},($=k?.enTitle)!==null&&$!==void 0?$:"Purchase on Website"))},pe=o.useCallback($=>$?.lineClamp?Object.assign(Object.assign({},$),{overflow:"hidden",WebkitLineClamp:$?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):$,[]);return o.createElement("div",{className:"pb-commondity"},o.createElement("div",Object.assign({className:ee.css(Object.assign({},v))},g),j&&((d=j?.homePage)===null||d===void 0?void 0:d.length)>0&&o.createElement(ut,{height:J,modules:[kt,Dt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:_?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:_?.delay*1e3}},(a=j?.homePage)===null||a===void 0?void 0:a.map($=>o.createElement(Ze,{key:$},o.createElement("div",{style:{overflow:"hidden",width:J,height:J}},o.createElement(Ne,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${_?.translateY?-_?.translateY+50:50}%`},src:$}))))),!(!((r=j?.homePage)===null||r===void 0)&&r.length)&&o.createElement("div",{className:ee.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},o.createElement("img",{className:ee.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=E?.bottom_image)!==null&&u!==void 0?u:I,alt:""})),o.createElement("div",{className:"pb-commondity-content"},te({isPost:b}))),W(),o.createElement(Ot,{visible:B,onClose:()=>N(!1)},o.createElement("div",{style:{paddingBottom:"80px"}},te({isPost:!1})),W()))};var Ll=o.memo(Ml);const jl=ze(Ll,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Jn},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 Nl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ri,di,Bl=[{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:Fe?.fontOptions,initialValue:(di=(ri=Fe?.fontOptions)===null||ri===void 0?void 0:ri[0])===null||di===void 0?void 0:di.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"]}]}],ln="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 Rl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:l,src:s}=t;switch(i){case 2:return n||null;case 3:return s||null;default:return l&&l.length>0?(e=l[0])===null||e===void 0?void 0:e.url:null}},zl=t=>{var{content:e,btnText:i,style:n,icon:l,isPopup:s,isExternalLink:d,onClose:a,onClick:r,submitButtonStyle:u}=t,c=De(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:v}=fe(),{jumpToWeb:m}=Re(),w=typeof l=="string"?l:Rl(l),y=()=>{var S,I,p;if(d){const b=v,f=(S=b?.video)===null||S===void 0?void 0:S.bindProduct,x=(p=(I=b?.video)===null||I===void 0?void 0:I.bindProduct)===null||p===void 0?void 0:p.bindCta,_=v?.index;m(b,f,x,_)}s||a?.(),r?.()};return o.createElement("div",Object.assign({className:`pb-prompt ${ee.css(Object.assign({},n))}`},c),o.createElement("div",{className:"pb-prompt-icon"},o.createElement("img",{width:"100%",src:w??ln})),o.createElement("div",{className:"pb-prompt-content"},e),o.createElement("button",{className:"pb-prompt-btn",style:u,onClick:y},i))};var Fl=o.memo(zl);const Vl=ze(Fl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Bl,bindableProps:[],interactionRender:Nl},defaulSetting:{props:{icon:ln,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ci,ui,Hl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ue,name:["fontFamily"],initialValue:(ci=ue?.[0])===null||ci===void 0?void 0:ci.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:ue,initialValue:(ui=ue?.[0])===null||ui===void 0?void 0:ui.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Ul=t=>{var e,i,n,l,s,d,a,r,u,c,v,m,{style:w,isDefault:y,rec:S,viewTime:I,isPost:p,bottom_image:b,tipText:f,swiper:x,commodityStyles:_,buttonStyle:h,index:P}=t,C=De(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);o.useState(!0);const{sxpParameter:g}=fe(),{popupDetailData:E,bffEventReport:A,isPreview:T,swiperRef:D,bffFbReport:O}=fe(),{jumpToWeb:L,productView:z}=Re(),V=o.useRef(null);o.useRef(null),o.useRef(null),o.useState(!1),o.useState(!1),o.useState(!0);const[B,N]=o.useState(!1),R=o.useRef(null),j=p?S:E,k=p?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,Y=p?(i=j?.product)===null||i===void 0?void 0:i.bindCta:(l=(n=j?.video)===null||n===void 0?void 0:n.bindProduct)===null||l===void 0?void 0:l.bindCta,F=p?P:E?.index,G=()=>{k?.link&&(L(j,k,Y,F),p||z(j,k,Y,I||R.current,F),window.location.href=window.getJointUtmLink(k.link))};o.useEffect(()=>{p||O?.({eventName:"ProductView"})},[p,O]),o.useEffect(()=>{const $=()=>{R.current=new Date};return $(),window.addEventListener("pageshow",$),()=>{window.removeEventListener("pageshow",$)}},[]);const J=o.useMemo(()=>{var $,le,X,K,me;return k?.currency&&k?.price?`${(X=(le=($=k?.currency)===null||$===void 0?void 0:$.split("-")[1])===null||le===void 0?void 0:le.toUpperCase())!==null&&X!==void 0?X:""}${(me=(K=k?.price)===null||K===void 0?void 0:K.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&me!==void 0?me:""}`:"\xA3102,300.00"},[k?.price,k?.currency]),te=T?375:(s=w?.width)!==null&&s!==void 0?s:window.innerWidth,W=({isPost:$})=>o.createElement("div",{hidden:!!k&&(!k?.info||k?.info==="")},o.createElement(Mt,{isPost:$,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:_?.info,foldText:f?.foldText,unfoldText:f?.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`})),pe=o.useCallback($=>$?.lineClamp?Object.assign(Object.assign({},$),{overflow:"hidden",WebkitLineClamp:$?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):$,[]);return o.createElement("div",{className:"pb-commondityDiroNew"},o.createElement("div",Object.assign({ref:V,className:ee.css(Object.assign({},w))},C),k&&((d=k?.homePage)===null||d===void 0?void 0:d.length)>0&&o.createElement(ut,{height:te,modules:[kt,Dt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:x?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:x?.delay*1e3}},(a=k?.homePage)===null||a===void 0?void 0:a.map($=>o.createElement(Ze,{key:$},o.createElement("div",{style:{overflow:"hidden",width:te,height:te}},o.createElement(Ne,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${x?.translateY?-x?.translateY+50:50}%`},src:$}))))),!(!((r=k?.homePage)===null||r===void 0)&&r.length)&&o.createElement("div",{className:ee.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},o.createElement("img",{className:ee.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=g?.bottom_image)!==null&&u!==void 0?u:b,alt:""})),o.createElement("div",{className:"pb-commondityDiroNew-content"},o.createElement("div",{className:"pb-commondityDiroNew-content-top"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:pe(_?.title)},(c=k?.title)!==null&&c!==void 0?c:"Large Dior Toujours BagLarge"),o.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!k&&(!k?.collection||k?.collection===""),style:pe(_?.collection)},k?.collection||"Black Macrocannage CalfskinLarge")),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.price,style:pe(_?.price)},J),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.taxInfo,style:pe(_?.taxInfo)},(v=k?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!k||k?.link)&&o.createElement("button",{onClick:G,className:"pb-commondityDiroNew-btn",style:h},(m=Y?.enTitle)!==null&&m!==void 0?m:"Shop now"),W({isPost:p}))),o.createElement(Ot,{visible:B,onClose:()=>N(!1)},W({isPost:!1})))};var Gl=o.memo(Ul);const $l=ze(Gl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Hl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var pi,vi,Ge=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ue,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(pi=ue?.[0])===null||pi===void 0?void 0:pi.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ue,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(vi=ue?.[0])===null||vi===void 0?void 0:vi.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"]}]}],Wl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function sn(t){const e=o.useRef(null),[i,n]=o.useState(!1);return o.useEffect(()=>{e.current=new IntersectionObserver(([l])=>{n(l.isIntersecting)})},[]),o.useEffect(()=>{var l;return t?.current&&((l=e?.current)===null||l===void 0||l.observe(t?.current)),()=>{var s;(s=e?.current)===null||s===void 0||s.disconnect()}},[t]),i}const Yl=t=>{var{rec:e,children:i,className:n,onClick:l,style:s,isExternalLink:d=!1,index:a}=t;De(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=o.useRef(null),u=sn(r),{popup:c}=tt(),{setPopupDetailData:v,ctaEvent:m}=fe(),{jumpToWeb:w}=Re();o.useEffect(()=>{var S,I;if(u&&r?.current){const p=(I=(S=e?.video)===null||S===void 0?void 0:S.bindProduct)!==null&&I!==void 0?I:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,a)}},[u,r,e,m,a]);const y=Ee.throttle(()=>{var S,I,p,b,f,x,_,h;const P=(I=(S=e?.video)===null||S===void 0?void 0:S.bindProduct)!==null&&I!==void 0?I:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,P,a),v?.(Object.assign(Object.assign({},e),{index:a})),d){if(!((b=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||b===void 0)&&b.link){const C=(f=e?.video)===null||f===void 0?void 0:f.bindCta,g=(x=e?.video)===null||x===void 0?void 0:x.bindProduct;w(e,g,C,a),window.location.href=window.getJointUtmLink((h=(_=e?.video)===null||_===void 0?void 0:_.bindProduct)===null||h===void 0?void 0:h.link)}}else l?.()},c?.duration);return o.createElement("div",{ref:r,className:n,style:s,onClick:y},i)};var St=o.memo(Yl),ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Xl=t=>{var e,i,n,l,s,d,a,r,{content:u,style:c,bgImg:v,recData:m,bottom_image:w,ctaTempStyles:y,isExternalLink:S,translateY:I=0}=t,p=De(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:b}=fe(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,x=(s=(l=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&l!==void 0?l:b?.bottom_image)!==null&&s!==void 0?s:w;return o.createElement(St,Object.assign({isExternalLink:S,rec:m,className:ee.css(Object.assign({},c)),style:{display:"flex"}},p),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},y?.img))},o.createElement(Ne,{className:ee.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${I?-I+50:50}%`}),src:x})),o.createElement("div",{className:ee.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:ql["tow-line-ellipsis"],style:y?.title},(d=f?.title)!==null&&d!==void 0?d:"Product Name"),o.createElement("div",{className:ee.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},y?.ctaTitle))},(r=(a=f?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var Jl=o.memo(Xl);const Kl=ze(Jl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Wl,bindableProps:[],settingRender:Ge},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 Ql=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Zl=t=>{var e,i,n,l,{content:s,style:d,bgImg:a,recData:r,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,m=De(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:w}=fe(),y=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return o.createElement(St,Object.assign({isExternalLink:v,rec:r,className:ee.css(Object.assign({alignItems:"center"},d)),style:{display:"flex"}},m),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},o.createElement("img",{className:ee.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:w?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(l=y?.enTitle)!==null&&l!==void 0?l:"Product Name"))};var es=o.memo(Zl);const ts=ze(es,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ql,settingRender:Ge?.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 is={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const ns=t=>{var e,i,n,l,s,{content:d,style:a,bgImg:r,recData:u,bottom_image:c,ctaTempStyles:v,index:m}=t,w=De(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:S}=fe(),{jumpToWeb:I}=Re(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,b=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,f=()=>{p?.link&&(I(u,b,p,m),window.location.href=window.getJointUtmLink(p.link))};return o.createElement(St,Object.assign({index:m,rec:u,className:ee.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},w,{onClick:f}),o.createElement("div",{className:ee.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},o.createElement(Ne,{className:ee.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(l=(n=p?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&l!==void 0?l:c})),o.createElement("div",{className:ee.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:is["tow-line-ellipsis"],style:v?.ctaTitle},(s=p?.enTitle)!==null&&s!==void 0?s:"Product Name")))};var os=o.memo(ns);const ls=ze(os,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ge?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var ss=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],as={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const rs=t=>{var e,i,n,l,s,d,a,r,{content:u,style:c,bgImg:v,recData:m,bottom_image:w,ctaTempStyles:y,isExternalLink:S,translateY:I=0}=t,p=De(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:b}=fe(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,x=(s=(l=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&l!==void 0?l:b?.bottom_image)!==null&&s!==void 0?s:w;return o.createElement(St,Object.assign({isExternalLink:S,rec:m,className:ee.css(Object.assign({},c)),style:{display:"flex"}},p),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},y?.img))},o.createElement(Ne,{className:ee.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${I?-I+50:50}%`}),src:x})),o.createElement("div",{className:ee.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:as["tow-line-ellipsis"],style:y?.title},(d=f?.title)!==null&&d!==void 0?d:"Product Name"),o.createElement("div",{className:ee.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},y?.ctaTitle))},(r=(a=f?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var ds=o.memo(rs);const cs=ze(ds,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:ss,settingRender:Ge,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 us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ps={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const vs=t=>{var e,i,n,l,s,d,a,r,{content:u,style:c,bgImg:v,recData:m,bottom_image:w,ctaTempStyles:y,isExternalLink:S,translateY:I=0}=t,p=De(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:b}=fe(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,x=(s=(l=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&l!==void 0?l:b?.bottom_image)!==null&&s!==void 0?s:w;return o.createElement(St,Object.assign({isExternalLink:S,rec:m,className:ee.css(Object.assign({},c)),style:{display:"flex"}},p),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},y?.img))},o.createElement(Ne,{className:ee.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${I?-I+50:50}%`}),src:x})),o.createElement("div",{className:ee.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:ps["tow-line-ellipsis"],style:y?.title},(d=f?.title)!==null&&d!==void 0?d:"Product Name"),o.createElement("div",{className:ee.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},y?.ctaTitle))},(r=(a=f?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop now")))};var fs=o.memo(vs);const ms=ze(fs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:us,bindableProps:[],settingRender:Ge},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 hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const gs=({children:t,isPadding:e=!0})=>o.createElement(ut,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[ao,so,lo],style:{padding:e?"0 12px 0 20px":0}},t);var Lt=o.memo(gs);const bs=({src:t,rec:e,item:i,index:n,style:l})=>{const s=o.useRef(null),d=sn(s),{ctaEvent:a}=fe();return o.useEffect(()=>{d&&t&&s?.current&&a?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[d,t,s,e,a,i,n]),o.createElement("div",{ref:s,hidden:!t,className:ee.css({width:"100%",height:"100%"})},o.createElement(Ne,{className:ee.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},l)),src:t}))};var fi=o.memo(bs),ys={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const ws=t=>{var e,i,{content:n,style:l,bgImg:s,recData:d,onClick:a,bottom_image:r,ctaTempStyles:u,isExternalLink:c,index:v,translateY:m=0}=t,w=De(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:S,sxpParameter:I}=fe(),{popup:p}=tt(),{jumpToWeb:b}=Re(),[f,x]=o.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=Ee.throttle(h=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,h,v),S?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:h}),index:v})),c?h?.link&&(b(d,h,h.bindCta,v),window.location.href=window.getJointUtmLink(h.link)):a?.()},p?.duration);return o.createElement(Lt,{isPadding:!!d},f?.map(h=>{var P,C,g,E,A,T,D;return o.createElement(Ze,Object.assign({hidden:d&&!h?.bindCta,key:h?.itemId,className:ee.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},w,{onClick:()=>_(h)}),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},o.createElement(fi,{src:(E=(g=(P=h?.cover)!==null&&P!==void 0?P:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&g!==void 0?g:I?.bottom_image)!==null&&E!==void 0?E:r,rec:d,item:h,index:v,style:{objectPosition:`50% ${m?-m+50:50}%`}})),o.createElement("div",{className:ee.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:ys["two-line-ellipsis"],style:u?.title},(A=h?.title)!==null&&A!==void 0?A:"Product Name"),o.createElement("div",{className:ee.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(D=(T=h?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&D!==void 0?D:"Shop Now")))}))};var Ss=o.memo(ws);const Ts=ze(Ss,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:hs,bindableProps:[],settingRender:Ge},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 xs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Es={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Cs=t=>{var e,i,{content:n,style:l,bgImg:s,recData:d,onClick:a,bottom_image:r,ctaTempStyles:u,isExternalLink:c,index:v,translateY:m=0}=t,w=De(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=fe(),{ctaEvent:S,setPopupDetailData:I}=fe(),{popup:p}=tt(),[b,f]=o.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:x}=Re(),_=Ee.throttle(h=>{S?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,h,v),I?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:h}),index:v})),c?h?.link&&(x(d,h,h.bindCta,v),window.location.href=window.getJointUtmLink(h.link)):a?.()},p?.duration);return o.createElement(Lt,{isPadding:!!d},b?.map(h=>{var P,C,g,E,A,T,D;return o.createElement(Ze,Object.assign({hidden:d&&!h?.bindCta,key:h.itemId,className:ee.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},w,{onClick:()=>_(h)}),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},o.createElement(fi,{src:(E=(g=(P=h?.cover)!==null&&P!==void 0?P:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&g!==void 0?g:y?.bottom_image)!==null&&E!==void 0?E:r,rec:d,item:h,index:v,style:{objectPosition:`50% ${m?-m+50:50}%`}})),o.createElement("div",{className:ee.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Es["two-line-ellipsis"],style:u?.title},(A=h?.title)!==null&&A!==void 0?A:"Product Name"),o.createElement("div",{className:ee.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(D=(T=h?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&D!==void 0?D:"Shop Now")))}))};var Is=o.memo(Cs);const _s=ze(Is,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:xs,settingRender:Ge,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 ks=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ds={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const As=t=>{var e,i,{content:n,style:l,bgImg:s,recData:d,onClick:a,bottom_image:r,ctaTempStyles:u,isExternalLink:c,index:v,translateY:m=0}=t,w=De(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:S,sxpParameter:I}=fe(),{popup:p}=tt(),{jumpToWeb:b}=Re(),[f,x]=o.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=Ee.throttle(h=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,h,v),S?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:h}),index:v})),c?h?.link&&(b(d,h,h.bindCta,v),window.location.href=window.getJointUtmLink(h.link)):a?.()},p?.duration);return o.createElement(Lt,{isPadding:!!d},f?.map(h=>{var P,C,g,E,A,T,D;return o.createElement(Ze,Object.assign({hidden:d&&!h?.bindCta,key:h?.itemId,className:ee.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},w,{onClick:()=>_(h)}),o.createElement("div",{className:ee.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},o.createElement(fi,{src:(E=(g=(P=h?.cover)!==null&&P!==void 0?P:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&g!==void 0?g:I?.bottom_image)!==null&&E!==void 0?E:r,rec:d,item:h,index:v,style:{objectPosition:`50% ${m?-m+50:50}%`}})),o.createElement("div",{className:ee.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},o.createElement("div",{className:Ds["tow-line-ellipsis"],style:u?.title},(A=h?.title)!==null&&A!==void 0?A:"Product Name"),o.createElement("div",{className:ee.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(D=(T=h?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&D!==void 0?D:"Shop now")))}))};var Ps=o.memo(As);const Os=ze(Ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ks,bindableProps:[],settingRender:Ge},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 mi,hi,Ms=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ue,name:["fontFamily"],initialValue:(mi=ue?.[0])===null||mi===void 0?void 0:mi.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:ue,initialValue:(hi=ue?.[0])===null||hi===void 0?void 0:hi.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 Ls=({icon:t,styles:e,textStyle:i,onClose:n})=>{var l;const{waterFallData:s,setOpenHashtag:d}=fe();return o.createElement("div",{className:"clc-sxp-nav",style:e},o.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),o.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(l=s?.hashTag)!==null&&l!==void 0?l:"\u6807\u9898"}`))};var an=o.memo(Ls),js=null,Ns="3d989325-e7d6-4a74-8a97-98febdf5b567",Bs=null,Rs=null,zs={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"},Fs=[{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}],Vs="Handbags",rn={productUserId:js,requestId:Ns,channel:Bs,rtc:Rs,tag:zs,recList:Fs,hashTag:Vs};const Hs=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:l,index:s,showBorder:d,list:a,reportTagsView:r,textStyles:u,space:c}=t,{swiperRef:v,setRtcList:m,setOpenHashtag:w,sxpParameter:y}=fe(),[S,I]=o.useState(!1),[p,b]=o.useState(!1),[f,x]=o.useState({height:1,width:1}),_=o.useRef(null),h=o.useRef(null),P=o.useRef(null),C=o.useRef(null),[g,E]=o.useState(""),A=o.useMemo(()=>{var B,N,R,j,k,Y,F,G,J,te;return!((B=e?.video)===null||B===void 0)&&B.cover?(N=e?.video)===null||N===void 0?void 0:N.cover:!((j=(R=e?.video)===null||R===void 0?void 0:R.imgUrls)===null||j===void 0)&&j.length?(Y=(k=e?.video)===null||k===void 0?void 0:k.imgUrls)===null||Y===void 0?void 0:Y[0]:!((G=(F=e?.product)===null||F===void 0?void 0:F.homePage)===null||G===void 0)&&G.length?(te=(J=e?.product)===null||J===void 0?void 0:J.homePage)===null||te===void 0?void 0:te[0]:y?.bottom_image||""},[e,y?.bottom_image]),T=o.useMemo(()=>{var B,N;return((B=e?.product)===null||B===void 0?void 0:B.title)||((N=e?.video)===null||N===void 0?void 0:N.title)||null},[e]),D=o.useMemo(()=>{var B;return i.transform?Number((B=i.transform)===null||B===void 0?void 0:B.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]),O=o.useMemo(()=>D===void 0?!1:D<=d,[D,d]),L=o.useMemo(()=>{var B,N,R,j,k,Y,F,G,J;return!((B=e?.product)===null||B===void 0)&&B.currency&&(!((N=e?.product)===null||N===void 0)&&N.price)?`${(Y=(k=(j=(R=e?.product)===null||R===void 0?void 0:R.currency)===null||j===void 0?void 0:j.split("-")[1])===null||k===void 0?void 0:k.toUpperCase())!==null&&Y!==void 0?Y:""}${(J=(G=(F=e?.product)===null||F===void 0?void 0:F.price)===null||G===void 0?void 0:G.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&J!==void 0?J:""}`:null},[e]);o.useEffect(()=>{if(_.current===null||A==="")return;const B=new Image;S&&g?B.src=g:B.src=A,B.onload=()=>{x({height:B.height,width:B.width}),b(!0)},_.current.setSrc(B.src)},[A,S,g,O]),o.useEffect(()=>{const B=f.height*(l/f.width);p&&n(B+56+c,s)},[f,s,l,p,c]);const z=(B,N,R)=>{const j=B/N;return R/j};o.useEffect(()=>{const B=P?.current;B===null||A===""||!S||(B.src=A,B.currentTime=1,B.crossOrigin="anonymous",B.onloadeddata=()=>{const N=C?.current;if(!N)return;const R=N.getContext("2d"),j=window?.innerWidth/2,k=z(B.videoWidth,B.videoHeight,j);N.height=k,N.width=j,R?.drawImage(B,0,0,N.width,N.height),E(N.toDataURL()),B.remove(),N.remove()})},[A,S]);const V=()=>{r(),m?.(a),setTimeout(()=>{var B;(B=v?.current)===null||B===void 0||B.swiper.slideTo(s,0,!1),w?.(!1)},0)};return o.createElement("div",{ref:h,style:Object.assign({},i),className:"waterFallList-content-listItem",key:s,onClick:V},o.createElement("div",{className:"waterFallList-content-listItem-picture"},S&&o.createElement("div",{style:{display:"none"}},o.createElement("video",{ref:P,src:A,crossOrigin:"anonymous",className:"waterFallList-content-listItem-picture-img"}),o.createElement("canvas",{ref:C})),o.createElement(Ne,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",ref:_})),o.createElement("div",{className:"waterFallList-content-listItem-info"},o.createElement("div",{className:`waterFallList-content-listItem-info-title ${L?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},u?.title)},T&&T),o.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!L,style:u.price},L)))};function Us(t){var e,i,n,l,s,d,a,r,u,c,v,m,w,y,S,I,p,b,f,{reportTagsView:x,showBanner:_}=t,h=De(t,["reportTagsView","showBanner"]);const{waterFallData:P,getRecommendVideos:C,hashTagSize:g,loadingImage:E,isOpenHashTag:A}=fe(),T=o.useRef(null),[D,O]=o.useState(0),[L,z]=o.useState(),V=o.useRef(null),[B,N]=o.useState([]),R=o.useRef(),j=[170,230,300],[k,Y]=o.useState(!1),[F,G]=o.useState([]),J=o.useRef(),te=o.useCallback((re,oe)=>Math.floor(Math.random()*(oe-re+1))+re,[]),W=o.useRef([]),[pe,$]=o.useState({width:0}),le=o.useMemo(()=>{const re=pe.width||0;return re>=1200?6:re>=768&&re<=1199?4:2},[pe]),X=o.useMemo(()=>pe.width/le-2,[le,pe]),K=o.useCallback(()=>{var re;const oe=(re=R.current)!==null&&re!==void 0?re:[],he=[];for(let ae=0;ae<F?.length;ae++){const $e=Math.floor(ae/le),Ae=ae%le+1;let qe=0,et=9999999999;if($e===0)he[ae]=ae;else{for(let Ie=0;Ie<he.length;Ie++)W.current[he[Ie]].top+W.current[he[Ie]].height<et&&(qe=Ie,et=W.current[he[Ie]].top+W.current[he[Ie]].height);he[qe]=ae}W.current[ae]===void 0&&(W.current[ae]={}),$e===0?(Ae===1?W.current[ae].left=0:W.current[ae].left=W.current[ae-1].left+X+4,W.current[ae].top=0):(W.current[ae].left=W.current[qe].left,W.current[ae].top=et),W.current[ae].height=W.current[ae].height||j[te(0,2)],oe[ae]={transform:`translate(${W.current[ae].left}px,${W.current[ae].top}px)`,width:`${X}px`,height:W.current[ae].height}}return N([...oe]),[...oe]},[X,le,j,te,F]),me=o.useCallback((re,oe)=>{W.current[oe]===void 0&&(W.current[oe]={}),W.current[oe].height=re,R.current=K()},[K]);o.useEffect(()=>{R.current=K()},[X,le,F]),o.useEffect(()=>{var re,oe;if(Y(!0),P&&C?.({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType,defaultSize:g,maxSize:g}).then(he=>{var ae,$e;z(he),G(($e=(ae=he?.recList)===null||ae===void 0?void 0:ae.filter(Ae=>Ae?.video!==null||Ae?.product!==null))!==null&&$e!==void 0?$e:[]),Y(!1)}),A){const he=rn;z(he),G((oe=(re=he?.recList)===null||re===void 0?void 0:re.filter(ae=>ae?.video!==null||ae?.product!==null))!==null&&oe!==void 0?oe:[]),Y(!1)}},[P,C,g,A]);const Ce=o.useCallback(()=>{V.current!==null&&$({width:V.current.getBoundingClientRect().width})},[]);o.useEffect(()=>{if(V.current===null)return;const re=new ResizeObserver(oe=>{Ce()});return re.observe(V.current),()=>{re.disconnect()}},[Ce]),o.useCallback(()=>{Y(!0),P&&C?.({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType}).then(re=>{var oe,he;G(F?.concat((he=(oe=re?.recList)===null||oe===void 0?void 0:oe.filter(ae=>!ae?.video))!==null&&he!==void 0?he:[])),Y(!1)})},[P,C,F]);const se=o.useCallback(()=>{O(T.current.scrollTop)},[]);o.useEffect(()=>{var re;return(re=T?.current)===null||re===void 0||re.addEventListener("scroll",se),()=>{var oe;(oe=T?.current)===null||oe===void 0||oe.removeEventListener("scroll",se)}},[se,T]);const Be=()=>{var re,oe;!((re=L?.tag)===null||re===void 0)&&re.link&&(x(),window.location.href=(oe=L?.tag)===null||oe===void 0?void 0:oe.link)};return o.createElement(o.Fragment,null,k?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:E,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"waterFallList",ref:V},o.createElement("div",{className:"waterFallList-scroll",ref:T},_&&((e=L?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:Be},o.createElement(Ne,{className:ee.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=L?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"waterFallList-info",style:(n=h?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(l=L?.tag)===null||l===void 0?void 0:l.info),o.createElement("div",{hidden:!(!((s=L?.tag)===null||s===void 0)&&s.link),className:"waterFallList-collection",style:Object.assign({},(d=h?.textStyles)===null||d===void 0?void 0:d.hashTagLink),onClick:Be},((a=L?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"),o.createElement("div",{className:"waterFallList-content"},F?.map((re,oe)=>{var he;return o.createElement(Hs,Object.assign({key:oe,index:oe,rec:re,list:F,showBorder:D+((he=T?.current)===null||he===void 0?void 0:he.clientHeight),style:B[oe],sizeChange:me,unitWidth:X,reportTagsView:x},h))}),o.createElement("div",{hidden:!(!((r=L?.tag)===null||r===void 0)&&r.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(w=((c=W?.current[((u=W?.current)===null||u===void 0?void 0:u.length)-1])===null||c===void 0?void 0:c.top)+((m=W?.current[((v=W?.current)===null||v===void 0?void 0:v.length)-1])===null||m===void 0?void 0:m.height))!==null&&w!==void 0?w:0}px)`,height:!((y=L?.tag)===null||y===void 0)&&y.link?((S=J?.current)===null||S===void 0?void 0:S.offsetHeight)||((I=h?.buttonBgStyle)===null||I===void 0?void 0:I.height)||"100px":0}}))),o.createElement("div",{className:"waterFallList-bottom",hidden:!(!((p=L?.tag)===null||p===void 0)&&p.link),style:h?.buttonBgStyle}),o.createElement("div",{ref:J,hidden:!(!((b=L?.tag)===null||b===void 0)&&b.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},h?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{className:"waterFallList-btn",style:h?.buttonStyle,onClick:Be},((f=L?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection"))))}var Gs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const $s=t=>{const{rec:e,index:i,list:n,reportTagsView:l,textStyles:s,space:d}=t,{swiperRef:a,setRtcList:r,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=fe(),[m,w]=o.useState(!1),y=o.useRef(null),S=o.useRef(null),I=o.useRef(null),p=o.useRef(null),[b,f]=o.useState(""),x=o.useMemo(()=>{var g,E,A,T,D,O,L,z,V,B;return!((g=e?.video)===null||g===void 0)&&g.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((T=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||T===void 0)&&T.length?(O=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||O===void 0?void 0:O[0]:!((z=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||z===void 0)&&z.length?(B=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||B===void 0?void 0:B[0]:v?.bottom_image||""},[e,v?.bottom_image]),_=o.useMemo(()=>{var g,E;return((g=e?.product)===null||g===void 0?void 0:g.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),h=o.useMemo(()=>{var g,E,A,T,D,O,L,z,V;return!((g=e?.product)===null||g===void 0)&&g.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(O=(D=(T=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||T===void 0?void 0:T.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&O!==void 0?O:""}${(V=(z=(L=e?.product)===null||L===void 0?void 0:L.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&V!==void 0?V:""}`:null},[e]);o.useEffect(()=>{const g=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(S.current===null||x==="")return;m&&b?y.current.setSrc(b):y.current.setSrc(x),g.unobserve(S.current)}})});return g.observe(S.current),()=>{g.disconnect()}},[x,m,b]);const P=(g,E,A)=>{const T=g/E;return A/T};o.useEffect(()=>{const g=I?.current;g===null||x===""||!m||(g.src=x,g.currentTime=1,g.crossOrigin="anonymous",g.onloadeddata=()=>{const E=p?.current;if(!E)return;const A=E.getContext("2d"),T=window?.innerWidth/2,D=P(g.videoWidth,g.videoHeight,T);E.height=D,E.width=T,A?.drawImage(g,0,0,E.width,E.height),f(E.toDataURL()),g.remove(),E.remove()})},[x,m]);const C=()=>{l(),r?.(n),setTimeout(()=>{var g;(g=a?.current)===null||g===void 0||g.swiper.slideTo(i,0,!1),u?.(!1)},0)};return o.createElement("div",{ref:S,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:d}},o.createElement("div",{className:"list-content-listItem-picture"},m&&o.createElement("div",{style:{display:"none"}},o.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),o.createElement("canvas",{ref:p})),o.createElement(Ne,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),o.createElement("div",{className:"list-content-listItem-info"},o.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`,style:s?.title},_&&_),o.createElement("div",{className:"list-content-listItem-info-price",style:s?.price,hidden:!h},h)))};function Ws(t){var e,i,n,l,s,d,a,r,u,c,v,m,w,y,{reportTagsView:S,showBanner:I}=t,p=De(t,["reportTagsView","showBanner"]);const{waterFallData:b,getRecommendVideos:f,hashTagSize:x,loadingImage:_,isOpenHashTag:h}=fe(),[P,C]=o.useState(),[g,E]=o.useState(),[A,T]=o.useState(!1),D=o.useRef(null),[O,L]=o.useState(!1);o.useCallback(()=>{O||(L(!0),b&&f?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType}).then(V=>{var B;C(P?.concat((B=V?.recList)!==null&&B!==void 0?B:[])),L(!1)}))},[b,f,P,O]),o.useEffect(()=>{var V,B;if(T(!0),b&&f?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType,defaultSize:x,maxSize:x}).then(N=>{var R,j;E(N),C((j=(R=N?.recList)===null||R===void 0?void 0:R.filter(k=>k?.video!==null||k?.product!==null))!==null&&j!==void 0?j:[]),T(!1)}),h){const N=rn;E(N),C((B=(V=N?.recList)===null||V===void 0?void 0:V.filter(R=>R?.video!==null||R?.product!==null))!==null&&B!==void 0?B:[]),T(!1)}},[b,f,x,h]);const z=()=>{var V,B;!((V=g?.tag)===null||V===void 0)&&V.link&&(S(),window.location.href=(B=g?.tag)===null||B===void 0?void 0:B.link)};return o.createElement(o.Fragment,null,A?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:_,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"list"},o.createElement("div",{className:"list-scroll",ref:D},I&&((e=g?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:z},o.createElement(Ne,{className:ee.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=g?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"list-info",style:(n=p?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(l=g?.tag)===null||l===void 0?void 0:l.info),o.createElement("div",{hidden:!(!((s=g?.tag)===null||s===void 0)&&s.link),className:"list-collection",onClick:z,style:Object.assign(Object.assign({},(d=p?.textStyles)===null||d===void 0?void 0:d.hashTagLink),{marginBottom:p?.space})},((a=g?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"),o.createElement("div",{className:"list-content"},P?.map((V,B)=>o.createElement($s,Object.assign({key:B,index:B,rec:V,list:P,reportTagsView:S},p)))),o.createElement("div",{hidden:!O,style:{textAlign:"center"}},"loading..."),o.createElement("div",{hidden:!(!((r=g?.tag)===null||r===void 0)&&r.link),style:{height:!((u=g?.tag)===null||u===void 0)&&u.link?((c=p?.buttonBgStyle)===null||c===void 0?void 0:c.height)||((v=p?.buttonStyle)===null||v===void 0?void 0:v.height)||"100px":0}})),o.createElement("div",{className:"list-bottom",hidden:!(!((m=g?.tag)===null||m===void 0)&&m.link),style:p?.buttonBgStyle}),o.createElement("div",{hidden:!(!((w=g?.tag)===null||w===void 0)&&w.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},p?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{className:"list-btn",style:p?.buttonStyle,onClick:z},((y=g?.tag)===null||y===void 0?void 0:y.linkTitle)||"Shop the collection"))))}const Ys=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:l,swiperRef:s,setWaterFallData:d,cacheRtcList:a,setRtcList:r,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:m,isFromHashtag:w,bffEventReport:y,themeTag:S}=fe(),{backMainFeed:I}=Re();o.useRef(null);const p=o.useRef(null),[b,f]=o.useState();o.useEffect(()=>{const C=document.getElementById("sxp-render"),g=document.getElementById("water-fall");g?p.current=g:(p.current=document.createElement("div"),p.current.setAttribute("id","water-fall"),C?.appendChild(p.current))},[]);const x=()=>{const C=Ee.isEqual(c,a);!C&&a&&a?.length&&r?.(a),S?.current||I("branch",S?.current,i?.hashTag),P(),d?.(void 0),m?.(!1),setTimeout(()=>{var g,E;C||(E=(g=s?.current)===null||g===void 0?void 0:g.swiper)===null||E===void 0||E.slideTo(u,0,!1),n?.(!1)},0)},[_,h]=o.useState();o.useEffect(()=>{i&&h(i)},[i]);const P=o.useCallback(()=>{var C,g,E,A,T,D;const O=_?.rec;if(!O)return;let L="";w?L="hashTagPage":!((C=O?.video)===null||C===void 0)&&C.url?L="videoPage":!((E=(g=O?.video)===null||g===void 0?void 0:g.imgUrls)===null||E===void 0)&&E.length&&(L="imagePage"),y?.({eventInfo:{contentId:(A=O?.video)===null||A===void 0?void 0:A.itemId,position:u+"",contentTags:JSON.stringify((T=O?.video)===null||T===void 0?void 0:T.tags),traceInfo:(D=O?.video)===null||D===void 0?void 0:D.traceInfo,hashTags:JSON.stringify([_?.hashTag]),fromKName:L,fromKPage:location?.href,timeOnSite:Math.floor((new Date-b)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[_,y,b,w,u]);return o.useEffect(()=>{l&&f(new Date)},[l]),o.useEffect(()=>{const C=()=>{f(new Date)};return window.addEventListener("pageshow",C),()=>{window.removeEventListener("pageshow",C)}},[]),p.current?Si.createPortal(o.createElement("div",{className:"waterfall",style:{display:l?"block":"none"}},o.createElement(an,{icon:Gs,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:x}),t?.openFixedSize===!0||t?.openFixedSize===void 0?o.createElement(Ws,Object.assign({reportTagsView:P},t)):o.createElement(Us,Object.assign({reportTagsView:P},t))),p.current):null};var dn=o.memo(Ys);const qs=t=>o.createElement(dn,Object.assign({},t));var Xs=o.memo(qs);const Js=ze(Xs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Ms,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var Ks=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const cn=t=>o.createElement(cn,Object.assign({},t));var Qs=o.memo(cn);const Zs=ze(Qs,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:Ks},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var gi=Object.freeze({__proto__:null,Appoint:ts,AppointForm:Xn,Commodity:Kl,CommodityDetail:jl,CommodityDetailDiroNew:$l,CommodityDiro:cs,CommodityDiroNew:ms,Consent:Zs,HashTag:Js,Link:ls,MultiCommodity:_s,MultiCommodityDiro:Ts,MultiCommodityDiroNew:Os,Prompt:Vl});const ea="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ta="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ia=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:l,position:s}=t,d=De(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:a,mutateUnlike:r,bffEventReport:u}=fe(),[c,v]=o.useState(e),m=He(ta),w=He(ea),y=Ee.debounce(()=>Le(void 0,void 0,void 0,function*(){var S,I,p,b,f,x,_,h,P,C,g,E,A,T,D,O,L,z,V,B;if(c){v(!1);const N=(p=yield r?.({videoItemId:(I=(S=l?.video)===null||S===void 0?void 0:S.itemId)!==null&&I!==void 0?I:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(f=(b=l?.video)===null||b===void 0?void 0:b.itemId)!==null&&f!==void 0?f:"",contentName:(_=(x=l?.video)===null||x===void 0?void 0:x.title)!==null&&_!==void 0?_:"",contentTags:JSON.stringify((P=(h=l?.video)===null||h===void 0?void 0:h.tags)!==null&&P!==void 0?P:[]),position:s+"",contentFormat:!((C=l?.video)===null||C===void 0)&&C.url?"video":"image",traceInfo:(g=l?.video)===null||g===void 0?void 0:g.traceInfo}}),N||v(!0)}else{v(!0);const N=(E=yield a?.({content:JSON.stringify(l)}))!==null&&E!==void 0?E:!1;u?.({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:(O=(D=l?.video)===null||D===void 0?void 0:D.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((z=(L=l?.video)===null||L===void 0?void 0:L.tags)!==null&&z!==void 0?z:[]),position:s+"",contentFormat:!((V=l?.video)===null||V===void 0)&&V.url?"video":"image",traceInfo:(B=l?.video)===null||B===void 0?void 0:B.traceInfo}}),N||v(!1)}}),200);return o.createElement("button",Object.assign({},d,{onClick:y}),o.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||w,alt:"icon"}))};var un=o.memo(ia);const na=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:s,videoPostConfig:d,videoRef:a})=>{const[r,u]=o.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:m,openHashtag:w,bffFbReport:y}=fe(),S=o.useRef(0),[I,p]=o.useState(!1),[b,f]=o.useState(!0),{isActive:x}=on(),_=o.useRef(null),[h,P]=o.useState(""),C=`pb-cache-video-${e}`,g=o.useRef(null),E=o.useMemo(()=>d?.mode==="2",[d]),A=o.useMemo(()=>{var F;return d?.mode==="2"?`translateY(-${50+((F=d?.offsetTop)!==null&&F!==void 0?F:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[d]),T=o.useMemo(()=>{var F;return((F=t?.video)===null||F===void 0?void 0:F.cover)||h},[h,t]),D=o.useMemo(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),O=o.useMemo(()=>d?.bgWay==="1",[d]),L=o.useMemo(()=>O&&d?.bgColor?{backgroundColor:d?.bgColor}:{},[d,O]);o.useEffect(()=>{a&&a?.muted(l)},[l,a]);const z=o.useCallback(()=>{a&&a?.play()},[a]),V=He("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),B=o.useCallback(()=>{var F,G,J,te,W,pe,$,le,X;if(!a)return;p(!0),u(!1);const K=n[e];if(K&&a?.duration()){S.current=a?.currentTime()||0;const me=((F=a?.duration())!==null&&F!==void 0?F:0).toFixed(2),Ce=((G=a?.currentTime())!==null&&G!==void 0?G:0).toFixed(2),se=b?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(te=(J=K?.video)===null||J===void 0?void 0:J.itemId)!==null&&te!==void 0?te:"",contentName:(pe=(W=K?.video)===null||W===void 0?void 0:W.title)!==null&&pe!==void 0?pe:"",playType:se,startTime:Ce,videoDuration:me,contentTags:JSON.stringify((le=($=K?.video)===null||$===void 0?void 0:$.tags)!==null&&le!==void 0?le:[]),position:e+"",contentFormat:"video",traceInfo:(X=K?.video)===null||X===void 0?void 0:X.traceInfo}}),f(!1)}},[c,n,e,b,a]),N=o.useCallback(()=>{var F;if(!a||h||!E)return;const G=document.getElementById("player-container-id_html5_api");if(!G||(G.style.objectFit="contain",!((F=t?.video)===null||F===void 0)&&F.cover||!_||!_.current||O))return;const J=()=>{const te=G,W=_?.current,pe=W.getContext("2d"),$=window?.innerWidth,le=window?.innerHeight;W.height=le,W.width=$,pe?.drawImage(te,0,0,W.width,W.height),P(W.toDataURL())};J(),setTimeout(()=>{J()},500)},[a,O,t,h,E]),R=o.useCallback(()=>{a&&N()},[a,N]);o.useCallback(()=>{p(!0)},[]);const j=o.useCallback(F=>()=>{if(!a||!I)return;const G=a?.paused();switch(F){case"start":if(!G)return;a?.play(),u(!1);break;case"pause":if(G)return;a?.pause(),u(!0);break;default:G?a?.play():a?.pause(),u(!G);break}},[I,a]),k=o.useCallback(()=>{var F,G,J,te,W,pe,$,le,X;if(!a||s!==e)return;const K=n[e],me=((F=a?.duration())!==null&&F!==void 0?F:0).toFixed(2),Ce=((G=a?.currentTime())!==null&&G!==void 0?G:0).toFixed(2);if(a?.duration()){const se=(a?.currentTime()-S.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(te=(J=K?.video)===null||J===void 0?void 0:J.itemId)!==null&&te!==void 0?te:"",contentName:(pe=(W=K?.video)===null||W===void 0?void 0:W.title)!==null&&pe!==void 0?pe:"",endTime:Ce,videoDuration:me,playDuration:se,contentTags:JSON.stringify((le=($=K?.video)===null||$===void 0?void 0:$.tags)!==null&&le!==void 0?le:[]),position:e+"",contentFormat:"video",traceInfo:(X=K?.video)===null||X===void 0?void 0:X.traceInfo}})}},[n,e,c,a,s]);o.useEffect(()=>{if(!x||!a)return;const F=t?.video.url;if(!F)return;a?.src(F),u(!1);const G=document.querySelector(`#${C}`),J=document.querySelector("#player-container-id"),te=document.querySelector("#player-container-id-copy");if(!(!J&&!te))return G?.appendChild(J||te),a?.on("loadedmetadata",R),a?.on("loadeddata",N),a?.on("playing",B),a?.on("pause",k),a?.on("ended",z),()=>{te?.appendChild(J),a?.off("loadedmetadata",R),a?.off("loadeddata",N),a?.off("playing",B),a?.off("pause",k),a?.off("ended",z)}},[x,C,t,a]),o.useEffect(()=>{!a||!I||(x?(y?.({eventName:"ViewContent"}),a?.play()):a?.pause())},[x,I,a]),o.useEffect(()=>{if(!x||!a)return;!a?.paused()&&w?a?.pause():w||a?.play()},[w,x,a]),o.useEffect(()=>{if(!x)return;const F=()=>{j("start")(),y?.({eventName:"ViewContent"})},G=j("pause");return it.on(We.PAGE_DID_SHOW,F),it.on(We.PAGE_DID_HIDE,G),()=>{it.off(We.PAGE_DID_SHOW,F),it.off(We.PAGE_DID_HIDE,G)}},[j,x]);const Y=o.useMemo(()=>!v?.placeholder_image||I?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[I,v?.placeholder_image]);return o.useEffect(()=>{if(!a)return;const F=()=>{var G;s===e&&(!((G=t?.video)===null||G===void 0)&&G.url)&&a&&!r&&j("pause")()};return window.addEventListener("beforeunload",F),()=>{window.removeEventListener("beforeunload",F)}},[s,e,t,a,j,r]),t?.video?o.createElement(o.Fragment,null,E?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:j(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},L)},!O&&o.createElement(Ne,{src:T,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},D)}),o.createElement("canvas",{ref:_,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},o.createElement("div",{className:"n-full-screen",ref:g,id:C,style:{width:"100%",height:"100%"}}),o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:V}))),Y):o.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:j()},o.createElement("div",{className:"n-full-screen",ref:g,id:C,style:{width:"100%",height:"100%"}}),Y,o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:V}))):null};var oa=o.memo(na);const la=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[s,d]=o.useState(t),a=r=>{r.stopPropagation();const u=!s;d(u),n?.(u)};return o.createElement("button",{style:l,className:"pb-toggle-button",onClick:a},o.createElement("img",{className:"pb-toggle-button-icon",src:s?e:i}))};var pn=o.memo(la);const sa=({imageUrl:t,style:e})=>{const[i,n]=o.useState(!0);tt(),o.useEffect(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const l=He("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),s=o.useMemo(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return o.createElement("div",{hidden:!i,className:`pb-finger-wrap ${s}`,style:e},o.createElement("img",{src:t||l}))},vn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:l}=t,s=o.useMemo(()=>n?.mode==="2",[n]),d=o.useMemo(()=>{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=o.useMemo(()=>s?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[s]),r=o.useMemo(()=>n?.bgWay==="1",[n]),u=o.useMemo(()=>r&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,r]);return o.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},u)},(!s||!r)&&o.createElement(Ne,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a),onLoad:l}),s&&o.createElement(Ne,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:d,left:0,right:0}}))},aa=({imgUrls:t,width:e,height:i,rec:n,index:l,onReportViewImageEnd:s,onViewImageStartEvent:d,imgUrlsPostConfig:a})=>{var r;const u=o.useRef(),{isActive:c}=on(),{sxpParameter:v,openHashtag:m}=fe(),[w,y]=o.useState(!1);o.useEffect(()=>{w&&c?(u?.current&&u.current.swiper.autoplay.start(),m?s(n):d(l)):u?.current&&u.current.swiper.autoplay.stop()},[n,c,s,m,l,d,w]);const S=o.useCallback(()=>{w||y(!0)},[w]);return o.createElement(ut,{ref:u,defaultValue:0,direction:"horizontal",modules:[kt,Dt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((r=a?.delay)!==null&&r!==void 0?r:3)*1e3}},t?.map((I,p)=>o.createElement(Ze,{key:p},o.createElement(vn,{src:!w&&p>0?"":I,height:i,imgUrlsPostConfig:a,onShowFirstImage:S}))))};var ra=o.memo(aa);const da=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:s})=>{const[d,a]=o.useState(!1),{setWaterFallData:r,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:m}=fe(),w=y=>{v?m?.(!0):c?.(n),r?.(i?{hashTag:y,itemId:e,itemType:i,rec:l}:{hashTag:y,rec:l}),u?.(!0)};return o.useMemo(()=>t.length<=6?null:o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>a(!d)},d?"show less":"show more"),[d,t]),o.createElement("div",{className:"clc-sxp-bottom-hashtag"},o.createElement(Lt,null,t?.map((y,S)=>o.createElement(Ze,{key:S,hidden:d?!1:S>=6,className:"clc-sxp-bottom-hashtag-item",style:s,onClick:()=>w(y)},`#${y}`))))};var fn=o.memo(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 jt(t){return o.memo(function(e){const{$store:i}=Mn(),n=s=>{let d=s;const a=s.match(/{{.*?}}/g);return a?.length&&a.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=Ee.get(i,c);return d=d.replace(r,v),v}})}),d},l=o.useMemo(()=>{var s,d,a;const{bindDatas:r}=e,u=De(e,["bindDatas"]);if((s=r?.forEach)===null||s===void 0||s.call(r,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(w,y)=>{var S,I;if(y){const p=(I=(S=Ee.get(i,y))!==null&&S!==void 0?S:e[v])!==null&&I!==void 0?I:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=Ee.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((a=(d=u?.event)===null||d===void 0?void 0:d.onClick)===null||a===void 0)&&a.linkType&&(u.style.cursor="pointer"),u},[i,e]);return o.createElement(t,Object.assign({},l,l.eventMap))})}const ua=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:l}=tt(),s=o.useMemo(()=>{var d,a,r,u,c,v,m,w,y,S,I,p,b,f,x,_,h,P,C,g,E,A,T,D,O,L,z,V,B,N,R;if(!t?.video)return null;let j=null;!((a=(d=t?.video)===null||d===void 0?void 0:d.bindProducts)===null||a===void 0)&&a.length?j="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?j="\u5546\u54C1CTA":j=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const k=i?.[j];if(((v=k?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((w=k?.item)===null||w===void 0?void 0:w.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((S=k?.item)===null||S===void 0?void 0:S.type)==="CommodityDiroNew"&&!(!((I=t?.video)===null||I===void 0)&&I.bindProduct)||((p=k?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((f=(b=t?.video)===null||b===void 0?void 0:b.bindProducts)===null||f===void 0)&&f.length)||((x=k?.item)===null||x===void 0?void 0:x.type)==="MultiCommodityDiro"&&!(!((h=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||h===void 0)&&h.length)||((P=k?.item)===null||P===void 0?void 0:P.type)==="MultiCommodityDiroNew"&&!(!((g=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||g===void 0)&&g.length))return null;if(k&&n){const Y=n[(E=k?.item)===null||E===void 0?void 0:E.type],F=jt(Y),G=(A=Y?.extend)===null||A===void 0?void 0:A.defaulSetting,J=((O=(D=(T=k?.item)===null||T===void 0?void 0:T.event)===null||D===void 0?void 0:D.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return o.createElement(F,Object.assign({style:Object.assign(Object.assign(Object.assign({},G?.style),(L=k?.item)===null||L===void 0?void 0:L.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},G?.textStyle),(z=k?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(B=(V=k?.item)===null||V===void 0?void 0:V.bindDatas)!==null&&B!==void 0?B:[]},G?.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:l,id:k?.id,key:k?.id,recData:t,isExternalLink:J,index:e}))}else return null},[t,n,i,l]);return o.createElement(o.Fragment,null,s)};var mn=o.memo(ua);const hn=({nudge:t})=>{var e,i,n,l,s,d,a;return o.createElement(o.Fragment,null,t?.isOpen&&o.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:(s=(l=t?.size)===null||l===void 0?void 0:l.height)!==null&&s!==void 0?s:38,backgroundColor:t?.backgroundColor,borderRadius:(d=t?.borderRadius)!==null&&d!==void 0?d:4}},t?.icon?o.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,o.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(a=t?.content)!==null&&a!==void 0?a:"")))},bi="FOR U",pa=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=o.useState(bi),{getRecommendVideos:l,setRtcList:s,setCacheRtcList:d,setCacheActiveIndex:a,setLoading:r,swiperRef:u,waterFallData:c,bffEventReport:v}=fe(),{backMainFeed:m}=Re(),w=o.useMemo(()=>[bi,...t],[t]),y=S=>()=>{if(S===i)return;S!=="FOR U"?v?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`[${S}]`}}):m("theme",i);let I;S!==bi&&(I=S),r?.(!0),l?.({themeTag:I}).then(p=>{var b,f,x,_;it.emit(We.CHANGE_THEME_TAG,I),s?.((b=p?.recList)!==null&&b!==void 0?b:[]),d?.((f=p?.recList)!==null&&f!==void 0?f:[]),e?.(0),a?.(0),(_=(x=u?.current)===null||x===void 0?void 0:x.swiper)===null||_===void 0||_.slideTo(0)}).finally(()=>{r?.(!1)}),n(S)};return c||t.length<=0?null:o.createElement("div",{className:"clc-sxp-tagbar"},o.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},w.map(S=>o.createElement("li",{className:`clc-sxp-tagbar-list-item ${S===i?"clc-sxp-tagbar-list-item-active":""}`,key:S,onClick:y(S)},S))))};var gn=o.memo(pa);const bn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:l,resolver:s,data:d=[],ctaType:a,tipText:r,nudge:u,_schema:c,hashTagStyle:v,tagList:m=[],licenseUrl:w})=>{var y,S,I,p,b,f,x,_,h,P;const{schema:C}=tt(),[g,E]=o.useState(0),A=o.useRef(0),[T,D]=o.useState(!1),[O,L]=o.useState(!0),z=o.useRef(),[V,B]=o.useState(!1),[N,R]=o.useState(!1),{loadVideos:j,bffEventReport:k,loading:Y,setPopupDetailData:F,ctaEvent:G,swiperRef:J,waterFallData:te,setOpenHashtag:W,appDomain:pe,openHashtag:$,loadingImage:le,isFromHashtag:X,popupDetailData:K,bffFbReport:me,curTime:Ce,h5EnterLink:se}=fe(),{backMainFeed:Be}=Re(),[re,oe]=o.useState(null),he=o.useRef(),{productView:ae}=Re(),$e=o.useMemo(()=>d.length>0&&!Y&&Bn(),[d,Y]),Ae=o.useCallback(()=>{if(d.length<=0)return;jn();const M=new Date;z.current=M,T&&se?.(),me?.({eventName:"PageView"}),D(!0)},[d.length,me,se,T]),qe=o.useRef();o.useEffect(()=>{var M,ie,q,Q;if(!qe.current&&!re&&he?.current&&d?.length>0){qe.current=!0;const ce=TCPlayer("player-container-id",{licenseUrl:w,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:!((ie=(M=d?.[0])===null||M===void 0?void 0:M.video)===null||ie===void 0)&&ie.url?[{src:(Q=(q=d?.[0])===null||q===void 0?void 0:q.video)===null||Q===void 0?void 0:Q.url}]:[]});ce?.ready(()=>{oe(ce)})}},[re,w,d]),o.useEffect(()=>{T||Ae()},[Ae,T]),o.useEffect(()=>{var M;const ie=d?.findIndex(q=>{var Q,ce,ve,Z,de,Se,Oe,Me,we;return a==="\u591A\u5546\u54C1CTA"?((Q=q?.video)===null||Q===void 0?void 0:Q.bindProducts)&&((ve=(ce=q?.video)===null||ce===void 0?void 0:ce.bindProducts)===null||ve===void 0?void 0:ve.length)>0:a==="\u5546\u54C1CTA"?(Z=q?.video)===null||Z===void 0?void 0:Z.bindProduct:((Se=(de=q?.video)===null||de===void 0?void 0:de.bindCta)===null||Se===void 0?void 0:Se.itemId)===a&&(((Oe=q?.video)===null||Oe===void 0?void 0:Oe.url)||((we=(Me=q?.video)===null||Me===void 0?void 0:Me.imgUrls)===null||we===void 0?void 0:we.length))})||0;(M=J?.current)===null||M===void 0||M.swiper.slideTo(ie)},[a,J]),o.useEffect(()=>{const M=d?.[g],ie=()=>{var q,Q,ce,ve,Z,de,Se,Oe,Me,we,_e,at,rt,dt,ot,bt;if(document.visibilityState==="hidden"){$||(it.emit(We.PAGE_DID_HIDE,M),Te(M),xe(M));let ke="";K&&(!((Q=(q=M?.video)===null||q===void 0?void 0:q.bindProducts)===null||Q===void 0)&&Q.length||!((ce=M?.video)===null||ce===void 0)&&ce.bindProduct)?ke="pdpPage":K&&((Se=l?.[(de=(Z=(ve=M?.video)===null||ve===void 0?void 0:ve.bindCta)===null||Z===void 0?void 0:Z.itemId)!==null&&de!==void 0?de:""].item)===null||Se===void 0?void 0:Se.type)==="Appoint"?ke="formPage":X?ke="hashTagPage":!((Oe=M?.video)===null||Oe===void 0)&&Oe.url?ke="videoPage":!((Me=M?.video)===null||Me===void 0)&&Me.imgUrls&&(!((_e=(we=M?.video)===null||we===void 0?void 0:we.imgUrls)===null||_e===void 0)&&_e.length)?ke="imagePage":M?.product&&(ke="productPage"),k?.({eventInfo:{sessionDuration:Math.floor((new Date-Ce.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(at=M?.video)===null||at===void 0?void 0:at.itemId,productId:(rt=M?.product)===null||rt===void 0?void 0:rt.itemId,position:g+"",fromKName:ke,fromKPage:location?.href,ctatId:(bt=(ot=(dt=M?.video)===null||dt===void 0?void 0:dt.bindCta)===null||ot===void 0?void 0:ot.itemId)!==null&&bt!==void 0?bt:""}})}else document.visibilityState==="visible"&&(Ae(),$||(Xe(g),it.emit(We.PAGE_DID_SHOW,M)),Be("external"))};return document.addEventListener("visibilitychange",ie),()=>{document.removeEventListener("visibilitychange",ie)}},[g,k,d,Ae,K,X,l,Ce,Be,$]),o.useEffect(()=>{const M=()=>{Be("external")};return window.addEventListener("pageshow",M),()=>{window.removeEventListener("pageshow",M)}},[]);const et=o.useMemo(()=>{let M=0;return m.length>0&&(M+=45,te&&(M-=45)),M},[m,te]),Ie=o.useMemo(()=>{let M=0;return t?.logoUrl&&t?.isShowLogo&&(M+=45),i-M-et},[t,i,et]),Nt=o.useMemo(()=>t?.logoUrl&&t?.isShowLogo?o.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},o.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),H=o.useCallback((M,ie)=>{var q,Q,ce,ve;return!((q=M?.video)===null||q===void 0)&&q.url?o.createElement(oa,{rec:M,index:ie,muted:O,data:d,height:Ie,activeIndex:g,videoPostConfig:t?.videoPost,videoRef:re}):!((Q=M?.video)===null||Q===void 0)&&Q.imgUrls?o.createElement(ra,{key:M?.video.itemId,imgUrls:M?.video.imgUrls,width:n,height:Ie,rec:M,index:ie,onReportViewImageEnd:Te,onViewImageStartEvent:Xe,imgUrlsPostConfig:t?.imgUrlsPost}):M.product&&Array.isArray(t?.productPost)&&((ce=t?.productPost)===null||ce===void 0?void 0:ce.length)>0?(ve=t?.productPost)===null||ve===void 0?void 0:ve.map((Z,de)=>{var Se,Oe,Me,we,_e,at,rt,dt;const ot=s[(Se=Z?.item)===null||Se===void 0?void 0:Se.type],bt=jt(ot),ke=(Oe=ot?.extend)===null||Oe===void 0?void 0:Oe.defaulSetting;return o.createElement(bt,Object.assign({key:`${ie}${de}`,textStyle:Object.assign(Object.assign({},ke?.textStyle),(Me=Z?.item)===null||Me===void 0?void 0:Me.textStyle),bindDatas:(_e=(we=Z?.item)===null||we===void 0?void 0:we.bindDatas)!==null&&_e!==void 0?_e:[]},ke?.props,(at=Z?.item)===null||at===void 0?void 0:at.props,{event:((rt=Z?.item)===null||rt===void 0?void 0:rt.event)||{},schema:C,id:Z?.id,viewTime:z.current,rec:M,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},ke?.style),(dt=Z?.item)===null||dt===void 0?void 0:dt.style),{height:"100%",overflow:"auto"}),index:ie}))}):null},[n,d,Ie,O,g,t?.productPost,z,r,s,C,re]),U=o.useCallback(M=>{R(M)},[]),ne=o.useMemo(()=>N?{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"},[N]),be=o.useCallback((M,ie)=>{var q,Q,ce,ve,Z,de,Se;return M?.video?o.createElement(o.Fragment,null,((q=M?.video)===null||q===void 0?void 0:q.title)&&!N&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(hn,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(mn,{rec:M,index:ie,tempMap:l,resolver:s})):null,o.createElement("div",null,o.createElement(Mt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(ce=(Q=M?.video)===null||Q===void 0?void 0:Q.title)!==null&&ce!==void 0?ce:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:U}),o.createElement(fn,{index:g,tags:(Z=(ve=M?.video)===null||ve===void 0?void 0:ve.hashTags)!==null&&Z!==void 0?Z:[],itemId:(de=M?.video)===null||de===void 0?void 0:de.itemId,itemType:!((Se=M?.video)===null||Se===void 0)&&Se.itemId?"VIDEO":null,rec:M,hashTagStyle:v})))):null},[e,g,l,s,r,u,v,t,U,N,ne]),ge=o.useCallback((M,ie)=>{var q,Q,ce,ve;if(!t?.isShowLike)return;let Z=(q=t?.likeIconY)!==null&&q!==void 0?q:400;return te&&Z<40&&(Z+=40),M?.video?o.createElement(un,{key:M.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:M.isCollected,recData:M,className:"clc-sxp-like-button",style:{[(Q=t.likeIconXPosit)!==null&&Q!==void 0?Q:"right"]:(ce=t.likeIconX)!==null&&ce!==void 0?ce:0,[(ve=t.likeIconYPosit)!==null&&ve!==void 0?ve:"bottom"]:Z},position:ie}):null},[t,te]),Te=M=>{var ie,q,Q,ce,ve,Z;if(!(!((ie=M?.video)===null||ie===void 0)&&ie.url)&&(!((q=M?.video)===null||q===void 0)&&q.imgUrls)){const de=Date.now(),Se=(de-A.current)/1e3;k?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ce=(Q=M?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ce!==void 0?ce:"",contentName:(ve=M?.video.title)!==null&&ve!==void 0?ve:"",imageEndTime:`${de}`,playDuration:`${Se}`,contentTags:JSON.stringify((Z=M?.video.tags)!==null&&Z!==void 0?Z:[]),position:g+"",contentFormat:"image",traceInfo:M?.video.traceInfo}})}},ye=M=>{var ie,q,Q,ce,ve,Z,de,Se,Oe,Me;z.current=new Date;const we=d[M.previousIndex];if(!we)return;M.previousIndex-M.activeIndex<0?(k?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(q=(ie=we?.video)===null||ie===void 0?void 0:ie.itemId)!==null&&q!==void 0?q:"",productId:(ce=(Q=we?.product)===null||Q===void 0?void 0:Q.itemId)!==null&&ce!==void 0?ce:"",requestId:null}}),Te(we)):(k?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(Z=(ve=we?.video)===null||ve===void 0?void 0:ve.itemId)!==null&&Z!==void 0?Z:"",productId:(Se=(de=we.product)===null||de===void 0?void 0:de.itemId)!==null&&Se!==void 0?Se:"",requestId:null}}),Te(we)),xe(we);const _e=d[M.activeIndex];!(!((Oe=_e?.video)===null||Oe===void 0)&&Oe.url)&&!(!((Me=_e?.video)===null||Me===void 0)&&Me.imgUrls)&&_e?.product&&me?.({eventName:"ProductView"})},xe=M=>{var ie,q,Q;!(!((ie=M?.video)===null||ie===void 0)&&ie.url)&&!(!((q=M?.video)===null||q===void 0)&&q.imgUrls)&&M?.product&&ae(M,M.product,(Q=M?.product)===null||Q===void 0?void 0:Q.bindCta,z.current,g)};o.useEffect(()=>{const M=d[g];$&&xe(M)},[$,d,g]);const Xe=M=>{var ie,q,Q,ce,ve,Z;const de=d[M];if(!(!((ie=de?.video)===null||ie===void 0)&&ie.url)&&(!((q=de?.video)===null||q===void 0)&&q.imgUrls)){const Se=Date.now();A.current=Se,k?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ce=(Q=de?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ce!==void 0?ce:"",contentName:(ve=de?.video.title)!==null&&ve!==void 0?ve:"",imageStartTime:`${Se}`,contentTags:JSON.stringify((Z=de?.video.tags)!==null&&Z!==void 0?Z:[]),position:M+"",contentFormat:"image",traceInfo:de?.video.traceInfo}}),me?.({eventName:"ViewContent"})}},Je=o.useMemo(()=>{const M=d?.map((ie,q)=>g===q||q-1===g||q+1===g?ie:null);return te?M:M.concat([{loading:!0}])},[d,g,te]),mt=o.useMemo(()=>Y?o.createElement("div",{style:{height:Ie,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:le,alt:"loading...",style:{objectFit:"contain"}})):Je?.map((M,ie)=>o.createElement(Ze,{key:ie,virtualIndex:ie},M&&o.createElement(o.Fragment,null,M?.loading?o.createElement("div",{style:{height:Ie,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:le,alt:"loading...",style:{objectFit:"contain"}})):o.createElement(o.Fragment,null,H(M,ie),be(M,ie),ge(M,ie))))),[n,d,Ie,Y,be,H,Je,le]),ht=He("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),gt=He("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return o.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},te&&o.createElement(an,{icon:ca,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{W?.(!0)}}),Nt,o.createElement(gn,{tagList:m,setActiveIndex:E}),$e?o.createElement(sa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,o.createElement(ut,{style:{marginTop:et},ref:J,onSlideChange:()=>{J.current.swiper.allowTouchMove=!1,setTimeout(()=>{J.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:M=>{E(M.activeIndex),!$&&(ye(M),!te&&M?.activeIndex+2>=d?.length&&(V||(B(!0),j?.(Math.ceil(g/10)+1).then(()=>{B(!1)}))))},direction:"vertical",height:Ie},o.createElement(pn,{style:{position:"fixed",visibility:!((I=(S=d?.[g])===null||S===void 0?void 0:S.video)===null||I===void 0)&&I.url?"visible":"hidden",zIndex:999,[(p=t?.muteIconXPosit)!==null&&p!==void 0?p:"right"]:(b=t?.muteIconX)!==null&&b!==void 0?b:0,[(f=t?.muteIconYPosit)!==null&&f!==void 0?f:"bottom"]:(x=t?.muteIconY)!==null&&x!==void 0?x:23},defaultValue:O,activeIcon:t?.unMuteIcon?t?.unMuteIcon:ht,unactiveIcon:t?.muteIcon?t?.muteIcon:gt,onChange:L}),mt),o.createElement(dn,Object.assign({},(P=(h=(_=t?.hashTag)===null||_===void 0?void 0:_[0])===null||h===void 0?void 0:h.item)===null||P===void 0?void 0:P.props)),o.createElement("div",{style:{position:"absolute",zIndex:-100}},o.createElement("video",{ref:he,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),o.createElement("div",{id:"player-container-id-copy"})))},va=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:s})=>o.createElement(ut,{defaultValue:0,direction:"horizontal",modules:[kt,Dt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(d=>o.createElement(Ze,{key:d},o.createElement(vn,{src:d,height:i,imgUrlsPostConfig:n}))));var fa=o.memo(va);const ma=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:s,videoPostConfig:d,width:a})=>{const[r,u]=o.useState(!1),c=o.useRef(null),{bffEventReport:v,sxpParameter:m,waterFallData:w,openHashtag:y}=fe(),S=o.useRef(0),[I,p]=o.useState(!1),[b,f]=o.useState(!0),x=o.useRef(null),[_,h]=o.useState("");o.useEffect(()=>{c.current&&(c.current.muted=l)},[l]);const P=o.useCallback(()=>{var N;(N=c.current)===null||N===void 0||N.play()},[]),C=He("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),g=o.useCallback(()=>{var N,R,j,k,Y,F,G,J,te,W,pe,$,le;u(!1);const X=n[e];if(X&&(!((N=c?.current)===null||N===void 0)&&N.duration)){S.current=((R=c?.current)===null||R===void 0?void 0:R.currentTime)||0;const K=((k=(j=c.current)===null||j===void 0?void 0:j.duration)!==null&&k!==void 0?k:0).toFixed(2),me=((F=(Y=c.current)===null||Y===void 0?void 0:Y.currentTime)!==null&&F!==void 0?F:0).toFixed(2),Ce=b?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(J=(G=X?.video)===null||G===void 0?void 0:G.itemId)!==null&&J!==void 0?J:"",contentName:(W=(te=X?.video)===null||te===void 0?void 0:te.title)!==null&&W!==void 0?W:"",playType:Ce,startTime:me,videoDuration:K,contentTags:JSON.stringify(($=(pe=X?.video)===null||pe===void 0?void 0:pe.tags)!==null&&$!==void 0?$:[]),position:e+"",contentFormat:"video",traceInfo:(le=X?.video)===null||le===void 0?void 0:le.traceInfo}}),f(!1)}},[v,n,e,b]),E=o.useCallback(()=>{p(!0)},[]),A=o.useCallback(N=>()=>{var R,j,k,Y,F;if(!I)return;const G=(R=c.current)===null||R===void 0?void 0:R.paused;switch(N){case"start":if(!G)return;(j=c.current)===null||j===void 0||j.play(),u(!1);break;case"pause":if(G)return;(k=c.current)===null||k===void 0||k.pause(),u(!0);break;default:G?(Y=c.current)===null||Y===void 0||Y.play():(F=c.current)===null||F===void 0||F.pause(),u(!G);break}},[I]),T=o.useCallback(()=>{var N,R,j,k,Y,F,G,J,te,W,pe,$,le;const X=n[e],K=((R=(N=c.current)===null||N===void 0?void 0:N.duration)!==null&&R!==void 0?R:0).toFixed(2),me=((k=(j=c.current)===null||j===void 0?void 0:j.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((Y=c?.current)===null||Y===void 0)&&Y.duration){const Ce=(((F=c?.current)===null||F===void 0?void 0:F.currentTime)-S.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(J=(G=X?.video)===null||G===void 0?void 0:G.itemId)!==null&&J!==void 0?J:"",contentName:(W=(te=X?.video)===null||te===void 0?void 0:te.title)!==null&&W!==void 0?W:"",endTime:me,videoDuration:K,playDuration:Ce,contentTags:JSON.stringify(($=(pe=X?.video)===null||pe===void 0?void 0:pe.tags)!==null&&$!==void 0?$:[]),position:e+"",contentFormat:"video",traceInfo:(le=X?.video)===null||le===void 0?void 0:le.traceInfo}})}},[n,e,v]),D=o.useMemo(()=>d?.mode==="2",[d]),O=o.useMemo(()=>{var N;return d?.mode==="2"?`translateY(-${50+((N=d?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[d]),L=o.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||_},[_,t]),z=o.useCallback(()=>{if(!x||!c||!c.current||!x.current)return;const N=c?.current,R=x?.current,j=R.getContext("2d"),k=window?.innerWidth,Y=window?.innerHeight;R.height=Y,R.width=k,j?.drawImage(N,0,0,R.width,R.height),h(R.toDataURL())},[]);o.useEffect(()=>{var N,R,j,k;if(c.current){if(u(!1),!c.current.src){const Y=t?.video.url;if(Y.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const F=new window.Hls;F.loadSource(Y),F.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=Y;else c.current.src=Y;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(N=c.current)===null||N===void 0||N.addEventListener("loadedmetadata",E),(R=c.current)===null||R===void 0||R.addEventListener("canplay",E),(j=c.current)===null||j===void 0||j.addEventListener("playing",g),(k=c.current)===null||k===void 0||k.addEventListener("loadeddata",z),()=>{var Y,F,G,J;(Y=c.current)===null||Y===void 0||Y.removeEventListener("loadedmetadata",E),(F=c.current)===null||F===void 0||F.removeEventListener("canplay",E),(G=c.current)===null||G===void 0||G.removeEventListener("playing",g),(J=c.current)===null||J===void 0||J.removeEventListener("loadeddata",z)}}},[E,g,t?.video,z]);const V=o.useMemo(()=>!m?.placeholder_image||I?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[I,m?.placeholder_image]);o.useEffect(()=>{const N=()=>{var R,j;s===e&&(!((R=t?.video)===null||R===void 0)&&R.url)&&(!((j=c?.current)===null||j===void 0)&&j.src)&&!r&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[s,e,t,c,A,r]);const B=o.useMemo(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t?.video?o.createElement(o.Fragment,null,D?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement(Ne,{src:L,style:Object.assign({height:i,width:a,objectFit:"cover"},B)}),o.createElement("canvas",{ref:x,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:a,height:i,top:"50%",transform:O,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:a,height:"100%"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:P,style:{width:"100%",height:i,objectFit:"contain"}}),o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:C}))),V):o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:P}),V,o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:C}))):null};var ha=o.memo(ma);const yi={};Object.values(gi).forEach(t=>{yi[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:l,descStyle:s,hashTagStyle:d,containerHeight:a=664,containerWidth:r=375,appDomain:u,tagList:c=[]})=>{const v=o.useMemo(()=>{let h=0;return e?.logoUrl&&e?.isShowLogo&&(h+=45),c.length>0&&(h+=45),a-h},[e,a,c]),m=(h,P)=>{var C,g,E,A;if(!((C=h?.video)===null||C===void 0)&&C.url)return o.createElement(ha,{rec:h,index:P,muted:!0,width:r,data:t??[],height:v,activeIndex:P,videoPostConfig:e?.videoPost});if(!((g=h?.video)===null||g===void 0)&&g.imgUrls)return o.createElement(fa,{key:h?.video.itemId,imgUrls:h?.video.imgUrls,width:r,height:v,rec:h,index:P,imgUrlsPostConfig:e?.imgUrlsPost});if(h.product&&h.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((T,D)=>{var O,L,z,V,B,N,R,j;const k=yi[(O=T?.item)===null||O===void 0?void 0:O.type],Y=jt(k),F=(L=k?.extend)===null||L===void 0?void 0:L.defaulSetting;return o.createElement(Y,Object.assign({key:`${P}${D}`,textStyle:Object.assign(Object.assign({},F?.textStyle),(z=T?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(B=(V=T?.item)===null||V===void 0?void 0:V.bindDatas)!==null&&B!==void 0?B:[]},F?.props,(N=T?.item)===null||N===void 0?void 0:N.props,{event:((R=T?.item)===null||R===void 0?void 0:R.event)||{},id:T?.id,rec:h,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},F?.style),(j=T?.item)===null||j===void 0?void 0:j.style),{width:r,height:v,overflow:"auto"}),index:P}))})},w=o.useMemo(()=>e?.logoUrl&&e?.isShowLogo?o.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},o.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(h,P)=>e?.isShowCTA===void 0||e?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(mn,{rec:h,index:P,tempMap:l,resolver:yi})):null,S=(h,P)=>{var C,g,E,A,T,D,O;return h?.video?o.createElement(o.Fragment,null,((C=h?.video)===null||C===void 0?void 0:C.title)&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(hn,{nudge:n}),y(h,P),o.createElement("div",null,o.createElement(Mt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(g=h?.video)===null||g===void 0?void 0:g.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},s),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),o.createElement(fn,{index:P,tags:(T=(A=h?.video)===null||A===void 0?void 0:A.hashTags)!==null&&T!==void 0?T:[],itemId:(D=h?.video)===null||D===void 0?void 0:D.itemId,itemType:!((O=h?.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:h,hashTagStyle:d}))):null},I=He(ba,u),p=He(ga,u),b=(h,P)=>{var C,g,E,A;if(!e?.isShowLike)return;let T=(C=e?.likeIconY)!==null&&C!==void 0?C:400;return T<40&&(T+=40),h?.video?o.createElement(un,{key:h.position,activeIcon:(g=e?.likeIcon)!==null&&g!==void 0?g:I,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,position:P,active:h.isCollected,recData:h,className:"clc-sxp-like-button",style:{top:T,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},f=He("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),x=He("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),_=(h,P)=>{var C,g,E,A;return o.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},w,o.createElement(gn,{tagList:c}),o.createElement(pn,{style:{position:"absolute",right:(C=e?.muteIconX)!==null&&C!==void 0?C:0,visibility:!((E=(g=t?.[P])===null||g===void 0?void 0:g.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:f,unactiveIcon:e?.muteIcon?e?.muteIcon:x}),m(h,P),S(h,P),b(h,P))};return o.createElement("div",{className:ee.css({width:"100%",height:a,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((h,P)=>_(h,P)))};var wa=o.memo(ya);const Sa=()=>{const{schema:t,resolver:e,popup:i}=tt(),{setPopupDetailData:n,popupDetailData:l,bffEventReport:s}=fe(),{productView:d}=Re(),[a,r]=o.useState(),u=o.useRef(null);o.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),o.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,r(i))},[i]);const c=()=>{var m,w,y,S;if(!i||i?.id===""||!a||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;r(Object.assign(Object.assign({},i),{id:""}));const I=l,p=(w=I?.video)===null||w===void 0?void 0:w.bindProduct,b=(S=(y=I?.video)===null||y===void 0?void 0:y.bindProduct)===null||S===void 0?void 0:S.bindCta;p&&b&&d(I,p,b,u.current,l?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=o.useMemo(()=>{var m,w,y;return(y=(w=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||w===void 0?void 0:w.popupList)===null||y===void 0?void 0:y.map((S,I)=>{var p,b,f,x,_,h,P,C,g,E,A,T,D,O,L;if(S?.id===i?.id){const z=e[(p=S?.item)===null||p===void 0?void 0:p.type],V=jt(z),B=((x=(f=(b=S?.item)===null||b===void 0?void 0:b.event)===null||f===void 0?void 0:f.onClick)===null||x===void 0?void 0:x.linkType)==="externalLink",N=((P=(h=(_=S?.item)===null||_===void 0?void 0:_.event)===null||h===void 0?void 0:h.onClick)===null||P===void 0?void 0:P.linkType)==="popup",R=(C=z?.extend)===null||C===void 0?void 0:C.defaulSetting;return o.createElement(V,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},R?.style),(g=S?.item)===null||g===void 0?void 0:g.style),{width:(E=window.innerWidth)!==null&&E!==void 0?E:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},R?.textStyle),(A=S?.item)===null||A===void 0?void 0:A.textStyle),bindDatas:(D=(T=S?.item)===null||T===void 0?void 0:T.bindDatas)!==null&&D!==void 0?D:[]},R?.props,(O=S?.item)===null||O===void 0?void 0:O.props,{event:((L=S?.item)===null||L===void 0?void 0:L.event)||{},schema:t,id:S?.id,isExternalLink:B,isPopup:N,onClose:c}))}else return o.createElement(o.Fragment,null)})},[t,i,e,c]);return o.createElement(Ot,{popup:a,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},wi={};Object.values(gi).forEach(t=>{wi[t.extend.type]=t});const Ta=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:s,licenseUrl:d,enabledMetaConversionApi:a})=>{var r,u,c,v,m,w,y,S,I,p,b;const f=o.useMemo(()=>{var x;return location?.search?(x=location?.search)===null||x===void 0?void 0:x.replace("?",""):""},[]);return o.createElement(Ni,{resolver:wi,enableDataSource:!1,schema:t?.data,utmVal:f},o.createElement(Oi,{utmVal:f,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(w=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&w!==void 0?w:n,loadingImage:l,appDomain:s,enabledMetaConversionApi:a,isShowTag:(I=(S=(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf)===null||S===void 0?void 0:S.globalConfig)===null||I===void 0?void 0:I.isShowTag,globalConfig:(b=(p=t?.data)===null||p===void 0?void 0:p.sxpPageConf)===null||b===void 0?void 0:b.globalConfig,render:({rtcList:x,tagList:_})=>{var h;return o.createElement(o.Fragment,null,o.createElement(bn,Object.assign({},(h=t?.data)===null||h===void 0?void 0:h.sxpPageConf,{tagList:_,data:x,resolver:wi,licenseUrl:d})),o.createElement(Sa,null))}}))};var xa=o.memo(Ta);const yn=o.createContext({}),Ea=({children:t,data:e})=>{var i,n,l,s,d,a,r,u,c,v,m,w,y;const[S,I]=o.useState(!1),[p,b]=o.useState(!1);return o.createElement(yn.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:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.placeholder_image,hashTagSize:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.hash_tag_size,loadingImage:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.loading_image,privacyContent:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.privacy_context,privacyNecessity:(u=e?.sxp_parameter)===null||u===void 0?void 0:u.privacy_necessity,privacyPolicyTitle:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_policy_title,privacyPolicyUrl:(v=e?.sxp_parameter)===null||v===void 0?void 0:v.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(w=e?.sxp_parameter)===null||w===void 0?void 0:w.template,industry:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.industry},appDomain:e?.appDomain,openHashtag:S,setOpenHashtag:I,openConsent:p,setOpenConsent:b}},t)};function Ca(){return o.useContext(yn)}exports.DiyPortalPreview=wa,exports.EditorDataProvider=Ea,exports.Modal=Ot,exports.SxpDataSourceProvider=Oi,exports.SxpPageCore=xa,exports.SxpPageRender=bn,exports.core=Un,exports.default=On,exports.defaultSetting=Fe,exports.materials=gi,exports.useEditorDataProvider=Ca;
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:h?.info})))},ve=()=>{var Y,q;return o.createElement(o.Fragment,null,(T||L?.link)&&o.createElement("button",{"aria-label":(Y=z?.enTitle)!==null&&Y!==void 0?Y:"Purchase on Website",onClick:G,className:"pb-commondity-btn",style:O},(q=z?.enTitle)!==null&&q!==void 0?q:"Purchase on Website"))},W=o.useCallback(Y=>Y?.lineClamp?Object.assign(Object.assign({},Y),{overflow:"hidden",WebkitLineClamp:Y?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):Y,[]);return o.createElement("div",{className:"pb-commondity"},o.createElement("div",Object.assign({className:Z.css(Object.assign({},v))},x),L&&((d=L?.homePage)===null||d===void 0?void 0:d.length)>0&&o.createElement(ht,{height:ee,modules:[jt,Nt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(a=L?.homePage)===null||a===void 0?void 0:a.map(Y=>o.createElement(Qe,{key:Y},o.createElement("div",{style:{overflow:"hidden",width:ee,height:ee}},o.createElement(Ne,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:Y}))))),!(!((r=L?.homePage)===null||r===void 0)&&r.length)&&o.createElement("div",{className:Z.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},o.createElement("img",{className:Z.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=w?.bottom_image)!==null&&u!==void 0?u:_,alt:"pdp image"})),o.createElement("div",{className:"pb-commondity-content"},ce({isPost:g}))),ve(),o.createElement(zt,{visible:F,onClose:()=>j(!1)},o.createElement("div",{style:{paddingBottom:"80px"}},ce({isPost:!1})),ve()))};var Rl=o.memo(Bl);const zl=ze(Rl,{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 Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],mi,hi,Vl=[{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:Fe?.fontOptions,initialValue:(hi=(mi=Fe?.fontOptions)===null||mi===void 0?void 0:mi[0])===null||hi===void 0?void 0:hi.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"]}]}],un="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:l,src:s}=t;switch(i){case 2:return n||null;case 3:return s||null;default:return l&&l.length>0?(e=l[0])===null||e===void 0?void 0:e.url:null}},Ul=t=>{var{content:e,btnText:i,style:n,icon:l,isPopup:s,isExternalLink:d,onClose:a,onClick:r,submitButtonStyle:u}=t,c=ke(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:v}=fe(),{jumpToWeb:m}=Re(),y=typeof l=="string"?l:Hl(l),b=()=>{var T,_,p;if(d){const g=v,f=(T=g?.video)===null||T===void 0?void 0:T.bindProduct,E=(p=(_=g?.video)===null||_===void 0?void 0:_.bindProduct)===null||p===void 0?void 0:p.bindCta,k=v?.index;m(g,f,E,k)}s||a?.(),r?.()};return o.createElement("div",Object.assign({className:`pb-prompt ${Z.css(Object.assign({},n))}`},c),o.createElement("div",{className:"pb-prompt-icon"},o.createElement("img",{width:"100%",src:y??un,alt:"success image"})),o.createElement("div",{className:"pb-prompt-content"},e),o.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:u,onClick:b},i))};var Gl=o.memo(Ul);const $l=ze(Gl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Vl,bindableProps:[],interactionRender:Fl},defaulSetting:{props:{icon:un,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var gi,bi,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:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:de,name:["fontFamily"],initialValue:(gi=de?.[0])===null||gi===void 0?void 0:gi.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:(bi=de?.[0])===null||bi===void 0?void 0:bi.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,l,s,d,a,r,u,c,v,m,y,{style:b,isDefault:T,rec:_,viewTime:p,isPost:g,bottom_image:f,tipText:E,swiper:k,commodityStyles:h,buttonStyle:O,index:I}=t,x=ke(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);o.useState(!0);const{sxpParameter:w}=fe(),{popupDetailData:D,bffEventReport:S,isPreview:C,swiperRef:P,bffFbReport:M}=fe(),{jumpToWeb:N,productView:V}=Re(),F=o.useRef(null);o.useRef(null),o.useRef(null),o.useState(!1),o.useState(!1),o.useState(!0);const[j,R]=o.useState(!1),L=o.useRef(null),z=g?_:D,B=g?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,G=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,H=g?I:D?.index,ee=()=>{B?.link&&(N(z,B,G,H),g||V(z,B,G,p||L.current,H),window.location.href=window.getJointUtmLink(B.link))};o.useEffect(()=>{g||M?.({eventName:"ProductView"})},[g,M]),o.useEffect(()=>{const q=()=>{L.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const ce=o.useMemo(()=>{var q,K,X,ye,te;return B?.currency&&B?.price?`${(X=(K=(q=B?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||K===void 0?void 0:K.toUpperCase())!==null&&X!==void 0?X:""}${(te=(ye=B?.price)===null||ye===void 0?void 0:ye.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&te!==void 0?te:""}`:"\xA3102,300.00"},[B?.price,B?.currency]),ve=C?375:(s=b?.width)!==null&&s!==void 0?s:window.innerWidth,W=({isPost:q})=>o.createElement("div",{hidden:!!B&&(!B?.info||B?.info==="")},o.createElement(Ft,{isPost:q,onClick:()=>R(!0),className:"pb-commondityDiroNew-info",style:h?.info,foldText:E?.foldText,unfoldText:E?.unfoldText,text:B?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
6
+ Made in Italy`})),Y=o.useCallback(q=>q?.lineClamp?Object.assign(Object.assign({},q),{overflow:"hidden",WebkitLineClamp:q?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):q,[]);return o.createElement("div",{className:"pb-commondityDiroNew"},o.createElement("div",Object.assign({ref:F,className:Z.css(Object.assign({},b))},x),B&&((d=B?.homePage)===null||d===void 0?void 0:d.length)>0&&o.createElement(ht,{height:ve,modules:[jt,Nt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(a=B?.homePage)===null||a===void 0?void 0:a.map(q=>o.createElement(Qe,{key:q},o.createElement("div",{style:{overflow:"hidden",width:ve,height:ve}},o.createElement(Ne,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:q}))))),!(!((r=B?.homePage)===null||r===void 0)&&r.length)&&o.createElement("div",{className:Z.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},o.createElement("img",{className:Z.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=w?.bottom_image)!==null&&u!==void 0?u:f,alt:"pdp image"})),o.createElement("div",{className:"pb-commondityDiroNew-content"},o.createElement("div",{className:"pb-commondityDiroNew-content-top"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:Y(h?.title)},(c=B?.title)!==null&&c!==void 0?c:"Large Dior Toujours BagLarge"),o.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!B&&(!B?.collection||B?.collection===""),style:Y(h?.collection)},B?.collection||"Black Macrocannage CalfskinLarge")),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!B&&!B?.price,style:Y(h?.price)},ce),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!B&&!B?.taxInfo,style:Y(h?.taxInfo)},(v=B?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!B||B?.link)&&o.createElement("button",{"aria-label":(m=G?.enTitle)!==null&&m!==void 0?m:"Shop now",onClick:ee,className:"pb-commondityDiroNew-btn",style:O},(y=G?.enTitle)!==null&&y!==void 0?y:"Shop now"),W({isPost:g}))),o.createElement(zt,{visible:j,onClose:()=>R(!1)},W({isPost:!1})))};var ql=o.memo(Yl);const Xl=ze(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 yi,wi,We=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:de,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(yi=de?.[0])===null||yi===void 0?void 0:yi.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:(wi=de?.[0])===null||wi===void 0?void 0:wi.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 pn(t){const e=o.useRef(null),[i,n]=o.useState(!1);return o.useEffect(()=>{e.current=new IntersectionObserver(([l])=>{n(l.isIntersecting)})},[]),o.useEffect(()=>{var l;return t?.current&&((l=e?.current)===null||l===void 0||l.observe(t?.current)),()=>{var s;(s=e?.current)===null||s===void 0||s.disconnect()}},[t]),i}const Kl=t=>{var{rec:e,children:i,className:n,onClick:l,style:s,isExternalLink:d=!1,index:a}=t;ke(t,["rec","children","className","onClick","style","isExternalLink","index"]);const r=o.useRef(null),u=pn(r),{popup:c}=et(),{setPopupDetailData:v,ctaEvent:m}=fe(),{jumpToWeb:y}=Re();o.useEffect(()=>{var T,_;if(u&&r?.current){const p=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,a)}},[u,r,e,m,a]);const b=Te.throttle(()=>{var T,_,p,g,f,E,k,h;const O=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,a),v?.(Object.assign(Object.assign({},e),{index:a})),d){if(!((g=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||g===void 0)&&g.link){const I=(f=e?.video)===null||f===void 0?void 0:f.bindCta,x=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;y(e,x,I,a),window.location.href=window.getJointUtmLink((h=(k=e?.video)===null||k===void 0?void 0:k.bindProduct)===null||h===void 0?void 0:h.link)}}else l?.()},c?.duration);return o.createElement("div",{ref:r,className:n,style:s,onClick:b},i)};var _t=o.memo(Kl),Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Zl=t=>{var e,i,n,l,s,d,a,r,{content:u,style:c,bgImg:v,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,p=ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=fe(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(s=(l=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&l!==void 0?l:g?.bottom_image)!==null&&s!==void 0?s:y;return o.createElement(_t,Object.assign({isExternalLink:T,rec:m,className:Z.css(Object.assign({},c)),style:{display:"flex"}},p),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},o.createElement(Ne,{className:Z.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),o.createElement("div",{className:Z.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Ql["tow-line-ellipsis"],style:b?.title},(d=f?.title)!==null&&d!==void 0?d:"Product Name"),o.createElement("div",{className:Z.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(r=(a=f?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var es=o.memo(Zl);const ts=ze(es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Jl,bindableProps:[],settingRender:We},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,l,{content:s,style:d,bgImg:a,recData:r,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,m=ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:y}=fe(),b=(e=r?.video)===null||e===void 0?void 0:e.bindCta;return o.createElement(_t,Object.assign({isExternalLink:v,rec:r,className:Z.css(Object.assign({alignItems:"center"},d)),style:{display:"flex"}},m),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},o.createElement("img",{className:Z.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=b?.icon)!==null&&i!==void 0?i:y?.bottom_image)!==null&&n!==void 0?n:u,alt:"cta image"})),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(l=b?.enTitle)!==null&&l!==void 0?l:"Product Name"))};var os=o.memo(ns);const ls=ze(os,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:is,settingRender:We?.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,l,s,{content:d,style:a,bgImg:r,recData:u,bottom_image:c,ctaTempStyles:v,index:m}=t,y=ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:b,bffEventReport:T}=fe(),{jumpToWeb:_}=Re(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,g=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,f=()=>{p?.link&&(_(u,g,p,m),window.location.href=window.getJointUtmLink(p.link))};return o.createElement(_t,Object.assign({index:m,rec:u,className:Z.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},y,{onClick:f}),o.createElement("div",{className:Z.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},o.createElement(Ne,{className:Z.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(l=(n=p?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&l!==void 0?l:c})),o.createElement("div",{className:Z.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:ss["tow-line-ellipsis"],style:v?.ctaTitle},(s=p?.enTitle)!==null&&s!==void 0?s:"Product Name")))};var rs=o.memo(as);const ds=ze(rs,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:We?.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,l,s,d,a,r,{content:u,style:c,bgImg:v,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,p=ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=fe(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(s=(l=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&l!==void 0?l:g?.bottom_image)!==null&&s!==void 0?s:y;return o.createElement(_t,Object.assign({isExternalLink:T,rec:m,className:Z.css(Object.assign({},c)),style:{display:"flex"}},p),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},o.createElement(Ne,{className:Z.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),o.createElement("div",{className:Z.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:us["tow-line-ellipsis"],style:b?.title},(d=f?.title)!==null&&d!==void 0?d:"Product Name"),o.createElement("div",{className:Z.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},b?.ctaTitle))},(r=(a=f?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var vs=o.memo(ps);const fs=ze(vs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:cs,settingRender:We,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,l,s,d,a,r,{content:u,style:c,bgImg:v,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,p=ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=fe(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(s=(l=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&l!==void 0?l:g?.bottom_image)!==null&&s!==void 0?s:y;return o.createElement(_t,Object.assign({isExternalLink:T,rec:m,className:Z.css(Object.assign({},c)),style:{display:"flex"}},p),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},o.createElement(Ne,{className:Z.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),o.createElement("div",{className:Z.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:hs["tow-line-ellipsis"],style:b?.title},(d=f?.title)!==null&&d!==void 0?d:"Product Name"),o.createElement("div",{className:Z.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(r=(a=f?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop now")))};var bs=o.memo(gs);const ys=ze(bs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:ms,bindableProps:[],settingRender:We},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})=>o.createElement(ht,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[po,uo,co],style:{padding:e?"0 12px 0 20px":0}},t);var Vt=o.memo(Ss);const Ts=({src:t,rec:e,item:i,index:n,style:l})=>{const s=o.useRef(null),d=pn(s),{ctaEvent:a}=fe();return o.useEffect(()=>{d&&t&&s?.current&&a?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[d,t,s,e,a,i,n]),o.createElement("div",{ref:s,hidden:!t,className:Z.css({width:"100%",height:"100%"})},o.createElement(Ne,{className:Z.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},l)),src:t}))};var Si=o.memo(Ts),xs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Es=t=>{var e,i,{content:n,style:l,bgImg:s,recData:d,onClick:a,bottom_image:r,ctaTempStyles:u,isExternalLink:c,index:v,translateY:m=0}=t,y=ke(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=fe(),{popup:p}=et(),{jumpToWeb:g}=Re(),[f,E]=o.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Te.throttle(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,h,v),T?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:h}),index:v})),c?h?.link&&(g(d,h,h.bindCta,v),window.location.href=window.getJointUtmLink(h.link)):a?.()},p?.duration);return o.createElement(Vt,{isPadding:!!d},f?.map(h=>{var O,I,x,w,D,S,C;return o.createElement(Qe,Object.assign({hidden:d&&!h?.bindCta,key:h?.itemId,className:Z.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},o.createElement(Si,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(I=h?.homePage)===null||I===void 0?void 0:I[0])!==null&&x!==void 0?x:_?.bottom_image)!==null&&w!==void 0?w:r,rec:d,item:h,index:v,style:{objectPosition:`50% ${m?-m+50:50}%`}})),o.createElement("div",{className:Z.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:xs["two-line-ellipsis"],style:u?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),o.createElement("div",{className:Z.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(C=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var Cs=o.memo(Es);const Is=ze(Cs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:ws,bindableProps:[],settingRender:We},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"}]}],ks={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Ds=t=>{var e,i,{content:n,style:l,bgImg:s,recData:d,onClick:a,bottom_image:r,ctaTempStyles:u,isExternalLink:c,index:v,translateY:m=0}=t,y=ke(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:b}=fe(),{ctaEvent:T,setPopupDetailData:_}=fe(),{popup:p}=et(),[g,f]=o.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Re(),k=Te.throttle(h=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,h,v),_?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:h}),index:v})),c?h?.link&&(E(d,h,h.bindCta,v),window.location.href=window.getJointUtmLink(h.link)):a?.()},p?.duration);return o.createElement(Vt,{isPadding:!!d},g?.map(h=>{var O,I,x,w,D,S,C;return o.createElement(Qe,Object.assign({hidden:d&&!h?.bindCta,key:h.itemId,className:Z.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},o.createElement(Si,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(I=h?.homePage)===null||I===void 0?void 0:I[0])!==null&&x!==void 0?x:b?.bottom_image)!==null&&w!==void 0?w:r,rec:d,item:h,index:v,style:{objectPosition:`50% ${m?-m+50:50}%`}})),o.createElement("div",{className:Z.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:ks["two-line-ellipsis"],style:u?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),o.createElement("div",{className:Z.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(C=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&C!==void 0?C:"Shop Now")))}))};var As=o.memo(Ds);const Ps=ze(As,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:_s,settingRender:We,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:l,bgImg:s,recData:d,onClick:a,bottom_image:r,ctaTempStyles:u,isExternalLink:c,index:v,translateY:m=0}=t,y=ke(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=fe(),{popup:p}=et(),{jumpToWeb:g}=Re(),[f,E]=o.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Te.throttle(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,h,v),T?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:h}),index:v})),c?h?.link&&(g(d,h,h.bindCta,v),window.location.href=window.getJointUtmLink(h.link)):a?.()},p?.duration);return o.createElement(Vt,{isPadding:!!d},f?.map(h=>{var O,I,x,w,D,S,C;return o.createElement(Qe,Object.assign({hidden:d&&!h?.bindCta,key:h?.itemId,className:Z.css(Object.assign(Object.assign({},l),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),o.createElement("div",{className:Z.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},o.createElement(Si,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(I=h?.homePage)===null||I===void 0?void 0:I[0])!==null&&x!==void 0?x:_?.bottom_image)!==null&&w!==void 0?w:r,rec:d,item:h,index:v,style:{objectPosition:`50% ${m?-m+50:50}%`}})),o.createElement("div",{className:Z.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},o.createElement("div",{className:Ms["tow-line-ellipsis"],style:u?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),o.createElement("div",{className:Z.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(C=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&C!==void 0?C:"Shop now")))}))};var js=o.memo(Ls);const Ns=ze(js,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Os,bindableProps:[],settingRender:We},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 Ti,xi,Bs=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:de,name:["fontFamily"],initialValue:(Ti=de?.[0])===null||Ti===void 0?void 0:Ti.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:(xi=de?.[0])===null||xi===void 0?void 0:xi.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 Rs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var l;const{waterFallData:s,setOpenHashtag:d}=fe();return o.createElement("div",{className:"clc-sxp-nav",style:e},o.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),o.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(l=s?.hashTag)!==null&&l!==void 0?l:"\u6807\u9898"}`))};var vn=o.memo(Rs),zs=null,Fs="3d989325-e7d6-4a74-8a97-98febdf5b567",Vs=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",fn={productUserId:zs,requestId:Fs,channel:Vs,rtc:Hs,tag:Us,recList:Gs,hashTag:$s};const Ws=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:l,index:s,showBorder:d,list:a,reportTagsView:r,textStyles:u,space:c}=t,{swiperRef:v,setRtcList:m,setOpenHashtag:y,sxpParameter:b}=fe(),[T,_]=o.useState(!1);o.useState(!1),o.useState({height:1,width:1});const p=o.useRef(null),g=o.useRef(null);o.useRef(null),o.useRef(null);const[f,E]=o.useState(""),k=o.useMemo(()=>{var S,C,P,M,N,V,F,j,R,L;return!((S=e?.video)===null||S===void 0)&&S.cover?(C=e?.video)===null||C===void 0?void 0:C.cover:!((M=(P=e?.video)===null||P===void 0?void 0:P.imgUrls)===null||M===void 0)&&M.length?(V=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||V===void 0?void 0:V[0]:!((j=(F=e?.product)===null||F===void 0?void 0:F.homePage)===null||j===void 0)&&j.length?(L=(R=e?.product)===null||R===void 0?void 0:R.homePage)===null||L===void 0?void 0:L[0]:b?.bottom_image||""},[e,b?.bottom_image]),h=o.useMemo(()=>{var S,C;return((S=e?.product)===null||S===void 0?void 0:S.title)||((C=e?.video)===null||C===void 0?void 0:C.title)||null},[e]),O=o.useMemo(()=>{var S;return i.transform?Number((S=i.transform)===null||S===void 0?void 0:S.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);o.useMemo(()=>O===void 0?!1:O<=d,[O,d]);const I=o.useMemo(()=>{var S,C,P,M,N,V,F,j,R;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((C=e?.product)===null||C===void 0)&&C.price)?`${(V=(N=(M=(P=e?.product)===null||P===void 0?void 0:P.currency)===null||M===void 0?void 0:M.split("-")[1])===null||N===void 0?void 0:N.toUpperCase())!==null&&V!==void 0?V:""}${(R=(j=(F=e?.product)===null||F===void 0?void 0:F.price)===null||j===void 0?void 0:j.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&R!==void 0?R:""}`:null},[e]);o.useEffect(()=>{if(p.current===null||k==="")return;let S=null;T&&f?S=f:S=k,S&&p.current.setSrc(S)},[k,T,f]);const x=o.useRef(),w=o.useCallback(S=>{setTimeout(()=>{var C;const P=(C=x?.current)===null||C===void 0?void 0:C.offsetHeight;n(P+56+c,s)},0)},[c,n,s,l,x]),D=()=>{r(),m?.(a),setTimeout(()=>{var S;(S=v?.current)===null||S===void 0||S.swiper.slideTo(s,0,!1),y?.(!1)},0)};return o.createElement("div",{ref:g,style:Object.assign({},i),className:"waterFallList-content-listItem",key:s,onClick:D},o.createElement("div",{className:"waterFallList-content-listItem-picture",ref:x},o.createElement(Ne,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:w,ref:p})),o.createElement("div",{className:"waterFallList-content-listItem-info"},o.createElement("div",{className:`waterFallList-content-listItem-info-title ${I?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},u?.title)},h&&h),o.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!I,style:u.price},I)))};function Ys(t){var e,i,n,l,s,d,a,r,u,c,v,m,y,b,T,_,p,g,f,E,{reportTagsView:k,showBanner:h}=t,O=ke(t,["reportTagsView","showBanner"]);const{waterFallData:I,getRecommendVideos:x,hashTagSize:w,loadingImage:D,isOpenHashTag:S}=fe(),C=o.useRef(null),[P,M]=o.useState(0),[N,V]=o.useState(),F=o.useRef(null),[j,R]=o.useState([]),L=o.useRef(),z=[170,230,300],[B,G]=o.useState(!1),[H,ee]=o.useState([]),ce=o.useRef(),ve=o.useCallback((le,re)=>Math.floor(Math.random()*(re-le+1))+le,[]),W=o.useRef([]),[Y,q]=o.useState({width:0}),K=o.useMemo(()=>{const le=Y.width||0;return le>=1200?6:le>=768&&le<=1199?4:2},[Y]),X=o.useMemo(()=>Y.width/K-2,[K,Y]),ye=o.useCallback(()=>{var le;const re=(le=L.current)!==null&&le!==void 0?le:[],me=[];for(let ne=0;ne<H?.length;ne++){const Pe=Math.floor(ne/K),He=ne%K+1;let Ye=0,dt=9999999999;if(Pe===0)me[ne]=ne;else{for(let U=0;U<me.length;U++)W.current[me[U]].top+W.current[me[U]].height<dt&&(Ye=U,dt=W.current[me[U]].top+W.current[me[U]].height);me[Ye]=ne}W.current[ne]===void 0&&(W.current[ne]={}),Pe===0?(He===1?W.current[ne].left=0:W.current[ne].left=W.current[ne-1].left+X+4,W.current[ne].top=0):(W.current[ne].left=W.current[Ye].left,W.current[ne].top=dt),W.current[ne].height=W.current[ne].height||z[ve(0,2)],re[ne]={transform:`translate(${W.current[ne].left}px,${W.current[ne].top}px)`,width:`${X}px`,height:W.current[ne].height}}return R([...re]),[...re]},[X,K,z,ve,H]),te=o.useCallback((le,re)=>{W.current[re]===void 0&&(W.current[re]={}),W.current[re].height=le,L.current=ye()},[ye]);o.useEffect(()=>{L.current=ye()},[X,K,H]),o.useEffect(()=>{var le,re;if(G(!0),I&&x?.({hashTag:I?.hashTag,"itemFilter.itemId":I?.itemId,"itemFilter.itemType":I?.itemType,defaultSize:w,maxSize:w}).then(me=>{var ne,Pe;V(me),ee((Pe=(ne=me?.recList)===null||ne===void 0?void 0:ne.filter(He=>He?.video!==null||He?.product!==null))!==null&&Pe!==void 0?Pe:[]),G(!1)}),S){const me=fn;V(me),ee((re=(le=me?.recList)===null||le===void 0?void 0:le.filter(ne=>ne?.video!==null||ne?.product!==null))!==null&&re!==void 0?re:[]),G(!1)}},[I,x,w,S]);const Ce=o.useCallback(()=>{F.current!==null&&q({width:F.current.getBoundingClientRect().width})},[]);o.useEffect(()=>{if(F.current===null)return;const le=new ResizeObserver(re=>{Ce()});return le.observe(F.current),()=>{le.disconnect()}},[Ce]),o.useCallback(()=>{G(!0),I&&x?.({hashTag:I?.hashTag,"itemFilter.itemId":I?.itemId,"itemFilter.itemType":I?.itemType}).then(le=>{var re,me;ee(H?.concat((me=(re=le?.recList)===null||re===void 0?void 0:re.filter(ne=>!ne?.video))!==null&&me!==void 0?me:[])),G(!1)})},[I,x,H]);const De=o.useCallback(()=>{M(C.current.scrollTop)},[]);o.useEffect(()=>{var le;return(le=C?.current)===null||le===void 0||le.addEventListener("scroll",De),()=>{var re;(re=C?.current)===null||re===void 0||re.removeEventListener("scroll",De)}},[De,C]);const Ie=()=>{var le,re;!((le=N?.tag)===null||le===void 0)&&le.link&&(k(),window.location.href=(re=N?.tag)===null||re===void 0?void 0:re.link)};return o.createElement(o.Fragment,null,B?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"waterFallList",ref:F},o.createElement("div",{className:"waterFallList-scroll",ref:C},h&&((e=N?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:Ie},o.createElement(Ne,{className:Z.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=N?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"waterFallList-info",style:(n=O?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(l=N?.tag)===null||l===void 0?void 0:l.info),o.createElement("div",{hidden:!(!((s=N?.tag)===null||s===void 0)&&s.link),className:"waterFallList-collection",style:Object.assign({},(d=O?.textStyles)===null||d===void 0?void 0:d.hashTagLink),onClick:Ie},((a=N?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"),o.createElement("div",{className:"waterFallList-content"},H?.map((le,re)=>{var me;return o.createElement(Ws,Object.assign({key:re,index:re,rec:le,list:H,showBorder:P+((me=C?.current)===null||me===void 0?void 0:me.clientHeight),style:j[re],sizeChange:te,unitWidth:X,reportTagsView:k},O))}),o.createElement("div",{hidden:!(!((r=N?.tag)===null||r===void 0)&&r.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((c=W?.current[((u=W?.current)===null||u===void 0?void 0:u.length)-1])===null||c===void 0?void 0:c.top)+((m=W?.current[((v=W?.current)===null||v===void 0?void 0:v.length)-1])===null||m===void 0?void 0:m.height))!==null&&y!==void 0?y:0}px)`,height:!((b=N?.tag)===null||b===void 0)&&b.link?((T=ce?.current)===null||T===void 0?void 0:T.offsetHeight)||((_=O?.buttonBgStyle)===null||_===void 0?void 0:_.height)||"100px":0}}))),o.createElement("div",{className:"waterFallList-bottom",hidden:!(!((p=N?.tag)===null||p===void 0)&&p.link),style:O?.buttonBgStyle}),o.createElement("div",{ref:ce,hidden:!(!((g=N?.tag)===null||g===void 0)&&g.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},O?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((f=N?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:O?.buttonStyle,onClick:Ie},((E=N?.tag)===null||E===void 0?void 0:E.linkTitle)||"Shop the collection"))))}var qs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Xs=t=>{const{rec:e,index:i,list:n,reportTagsView:l,textStyles:s,space:d}=t,{swiperRef:a,setRtcList:r,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=fe(),[m,y]=o.useState(!1),b=o.useRef(null),T=o.useRef(null),_=o.useRef(null),p=o.useRef(null),[g,f]=o.useState(""),E=o.useMemo(()=>{var x,w,D,S,C,P,M,N,V,F;return!((x=e?.video)===null||x===void 0)&&x.cover?(w=e?.video)===null||w===void 0?void 0:w.cover:!((S=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||S===void 0)&&S.length?(P=(C=e?.video)===null||C===void 0?void 0:C.imgUrls)===null||P===void 0?void 0:P[0]:!((N=(M=e?.product)===null||M===void 0?void 0:M.homePage)===null||N===void 0)&&N.length?(F=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||F===void 0?void 0:F[0]:v?.bottom_image||""},[e,v?.bottom_image]),k=o.useMemo(()=>{var x,w;return((x=e?.product)===null||x===void 0?void 0:x.title)||((w=e?.video)===null||w===void 0?void 0:w.title)||null},[e]),h=o.useMemo(()=>{var x,w,D,S,C,P,M,N,V;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((w=e?.product)===null||w===void 0)&&w.price)?`${(P=(C=(S=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||S===void 0?void 0:S.split("-")[1])===null||C===void 0?void 0:C.toUpperCase())!==null&&P!==void 0?P:""}${(V=(N=(M=e?.product)===null||M===void 0?void 0:M.price)===null||N===void 0?void 0:N.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&V!==void 0?V:""}`:null},[e]);o.useEffect(()=>{const x=new IntersectionObserver(w=>{w.forEach(D=>{if(D.isIntersecting){if(T.current===null||E==="")return;m&&g?b.current.setSrc(g):b.current.setSrc(E),x.unobserve(T.current)}})});return x.observe(T.current),()=>{x.disconnect()}},[E,m,g]);const O=(x,w,D)=>{const S=x/w;return D/S};o.useEffect(()=>{const x=_?.current;x===null||E===""||!m||(x.src=E,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const w=p?.current;if(!w)return;const D=w.getContext("2d"),S=window?.innerWidth/2,C=O(x.videoWidth,x.videoHeight,S);w.height=C,w.width=S,D?.drawImage(x,0,0,w.width,w.height),f(w.toDataURL()),x.remove(),w.remove()})},[E,m]);const I=()=>{l(),r?.(n),setTimeout(()=>{var x;(x=a?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),u?.(!1)},0)};return o.createElement("div",{ref:T,className:"list-content-listItem",key:i,onClick:I,style:{marginBottom:d}},o.createElement("div",{className:"list-content-listItem-picture"},m&&o.createElement("div",{style:{display:"none"}},o.createElement("video",{ref:_,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),o.createElement("canvas",{ref:p})),o.createElement(Ne,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),o.createElement("div",{className:"list-content-listItem-info"},o.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`,style:s?.title},k&&k),o.createElement("div",{className:"list-content-listItem-info-price",style:s?.price,hidden:!h},h)))};function Js(t){var e,i,n,l,s,d,a,r,u,c,v,m,y,b,T,{reportTagsView:_,showBanner:p}=t,g=ke(t,["reportTagsView","showBanner"]);const{waterFallData:f,getRecommendVideos:E,hashTagSize:k,loadingImage:h,isOpenHashTag:O}=fe(),[I,x]=o.useState(),[w,D]=o.useState(),[S,C]=o.useState(!1),P=o.useRef(null),[M,N]=o.useState(!1);o.useCallback(()=>{M||(N(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType}).then(F=>{var j;x(I?.concat((j=F?.recList)!==null&&j!==void 0?j:[])),N(!1)}))},[f,E,I,M]),o.useEffect(()=>{var F,j;if(C(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType,defaultSize:k,maxSize:k}).then(R=>{var L,z;D(R),x((z=(L=R?.recList)===null||L===void 0?void 0:L.filter(B=>B?.video!==null||B?.product!==null))!==null&&z!==void 0?z:[]),C(!1)}),O){const R=fn;D(R),x((j=(F=R?.recList)===null||F===void 0?void 0:F.filter(L=>L?.video!==null||L?.product!==null))!==null&&j!==void 0?j:[]),C(!1)}},[f,E,k,O]);const V=()=>{var F,j;!((F=w?.tag)===null||F===void 0)&&F.link&&(_(),window.location.href=(j=w?.tag)===null||j===void 0?void 0:j.link)};return o.createElement(o.Fragment,null,S?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:h,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"list"},o.createElement("div",{className:"list-scroll",ref:P},p&&((e=w?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:V},o.createElement(Ne,{className:Z.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=w?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"list-info",style:(n=g?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(l=w?.tag)===null||l===void 0?void 0:l.info),o.createElement("div",{hidden:!(!((s=w?.tag)===null||s===void 0)&&s.link),className:"list-collection",onClick:V,style:Object.assign(Object.assign({},(d=g?.textStyles)===null||d===void 0?void 0:d.hashTagLink),{marginBottom:g?.space})},((a=w?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"),o.createElement("div",{className:"list-content"},I?.map((F,j)=>o.createElement(Xs,Object.assign({key:j,index:j,rec:F,list:I,reportTagsView:_},g)))),o.createElement("div",{hidden:!M,style:{textAlign:"center"}},"loading..."),o.createElement("div",{hidden:!(!((r=w?.tag)===null||r===void 0)&&r.link),style:{height:!((u=w?.tag)===null||u===void 0)&&u.link?((c=g?.buttonBgStyle)===null||c===void 0?void 0:c.height)||((v=g?.buttonStyle)===null||v===void 0?void 0:v.height)||"100px":0}})),o.createElement("div",{className:"list-bottom",hidden:!(!((m=w?.tag)===null||m===void 0)&&m.link),style:g?.buttonBgStyle}),o.createElement("div",{hidden:!(!((y=w?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((b=w?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection",className:"list-btn",style:g?.buttonStyle,onClick:V},((T=w?.tag)===null||T===void 0?void 0:T.linkTitle)||"Shop the collection"))))}const Ks=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:l,swiperRef:s,setWaterFallData:d,cacheRtcList:a,setRtcList:r,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:m,isFromHashtag:y,bffEventReport:b,themeTag:T,selectTag:_}=fe(),{backMainFeed:p}=Re();o.useRef(null);const g=o.useRef(null),[f,E]=o.useState();o.useEffect(()=>{const x=document.getElementById("sxp-render"),w=document.getElementById("water-fall");w?g.current=w:(g.current=document.createElement("div"),g.current.setAttribute("id","water-fall"),x?.appendChild(g.current))},[]);const k=()=>{const x=Te.isEqual(c,a);!x&&a&&a?.length&&r?.(a),p("branch",_,void 0,i?.hashTag),I(),d?.(void 0),m?.(!1),setTimeout(()=>{var w,D;x||(D=(w=s?.current)===null||w===void 0?void 0:w.swiper)===null||D===void 0||D.slideTo(u,0,!1),n?.(!1)},0)},[h,O]=o.useState();o.useEffect(()=>{i&&O(i)},[i]);const I=o.useCallback(()=>{var x,w,D,S,C,P;const M=h?.rec;if(!M)return;let N="";y?N="hashTagPage":!((x=M?.video)===null||x===void 0)&&x.url?N="videoPage":!((D=(w=M?.video)===null||w===void 0?void 0:w.imgUrls)===null||D===void 0)&&D.length&&(N="imagePage"),b?.({eventInfo:{contentId:(S=M?.video)===null||S===void 0?void 0:S.itemId,position:u+"",contentTags:JSON.stringify((C=M?.video)===null||C===void 0?void 0:C.tags),traceInfo:(P=M?.video)===null||P===void 0?void 0:P.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:N,fromKPage:location?.href,timeOnSite:Math.floor((new Date-f)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,b,f,y,u]);return o.useEffect(()=>{l&&E(new Date)},[l]),o.useEffect(()=>{const x=()=>{E(new Date)};return window.addEventListener("pageshow",x),()=>{window.removeEventListener("pageshow",x)}},[]),g.current?_i.createPortal(o.createElement("div",{className:"waterfall",style:{display:l?"block":"none"}},o.createElement(vn,{icon:qs,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:k}),t?.openFixedSize===!0||t?.openFixedSize===void 0?o.createElement(Js,Object.assign({reportTagsView:I},t)):o.createElement(Ys,Object.assign({reportTagsView:I},t))),g.current):null};var mn=o.memo(Ks);const Qs=t=>o.createElement(mn,Object.assign({},t));var Zs=o.memo(Qs);const ea=ze(Zs,{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 ta=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const hn=t=>o.createElement(hn,Object.assign({},t));var ia=o.memo(hn);const na=ze(ia,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:ta},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Ei=Object.freeze({__proto__:null,Appoint:ls,AppointForm:Zn,Commodity:ts,CommodityDetail:zl,CommodityDetailDiroNew:Xl,CommodityDiro:fs,CommodityDiroNew:ys,Consent:na,HashTag:ea,Link:ds,MultiCommodity:Ps,MultiCommodityDiro:Is,MultiCommodityDiroNew:Ns,Prompt:$l});const oa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",la="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sa=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:l,position:s}=t,d=ke(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:a,mutateUnlike:r,bffEventReport:u}=fe(),[c,v]=o.useState(e),m=Ge(la),y=Ge(oa),b=Te.debounce(()=>Le(void 0,void 0,void 0,function*(){var T,_,p,g,f,E,k,h,O,I,x,w,D,S,C,P,M,N,V,F;if(c){v(!1);const j=(p=yield r?.({videoItemId:(_=(T=l?.video)===null||T===void 0?void 0:T.itemId)!==null&&_!==void 0?_:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(f=(g=l?.video)===null||g===void 0?void 0:g.itemId)!==null&&f!==void 0?f:"",contentName:(k=(E=l?.video)===null||E===void 0?void 0:E.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((O=(h=l?.video)===null||h===void 0?void 0:h.tags)!==null&&O!==void 0?O:[]),position:s+"",contentFormat:!((I=l?.video)===null||I===void 0)&&I.url?"video":"image",traceInfo:(x=l?.video)===null||x===void 0?void 0:x.traceInfo}}),j||v(!0)}else{v(!0);const j=(w=yield a?.({content:JSON.stringify(l)}))!==null&&w!==void 0?w:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(S=(D=l?.video)===null||D===void 0?void 0:D.itemId)!==null&&S!==void 0?S:"",contentName:(P=(C=l?.video)===null||C===void 0?void 0:C.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((N=(M=l?.video)===null||M===void 0?void 0:M.tags)!==null&&N!==void 0?N:[]),position:s+"",contentFormat:!((V=l?.video)===null||V===void 0)&&V.url?"video":"image",traceInfo:(F=l?.video)===null||F===void 0?void 0:F.traceInfo}}),j||v(!1)}}),200);return o.createElement("button",Object.assign({},d,{"aria-label":"like",onClick:b}),o.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||y,alt:"icon"}))};var gn=o.memo(sa);const aa=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:s,videoPostConfig:d,videoRef:a})=>{const[r,u]=o.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:m,openHashtag:y,bffFbReport:b}=fe(),T=o.useRef(0),[_,p]=o.useState(!1),[g,f]=o.useState(!0),{isActive:E}=cn(),k=o.useRef(null),[h,O]=o.useState(""),I=`pb-cache-video-${e}`,x=o.useRef(null),w=o.useMemo(()=>d?.mode==="2",[d]),D=o.useMemo(()=>{var G;return d?.mode==="2"?`translateY(-${50+((G=d?.offsetTop)!==null&&G!==void 0?G:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[d]),S=o.useMemo(()=>{var G;return((G=t?.video)===null||G===void 0?void 0:G.cover)||h},[h,t]),C=o.useMemo(()=>w?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[w]),P=o.useMemo(()=>d?.bgWay==="1",[d]),M=o.useMemo(()=>P&&d?.bgColor?{backgroundColor:d?.bgColor}:{},[d,P]);o.useEffect(()=>{a&&a?.muted(l)},[l,a]);const N=o.useCallback(()=>{a&&a?.play()},[a]),V=Ge("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=o.useCallback(()=>{var G,H,ee,ce,ve,W,Y,q,K;if(!a)return;p(!0),u(!1);const X=n[e];if(X&&a?.duration()){T.current=a?.currentTime()||0;const ye=((G=a?.duration())!==null&&G!==void 0?G:0).toFixed(2),te=((H=a?.currentTime())!==null&&H!==void 0?H:0).toFixed(2),Ce=g?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ce=(ee=X?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&ce!==void 0?ce:"",contentName:(W=(ve=X?.video)===null||ve===void 0?void 0:ve.title)!==null&&W!==void 0?W:"",playType:Ce,startTime:te,videoDuration:ye,contentTags:JSON.stringify((q=(Y=X?.video)===null||Y===void 0?void 0:Y.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(K=X?.video)===null||K===void 0?void 0:K.traceInfo}}),f(!1)}},[c,n,e,g,a]),j=o.useCallback(()=>{var G;if(!a||h||!w)return;const H=document.getElementById("player-container-id_html5_api");if(!H||(H.style.objectFit="contain",!((G=t?.video)===null||G===void 0)&&G.cover||!k||!k.current||P))return;const ee=()=>{const ce=H,ve=k?.current,W=ve.getContext("2d"),Y=window?.innerWidth,q=window?.innerHeight;ve.height=q,ve.width=Y,W?.drawImage(ce,0,0,ve.width,ve.height),O(ve.toDataURL())};ee(),setTimeout(()=>{ee()},500)},[a,P,t,h,w]),R=o.useCallback(()=>{a&&j()},[a,j]);o.useCallback(()=>{p(!0)},[]);const L=o.useCallback(G=>()=>{if(!a||!_)return;const H=a?.paused();switch(G){case"start":if(!H)return;a?.play(),u(!1);break;case"pause":if(H)return;a?.pause(),u(!0);break;default:H?a?.play():a?.pause(),u(!H);break}},[_,a]),z=o.useCallback(()=>{var G,H,ee,ce,ve,W,Y,q,K;if(!a||s!==e)return;const X=n[e],ye=((G=a?.duration())!==null&&G!==void 0?G:0).toFixed(2),te=((H=a?.currentTime())!==null&&H!==void 0?H:0).toFixed(2);if(a?.duration()){const Ce=(a?.currentTime()-T.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ce=(ee=X?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&ce!==void 0?ce:"",contentName:(W=(ve=X?.video)===null||ve===void 0?void 0:ve.title)!==null&&W!==void 0?W:"",endTime:te,videoDuration:ye,playDuration:Ce,contentTags:JSON.stringify((q=(Y=X?.video)===null||Y===void 0?void 0:Y.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(K=X?.video)===null||K===void 0?void 0:K.traceInfo}})}},[n,e,c,a,s]);o.useEffect(()=>{if(!E||!a)return;const G=t?.video.url;if(!G)return;a?.src(G),u(!1);const H=document.querySelector(`#${I}`),ee=document.querySelector("#player-container-id"),ce=document.querySelector("#player-container-id-copy");if(!(!ee&&!ce))return H?.appendChild(ee||ce),a?.on("loadedmetadata",R),a?.on("loadeddata",j),a?.on("playing",F),a?.on("pause",z),a?.on("ended",N),()=>{ce?.appendChild(ee),a?.off("loadedmetadata",R),a?.off("loadeddata",j),a?.off("playing",F),a?.off("pause",z),a?.off("ended",N)}},[E,I,t,a]),o.useEffect(()=>{!a||!_||(E?(b?.({eventName:"ViewContent"}),a?.play()):a?.pause())},[E,_,a]),o.useEffect(()=>{if(!E||!a)return;!a?.paused()&&y?a?.pause():y||a?.play()},[y,E,a]),o.useEffect(()=>{if(!E)return;const G=()=>{L("start")(),b?.({eventName:"ViewContent"})},H=L("pause");return tt.on(qe.PAGE_DID_SHOW,G),tt.on(qe.PAGE_DID_HIDE,H),()=>{tt.off(qe.PAGE_DID_SHOW,G),tt.off(qe.PAGE_DID_HIDE,H)}},[L,E]);const B=o.useMemo(()=>!v?.placeholder_image||_?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image,alt:"placeholder image"}),[_,v?.placeholder_image]);return o.useEffect(()=>{if(!a)return;const G=()=>{var H;s===e&&(!((H=t?.video)===null||H===void 0)&&H.url)&&a&&!r&&L("pause")()};return window.addEventListener("beforeunload",G),()=>{window.removeEventListener("beforeunload",G)}},[s,e,t,a,L,r]),t?.video?o.createElement(o.Fragment,null,w?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},M)},!P&&o.createElement(Ne,{src:S,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},C)}),o.createElement("canvas",{ref:k,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},o.createElement("div",{className:"n-full-screen",ref:x,id:I,style:{width:"100%",height:"100%"}}),o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",alt:"pause",src:V}))),B):o.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},o.createElement("div",{className:"n-full-screen",ref:x,id:I,style:{width:"100%",height:"100%"}}),B,o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:V,alt:"pause"}))):null};var ra=o.memo(aa);const da=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:l})=>{const[s,d]=o.useState(t),a=r=>{r.stopPropagation();const u=!s;d(u),n?.(u)};return o.createElement("button",{style:l,"aria-label":"toggle button",className:"pb-toggle-button",onClick:a},o.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:s?e:i}))};var bn=o.memo(da);const ca=({imageUrl:t,style:e})=>{const[i,n]=o.useState(!0);et(),o.useEffect(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const l=Ge("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),s=o.useMemo(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return o.createElement("div",{hidden:!i,className:`pb-finger-wrap ${s}`,style:e},o.createElement("img",{src:t||l,alt:"finger swiper"}))},yn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:l}=t,s=o.useMemo(()=>n?.mode==="2",[n]),d=o.useMemo(()=>{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=o.useMemo(()=>s?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[s]),r=o.useMemo(()=>n?.bgWay==="1",[n]),u=o.useMemo(()=>r&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,r]);return o.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},u)},(!s||!r)&&o.createElement(Ne,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a),onLoad:l}),s&&o.createElement(Ne,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:d,left:0,right:0}}))},ua=({imgUrls:t,width:e,height:i,rec:n,index:l,onReportViewImageEnd:s,onViewImageStartEvent:d,imgUrlsPostConfig:a})=>{var r;const u=o.useRef(),{isActive:c}=cn(),{sxpParameter:v,openHashtag:m}=fe(),[y,b]=o.useState(!1);o.useEffect(()=>{y&&c?(u?.current&&u.current.swiper.autoplay.start(),m?s(n):d(l)):u?.current&&u.current.swiper.autoplay.stop()},[n,c,s,m,l,d,y]);const T=o.useCallback(()=>{y||b(!0)},[y]);return o.createElement(ht,{ref:u,defaultValue:0,direction:"horizontal",modules:[jt,Nt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((r=a?.delay)!==null&&r!==void 0?r:3)*1e3}},t?.map((_,p)=>o.createElement(Qe,{key:p},o.createElement(yn,{src:!y&&p>0?"":_,height:i,imgUrlsPostConfig:a,onShowFirstImage:T}))))};var pa=o.memo(ua);const va=({tags:t,itemId:e,itemType:i,index:n,rec:l,hashTagStyle:s})=>{const[d,a]=o.useState(!1),{setWaterFallData:r,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:m}=fe(),y=b=>{v?m?.(!0):c?.(n),r?.(i?{hashTag:b,itemId:e,itemType:i,rec:l}:{hashTag:b,rec:l}),u?.(!0)};return o.useMemo(()=>t.length<=6?null:o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>a(!d)},d?"show less":"show more"),[d,t]),o.createElement("div",{className:"clc-sxp-bottom-hashtag"},o.createElement(Vt,null,t?.map((b,T)=>o.createElement(Qe,{key:T,hidden:d?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:s,onClick:()=>y(b)},`#${b}`))))};var wn=o.memo(va),fa="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 Ht(t){return o.memo(function(e){const{$store:i}=zn(),n=s=>{let d=s;const a=s.match(/{{.*?}}/g);return a?.length&&a.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=Te.get(i,c);return d=d.replace(r,v),v}})}),d},l=o.useMemo(()=>{var s,d,a;const{bindDatas:r}=e,u=ke(e,["bindDatas"]);if((s=r?.forEach)===null||s===void 0||s.call(r,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(y,b)=>{var T,_;if(b){const p=(_=(T=Te.get(i,b))!==null&&T!==void 0?T:e[v])!==null&&_!==void 0?_:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=Te.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((a=(d=u?.event)===null||d===void 0?void 0:d.onClick)===null||a===void 0)&&a.linkType&&(u.style.cursor="pointer"),u},[i,e]);return o.createElement(t,Object.assign({},l,l.eventMap))})}const ma=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:l}=et(),s=o.useMemo(()=>{var d,a,r,u,c,v,m,y,b,T,_,p,g,f,E,k,h,O,I,x,w,D,S,C,P,M,N,V,F,j,R;if(!t?.video)return null;let L=null;!((a=(d=t?.video)===null||d===void 0?void 0:d.bindProducts)===null||a===void 0)&&a.length?L="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?L="\u5546\u54C1CTA":L=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const z=i?.[L];if(((v=z?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((y=z?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((T=z?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((_=t?.video)===null||_===void 0)&&_.bindProduct)||((p=z?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((f=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||f===void 0)&&f.length)||((E=z?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiro"&&!(!((h=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||h===void 0)&&h.length)||((O=z?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((x=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||x===void 0)&&x.length))return null;if(z&&n){const B=n[(w=z?.item)===null||w===void 0?void 0:w.type],G=Ht(B),H=(D=B?.extend)===null||D===void 0?void 0:D.defaulSetting,ee=((P=(C=(S=z?.item)===null||S===void 0?void 0:S.event)===null||C===void 0?void 0:C.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return o.createElement(G,Object.assign({style:Object.assign(Object.assign(Object.assign({},H?.style),(M=z?.item)===null||M===void 0?void 0:M.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},H?.textStyle),(N=z?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(F=(V=z?.item)===null||V===void 0?void 0:V.bindDatas)!==null&&F!==void 0?F:[]},H?.props,(j=z?.item)===null||j===void 0?void 0:j.props,{event:((R=z?.item)===null||R===void 0?void 0:R.event)||{},schema:l,id:z?.id,key:z?.id,recData:t,isExternalLink:ee,index:e}))}else return null},[t,n,i,l]);return o.createElement(o.Fragment,null,s)};var Sn=o.memo(ma);const Tn=({nudge:t})=>{var e,i,n,l,s,d,a;return o.createElement(o.Fragment,null,t?.isOpen&&o.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:(s=(l=t?.size)===null||l===void 0?void 0:l.height)!==null&&s!==void 0?s:38,backgroundColor:t?.backgroundColor,borderRadius:(d=t?.borderRadius)!==null&&d!==void 0?d:4}},t?.icon?o.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,o.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(a=t?.content)!==null&&a!==void 0?a:"")))},ha=({tagList:t=[],setActiveIndex:e})=>{const{getRecommendVideos:i,setRtcList:n,setCacheRtcList:l,setCacheActiveIndex:s,setLoading:d,swiperRef:a,waterFallData:r,bffEventReport:u,selectTag:c,setSelectTag:v}=fe(),{backMainFeed:m}=Re(),y=o.useMemo(()=>[Dt,...t],[t]),b=T=>()=>{if(T===c)return;T!=="FOR U"?u?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${T}']`}}):m("theme",T,c);let _;T!==Dt&&(_=T),d?.(!0),i?.({themeTag:_}).then(p=>{var g,f,E,k;tt.emit(qe.CHANGE_THEME_TAG,_),n?.((g=p?.recList)!==null&&g!==void 0?g:[]),l?.((f=p?.recList)!==null&&f!==void 0?f:[]),e?.(0),s?.(0),(k=(E=a?.current)===null||E===void 0?void 0:E.swiper)===null||k===void 0||k.slideTo(0)}).finally(()=>{d?.(!1)}),v?.(T)};return r||t.length<=0?null:o.createElement("div",{className:"clc-sxp-tagbar"},o.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},y.map(T=>o.createElement("li",{className:`clc-sxp-tagbar-list-item ${T===c?"clc-sxp-tagbar-list-item-active":""}`,key:T,onClick:b(T)},T))))};var xn=o.memo(ha);const ga=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:l,privacy_policy_title:s})=>{const{setIsAgreePolicy:d,bffEventReport:a}=fe(),r=o.useMemo(()=>{const v=location.search.slice(1),m=Gt.parse(v.replace(/\+/g,"%2B"));for(const y in m)m[y]=m[y].replace(/%2B/g,"+");return m},[]),u=v=>{var m;return(m=r[v])!==null&&m!==void 0?m:null};o.useEffect(()=>{a?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:u("utm_source"),utmMedium:u("utm_medium"),utmCampaign:u("utm_campaign"),utmId:u("utm_id"),utmContent:u("utm_content"),clSource:u("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const c=()=>{a?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),d?.(!0),window.localStorage.setItem(Li,"yes")};return o.createElement("div",{className:"consent-bg"},o.createElement("div",{className:"consent"},o.createElement("div",{className:"consent-col"},o.createElement("div",{className:"consent-title"},i??"Privacy Policy"),o.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),o.createElement("div",{className:"consent-col"},o.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:c},"Agree"),o.createElement("a",{className:"consent-policy",target:"_blank",href:l?`https://${l}`:void 0},s??"More information"))))};var ba=o.memo(ga);const En=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:l,resolver:s,data:d=[],ctaType:a,tipText:r,nudge:u,_schema:c,hashTagStyle:v,tagList:m=[],licenseUrl:y})=>{var b,T,_,p,g,f,E,k,h,O,I,x,w;const{schema:D}=et(),[S,C]=o.useState(0),P=o.useRef(0),[M,N]=o.useState(!1),[V,F]=o.useState(!0),j=o.useRef(),[R,L]=o.useState(!1),[z,B]=o.useState(!1),{loadVideos:G,bffEventReport:H,loading:ee,setPopupDetailData:ce,ctaEvent:ve,swiperRef:W,waterFallData:Y,setOpenHashtag:q,appDomain:K,openHashtag:X,loadingImage:ye,isFromHashtag:te,popupDetailData:Ce,bffFbReport:De,curTime:Ie,h5EnterLink:le,isShowConsent:re,selectTag:me}=fe(),{backMainFeed:ne}=Re(),[Pe,He]=o.useState(null),Ye=o.useRef(),{productView:dt}=Re(),U=o.useMemo(()=>d.length>0&&!ee&&Un(),[d,ee]),$=o.useCallback(()=>{if(d.length<=0)return;Vn();const A=new Date;j.current=A,M&&le?.(),De?.({eventName:"PageView"}),N(!0)},[d.length,De,le,M]),ie=o.useRef();o.useEffect(()=>{var A,oe,J,se;if(!ie.current&&!Pe&&Ye?.current&&d?.length>0){ie.current=!0;const pe=TCPlayer("player-container-id",{licenseUrl:y,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:!((oe=(A=d?.[0])===null||A===void 0?void 0:A.video)===null||oe===void 0)&&oe.url?[{src:(se=(J=d?.[0])===null||J===void 0?void 0:J.video)===null||se===void 0?void 0:se.url}]:[]});pe?.ready(()=>{He(pe)})}},[Pe,y,d]),o.useEffect(()=>{M||$()},[$,M]),o.useEffect(()=>{var A;const oe=d?.findIndex(J=>{var se,pe,he,Q,ae,Se,Oe,Me,we;return a==="\u591A\u5546\u54C1CTA"?((se=J?.video)===null||se===void 0?void 0:se.bindProducts)&&((he=(pe=J?.video)===null||pe===void 0?void 0:pe.bindProducts)===null||he===void 0?void 0:he.length)>0:a==="\u5546\u54C1CTA"?(Q=J?.video)===null||Q===void 0?void 0:Q.bindProduct:((Se=(ae=J?.video)===null||ae===void 0?void 0:ae.bindCta)===null||Se===void 0?void 0:Se.itemId)===a&&(((Oe=J?.video)===null||Oe===void 0?void 0:Oe.url)||((we=(Me=J?.video)===null||Me===void 0?void 0:Me.imgUrls)===null||we===void 0?void 0:we.length))})||0;(A=W?.current)===null||A===void 0||A.swiper.slideTo(oe)},[a,W]),o.useEffect(()=>{const A=d?.[S],oe=()=>{var J,se,pe,he,Q,ae,Se,Oe,Me,we,_e,ut,pt,vt,st,Et;const Ue=!X&&!re;if(document.visibilityState==="hidden"){Ue&&(tt.emit(qe.PAGE_DID_HIDE,A),ot(A),ct(A));let ft="";Ce&&(!((se=(J=A?.video)===null||J===void 0?void 0:J.bindProducts)===null||se===void 0)&&se.length||!((pe=A?.video)===null||pe===void 0)&&pe.bindProduct)?ft="pdpPage":Ce&&((Se=l?.[(ae=(Q=(he=A?.video)===null||he===void 0?void 0:he.bindCta)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:""].item)===null||Se===void 0?void 0:Se.type)==="Appoint"?ft="formPage":te?ft="hashTagPage":!((Oe=A?.video)===null||Oe===void 0)&&Oe.url?ft="videoPage":!((Me=A?.video)===null||Me===void 0)&&Me.imgUrls&&(!((_e=(we=A?.video)===null||we===void 0?void 0:we.imgUrls)===null||_e===void 0)&&_e.length)?ft="imagePage":A?.product&&(ft="productPage"),H?.({eventInfo:{sessionDuration:Math.floor((new Date-Ie.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(ut=A?.video)===null||ut===void 0?void 0:ut.itemId,productId:(pt=A?.product)===null||pt===void 0?void 0:pt.itemId,position:S+"",fromKName:ft,fromKPage:location?.href,ctatId:(Et=(st=(vt=A?.video)===null||vt===void 0?void 0:vt.bindCta)===null||st===void 0?void 0:st.itemId)!==null&&Et!==void 0?Et:""}})}else document.visibilityState==="visible"&&($(),Ue&&(gt(S),tt.emit(qe.PAGE_DID_SHOW,A),ne("external",me)))};return document.addEventListener("visibilitychange",oe),()=>{document.removeEventListener("visibilitychange",oe)}},[S,H,d,$,Ce,te,l,Ie,ne,X,re,me]);const ge=o.useMemo(()=>{let A=0;return m.length>0&&(A+=45,Y&&(A-=45)),A},[m,Y]),ue=o.useMemo(()=>{let A=0;return t?.logoUrl&&t?.isShowLogo&&(A+=45),i-A-ge},[t,i,ge]),xe=o.useMemo(()=>t?.logoUrl&&t?.isShowLogo?o.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},o.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),be=o.useCallback((A,oe)=>{var J,se,pe,he;return!((J=A?.video)===null||J===void 0)&&J.url?o.createElement(ra,{rec:A,index:oe,muted:V,data:d,height:ue,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:Pe}):!((se=A?.video)===null||se===void 0)&&se.imgUrls?o.createElement(pa,{key:A?.video.itemId,imgUrls:A?.video.imgUrls,width:n,height:ue,rec:A,index:oe,onReportViewImageEnd:ot,onViewImageStartEvent:gt,imgUrlsPostConfig:t?.imgUrlsPost}):A.product&&Array.isArray(t?.productPost)&&((pe=t?.productPost)===null||pe===void 0?void 0:pe.length)>0?(he=t?.productPost)===null||he===void 0?void 0:he.map((Q,ae)=>{var Se,Oe,Me,we,_e,ut,pt,vt;const st=s[(Se=Q?.item)===null||Se===void 0?void 0:Se.type],Et=Ht(st),Ue=(Oe=st?.extend)===null||Oe===void 0?void 0:Oe.defaulSetting;return o.createElement(Et,Object.assign({key:`${oe}${ae}`,textStyle:Object.assign(Object.assign({},Ue?.textStyle),(Me=Q?.item)===null||Me===void 0?void 0:Me.textStyle),bindDatas:(_e=(we=Q?.item)===null||we===void 0?void 0:we.bindDatas)!==null&&_e!==void 0?_e:[]},Ue?.props,(ut=Q?.item)===null||ut===void 0?void 0:ut.props,{event:((pt=Q?.item)===null||pt===void 0?void 0:pt.event)||{},schema:D,id:Q?.id,viewTime:j.current,rec:A,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},Ue?.style),(vt=Q?.item)===null||vt===void 0?void 0:vt.style),{height:"100%",overflow:"auto"}),index:oe}))}):null},[n,d,ue,V,S,t?.productPost,j,r,s,D,Pe]),Ee=o.useCallback(A=>{B(A)},[]),Ze=o.useMemo(()=>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]),nt=o.useCallback((A,oe)=>{var J,se,pe,he,Q,ae,Se;return A?.video?o.createElement(o.Fragment,null,((J=A?.video)===null||J===void 0?void 0:J.title)&&!z&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(Tn,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(Sn,{rec:A,index:oe,tempMap:l,resolver:s})):null,o.createElement("div",null,o.createElement(Ft,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(pe=(se=A?.video)===null||se===void 0?void 0:se.title)!==null&&pe!==void 0?pe:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:Ee}),o.createElement(wn,{index:S,tags:(Q=(he=A?.video)===null||he===void 0?void 0:he.hashTags)!==null&&Q!==void 0?Q:[],itemId:(ae=A?.video)===null||ae===void 0?void 0:ae.itemId,itemType:!((Se=A?.video)===null||Se===void 0)&&Se.itemId?"VIDEO":null,rec:A,hashTagStyle:v})))):null},[e,S,l,s,r,u,v,t,Ee,z,Ze]),Tt=o.useCallback((A,oe)=>{var J,se,pe,he;if(!t?.isShowLike)return;let Q=(J=t?.likeIconY)!==null&&J!==void 0?J:400;return Y&&Q<40&&(Q+=40),A?.video?o.createElement(gn,{key:A.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:A.isCollected,recData:A,className:"clc-sxp-like-button",style:{[(se=t.likeIconXPosit)!==null&&se!==void 0?se:"right"]:(pe=t.likeIconX)!==null&&pe!==void 0?pe:0,[(he=t.likeIconYPosit)!==null&&he!==void 0?he:"bottom"]:Q},position:oe}):null},[t,Y]),ot=A=>{var oe,J,se,pe,he,Q;if(!(!((oe=A?.video)===null||oe===void 0)&&oe.url)&&(!((J=A?.video)===null||J===void 0)&&J.imgUrls)){const ae=Date.now(),Se=(ae-P.current)/1e3;H?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(pe=(se=A?.video)===null||se===void 0?void 0:se.itemId)!==null&&pe!==void 0?pe:"",contentName:(he=A?.video.title)!==null&&he!==void 0?he:"",imageEndTime:`${ae}`,playDuration:`${Se}`,contentTags:JSON.stringify((Q=A?.video.tags)!==null&&Q!==void 0?Q:[]),position:S+"",contentFormat:"image",traceInfo:A?.video.traceInfo}})}},xt=A=>{var oe,J,se,pe,he,Q,ae,Se,Oe,Me;j.current=new Date;const we=d[A.previousIndex];if(!we)return;A.previousIndex-A.activeIndex<0?(H?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(J=(oe=we?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&J!==void 0?J:"",productId:(pe=(se=we?.product)===null||se===void 0?void 0:se.itemId)!==null&&pe!==void 0?pe:"",requestId:null}}),ot(we)):(H?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(Q=(he=we?.video)===null||he===void 0?void 0:he.itemId)!==null&&Q!==void 0?Q:"",productId:(Se=(ae=we.product)===null||ae===void 0?void 0:ae.itemId)!==null&&Se!==void 0?Se:"",requestId:null}}),ot(we)),ct(we);const _e=d[A.activeIndex];!(!((Oe=_e?.video)===null||Oe===void 0)&&Oe.url)&&!(!((Me=_e?.video)===null||Me===void 0)&&Me.imgUrls)&&_e?.product&&De?.({eventName:"ProductView"})},ct=A=>{var oe,J,se;!(!((oe=A?.video)===null||oe===void 0)&&oe.url)&&!(!((J=A?.video)===null||J===void 0)&&J.imgUrls)&&A?.product&&dt(A,A.product,(se=A?.product)===null||se===void 0?void 0:se.bindCta,j.current,S)};o.useEffect(()=>{const A=d[S];X&&ct(A)},[X,d,S]);const gt=A=>{var oe,J,se,pe,he,Q;const ae=d[A];if(!(!((oe=ae?.video)===null||oe===void 0)&&oe.url)&&(!((J=ae?.video)===null||J===void 0)&&J.imgUrls)){const Se=Date.now();P.current=Se,H?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(pe=(se=ae?.video)===null||se===void 0?void 0:se.itemId)!==null&&pe!==void 0?pe:"",contentName:(he=ae?.video.title)!==null&&he!==void 0?he:"",imageStartTime:`${Se}`,contentTags:JSON.stringify((Q=ae?.video.tags)!==null&&Q!==void 0?Q:[]),position:A+"",contentFormat:"image",traceInfo:ae?.video.traceInfo}}),De?.({eventName:"ViewContent"})}},lt=o.useMemo(()=>{const A=d?.map((oe,J)=>S===J||J-1===S||J+1===S?oe:null);return Y?A:A.concat([{loading:!0}])},[d,S,Y]),Be=o.useMemo(()=>ee?o.createElement("div",{style:{height:ue,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:ye,alt:"loading...",style:{objectFit:"contain"}})):lt?.map((A,oe)=>o.createElement(Qe,{key:oe,virtualIndex:oe},A&&o.createElement(o.Fragment,null,A?.loading?o.createElement("div",{style:{height:ue,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:ye,alt:"loading...",style:{objectFit:"contain"}})):o.createElement(o.Fragment,null,be(A,oe),nt(A,oe),Tt(A,oe))))),[n,d,ue,ee,nt,be,lt,ye]),Ut=Ge("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),bt=Ge("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return o.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},re?o.createElement(ba,Object.assign({},(_=(T=(b=t?.consent)===null||b===void 0?void 0:b[0])===null||T===void 0?void 0:T.item)===null||_===void 0?void 0:_.props)):o.createElement(o.Fragment,null,Y&&o.createElement(vn,{icon:fa,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{q?.(!0)}}),xe,o.createElement(xn,{tagList:m,setActiveIndex:C}),U?o.createElement(ca,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((p=t?.swipeTipOffset)!==null&&p!==void 0?p:0)}%`}}):null,o.createElement(ht,{style:{marginTop:ge},ref:W,onSlideChange:()=>{W.current.swiper.allowTouchMove=!1,setTimeout(()=>{W.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:A=>{C(A.activeIndex),!X&&(xt(A),!Y&&A?.activeIndex+2>=d?.length&&(R||(L(!0),G?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:ue},o.createElement(bn,{style:{position:"fixed",visibility:!((f=(g=d?.[S])===null||g===void 0?void 0:g.video)===null||f===void 0)&&f.url?"visible":"hidden",zIndex:999,[(E=t?.muteIconXPosit)!==null&&E!==void 0?E:"right"]:(k=t?.muteIconX)!==null&&k!==void 0?k:0,[(h=t?.muteIconYPosit)!==null&&h!==void 0?h:"bottom"]:(O=t?.muteIconY)!==null&&O!==void 0?O:23},defaultValue:V,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Ut,unactiveIcon:t?.muteIcon?t?.muteIcon:bt,onChange:F}),Be)),o.createElement(mn,Object.assign({},(w=(x=(I=t?.hashTag)===null||I===void 0?void 0:I[0])===null||x===void 0?void 0:x.item)===null||w===void 0?void 0:w.props)),o.createElement("div",{style:{position:"absolute",zIndex:-100}},o.createElement("video",{ref:Ye,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),o.createElement("div",{id:"player-container-id-copy"})))},ya=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:l,index:s})=>o.createElement(ht,{defaultValue:0,direction:"horizontal",modules:[jt,Nt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(d=>o.createElement(Qe,{key:d},o.createElement(yn,{src:d,height:i,imgUrlsPostConfig:n}))));var wa=o.memo(ya);const Sa=({rec:t,index:e,height:i,data:n,muted:l,activeIndex:s,videoPostConfig:d,width:a})=>{const[r,u]=o.useState(!1),c=o.useRef(null),{bffEventReport:v,sxpParameter:m,waterFallData:y,openHashtag:b}=fe(),T=o.useRef(0),[_,p]=o.useState(!1),[g,f]=o.useState(!0),E=o.useRef(null),[k,h]=o.useState("");o.useEffect(()=>{c.current&&(c.current.muted=l)},[l]);const O=o.useCallback(()=>{var j;(j=c.current)===null||j===void 0||j.play()},[]),I=Ge("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=o.useCallback(()=>{var j,R,L,z,B,G,H,ee,ce,ve,W,Y,q;u(!1);const K=n[e];if(K&&(!((j=c?.current)===null||j===void 0)&&j.duration)){T.current=((R=c?.current)===null||R===void 0?void 0:R.currentTime)||0;const X=((z=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&z!==void 0?z:0).toFixed(2),ye=((G=(B=c.current)===null||B===void 0?void 0:B.currentTime)!==null&&G!==void 0?G:0).toFixed(2),te=g?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ee=(H=K?.video)===null||H===void 0?void 0:H.itemId)!==null&&ee!==void 0?ee:"",contentName:(ve=(ce=K?.video)===null||ce===void 0?void 0:ce.title)!==null&&ve!==void 0?ve:"",playType:te,startTime:ye,videoDuration:X,contentTags:JSON.stringify((Y=(W=K?.video)===null||W===void 0?void 0:W.tags)!==null&&Y!==void 0?Y:[]),position:e+"",contentFormat:"video",traceInfo:(q=K?.video)===null||q===void 0?void 0:q.traceInfo}}),f(!1)}},[v,n,e,g]),w=o.useCallback(()=>{p(!0)},[]),D=o.useCallback(j=>()=>{var R,L,z,B,G;if(!_)return;const H=(R=c.current)===null||R===void 0?void 0:R.paused;switch(j){case"start":if(!H)return;(L=c.current)===null||L===void 0||L.play(),u(!1);break;case"pause":if(H)return;(z=c.current)===null||z===void 0||z.pause(),u(!0);break;default:H?(B=c.current)===null||B===void 0||B.play():(G=c.current)===null||G===void 0||G.pause(),u(!H);break}},[_]),S=o.useCallback(()=>{var j,R,L,z,B,G,H,ee,ce,ve,W,Y,q;const K=n[e],X=((R=(j=c.current)===null||j===void 0?void 0:j.duration)!==null&&R!==void 0?R:0).toFixed(2),ye=((z=(L=c.current)===null||L===void 0?void 0:L.currentTime)!==null&&z!==void 0?z:0).toFixed(2);if(!((B=c?.current)===null||B===void 0)&&B.duration){const te=(((G=c?.current)===null||G===void 0?void 0:G.currentTime)-T.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ee=(H=K?.video)===null||H===void 0?void 0:H.itemId)!==null&&ee!==void 0?ee:"",contentName:(ve=(ce=K?.video)===null||ce===void 0?void 0:ce.title)!==null&&ve!==void 0?ve:"",endTime:ye,videoDuration:X,playDuration:te,contentTags:JSON.stringify((Y=(W=K?.video)===null||W===void 0?void 0:W.tags)!==null&&Y!==void 0?Y:[]),position:e+"",contentFormat:"video",traceInfo:(q=K?.video)===null||q===void 0?void 0:q.traceInfo}})}},[n,e,v]),C=o.useMemo(()=>d?.mode==="2",[d]),P=o.useMemo(()=>{var j;return d?.mode==="2"?`translateY(-${50+((j=d?.offsetTop)!==null&&j!==void 0?j:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[d]),M=o.useMemo(()=>{var j;return((j=t?.video)===null||j===void 0?void 0:j.cover)||k},[k,t]),N=o.useCallback(()=>{if(!E||!c||!c.current||!E.current)return;const j=c?.current,R=E?.current,L=R.getContext("2d"),z=window?.innerWidth,B=window?.innerHeight;R.height=B,R.width=z,L?.drawImage(j,0,0,R.width,R.height),h(R.toDataURL())},[]);o.useEffect(()=>{var j,R,L,z;if(c.current){if(u(!1),!c.current.src){const B=t?.video.url;if(B.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const G=new window.Hls;G.loadSource(B),G.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=B;else c.current.src=B;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(j=c.current)===null||j===void 0||j.addEventListener("loadedmetadata",w),(R=c.current)===null||R===void 0||R.addEventListener("canplay",w),(L=c.current)===null||L===void 0||L.addEventListener("playing",x),(z=c.current)===null||z===void 0||z.addEventListener("loadeddata",N),()=>{var B,G,H,ee;(B=c.current)===null||B===void 0||B.removeEventListener("loadedmetadata",w),(G=c.current)===null||G===void 0||G.removeEventListener("canplay",w),(H=c.current)===null||H===void 0||H.removeEventListener("playing",x),(ee=c.current)===null||ee===void 0||ee.removeEventListener("loadeddata",N)}}},[w,x,t?.video,N]);const V=o.useMemo(()=>!m?.placeholder_image||_?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[_,m?.placeholder_image]);o.useEffect(()=>{const j=()=>{var R,L;s===e&&(!((R=t?.video)===null||R===void 0)&&R.url)&&(!((L=c?.current)===null||L===void 0)&&L.src)&&!r&&D("pause")()};return window.addEventListener("beforeunload",j),()=>{window.removeEventListener("beforeunload",j)}},[s,e,t,c,D,r]);const F=o.useMemo(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t?.video?o.createElement(o.Fragment,null,C?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement(Ne,{src:M,style:Object.assign({height:i,width:a,objectFit:"cover"},F)}),o.createElement("canvas",{ref:E,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:a,height:i,top:"50%",transform:P,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:a,height:"100%"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:I,alt:"video pause image"}))),V):o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:O}),V,o.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:I,alt:"video pause image"}))):null};var Ta=o.memo(Sa);const Ci={};Object.values(Ei).forEach(t=>{Ci[t.extend.type]=t});const xa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Ea="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ca=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:l,descStyle:s,hashTagStyle:d,containerHeight:a=664,containerWidth:r=375,appDomain:u,tagList:c=[]})=>{const v=o.useMemo(()=>{let h=0;return e?.logoUrl&&e?.isShowLogo&&(h+=45),c.length>0&&(h+=45),a-h},[e,a,c]),m=(h,O)=>{var I,x,w,D;if(!((I=h?.video)===null||I===void 0)&&I.url)return o.createElement(Ta,{rec:h,index:O,muted:!0,width:r,data:t??[],height:v,activeIndex:O,videoPostConfig:e?.videoPost});if(!((x=h?.video)===null||x===void 0)&&x.imgUrls)return o.createElement(wa,{key:h?.video.itemId,imgUrls:h?.video.imgUrls,width:r,height:v,rec:h,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(h.product&&h.product&&Array.isArray(e?.productPost)&&((w=e?.productPost)===null||w===void 0?void 0:w.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((S,C)=>{var P,M,N,V,F,j,R,L;const z=Ci[(P=S?.item)===null||P===void 0?void 0:P.type],B=Ht(z),G=(M=z?.extend)===null||M===void 0?void 0:M.defaulSetting;return o.createElement(B,Object.assign({key:`${O}${C}`,textStyle:Object.assign(Object.assign({},G?.textStyle),(N=S?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(F=(V=S?.item)===null||V===void 0?void 0:V.bindDatas)!==null&&F!==void 0?F:[]},G?.props,(j=S?.item)===null||j===void 0?void 0:j.props,{event:((R=S?.item)===null||R===void 0?void 0:R.event)||{},id:S?.id,rec:h,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},G?.style),(L=S?.item)===null||L===void 0?void 0:L.style),{width:r,height:v,overflow:"auto"}),index:O}))})},y=o.useMemo(()=>e?.logoUrl&&e?.isShowLogo?o.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},o.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(h,O)=>e?.isShowCTA===void 0||e?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(Sn,{rec:h,index:O,tempMap:l,resolver:Ci})):null,T=(h,O)=>{var I,x,w,D,S,C,P;return h?.video?o.createElement(o.Fragment,null,((I=h?.video)===null||I===void 0?void 0:I.title)&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(Tn,{nudge:n}),b(h,O),o.createElement("div",null,o.createElement(Ft,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(w=(x=h?.video)===null||x===void 0?void 0:x.title)!==null&&w!==void 0?w:"",style:Object.assign(Object.assign({},s),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),o.createElement(wn,{index:O,tags:(S=(D=h?.video)===null||D===void 0?void 0:D.hashTags)!==null&&S!==void 0?S:[],itemId:(C=h?.video)===null||C===void 0?void 0:C.itemId,itemType:!((P=h?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:h,hashTagStyle:d}))):null},_=Ge(Ea,u),p=Ge(xa,u),g=(h,O)=>{var I,x,w,D;if(!e?.isShowLike)return;let S=(I=e?.likeIconY)!==null&&I!==void 0?I:400;return S<40&&(S+=40),h?.video?o.createElement(gn,{key:h.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:_,unActicveIcon:(w=e?.unlikeIcon)!==null&&w!==void 0?w:p,position:O,active:h.isCollected,recData:h,className:"clc-sxp-like-button",style:{top:S,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},f=Ge("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),E=Ge("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),k=(h,O)=>{var I,x,w,D;return o.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,o.createElement(xn,{tagList:c}),o.createElement(bn,{style:{position:"absolute",right:(I=e?.muteIconX)!==null&&I!==void 0?I:0,visibility:!((w=(x=t?.[O])===null||x===void 0?void 0:x.video)===null||w===void 0)&&w.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:f,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(h,O),T(h,O),g(h,O))};return o.createElement("div",{className:Z.css({width:"100%",height:a,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((h,O)=>k(h,O)))};var Ia=o.memo(Ca);const _a=()=>{const{schema:t,resolver:e,popup:i}=et(),{setPopupDetailData:n,popupDetailData:l,bffEventReport:s}=fe(),{productView:d}=Re(),[a,r]=o.useState(),u=o.useRef(null);o.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),o.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,r(i))},[i]);const c=()=>{var m,y,b,T;if(!i||i?.id===""||!a||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;r(Object.assign(Object.assign({},i),{id:""}));const _=l,p=(y=_?.video)===null||y===void 0?void 0:y.bindProduct,g=(T=(b=_?.video)===null||b===void 0?void 0:b.bindProduct)===null||T===void 0?void 0:T.bindCta;p&&g&&d(_,p,g,u.current,l?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=o.useMemo(()=>{var m,y,b;return(b=(y=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||y===void 0?void 0:y.popupList)===null||b===void 0?void 0:b.map((T,_)=>{var p,g,f,E,k,h,O,I,x,w,D,S,C,P,M;if(T?.id===i?.id){const N=e[(p=T?.item)===null||p===void 0?void 0:p.type],V=Ht(N),F=((E=(f=(g=T?.item)===null||g===void 0?void 0:g.event)===null||f===void 0?void 0:f.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",j=((O=(h=(k=T?.item)===null||k===void 0?void 0:k.event)===null||h===void 0?void 0:h.onClick)===null||O===void 0?void 0:O.linkType)==="popup",R=(I=N?.extend)===null||I===void 0?void 0:I.defaulSetting;return o.createElement(V,Object.assign({key:_,style:Object.assign(Object.assign(Object.assign({},R?.style),(x=T?.item)===null||x===void 0?void 0:x.style),{width:(w=window.innerWidth)!==null&&w!==void 0?w:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},R?.textStyle),(D=T?.item)===null||D===void 0?void 0:D.textStyle),bindDatas:(C=(S=T?.item)===null||S===void 0?void 0:S.bindDatas)!==null&&C!==void 0?C:[]},R?.props,(P=T?.item)===null||P===void 0?void 0:P.props,{event:((M=T?.item)===null||M===void 0?void 0:M.event)||{},schema:t,id:T?.id,isExternalLink:F,isPopup:j,onClose:c}))}else return o.createElement(o.Fragment,null)})},[t,i,e,c]);return o.createElement(zt,{popup:a,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},Ii={};Object.values(Ei).forEach(t=>{Ii[t.extend.type]=t});const ka=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:l,appDomain:s,licenseUrl:d,enabledMetaConversionApi:a})=>{var r,u,c,v,m,y,b,T,_,p,g;const f=o.useMemo(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return o.createElement(Hi,{resolver:Ii,enableDataSource:!1,schema:t?.data,utmVal:f},o.createElement(Ri,{utmVal:f,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(y=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:l,appDomain:s,enabledMetaConversionApi:a,isShowTag:(_=(T=(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf)===null||T===void 0?void 0:T.globalConfig)===null||_===void 0?void 0:_.isShowTag,globalConfig:(g=(p=t?.data)===null||p===void 0?void 0:p.sxpPageConf)===null||g===void 0?void 0:g.globalConfig,render:({rtcList:E,tagList:k})=>{var h;return o.createElement(o.Fragment,null,o.createElement(En,Object.assign({},(h=t?.data)===null||h===void 0?void 0:h.sxpPageConf,{tagList:k,data:E,resolver:Ii,licenseUrl:d})),o.createElement(_a,null))}}))};var Da=o.memo(ka);const Cn=o.createContext({}),Aa=({children:t,data:e})=>{var i,n,l,s,d,a,r,u,c,v,m,y,b;const[T,_]=o.useState(!1),[p,g]=o.useState(!1);return o.createElement(Cn.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:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.placeholder_image,hashTagSize:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.hash_tag_size,loadingImage:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.loading_image,privacyContent:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.privacy_context,privacyNecessity:(u=e?.sxp_parameter)===null||u===void 0?void 0:u.privacy_necessity,privacyPolicyTitle:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_policy_title,privacyPolicyUrl:(v=e?.sxp_parameter)===null||v===void 0?void 0:v.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.template,industry:(b=e?.sxp_parameter)===null||b===void 0?void 0:b.industry},appDomain:e?.appDomain,openHashtag:T,setOpenHashtag:_,openConsent:p,setOpenConsent:g}},t)};function Pa(){return o.useContext(Cn)}exports.DiyPortalPreview=Ia,exports.EditorDataProvider=Aa,exports.Modal=zt,exports.SxpDataSourceProvider=Ri,exports.SxpPageCore=Da,exports.SxpPageRender=En,exports.core=Yn,exports.default=Rn,exports.defaultSetting=Fe,exports.materials=Ei,exports.useEditorDataProvider=Pa;
7
7
  //# sourceMappingURL=index.min.cjs.map