pb-sxp-ui 1.3.0 → 1.3.1

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 (63) hide show
  1. package/dist/index.cjs +207 -78
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +207 -78
  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 +207 -78
  10. package/dist/pb-ui.js.map +1 -1
  11. package/dist/pb-ui.min.js +3 -3
  12. package/dist/pb-ui.min.js.map +1 -1
  13. package/es/core/components/SxpPageRender/Modal/index.js +3 -2
  14. package/es/core/components/SxpPageRender/WaterFall/List.js +8 -4
  15. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +7 -3
  16. package/es/core/components/SxpPageRender/index.js +29 -21
  17. package/es/core/context/EditorContext.js +2 -0
  18. package/es/core/context/SxpDataSourceProvider.js +33 -10
  19. package/es/core/hooks/useEventReport.d.ts +1 -1
  20. package/es/core/hooks/useEventReport.js +2 -2
  21. package/es/materials/sxp/HashTag/settingRender.d.ts +6 -7
  22. package/es/materials/sxp/HashTag/settingRender.js +9 -0
  23. package/es/materials/sxp/cta/AniLink/settingRender.d.ts +5 -0
  24. package/es/materials/sxp/cta/AniLink/settingRender.js +4 -0
  25. package/es/materials/sxp/popup/AppointForm/settingRender.d.ts +8 -5
  26. package/es/materials/sxp/popup/AppointForm/settingRender.js +12 -0
  27. package/es/materials/sxp/popup/CommodityDetail/index.d.ts +3 -1
  28. package/es/materials/sxp/popup/CommodityDetail/index.js +21 -13
  29. package/es/materials/sxp/popup/CommodityDetail/settingRender.d.ts +13 -0
  30. package/es/materials/sxp/popup/CommodityDetail/settingRender.js +15 -0
  31. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +3 -1
  32. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +24 -16
  33. package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +13 -0
  34. package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +15 -0
  35. package/es/materials/sxp/popup/CommodityList/settingRender.js +4 -0
  36. package/es/materials/sxp/popup/Prompt/settingRender.js +10 -0
  37. package/es/materials/sxp/template/Link/settingRender.js +5 -0
  38. package/lib/core/components/SxpPageRender/Modal/index.js +3 -2
  39. package/lib/core/components/SxpPageRender/WaterFall/List.js +8 -4
  40. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +7 -3
  41. package/lib/core/components/SxpPageRender/index.js +28 -20
  42. package/lib/core/context/EditorContext.js +2 -0
  43. package/lib/core/context/SxpDataSourceProvider.js +33 -10
  44. package/lib/core/hooks/useEventReport.d.ts +1 -1
  45. package/lib/core/hooks/useEventReport.js +2 -2
  46. package/lib/materials/sxp/HashTag/settingRender.d.ts +6 -7
  47. package/lib/materials/sxp/HashTag/settingRender.js +9 -0
  48. package/lib/materials/sxp/cta/AniLink/settingRender.d.ts +5 -0
  49. package/lib/materials/sxp/cta/AniLink/settingRender.js +4 -0
  50. package/lib/materials/sxp/popup/AppointForm/settingRender.d.ts +8 -5
  51. package/lib/materials/sxp/popup/AppointForm/settingRender.js +12 -0
  52. package/lib/materials/sxp/popup/CommodityDetail/index.d.ts +3 -1
  53. package/lib/materials/sxp/popup/CommodityDetail/index.js +21 -13
  54. package/lib/materials/sxp/popup/CommodityDetail/settingRender.d.ts +13 -0
  55. package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +15 -0
  56. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +3 -1
  57. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +24 -16
  58. package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +13 -0
  59. package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +15 -0
  60. package/lib/materials/sxp/popup/CommodityList/settingRender.js +4 -0
  61. package/lib/materials/sxp/popup/Prompt/settingRender.js +10 -0
  62. package/lib/materials/sxp/template/Link/settingRender.js +5 -0
  63. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var He=require("lodash"),On=require("uuid"),Rn=require("pako"),o=require("react"),ni=require("qs"),Ln=require("eventemitter3"),ye=require("@emotion/css"),ki=require("react-dom");function Bn(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=Bn(ki);function Ue(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 s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i}function Ke(t,e,i,n){function s(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function d(u){try{v(n.next(u))}catch(f){r(f)}}function a(u){try{v(n.throw(u))}catch(f){r(f)}}function v(u){u.done?l(u.value):s(u.value).then(d,a)}v((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Nn=/:\w+/g;var Pi=(t,e)=>Ke(void 0,void 0,void 0,function*(){const i={},n={};for(let s=0;s<e?.length;s++){const{id:l,method:r,url:d,urlParams:a,name:v,queryString:u,headers:f,body:m}=e[s];let h=d;a&&Object.entries(a).forEach(([S,w])=>{h=h.replace(Nn,k=>k===S?w:k)}),u&&(h+=u),n[l]=v;try{const S=yield fetch(h,{method:r,headers:Object.assign({"Content-Type":"application/json"},f),body:JSON.stringify(m)}).then(w=>w.json());i[l]=S}catch(S){console.error("DataSource request error: ",S),i[l]={}}}return{$store:i,idMapName:n}});const Di="SXP_TOKEN_INFO",Fn=(t,e)=>Ke(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),s=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Di);let d=JSON.parse(r||"{}");if(Date.now()>((i=d?.expireTime)!==null&&i!==void 0?i:0)){const v=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":s||""}}).then(u=>u.json());if(v.success){const u=v.data;d=Object.assign(Object.assign({},u),{expireTime:Date.now()+u.expire*1e3}),window.localStorage.setItem(Di,JSON.stringify(d))}}return d});function Lt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let s;if(e=e||i.length,t)for(s=0;s<t;s++)n[s]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",s=0;s<36;s++)n[s]||(l=0|Math.random()*16,n[s]=i[s===19?l&3|8:l])}return n.join("")}const jn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let s=0;for(;s<t;)e+=i.charAt(Math.floor(Math.random()*n)),s+=1;return e},Vn=()=>{const t=On.v4();return t?.replaceAll?t.replaceAll("-",""):jn(32)},he=(t,e)=>{if(!t)return"";let i="";const n=e?.["fontFamily-cn"],s=e?.["fontFamily-en"];if(!n&&!s)return t;let l=t;const r=/[\u4e00-\u9fa5]/g,d=/[^\u4e00-\u9fa5]/g,a=`font-family:${n??"inherit"}`,v=`font-family:${s??"inherit"}`,u=m=>{let h=m.search(r),S=m.search(d);return h!==-1&&S!==-1&&h<S&&(i+=`<span style="${a}">${m.substring(h,S)}</span>`,l=m.substring(S,m?.length)),h!==-1&&S!==-1&&h>S&&(i+=`<span style="${v}">${m.substring(S,h)}</span>`,l=m.substring(h,m?.length)),h===-1?(i+=`<span style="${v}">${m.substring(S,m?.length)}</span>`,l="",!1):S===-1?(i+=`<span style="${a}">${m.substring(h,m?.length)}</span>`,l="",!1):!0};let f=!0;for(;f;)f=u(l);return i};function zn(){var t,e,i,n,s,l,r;let d=self.navigator.userAgent;return d?/edge\/([\d\.]+)/i.exec(d)?`Edge ${(t=/edge\/([\d\.]+)/i.exec(d))===null||t===void 0?void 0:t[1]}`:/edg\/([\d\.]+)/i.exec(d)?`Edge(Chromium) ${(e=/edge\/([\d\.]+)/i.exec(d))===null||e===void 0?void 0:e[1]}`:/msie/i.test(d)?`Internet Explorer ${(i=/msie ([\d\.]+)/i.exec(d))===null||i===void 0?void 0:i[1]}`:/Trident/i.test(d)?`Internet Explorer ${(n=/rv:([\d\.]+)/i.exec(d))===null||n===void 0?void 0:n[1]}`:/chrome/i.test(d)?`Chrome ${(s=/chrome\/([\d\.]+)/i.exec(d))===null||s===void 0?void 0:s[1]}`:/firefox/i.test(d)?`Firefox ${(l=/firefox\/([\d\.]+)/i.exec(d))===null||l===void 0?void 0:l[1]}`:/safari/i.test(d)?`Safari ${(r=/version\/([\d\.]+)/i.exec(d))===null||r===void 0?void 0:r[1]}`:"Unknown":"Unknown"}function Hn(){var t,e,i;let n=self.navigator.userAgent;return n?/iphone/i.test(n)?`IOS ${(t=n.match(/OS\s(.*?)\slike/))===null||t===void 0?void 0:t[1]}`:/android/i.test(n)?`Android ${(e=n.match(/Android\s(.*?)\;/))===null||e===void 0?void 0:e[1]}`:/windows/i.test(n)?`Windows ${(i=n.match(/Windows\s(.*?)\;/))===null||i===void 0?void 0:i[1]}`:/mac/i.test(n)?"Mac OS":"Unknown":"Unknown"}function Un(){let t=self.navigator.userAgent;if(!t)return"Unknown";if(/iphone/i.test(t))return"iPhone";if(/android/i.test(t)){var e=t.indexOf("("),i=t.indexOf(")");if(e!==-1&&i!==-1){var n=t.substring(e+1,i);return`${n}`}}return/windows/i.test(t)?"Windows":/mac/i.test(t)?"Mac":"Unknown"}function Mi(t){const i=document.cookie.split(";");let n=null;return i.forEach(s=>{const[l,r]=s.trim().split("=");l===t&&(n=r)}),n??""}function Oi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),s=Rn.inflate(n,{to:"string"});return JSON.parse(s)}let oi=null;const Gn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Wn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,oi)return oi;oi=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Gn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Je=null;const Yn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Je||(Je=new Wn),n&&Je.setApiUrl(n),Je.setAppId(t),Je.setTenantId(e),Je.setEnv(i)},getDetail:t=>{if(!Je)return;const e=Je.getTenantId(),i=Je.getAppId(),n=Je.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(s=>Ke(void 0,void 0,void 0,function*(){var l,r;const d=yield s.json(),a=Oi((l=d?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:v}=yield Pi(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);d.data.data=a,Object.assign(d.data.data,{__STORE__:v})}return d}))},getSxpDetailByPageId:t=>Ke(void 0,void 0,void 0,function*(){if(!Je)return;const e=Je.getTenantId(),i=Je.getAppId(),n=Je.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(s=>Ke(void 0,void 0,void 0,function*(){var l;const r=yield s.json();if(!r.success)return;const d=Oi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=d,r.data}))}),getSxpRecommendVideoData:t=>Ke(void 0,void 0,void 0,function*(){if(!Je)return;const e=yield Fn(Je,t),i=Lt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");He.isEmpty(n)&&(n=Lt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const s=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return s?.data||null})};function dt(){return o.useContext(Wi)}function Xn(){return o.useContext(Gi)}const li="feRealSessionIdKey",Ri=()=>{const t=Vn();return`${Date.now()}${t}`},qn=()=>{let t=Jn();return t||(t=Ri(),window.sessionStorage.setItem(li,t)),t},Li=()=>{const t=Ri();window.sessionStorage.setItem(li,t)},Jn=()=>window.sessionStorage.getItem(li),Bi="SXP_FAKE_USER_ID",Ni="FAKE_USER_STATE",Fi="AGREE_POLICY",ji="SLIDE_SKIP_STATE",Vi=()=>{let t=window.localStorage.getItem(Bi);return He.isEmpty(t)&&(t=Lt(36,62),window.localStorage.setItem(Bi,t)),t},Kn=()=>{const t=window.localStorage.getItem(Ni);return He.isEmpty(t)&&window.localStorage.setItem(Ni,"true"),He.isEmpty(t)},Zn=()=>{const t=window.localStorage.getItem(ji);return He.isEmpty(t)},Qn=()=>{window.localStorage.setItem(ji,"true")};function nt(t,e){const{appDomain:i}=Ce();return o.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ct=new Ln;var tt;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(tt||(tt={}));const $n=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:s,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:d}=Ce(),a=o.useMemo(()=>{const f=location.search.slice(1),m=ni.parse(f.replace(/\+/g,"%2B"));for(const h in m)m[h]=m[h].replace(/%2B/g,"+");return m},[]),v=f=>{var m;return(m=a[f])!==null&&m!==void 0?m:null};o.useEffect(()=>{d?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:v("utm_source"),utmMedium:v("utm_medium"),utmCampaign:v("utm_campaign"),utmId:v("utm_id"),utmContent:v("utm_content"),clSource:v("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const u=()=>{d?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem(Fi,"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:u},"Agree"),o.createElement("a",{className:"consent-policy",target:"_blank",href:s?`https://${s}`:void 0},l??"More information"))))};var eo=o.memo($n);const zi=o.createContext({rtcList:[],tagList:[]});var si;(function(t){t[t.BFF=5]="BFF"})(si||(si={}));const Bt="FOR U",to=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:s,defaultSize:l,isPreview:r=!1,sxpParameter:d,appDomain:a,hashTagSize:v,loadingImage:u,isOpenHashTag:f=!1,enabledMetaConversionApi:m=!1,consentHeight:h,consentWidth:S,isShowTag:w=!0,isOpenConsent:k=!1,globalConfig:p,isEditor:T=!1,utmParameter:y,channelQueryList:A})=>{var _,g,M;const[P,x]=o.useState([]),[c,E]=o.useState([]),[b,I]=o.useState(!1),[O,D]=o.useState({rtc:"",requestId:""}),F=o.useRef(null),U=o.useRef(!1),[R,B]=o.useState(()=>!!window.localStorage.getItem(Fi)),[N,j]=o.useState(),[Z,te]=o.useState(),[H,V]=o.useState(f),[$,se]=o.useState([]),[pe,ie]=o.useState(0),[Q,q]=o.useState(!1),[G,ee]=o.useState(null),ne=o.useRef(),ue=o.useRef(),[ce,Te]=o.useState(Bt),ke=o.useRef(-1),Oe=o.useRef(null),Pe=o.useMemo(()=>{var W,Y,be,xe;return((xe=(be=(Y=(W=p?.consent)===null||W===void 0?void 0:W[0])===null||Y===void 0?void 0:Y.item)===null||be===void 0?void 0:be.props)===null||xe===void 0?void 0:xe.privacy_necessity)&&!R&&!T||k},[R,p,k,T]),re=o.useCallback(W=>{var Y;const be=W?.recList;return(Y=be?.map(ae=>{var Ee,Ae,oe,C,X,K;if(!((Ee=ae?.video)===null||Ee===void 0)&&Ee.bindProducts&&((oe=(Ae=ae?.video)===null||Ae===void 0?void 0:Ae.bindProducts)===null||oe===void 0?void 0:oe.length)>0){const le=(K=(X=(C=ae?.video)===null||C===void 0?void 0:C.bindProducts)===null||X===void 0?void 0:X.filter(me=>!!me?.bindCta))!==null&&K!==void 0?K:[];return Object.assign(Object.assign({},ae),{video:Object.assign(Object.assign({},ae?.video),{bindProducts:le})})}return ae}))!==null&&Y!==void 0?Y:[]},[]);o.useEffect(()=>{const W=Y=>{ne.current=Y};return ct.on(tt.CHANGE_THEME_TAG,W),()=>{ct.off(tt.CHANGE_THEME_TAG,W)}},[]),o.useEffect(()=>{V(f)},[f]);const ve=o.useMemo(()=>e?.find(W=>W.type===si.BFF),[e]),J=o.useCallback((W,Y)=>{if(!ve)return;const be=ve.url,xe=Vi();if(Y?.query){const ae=ni.stringify(Y.query);W=`${W}?${ae}`}return Y.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${be}/api/v1${W}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},ve.headers),{"x-user-id":xe}),Y.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${be}/api/v1${W}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":xe},ve.headers),method:Y.method,body:JSON.stringify(Y.body)}).then(ae=>ae.json()).catch(ae=>Promise.reject(ae))},[ve]),fe=o.useCallback(W=>Ke(void 0,void 0,void 0,function*(){var Y,be,xe,ae,Ee;if(W=Object.assign(Object.assign({maxSize:(Y=W?.maxSize)!==null&&Y!==void 0?Y:s,defaultSize:(be=W?.defaultSize)!==null&&be!==void 0?be:l,hashTag:W?.hashTag,traceInfo:W?.traceInfo,themeTag:W?.themeTag},W?.contentFilter&&{contentFilter:`[${W?.contentFilter}]`}),W?.productFilter&&{productFilter:`[${W?.productFilter}]`}),i){const oe=(Ee=(ae=(xe=i?.split("&"))===null||xe===void 0?void 0:xe.filter(C=>{var X,K;const le=C.split("=")[0];return(K=(X=y?.channels)!==null&&X!==void 0?X:[])===null||K===void 0?void 0:K.includes(le)}))===null||ae===void 0?void 0:ae.join("&"))!==null&&Ee!==void 0?Ee:"";W=Object.assign(Object.assign({},W),{channel:decodeURIComponent(oe)})}(p?.enablePreview||T)&&(W=Object.assign(Object.assign(Object.assign({},W),{directPage:!0,level:1,pageNum:1}),!i&&A&&A?.length>0&&{channel:A?.join("&")}));const Ae=yield J?.("/recommend/list",{method:"GET",query:W});if(Ae?.success)return W?.hashTag||D({rtc:Ae.data.rtc,requestId:Ae.data.requestId}),Ae?.data}),[J,i,s,l,p?.enablePreview,A,T]),Le=o.useCallback(()=>Ke(void 0,void 0,void 0,function*(){var W,Y,be,xe;if(P.length<=0)return;const ae=P?.[P?.length-1],Ee=yield fe(Object.assign(Object.assign(Object.assign({hashTag:Z?.hashTag},((W=ae?.product)===null||W===void 0?void 0:W.itemId)&&{productFilter:(Y=ae?.product)===null||Y===void 0?void 0:Y.itemId}),((be=ae?.video)===null||be===void 0?void 0:be.itemId)&&{contentFilter:(xe=ae?.video)===null||xe===void 0?void 0:xe.itemId}),{themeTag:ne.current}));x(P.concat(re(Ee))),se($.concat(re(Ee)))}),[fe,P,Z,$]),Se=o.useCallback(({userInfo:W,eventInfo:Y})=>{if(!n||p?.enablePreview)return;W||(W={});const be=qn(),xe=Object.assign(Object.assign({sessionID:be,rtc:O.rtc,requestId:O.requestId},Y),{sxpDevice:Un(),sxpSystem:Hn(),sxpBrowser:zn()}),ae=Object.entries(W).map(([Ae,oe])=>({name:Ae,value:oe})),Ee=Object.entries(xe).map(([Ae,oe])=>oe&&{name:Ae,value:oe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",W),console.log("eventInfo:",xe),console.log("========= \u7ED3\u675F ========="),J?.("/event/report",{method:"POST",body:{userInfo:ae,eventInfo:Ee},type:"beacon"})},[J,O,n,p?.enablePreview]),Re=o.useCallback(W=>{var Y,be,{eventName:xe,actionSource:ae="website",eventSourceUrl:Ee=(Y=window?.location)===null||Y===void 0?void 0:Y.href,externalId:Ae}=W;if(!n||!m||p?.enablePreview)return;const oe=Vi();return J?.("/fb/events",{method:"POST",body:{eventName:xe,actionSource:ae,eventSourceUrl:Ee,userData:{externalId:oe,fbc:`fb.2.${new Date().getTime()}.${Mi("_fbc")}`,fbp:`fb.2.${new Date().getTime()}.${Mi("_fbp")}`,client_user_agent:(be=window?.navigator)===null||be===void 0?void 0:be.userAgent}},type:"beacon"})},[J,n,m,p?.enablePreview]),z=o.useCallback(W=>Ke(void 0,void 0,void 0,function*(){const Y=yield J?.("/recommend/like",{method:"POST",body:W});return Y?.success}),[J]),L=o.useCallback(W=>Ke(void 0,void 0,void 0,function*(){const Y=yield J?.("/recommend/unlike",{method:"POST",body:W});return Y?.success}),[J]),_e=o.useCallback(W=>Ke(void 0,void 0,void 0,function*(){const Y=yield J?.("/customform",{method:"POST",body:W});return Y?.success}),[J]),qe=o.useCallback(()=>Ke(void 0,void 0,void 0,function*(){var W,Y,be,xe,ae;if(!(!i||!w))try{const Ee=(be=(Y=(W=i?.split("&"))===null||W===void 0?void 0:W.filter(oe=>{var C,X;const K=oe.split("=")[0];return(X=(C=y?.channels)!==null&&C!==void 0?C:[])===null||X===void 0?void 0:X.includes(K)}))===null||Y===void 0?void 0:Y.join("&"))!==null&&be!==void 0?be:"",Ae=yield J?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Ee)}});E((ae=(xe=Ae?.data)===null||xe===void 0?void 0:xe.tags)!==null&&ae!==void 0?ae:[])}catch(Ee){console.log("e",Ee)}}),[J,i,w]),st=o.useCallback((W,Y,be,xe)=>{var ae,Ee,Ae,oe,C,X,K,le,me,we,de,ge,Me,Be,Fe,je,Ve,Ge,We,Ie,Ne,et,ze,at,rt,gt,bt,De,Jt,Kt,Zt,Qt,$t,ei,ti,ii;const yt=be?.bindCta,Mn=((ae=Y?.video)===null||ae===void 0?void 0:ae.bindProduct)||((Ee=Y?.video)===null||Ee===void 0?void 0:Ee.bindProducts)&&((oe=(Ae=Y?.video)===null||Ae===void 0?void 0:Ae.bindProducts)===null||oe===void 0?void 0:oe.length)>0;let Rt="";Q?Rt="hashTagPage":!((C=Y?.video)===null||C===void 0)&&C.url?Rt="videoPage":!((K=(X=Y?.video)===null||X===void 0?void 0:X.imgUrls)===null||K===void 0)&&K.length&&(Rt="imagePage");const Ii=(Be=(ge=(le=be?.tags)!==null&&le!==void 0?le:(de=(we=(me=Y?.video)===null||me===void 0?void 0:me.bindProducts)===null||we===void 0?void 0:we[0])===null||de===void 0?void 0:de.tags)!==null&&ge!==void 0?ge:(Me=Y?.video)===null||Me===void 0?void 0:Me.tags)!==null&&Be!==void 0?Be:(Fe=Y?.product)===null||Fe===void 0?void 0:Fe.tags;Se?.({eventInfo:Object.assign(Object.assign({},W),{ctaId:(je=yt?.itemId)!==null&&je!==void 0?je:"",ctaName:(Ve=yt?.title)!==null&&Ve!==void 0?Ve:"",contentTags:Ii?JSON.stringify(Ii):"",position:xe+"",contentId:(We=(Ge=Y?.video)===null||Ge===void 0?void 0:Ge.itemId)!==null&&We!==void 0?We:"",productId:Mn?be?.itemId:"",traceInfo:(ti=(Qt=(bt=(ze=(Ie=yt?.traceInfo)!==null&&Ie!==void 0?Ie:(et=(Ne=Y?.video)===null||Ne===void 0?void 0:Ne.bindCta)===null||et===void 0?void 0:et.traceInfo)!==null&&ze!==void 0?ze:(gt=(rt=(at=Y?.video)===null||at===void 0?void 0:at.bindProduct)===null||rt===void 0?void 0:rt.bindCta)===null||gt===void 0?void 0:gt.traceInfo)!==null&&bt!==void 0?bt:(Zt=(Kt=(Jt=(De=Y?.video)===null||De===void 0?void 0:De.bindProducts)===null||Jt===void 0?void 0:Jt[0])===null||Kt===void 0?void 0:Kt.bindCta)===null||Zt===void 0?void 0:Zt.traceInfo)!==null&&Qt!==void 0?Qt:(ei=($t=Y?.product)===null||$t===void 0?void 0:$t.bindCta)===null||ei===void 0?void 0:ei.traceInfo)!==null&&ti!==void 0?ti:"",fromKName:Rt,fromKPage:(ii=location?.href)!==null&&ii!==void 0?ii:""})})},[Se,Q]),pt=o.useCallback(()=>{var W,Y;const be=location.search.slice(1),xe=ni.parse(be.replace(/\+/g,"%2B"));for(const Ae in xe)xe[Ae]=xe[Ae].replace(/%2B/g,"+");const ae=Ae=>{var oe;return(oe=xe[Ae])!==null&&oe!==void 0?oe:""},Ee=new Date;ue.current=Ee,Se?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:ae("utm_source"),utmMedium:ae("utm_medium"),utmCampaign:ae("utm_campaign"),utmId:ae("utm_id"),utmContent:ae("utm_content"),enterTime:Math.floor(Ee/1e3)+"",requestId:null,enterUrl:(Y=(W=window?.location)===null||W===void 0?void 0:W.href)!==null&&Y!==void 0?Y:"",clSource:ae("cl_source")}})},[Se]);o.useEffect(()=>{Pe||pt()},[Pe]),o.useEffect(()=>{Pe||(I(!0),qe(),fe().then(W=>{x(re(W)),se(re(W))}).finally(()=>{Se({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),I(!1),U.current=!0}))},[Pe]),o.useEffect(()=>{U.current&&(I(!0),qe(),fe().then(W=>{x(re(W)),se(re(W))}).finally(()=>{I(!1)}))},[fe,qe]);const Qe=nt("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return o.createElement(zi.Provider,{value:{rtcList:P,setRtcList:x,mutateLike:z,mutateUnlike:L,submitForm:_e,popupDetailData:N,loadVideos:Le,setPopupDetailData:j,getRecommendVideos:fe,bffEventReport:Se,utmVal:i,isPreview:r,loading:b,sxpParameter:d,waterFallData:Z,setWaterFallData:te,ctaEvent:st,swiperRef:F,openHashtag:H,setOpenHashtag:V,cacheRtcList:$,setCacheRtcList:se,cacheActiveIndex:pe,setCacheActiveIndex:ie,isFromHashtag:Q,setIsFromHashtag:q,appDomain:a,hashTagSize:v,loadingImage:u??Qe,isOpenHashTag:f,tagList:c,setLoading:I,videoRef:G,setVideoRef:ee,bffFbReport:Re,isAgreePolicy:R,setIsAgreePolicy:B,curTime:ue,h5EnterLink:pt,themeTag:ne,isShowConsent:Pe,selectTag:ce,setSelectTag:Te,globalConfig:p,popupCurTimeRef:Oe,checkCommodityIndexRef:ke}},Pe?o.createElement(eo,Object.assign({},(M=(g=(_=p?.consent)===null||_===void 0?void 0:_[0])===null||g===void 0?void 0:g.item)===null||M===void 0?void 0:M.props)):t({rtcList:P,mutateLike:z,mutateUnlike:L,submitForm:_e,tagList:c}))};var Hi=o.memo(to);function Ce(){return o.useContext(zi)}var Ui;(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"})(Ui||(Ui={}));const Gi=o.createContext({$store:{},options:[],configs:[]}),io=({children:t,isSsr:e,enable:i})=>{const[n,s]=o.useState([]),{schema:l}=dt(),[r,d]=o.useState(l.__STORE__||{}),[a,v]=o.useState([]);o.useEffect(()=>{var m;e||He.isEqual(a,l?.dataSource)||v((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const u=o.useCallback(()=>Ke(void 0,void 0,void 0,function*(){const{$store:m,idMapName:h}=yield Pi("",a);d(m),f(m,h)}),[a]),f=(m,h)=>{const S=[];Object.entries(m).forEach(([w,k])=>{Object.keys(k).forEach(p=>{const T={label:`${h[w]} - ${p}`,value:`{{ ${w}.${p} }}`};S.push(T)})}),s(S)};return o.useEffect(()=>{e||u()},[u,e,l]),i?o.createElement(Gi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var no=o.memo(io);const Nt={id:Lt(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},ai={id:"",duration:0,name:"none"},Wi=o.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Nt],redoStack:[],popup:ai,setPopup:()=>{}}),Yi=o.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:s=!0,utmVal:l},r)=>{const[d,a]=o.useState(null),[v,u]=o.useState(n||{pointData:[Nt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[f,m]=o.useState([Nt]),[h,S]=o.useState([[Nt]]),[w,k]=o.useState([]),[p,T]=o.useState(ai);typeof window<"u"&&(window.sxpPopup=(M,P)=>{T(Object.assign(Object.assign(Object.assign({},ai),{id:M}),P))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),o.useEffect(()=>{S([v.pointData]),k([])},[v.type]);const y=o.useCallback(M=>{const P=He.cloneDeep(v);P&&(P.dataSource=M,u?.(P))},[v]),[A,_]=o.useState();o.useImperativeHandle(r,()=>({loadSchema(M){M&&(S([M.pointData]),u(M))},exportSchema(){return He.cloneDeep(v)},getPageInfoData(){return A},initPageInfoData(M){M&&_(M)}}));const g=o.useMemo(()=>{if(v)return v.type==="PC"?v.pcPageConf:v.mobilePageConf},[v]);return o.createElement(Wi.Provider,{value:{resolver:e,currentNode:d,schema:v,setCurrentNode:a,setSchema:u,saveDataSource:y,prePiontData:f,setPrePiontData:m,pageInfoData:A,setPageInfoData:M=>_(Object.assign(Object.assign({},A),M)),undoStack:h,redoStack:w,setRedoStack:k,setUndoStack:S,getCurPageConf:g,popup:p,setPopup:T}},o.createElement(no,{isSsr:i,enable:s},t))});var oo=Object.freeze({__proto__:null,EditorCore:Yi}),lo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],so=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{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:"Select",name:["textStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["textStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["textStyle","color"]},{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:"Select",name:["props","submitButtonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","submitButtonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{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 Ye(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=Ce(),s=o.useCallback((d,a,v,u)=>{var f,m,h,S,w,k,p,T,y,A,_,g,M,P,x,c,E,b,I,O,D,F,U,R,B,N,j,Z,te,H,V,$,se,pe;let ie="";e&&(!((m=(f=d?.video)===null||f===void 0?void 0:f.bindProducts)===null||m===void 0)&&m.length||!((h=d?.video)===null||h===void 0)&&h.bindProduct)?ie="pdpPage":n?ie="hashTagPage":!((S=d?.video)===null||S===void 0)&&S.url?ie="videoPage":!((w=d?.video)===null||w===void 0)&&w.imgUrls&&(!((p=(k=d?.video)===null||k===void 0?void 0:k.imgUrls)===null||p===void 0)&&p.length)?ie="imagePage":d?.product&&(ie="productPage");const Q=(P=(g=(T=a?.tags)!==null&&T!==void 0?T:(_=(A=(y=d?.video)===null||y===void 0?void 0:y.bindProducts)===null||A===void 0?void 0:A[0])===null||_===void 0?void 0:_.tags)!==null&&g!==void 0?g:(M=d?.video)===null||M===void 0?void 0:M.tags)!==null&&P!==void 0?P:(x=d?.product)===null||x===void 0?void 0:x.tags;t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(c=a?.itemId)!==null&&c!==void 0?c:"",productName:(E=a?.title)!==null&&E!==void 0?E:"",price:a?.price?a?.price+"":"0",productCollection:(b=a?.collection)!==null&&b!==void 0?b:"",fromKName:ie,fromKPage:location?.href,contentTags:Q?JSON.stringify(Q):"",position:u+"",contentId:(O=(I=d?.video)===null||I===void 0?void 0:I.itemId)!==null&&O!==void 0?O:"",ctatId:(D=v?.itemId)!==null&&D!==void 0?D:"",traceInfo:(pe=(V=(te=(B=(F=a?.traceInfo)!==null&&F!==void 0?F:(R=(U=d?.video)===null||U===void 0?void 0:U.bindProduct)===null||R===void 0?void 0:R.traceInfo)!==null&&B!==void 0?B:(Z=(j=(N=d?.video)===null||N===void 0?void 0:N.bindProducts)===null||j===void 0?void 0:j[0])===null||Z===void 0?void 0:Z.traceInfo)!==null&&te!==void 0?te:(H=d?.product)===null||H===void 0?void 0:H.traceInfo)!==null&&V!==void 0?V:(se=($=d?.video)===null||$===void 0?void 0:$.bindCta)===null||se===void 0?void 0:se.traceInfo)!==null&&pe!==void 0?pe:""}})},[t,e,n]),l=o.useCallback((d,a,v,u,f)=>{var m,h,S,w,k,p,T,y,A,_,g,M,P,x;let c="";e&&(!((h=(m=d?.video)===null||m===void 0?void 0:m.bindProducts)===null||h===void 0)&&h.length||!((S=d?.video)===null||S===void 0)&&S.bindProduct)?c="pdpPage":d?.product&&(c="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:c,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:f+"",contentId:(w=d?.video)===null||w===void 0?void 0:w.itemId,ctatId:v?.itemId,traceInfo:(x=(M=(y=(k=a?.traceInfo)!==null&&k!==void 0?k:(T=(p=d?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0?void 0:T.traceInfo)!==null&&y!==void 0?y:(g=(_=(A=d?.video)===null||A===void 0?void 0:A.bindProducts)===null||_===void 0?void 0:_[0])===null||g===void 0?void 0:g.traceInfo)!==null&&M!==void 0?M:(P=d?.product)===null||P===void 0?void 0:P.traceInfo)!==null&&x!==void 0?x:"",timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=o.useCallback((d,a,v,u)=>{a&&a===Bt&&t?.({eventInfo:{lastFeed:d,themeTags:v?`['${v}']`:"",hashTags:u?`['${u}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:s,productView:l,backMainFeed:r}}const ao=({layout:t,columns:e,onChange:i})=>o.createElement(o.Fragment,null,e?.map((n,s)=>o.createElement("div",{key:s,className:"pb-appoint-form-container-item",style:{flexDirection:t==="horizontal"?"row":"column"}},t!=="inline"&&o.createElement("label",{className:"pb-appoint-form-container-label"},n?.title),n?.valueType==="text"&&o.createElement("input",Object.assign({className:"pb-appoint-form-container-input",type:"text",placeholder:t==="inline"?n?.title:"\u8BF7\u8F93\u5165",name:n?.dataIndex},i&&{onChange:i})))));var ro=o.memo(ao);const co=t=>{var{columns:e,style:i,title:n,textStyle:s,submitBgColor:l,submitColor:r,submitText:d,layoutType:a="inline",isExternalLink:v,isPopup:u,onClick:f,onClose:m,submitButtonStyle:h}=t,S=Ue(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:w,popupDetailData:k}=Ce(),{jumpToWeb:p}=Ye(),[T,y]=o.useState(!1),A=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"}],[]),[_,g]=o.useState({}),M=o.useMemo(()=>He.cloneDeep(e)||A,[e,A]),P=o.useCallback(c=>{const{name:E,value:b}=c.target;g(Object.assign(Object.assign({},_),{[E]:b}))},[_]),x=He.debounce(()=>Ke(void 0,void 0,void 0,function*(){var c,E,b,I,O;const D=_;if(!D)return;const F=(E=(c=Object.keys(D))===null||c===void 0?void 0:c.map(R=>{var B;return{name:R,value:(B=D[R])!==null&&B!==void 0?B:""}}))===null||E===void 0?void 0:E.filter(R=>R?.value);if(!F||!F?.length)return;y(!0);const U=yield w?.({attributes:F});if(y(!1),U){if(v){const R=k,B=(b=R?.video)===null||b===void 0?void 0:b.bindProduct,N=(O=(I=R?.video)===null||I===void 0?void 0:I.bindProduct)===null||O===void 0?void 0:O.bindCta,j=k?.index;p(R,B,N,j)}u||m?.(),f?.()}}),1e3);return o.createElement("div",{className:"pb-appoint-form"},o.createElement("div",{className:`pb-appoint-form-title ${ye.css(Object.assign({},s))}`,dangerouslySetInnerHTML:{__html:he(n,s)}}),o.createElement("div",Object.assign({className:ye.css(Object.assign({},i))},S),o.createElement("div",{className:"pb-appoint-form-container"},o.createElement(ro,{columns:M,layout:a,onChange:P}))),o.createElement("div",{className:"pb-appoint-form-btn-wrapper"},o.createElement("button",{"aria-label":d,onClick:x,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},h),dangerouslySetInnerHTML:{__html:he(T?"loading...":d,h)}})))};var uo=o.memo(co);function Xe(t,e){return t.extend=e,t}const vo=Xe(uo,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:so,bindableProps:[],interactionRender:lo},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var po=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],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:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{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"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"}],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:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{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:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"Iframe\u5546\u54C1\u5F39\u7A97",child:[{label:"\u5F39\u7A97\u6309\u94AE",type:"Upload",name:["props","iframeIcon"],text:"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A106 * 41"}]}];function Xi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ri(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Xi(e[i])&&Xi(t[i])&&Object.keys(e[i]).length>0&&ri(t[i],e[i])})}const qi={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 ut(){const t=typeof document<"u"?document:{};return ri(t,qi),t}const mo={document:qi,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 Ze(){const t=typeof window<"u"?window:{};return ri(t,mo),t}function St(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function fo(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function At(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function ot(){return Date.now()}function ho(t){const e=Ze();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function go(t,e){e===void 0&&(e="x");const i=Ze();let n,s,l;const r=ho(t);return i.WebKitCSSMatrix?(s=r.transform||r.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(d=>d.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(s==="none"?"":s)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?s=l.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?s=l.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function Ft(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function bo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function it(){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&&!bo(n)){const s=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=s.length;l<r;l+=1){const d=s[l],a=Object.getOwnPropertyDescriptor(n,d);a!==void 0&&a.enumerable&&(Ft(t[d])&&Ft(n[d])?n[d].__swiper__?t[d]=n[d]:it(t[d],n[d]):!Ft(t[d])&&Ft(n[d])?(t[d]={},n[d].__swiper__?t[d]=n[d]:it(t[d],n[d])):t[d]=n[d])}}}return t}function jt(t,e,i){t.style.setProperty(e,i)}function Ji(t){let{swiper:e,targetPosition:i,side:n}=t;const s=Ze(),l=-e.translate;let r=null,d;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const v=i>l?"next":"prev",u=(m,h)=>v==="next"&&m>=h||v==="prev"&&m<=h,f=()=>{d=new Date().getTime(),r===null&&(r=d);const m=Math.max(Math.min((d-r)/a,1),0),h=.5-Math.cos(m*Math.PI)/2;let S=l+h*(i-l);if(u(S,i)&&(S=i),e.wrapperEl.scrollTo({[n]:S}),u(S,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:S})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(f)};f()}function mt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Vt(t){try{console.warn(t);return}catch{}}function Pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:St(e)),i}function yo(t){const e=Ze(),i=ut(),n=t.getBoundingClientRect(),s=i.body,l=t.clientTop||s.clientTop||0,r=t.clientLeft||s.clientLeft||0,d=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+d-l,left:n.left+a-r}}function wo(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 So(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 xt(t,e){return Ze().getComputedStyle(t,null).getPropertyValue(e)}function zt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ki(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function di(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ci(t,e,i){const n=Ze();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 ft(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function xo(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=Ze();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,d=ot(),a;const v=[];function u(y){let M=0,P=0,x=0,c=0;return"detail"in y&&(P=y.detail),"wheelDelta"in y&&(P=-y.wheelDelta/120),"wheelDeltaY"in y&&(P=-y.wheelDeltaY/120),"wheelDeltaX"in y&&(M=-y.wheelDeltaX/120),"axis"in y&&y.axis===y.HORIZONTAL_AXIS&&(M=P,P=0),x=M*10,c=P*10,"deltaY"in y&&(c=y.deltaY),"deltaX"in y&&(x=y.deltaX),y.shiftKey&&!x&&(x=c,c=0),(x||c)&&y.deltaMode&&(y.deltaMode===1?(x*=40,c*=40):(x*=800,c*=800)),x&&!M&&(M=x<1?-1:1),c&&!P&&(P=c<1?-1:1),{spinX:M,spinY:P,pixelX:x,pixelY:c}}function f(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function h(y){return e.params.mousewheel.thresholdDelta&&y.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ot()-d<e.params.mousewheel.thresholdTime?!1:y.delta>=6&&ot()-d<60?!0:(y.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),s("scroll",y.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),s("scroll",y.raw)),d=new l.Date().getTime(),!1)}function S(y){const A=e.params.mousewheel;if(y.direction<0){if(e.isEnd&&!e.params.loop&&A.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&A.releaseOnEdges)return!0;return!1}function w(y){let A=y,_=!0;if(!e.enabled||y.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const g=e.params.mousewheel;e.params.cssMode&&A.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const P=M&&M.contains(A.target);if(!e.mouseEntered&&!P&&!g.releaseOnEdges)return!0;A.originalEvent&&(A=A.originalEvent);let x=0;const c=e.rtlTranslate?-1:1,E=u(A);if(g.forceToAxis)if(e.isHorizontal())if(Math.abs(E.pixelX)>Math.abs(E.pixelY))x=-E.pixelX*c;else return!0;else if(Math.abs(E.pixelY)>Math.abs(E.pixelX))x=-E.pixelY;else return!0;else x=Math.abs(E.pixelX)>Math.abs(E.pixelY)?-E.pixelX*c:-E.pixelY;if(x===0)return!0;g.invert&&(x=-x);let b=e.getTranslate()+x*g.sensitivity;if(b>=e.minTranslate()&&(b=e.minTranslate()),b<=e.maxTranslate()&&(b=e.maxTranslate()),_=e.params.loop?!0:!(b===e.minTranslate()||b===e.maxTranslate()),_&&e.params.nested&&A.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:ot(),delta:Math.abs(x),direction:Math.sign(x),raw:y};v.length>=2&&v.shift();const O=v.length?v[v.length-1]:void 0;if(v.push(I),O?(I.direction!==O.direction||I.delta>O.delta||I.time>O.time+150)&&h(I):h(I),S(I))return!0}else{const I={time:ot(),delta:Math.abs(x),direction:Math.sign(x)},O=a&&I.time<a.time+500&&I.delta<=a.delta&&I.direction===a.direction;if(!O){a=void 0;let D=e.getTranslate()+x*g.sensitivity;const F=e.isBeginning,U=e.isEnd;if(D>=e.minTranslate()&&(D=e.minTranslate()),D<=e.maxTranslate()&&(D=e.maxTranslate()),e.setTransition(0),e.setTranslate(D),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!U&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,v.length>=15&&v.shift();const R=v.length?v[v.length-1]:void 0,B=v[0];if(v.push(I),R&&(I.delta>R.delta||I.direction!==R.direction))v.splice(0);else if(v.length>=15&&I.time-B.time<500&&B.delta-I.delta>=1&&I.delta<=6){const N=x>0?.8:.2;a=I,v.splice(0),r=At(()=>{e.slideToClosest(e.params.speed,!0,void 0,N)},0)}r||(r=At(()=>{a=I,v.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||s("scroll",A),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),g.releaseOnEdges&&(D===e.minTranslate()||D===e.maxTranslate()))return!0}}return A.preventDefault?A.preventDefault():A.returnValue=!1,!1}function k(y){let A=e.el;e.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(e.params.mousewheel.eventsTarget)),A[y]("mouseenter",f),A[y]("mouseleave",m),A[y]("wheel",w)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",w),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function T(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,w),!0):e.mousewheel.enabled?(k("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&T(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&T()}),Object.assign(e.mousewheel,{enable:p,disable:T})}function Zi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(s=>{if(!i[s]&&i.auto===!0){let l=mt(t.el,`.${n[s]}`)[0];l||(l=Pt("div",n[s]),l.className=n[s],t.el.append(l)),i[s]=l,e[s]=l}}),i}function Ct(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ht(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,d=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function v(p,T){const{bulletActiveClass:y}=e.params.pagination;p&&(p=p[`${T==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${y}-${T}`),p=p[`${T==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${y}-${T}-${T}`)))}function u(p){const T=p.target.closest(Ct(e.params.pagination.bulletClass));if(!T)return;p.preventDefault();const y=zt(T)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;e.slideToLoop(y)}else e.slideTo(y)}function f(){const p=e.rtl,T=e.params.pagination;if(a())return;let y=e.pagination.el;y=ft(y);let A,_;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(_=e.previousRealIndex||0,A=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(A=e.snapIndex,_=e.previousSnapIndex):(_=e.previousIndex||0,A=e.activeIndex||0),T.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const P=e.pagination.bullets;let x,c,E;if(T.dynamicBullets&&(r=ci(P[0],e.isHorizontal()?"width":"height",!0),y.forEach(b=>{b.style[e.isHorizontal()?"width":"height"]=`${r*(T.dynamicMainBullets+4)}px`}),T.dynamicMainBullets>1&&_!==void 0&&(d+=A-(_||0),d>T.dynamicMainBullets-1?d=T.dynamicMainBullets-1:d<0&&(d=0)),x=Math.max(A-d,0),c=x+(Math.min(P.length,T.dynamicMainBullets)-1),E=(c+x)/2),P.forEach(b=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${T.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();b.classList.remove(...I)}),y.length>1)P.forEach(b=>{const I=zt(b);I===A?b.classList.add(...T.bulletActiveClass.split(" ")):e.isElement&&b.setAttribute("part","bullet"),T.dynamicBullets&&(I>=x&&I<=c&&b.classList.add(...`${T.bulletActiveClass}-main`.split(" ")),I===x&&v(b,"prev"),I===c&&v(b,"next"))});else{const b=P[A];if(b&&b.classList.add(...T.bulletActiveClass.split(" ")),e.isElement&&P.forEach((I,O)=>{I.setAttribute("part",O===A?"bullet-active":"bullet")}),T.dynamicBullets){const I=P[x],O=P[c];for(let D=x;D<=c;D+=1)P[D]&&P[D].classList.add(...`${T.bulletActiveClass}-main`.split(" "));v(I,"prev"),v(O,"next")}}if(T.dynamicBullets){const b=Math.min(P.length,T.dynamicMainBullets+4),I=(r*b-r)/2-E*r,O=p?"right":"left";P.forEach(D=>{D.style[e.isHorizontal()?O:"top"]=`${I}px`})}}y.forEach((P,x)=>{if(T.type==="fraction"&&(P.querySelectorAll(Ct(T.currentClass)).forEach(c=>{c.textContent=T.formatFractionCurrent(A+1)}),P.querySelectorAll(Ct(T.totalClass)).forEach(c=>{c.textContent=T.formatFractionTotal(M)})),T.type==="progressbar"){let c;T.progressbarOpposite?c=e.isHorizontal()?"vertical":"horizontal":c=e.isHorizontal()?"horizontal":"vertical";const E=(A+1)/M;let b=1,I=1;c==="horizontal"?b=E:I=E,P.querySelectorAll(Ct(T.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${b}) scaleY(${I})`,O.style.transitionDuration=`${e.params.speed}ms`})}T.type==="custom"&&T.renderCustom?(P.innerHTML=T.renderCustom(e,A+1,M),x===0&&s("paginationRender",P)):(x===0&&s("paginationRender",P),s("paginationUpdate",P)),e.params.watchOverflow&&e.enabled&&P.classList[e.isLocked?"add":"remove"](T.lockClass)})}function m(){const p=e.params.pagination;if(a())return;const T=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let y=e.pagination.el;y=ft(y);let A="";if(p.type==="bullets"){let _=e.params.loop?Math.ceil(T/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&_>T&&(_=T);for(let g=0;g<_;g+=1)p.renderBullet?A+=p.renderBullet.call(e,g,p.bulletClass):A+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?A=p.renderFraction.call(e,p.currentClass,p.totalClass):A=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?A=p.renderProgressbar.call(e,p.progressbarFillClass):A=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],y.forEach(_=>{p.type!=="custom"&&(_.innerHTML=A||""),p.type==="bullets"&&e.pagination.bullets.push(..._.querySelectorAll(Ct(p.bulletClass)))}),p.type!=="custom"&&s("paginationRender",y[0])}function h(){e.params.pagination=Zi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let T;typeof p.el=="string"&&e.isElement&&(T=e.el.querySelector(p.el)),!T&&typeof p.el=="string"&&(T=[...document.querySelectorAll(p.el)]),T||(T=p.el),!(!T||T.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(T)&&T.length>1&&(T=[...e.el.querySelectorAll(p.el)],T.length>1&&(T=T.filter(y=>Ki(y,".swiper")[0]===e.el)[0])),Array.isArray(T)&&T.length===1&&(T=T[0]),Object.assign(e.pagination,{el:T}),T=ft(T),T.forEach(y=>{p.type==="bullets"&&p.clickable&&y.classList.add(...(p.clickableClass||"").split(" ")),y.classList.add(p.modifierClass+p.type),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(y.classList.add(`${p.modifierClass}${p.type}-dynamic`),d=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&y.classList.add(p.progressbarOppositeClass),p.clickable&&y.addEventListener("click",u),e.enabled||y.classList.add(p.lockClass)}))}function S(){const p=e.params.pagination;if(a())return;let T=e.pagination.el;T&&(T=ft(T),T.forEach(y=>{y.classList.remove(p.hiddenClass),y.classList.remove(p.modifierClass+p.type),y.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(y.classList.remove(...(p.clickableClass||"").split(" ")),y.removeEventListener("click",u))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:T}=e.pagination;T=ft(T),T.forEach(y=>{y.classList.remove(p.horizontalClass,p.verticalClass),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?k():(h(),m(),f())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{m(),f()}),n("destroy",()=>{S()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=ft(p),p.forEach(T=>T.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(p,T)=>{const y=T.target,A=ft(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&A&&A.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const _=A[0].classList.contains(e.params.pagination.hiddenClass);s(_===!0?"paginationShow":"paginationHide"),A.forEach(g=>g.classList.toggle(e.params.pagination.hiddenClass))}});const w=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=ft(p),p.forEach(T=>T.classList.remove(e.params.pagination.paginationDisabledClass))),h(),m(),f()},k=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=ft(p),p.forEach(T=>T.classList.add(e.params.pagination.paginationDisabledClass))),S()};Object.assign(e.pagination,{enable:w,disable:k,render:m,update:f,init:h,destroy:S})}function To(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=ut();let r=!1,d=null,a=null,v,u,f,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 h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:b,rtlTranslate:I}=e,{dragEl:O,el:D}=b,F=e.params.scrollbar,U=e.params.loop?e.progressLoop:e.progress;let R=u,B=(f-u)*U;I?(B=-B,B>0?(R=u-B,B=0):-B+u>f&&(R=f+B)):B<0?(R=u+B,B=0):B+u>f&&(R=f-B),e.isHorizontal()?(O.style.transform=`translate3d(${B}px, 0, 0)`,O.style.width=`${R}px`):(O.style.transform=`translate3d(0px, ${B}px, 0)`,O.style.height=`${R}px`),F.hide&&(clearTimeout(d),D.style.opacity=1,d=setTimeout(()=>{D.style.opacity=0,D.style.transitionDuration="400ms"},1e3))}function S(b){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${b}ms`)}function w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:b}=e,{dragEl:I,el:O}=b;I.style.width="",I.style.height="",f=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"?u=f*m:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${u}px`:I.style.height=`${u}px`,m>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&b.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function k(b){return e.isHorizontal()?b.clientX:b.clientY}function p(b){const{scrollbar:I,rtlTranslate:O}=e,{el:D}=I;let F;F=(k(b)-yo(D)[e.isHorizontal()?"left":"top"]-(v!==null?v:u/2))/(f-u),F=Math.max(Math.min(F,1),0),O&&(F=1-F);const U=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(U),e.setTranslate(U),e.updateActiveIndex(),e.updateSlidesClasses()}function T(b){const I=e.params.scrollbar,{scrollbar:O,wrapperEl:D}=e,{el:F,dragEl:U}=O;r=!0,v=b.target===U?k(b)-b.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,b.preventDefault(),b.stopPropagation(),D.style.transitionDuration="100ms",U.style.transitionDuration="100ms",p(b),clearTimeout(a),F.style.transitionDuration="0ms",I.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",b)}function y(b){const{scrollbar:I,wrapperEl:O}=e,{el:D,dragEl:F}=I;r&&(b.preventDefault&&b.cancelable?b.preventDefault():b.returnValue=!1,p(b),O.style.transitionDuration="0ms",D.style.transitionDuration="0ms",F.style.transitionDuration="0ms",s("scrollbarDragMove",b))}function A(b){const I=e.params.scrollbar,{scrollbar:O,wrapperEl:D}=e,{el:F}=O;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",D.style.transitionDuration=""),I.hide&&(clearTimeout(a),a=At(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",b),I.snapOnRelease&&e.slideToClosest())}function _(b){const{scrollbar:I,params:O}=e,D=I.el;if(!D)return;const F=D,U=O.passiveListeners?{passive:!1,capture:!1}:!1,R=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const B=b==="on"?"addEventListener":"removeEventListener";F[B]("pointerdown",T,U),l[B]("pointermove",y,U),l[B]("pointerup",A,R)}function g(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function P(){const{scrollbar:b,el:I}=e;e.params.scrollbar=Zi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let D;if(typeof O.el=="string"&&e.isElement&&(D=e.el.querySelector(O.el)),!D&&typeof O.el=="string"){if(D=l.querySelectorAll(O.el),!D.length)return}else D||(D=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&D.length>1&&I.querySelectorAll(O.el).length===1&&(D=I.querySelector(O.el)),D.length>0&&(D=D[0]),D.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let F;D&&(F=D.querySelector(Ct(e.params.scrollbar.dragClass)),F||(F=Pt("div",e.params.scrollbar.dragClass),D.append(F))),Object.assign(b,{el:D,dragEl:F}),O.draggable&&g(),D&&D.classList[e.enabled?"remove":"add"](...St(e.params.scrollbar.lockClass))}function x(){const b=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...St(e.isHorizontal()?b.horizontalClass:b.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const b=e.params.scrollbar;let{el:I}=e.scrollbar;I=ft(I),I.forEach(O=>{O.classList.remove(b.horizontalClass,b.verticalClass),O.classList.add(e.isHorizontal()?b.horizontalClass:b.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?E():(P(),w(),h())}),n("update resize observerUpdate lock unlock changeDirection",()=>{w()}),n("setTranslate",()=>{h()}),n("setTransition",(b,I)=>{S(I)}),n("enable disable",()=>{const{el:b}=e.scrollbar;b&&b.classList[e.enabled?"remove":"add"](...St(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const c=()=>{e.el.classList.remove(...St(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...St(e.params.scrollbar.scrollbarDisabledClass)),P(),w(),h()},E=()=>{e.el.classList.add(...St(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...St(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:c,disable:E,updateSize:w,setTranslate:h,init:P,destroy:x})}function Ut(t){let{swiper:e,extendParams:i,on:n,emit:s,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,d,a=l&&l.autoplay?l.autoplay.delay:3e3,v=l&&l.autoplay?l.autoplay.delay:3e3,u,f=new Date().getTime(),m,h,S,w,k,p,T;function y(R){!e||e.destroyed||!e.wrapperEl||R.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",y),!(T||R.detail&&R.detail.bySwiperTouchMove)&&c())}const A=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(v=u,m=!1);const R=e.autoplay.paused?u:f+v-new Date().getTime();e.autoplay.timeLeft=R,s("autoplayTimeLeft",R,R/a),d=requestAnimationFrame(()=>{A()})},_=()=>{let R;return e.virtual&&e.params.virtual.enabled?R=e.slides.filter(N=>N.classList.contains("swiper-slide-active"))[0]:R=e.slides[e.activeIndex],R?parseInt(R.getAttribute("data-swiper-autoplay"),10):void 0},g=R=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),A();let B=typeof R>"u"?e.params.autoplay.delay:R;a=e.params.autoplay.delay,v=e.params.autoplay.delay;const N=_();!Number.isNaN(N)&&N>0&&typeof R>"u"&&(B=N,a=N,v=N),u=B;const j=e.params.speed,Z=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(j,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,j,!0,!0),s("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(j,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,j,!0,!0),s("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{g()})))};return B>0?(clearTimeout(r),r=setTimeout(()=>{Z()},B)):requestAnimationFrame(()=>{Z()}),B},M=()=>{f=new Date().getTime(),e.autoplay.running=!0,g(),s("autoplayStart")},P=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(d),s("autoplayStop")},x=(R,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),R||(p=!0);const N=()=>{s("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):c()};if(e.autoplay.paused=!0,B){k&&(u=e.params.autoplay.delay),k=!1,N();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),N())},c=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),p?(p=!1,g(u)):g(),e.autoplay.paused=!1,s("autoplayResume"))},E=()=>{if(e.destroyed||!e.autoplay.running)return;const R=ut();R.visibilityState==="hidden"&&(p=!0,x(!0)),R.visibilityState==="visible"&&c()},b=R=>{R.pointerType==="mouse"&&(p=!0,T=!0,!(e.animating||e.autoplay.paused)&&x(!0))},I=R=>{R.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&c())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",b),e.el.addEventListener("pointerleave",I))},D=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",b),e.el.removeEventListener("pointerleave",I))},F=()=>{ut().addEventListener("visibilitychange",E)},U=()=>{ut().removeEventListener("visibilitychange",E)};n("init",()=>{e.params.autoplay.enabled&&(O(),F(),M())}),n("destroy",()=>{D(),U(),e.autoplay.running&&P()}),n("_freeModeStaticRelease",()=>{(S||p)&&c()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?P():x(!0,!0)}),n("beforeTransitionStart",(R,B,N)=>{e.destroyed||!e.autoplay.running||(N||!e.params.autoplay.disableOnInteraction?x(!0,!0):P())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){P();return}h=!0,S=!1,p=!1,w=setTimeout(()=>{p=!0,S=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(w),clearTimeout(r),e.params.autoplay.disableOnInteraction){S=!1,h=!1;return}S&&e.params.cssMode&&c(),S=!1,h=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:M,stop:P,pause:x,resume:c})}function Eo(t){let{swiper:e,extendParams:i,emit:n,once:s}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:a,touches:v}=e;a.velocities.length===0&&a.velocities.push({position:v[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:v[e.isHorizontal()?"currentX":"currentY"],time:ot()})}function d(a){let{currentPos:v}=a;if(e.params.cssMode)return;const{params:u,wrapperEl:f,rtlTranslate:m,snapGrid:h,touchEventsData:S}=e,k=ot()-S.touchStartTime;if(v<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(v>-e.maxTranslate()){e.slides.length<h.length?e.slideTo(h.length-1):e.slideTo(e.slides.length-1);return}if(u.freeMode.momentum){if(S.velocities.length>1){const P=S.velocities.pop(),x=S.velocities.pop(),c=P.position-x.position,E=P.time-x.time;e.velocity=c/E,e.velocity/=2,Math.abs(e.velocity)<u.freeMode.minimumVelocity&&(e.velocity=0),(E>150||ot()-P.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=u.freeMode.momentumVelocityRatio,S.velocities.length=0;let p=1e3*u.freeMode.momentumRatio;const T=e.velocity*p;let y=e.translate+T;m&&(y=-y);let A=!1,_;const g=Math.abs(e.velocity)*20*u.freeMode.momentumBounceRatio;let M;if(y<e.maxTranslate())u.freeMode.momentumBounce?(y+e.maxTranslate()<-g&&(y=e.maxTranslate()-g),_=e.maxTranslate(),A=!0,S.allowMomentumBounce=!0):y=e.maxTranslate(),u.loop&&u.centeredSlides&&(M=!0);else if(y>e.minTranslate())u.freeMode.momentumBounce?(y-e.minTranslate()>g&&(y=e.minTranslate()+g),_=e.minTranslate(),A=!0,S.allowMomentumBounce=!0):y=e.minTranslate(),u.loop&&u.centeredSlides&&(M=!0);else if(u.freeMode.sticky){let P;for(let x=0;x<h.length;x+=1)if(h[x]>-y){P=x;break}Math.abs(h[P]-y)<Math.abs(h[P-1]-y)||e.swipeDirection==="next"?y=h[P]:y=h[P-1],y=-y}if(M&&s("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-y-e.translate)/e.velocity):p=Math.abs((y-e.translate)/e.velocity),u.freeMode.sticky){const P=Math.abs((m?-y:y)-e.translate),x=e.slidesSizesGrid[e.activeIndex];P<x?p=u.speed:P<2*x?p=u.speed*1.5:p=u.speed*2.5}}else if(u.freeMode.sticky){e.slideToClosest();return}u.freeMode.momentumBounce&&A?(e.updateProgress(_),e.setTransition(p),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,di(f,()=>{!e||e.destroyed||!S.allowMomentumBounce||(n("momentumBounce"),e.setTransition(u.speed),setTimeout(()=>{e.setTranslate(_),di(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(p),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,di(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(u.freeMode.sticky){e.slideToClosest();return}else u.freeMode&&n("_freeModeNoMomentumRelease");(!u.freeMode.momentum||k>=u.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:d}})}let ui;function Ao(){const t=Ze(),e=ut();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 ui||(ui=Ao()),ui}let vi;function Co(t){let{userAgent:e}=t===void 0?{}:t;const i=Qi(),n=Ze(),s=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},d=n.screen.width,a=n.screen.height,v=l.match(/(Android);?[\s\/]+([\d.]+)?/);let u=l.match(/(iPad).*OS\s([\d_]+)/);const f=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!u&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=s==="Win32";let S=s==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&S&&i.touch&&w.indexOf(`${d}x${a}`)>=0&&(u=l.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),S=!1),v&&!h&&(r.os="android",r.android=!0),(u||m||f)&&(r.os="ios",r.ios=!0),r}function $i(t){return t===void 0&&(t={}),vi||(vi=Co(t)),vi}let pi;function Io(){const t=Ze(),e=$i();let i=!1;function n(){const d=t.navigator.userAgent.toLowerCase();return d.indexOf("safari")>=0&&d.indexOf("chrome")<0&&d.indexOf("android")<0}if(n()){const d=String(t.navigator.userAgent);if(d.includes("Version/")){const[a,v]=d.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));i=a<16||a===16&&v<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||s&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:s}}function ko(){return pi||(pi=Io()),pi}function _o(t){let{swiper:e,on:i,emit:n}=t;const s=Ze();let l=null,r=null;const d=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(f=>{r=s.requestAnimationFrame(()=>{const{width:m,height:h}=e;let S=m,w=h;f.forEach(k=>{let{contentBoxSize:p,contentRect:T,target:y}=k;y&&y!==e.el||(S=T?T.width:(p[0]||p).inlineSize,w=T?T.height:(p[0]||p).blockSize)}),(S!==m||w!==h)&&d()})}),l.observe(e.el))},v=()=>{r&&s.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},u=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof s.ResizeObserver<"u"){a();return}s.addEventListener("resize",d),s.addEventListener("orientationchange",u)}),i("destroy",()=>{v(),s.removeEventListener("resize",d),s.removeEventListener("orientationchange",u)})}function Po(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=[],r=Ze(),d=function(u,f){f===void 0&&(f={});const m=r.MutationObserver||r.WebkitMutationObserver,h=new m(S=>{if(e.__preventObserver__)return;if(S.length===1){s("observerUpdate",S[0]);return}const w=function(){s("observerUpdate",S[0])};r.requestAnimationFrame?r.requestAnimationFrame(w):r.setTimeout(w,0)});h.observe(u,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),l.push(h)},a=()=>{if(e.params.observer){if(e.params.observeParents){const u=Ki(e.hostEl);for(let f=0;f<u.length;f+=1)d(u[f])}d(e.hostEl,{childList:e.params.observeSlideChildren}),d(e.wrapperEl,{attributes:!1})}},v=()=>{l.forEach(u=>{u.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",v)}var Do={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const s=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][s](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function s(){n.off(t,s),s.__emitterProxy&&delete s.__emitterProxy;for(var l=arguments.length,r=new Array(l),d=0;d<l;d++)r[d]=arguments[d];e.apply(n,r)}return s.__emitterProxy=e,n.on(t,s,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((s,l)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var s=arguments.length,l=new Array(s),r=0;r<s;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(v=>{v.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(v=>{v.apply(n,i)})}),t}};function Mo(){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(xt(n,"padding-left")||0,10)-parseInt(xt(n,"padding-right")||0,10),i=i-parseInt(xt(n,"padding-top")||0,10)-parseInt(xt(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Oo(){const t=this;function e(c,E){return parseFloat(c.getPropertyValue(t.getDirectionLabel(E))||0)}const i=t.params,{wrapperEl:n,slidesEl:s,size:l,rtlTranslate:r,wrongRTL:d}=t,a=t.virtual&&i.virtual.enabled,v=a?t.virtual.slides.length:t.slides.length,u=mt(s,`.${t.params.slideClass}, swiper-slide`),f=a?t.virtual.slides.length:u.length;let m=[];const h=[],S=[];let w=i.slidesOffsetBefore;typeof w=="function"&&(w=i.slidesOffsetBefore.call(t));let k=i.slidesOffsetAfter;typeof k=="function"&&(k=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,T=t.slidesGrid.length;let y=i.spaceBetween,A=-w,_=0,g=0;if(typeof l>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*l:typeof y=="string"&&(y=parseFloat(y)),t.virtualSize=-y,u.forEach(c=>{r?c.style.marginLeft="":c.style.marginRight="",c.style.marginBottom="",c.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(jt(n,"--swiper-centered-offset-before",""),jt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();let P;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(c=>typeof i.breakpoints[c].slidesPerView<"u").length>0;for(let c=0;c<f;c+=1){P=0;let E;if(u[c]&&(E=u[c]),M&&t.grid.updateSlide(c,E,u),!(u[c]&&xt(E,"display")==="none")){if(i.slidesPerView==="auto"){x&&(u[c].style[t.getDirectionLabel("width")]="");const b=getComputedStyle(E),I=E.style.transform,O=E.style.webkitTransform;if(I&&(E.style.transform="none"),O&&(E.style.webkitTransform="none"),i.roundLengths)P=t.isHorizontal()?ci(E,"width",!0):ci(E,"height",!0);else{const D=e(b,"width"),F=e(b,"padding-left"),U=e(b,"padding-right"),R=e(b,"margin-left"),B=e(b,"margin-right"),N=b.getPropertyValue("box-sizing");if(N&&N==="border-box")P=D+R+B;else{const{clientWidth:j,offsetWidth:Z}=E;P=D+F+U+R+B+(Z-j)}}I&&(E.style.transform=I),O&&(E.style.webkitTransform=O),i.roundLengths&&(P=Math.floor(P))}else P=(l-(i.slidesPerView-1)*y)/i.slidesPerView,i.roundLengths&&(P=Math.floor(P)),u[c]&&(u[c].style[t.getDirectionLabel("width")]=`${P}px`);u[c]&&(u[c].swiperSlideSize=P),S.push(P),i.centeredSlides?(A=A+P/2+_/2+y,_===0&&c!==0&&(A=A-l/2-y),c===0&&(A=A-l/2-y),Math.abs(A)<1/1e3&&(A=0),i.roundLengths&&(A=Math.floor(A)),g%i.slidesPerGroup===0&&m.push(A),h.push(A)):(i.roundLengths&&(A=Math.floor(A)),(g-Math.min(t.params.slidesPerGroupSkip,g))%t.params.slidesPerGroup===0&&m.push(A),h.push(A),A=A+P+y),t.virtualSize+=P+y,_=P,g+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+k,r&&d&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+y}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+y}px`),M&&t.grid.updateWrapperSize(P,m),!i.centeredSlides){const c=[];for(let E=0;E<m.length;E+=1){let b=m[E];i.roundLengths&&(b=Math.floor(b)),m[E]<=t.virtualSize-l&&c.push(b)}m=c,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const c=S[0]+y;if(i.slidesPerGroup>1){const E=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),b=c*i.slidesPerGroup;for(let I=0;I<E;I+=1)m.push(m[m.length-1]+b)}for(let E=0;E<t.virtual.slidesBefore+t.virtual.slidesAfter;E+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+c),h.push(h[h.length-1]+c),t.virtualSize+=c}if(m.length===0&&(m=[0]),y!==0){const c=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");u.filter((E,b)=>!i.cssMode||i.loop?!0:b!==u.length-1).forEach(E=>{E.style[c]=`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let c=0;S.forEach(b=>{c+=b+(y||0)}),c-=y;const E=c-l;m=m.map(b=>b<=0?-w:b>E?E+k:b)}if(i.centerInsufficientSlides){let c=0;S.forEach(b=>{c+=b+(y||0)}),c-=y;const E=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(c+E<l){const b=(l-c-E)/2;m.forEach((I,O)=>{m[O]=I-b}),h.forEach((I,O)=>{h[O]=I+b})}}if(Object.assign(t,{slides:u,snapGrid:m,slidesGrid:h,slidesSizesGrid:S}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){jt(n,"--swiper-centered-offset-before",`${-m[0]}px`),jt(n,"--swiper-centered-offset-after",`${t.size/2-S[S.length-1]/2}px`);const c=-t.snapGrid[0],E=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(b=>b+c),t.slidesGrid=t.slidesGrid.map(b=>b+E)}if(f!==v&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==T&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const c=`${i.containerModifierClass}backface-hidden`,E=t.el.classList.contains(c);f<=i.maxBackfaceHiddenSlides?E||t.el.classList.add(c):E&&t.el.classList.remove(c)}}function Ro(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let s=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=d=>n?e.slides[e.getSlideIndexByData(d)]:e.slides[d];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(d=>{i.push(d)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const d=e.activeIndex+l;if(d>e.slides.length&&!n)break;i.push(r(d))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const d=i[l].offsetHeight;s=d>s?d:s}(s||s===0)&&(e.wrapperEl.style.height=`${s}px`)}function Lo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const en=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Bo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:s,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;s&&(r=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let d=i.spaceBetween;typeof d=="string"&&d.indexOf("%")>=0?d=parseFloat(d.replace("%",""))/100*e.size:typeof d=="string"&&(d=parseFloat(d));for(let a=0;a<n.length;a+=1){const v=n[a];let u=v.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(u-=n[0].swiperSlideOffset);const f=(r+(i.centeredSlides?e.minTranslate():0)-u)/(v.swiperSlideSize+d),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-u)/(v.swiperSlideSize+d),h=-(r-u),S=h+e.slidesSizesGrid[a],w=h>=0&&h<=e.size-e.slidesSizesGrid[a],k=h>=0&&h<e.size-1||S>1&&S<=e.size||h<=0&&S>=e.size;k&&(e.visibleSlides.push(v),e.visibleSlidesIndexes.push(a)),en(v,k,i.slideVisibleClass),en(v,w,i.slideFullyVisibleClass),v.progress=s?-f:f,v.originalProgress=s?-m:m}}function No(t){const e=this;if(typeof t>"u"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:l,isEnd:r,progressLoop:d}=e;const a=l,v=r;if(n===0)s=0,l=!0,r=!0;else{s=(t-e.minTranslate())/n;const u=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;l=u||s<=0,r=f||s>=1,u&&(s=0),f&&(s=1)}if(i.loop){const u=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[u],h=e.slidesGrid[f],S=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=m?d=(w-m)/S:d=(w+S-h)/S,d>1&&(d-=1)}Object.assign(e,{progress:s,progressLoop:d,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),r&&!v&&e.emit("reachEnd toEdge"),(a&&!l||v&&!r)&&e.emit("fromEdge"),e.emit("progress",s)}const mi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Fo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:s}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,d=f=>mt(n,`.${i.slideClass}${f}, swiper-slide${f}`)[0];let a,v,u;if(l)if(i.loop){let f=s-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),a=d(`[data-swiper-slide-index="${f}"]`)}else a=d(`[data-swiper-slide-index="${s}"]`);else r?(a=e.filter(f=>f.column===s)[0],u=e.filter(f=>f.column===s+1)[0],v=e.filter(f=>f.column===s-1)[0]):a=e[s];a&&(r||(u=So(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u&&(u=e[0]),v=wo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!v===0&&(v=e[e.length-1]))),e.forEach(f=>{mi(f,f===a,i.slideActiveClass),mi(f,f===u,i.slideNextClass),mi(f,f===v,i.slidePrevClass)}),t.emitSlidesClasses()}const Gt=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let s=n.querySelector(`.${t.params.lazyPreloaderClass}`);!s&&t.isElement&&(n.shadowRoot?s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),s&&s.remove())})),s&&s.remove()}},fi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},hi=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),s=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=s,d=[r-e];d.push(...Array.from({length:e}).map((a,v)=>r+n+v)),t.slides.forEach((a,v)=>{d.includes(a.column)&&fi(t,v)});return}const l=s+n-1;if(t.params.rewind||t.params.loop)for(let r=s-e;r<=l+e;r+=1){const d=(r%i+i)%i;(d<s||d>l)&&fi(t,d)}else for(let r=Math.max(s-e,0);r<=Math.min(l+e,i-1);r+=1)r!==s&&(r>l||r<s)&&fi(t,r)};function jo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let s;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?s=l:n>=e[l]&&n<e[l+1]&&(s=l+1):n>=e[l]&&(s=l);return i.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function Vo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:s,activeIndex:l,realIndex:r,snapIndex:d}=e;let a=t,v;const u=h=>{let S=h-e.virtual.slidesBefore;return S<0&&(S=e.virtual.slides.length+S),S>=e.virtual.slides.length&&(S-=e.virtual.slides.length),S};if(typeof a>"u"&&(a=jo(e)),n.indexOf(i)>=0)v=n.indexOf(i);else{const h=Math.min(s.slidesPerGroupSkip,a);v=h+Math.floor((a-h)/s.slidesPerGroup)}if(v>=n.length&&(v=n.length-1),a===l&&!e.params.loop){v!==d&&(e.snapIndex=v,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(a);return}const f=e.grid&&s.grid&&s.grid.rows>1;let m;if(e.virtual&&s.virtual.enabled&&s.loop)m=u(a);else if(f){const h=e.slides.filter(w=>w.column===a)[0];let S=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(S)&&(S=Math.max(e.slides.indexOf(h),0)),m=Math.floor(S/s.grid.rows)}else if(e.slides[a]){const h=e.slides[a].getAttribute("data-swiper-slide-index");h?m=parseInt(h,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:d,snapIndex:v,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&hi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function zo(t,e){const i=this,n=i.params;let s=t.closest(`.${n.slideClass}, swiper-slide`);!s&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(d=>{!s&&d.matches&&d.matches(`.${n.slideClass}, swiper-slide`)&&(s=d)});let l=!1,r;if(s){for(let d=0;d<i.slides.length;d+=1)if(i.slides[d]===s){l=!0,r=d;break}}if(s&&l)i.clickedSlide=s,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Ho={updateSize:Mo,updateSlides:Oo,updateAutoHeight:Ro,updateSlidesOffset:Lo,updateSlidesProgress:Bo,updateProgress:No,updateSlidesClasses:Fo,updateActiveIndex:Vo,updateClickedSlide:zo};function Uo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:s,wrapperEl:l}=e;if(i.virtualTranslate)return n?-s:s;if(i.cssMode)return s;let r=go(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Go(t,e){const i=this,{rtlTranslate:n,params:s,wrapperEl:l,progress:r}=i;let d=0,a=0;const v=0;i.isHorizontal()?d=n?-t:t:a=t,s.roundLengths&&(d=Math.floor(d),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?d:a,s.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-d:-a:s.virtualTranslate||(i.isHorizontal()?d-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${d}px, ${a}px, ${v}px)`);let u;const f=i.maxTranslate()-i.minTranslate();f===0?u=0:u=(t-i.minTranslate())/f,u!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Wo(){return-this.snapGrid[0]}function Yo(){return-this.snapGrid[this.snapGrid.length-1]}function Xo(t,e,i,n,s){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:d}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const a=l.minTranslate(),v=l.maxTranslate();let u;if(n&&t>a?u=a:n&&t<v?u=v:u=t,l.updateProgress(u),r.cssMode){const f=l.isHorizontal();if(e===0)d[f?"scrollLeft":"scrollTop"]=-u;else{if(!l.support.smoothScroll)return Ji({swiper:l,targetPosition:-u,side:f?"left":"top"}),!0;d.scrollTo({[f?"left":"top"]:-u,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(u),i&&(l.emit("beforeTransitionStart",e,s),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(u),i&&(l.emit("beforeTransitionStart",e,s),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var qo={getTranslate:Uo,setTranslate:Go,minTranslate:Wo,maxTranslate:Yo,translateTo:Xo};function Jo(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 tn(t){let{swiper:e,runCallbacks:i,direction:n,step:s}=t;const{activeIndex:l,previousIndex:r}=e;let d=n;if(d||(l>r?d="next":l<r?d="prev":d="reset"),e.emit(`transition${s}`),i&&l!==r){if(d==="reset"){e.emit(`slideResetTransition${s}`);return}e.emit(`slideChangeTransition${s}`),d==="next"?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`)}}function Ko(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),tn({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),tn({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Qo={setTransition:Jo,transitionStart:Ko,transitionEnd:Zo};function $o(t,e,i,n,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:d,snapGrid:a,slidesGrid:v,previousIndex:u,activeIndex:f,rtlTranslate:m,wrapperEl:h,enabled:S}=l;if(!S&&!n&&!s||l.destroyed||l.animating&&d.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const w=Math.min(l.params.slidesPerGroupSkip,r);let k=w+Math.floor((r-w)/l.params.slidesPerGroup);k>=a.length&&(k=a.length-1);const p=-a[k];if(d.normalizeSlideIndex)for(let y=0;y<v.length;y+=1){const A=-Math.floor(p*100),_=Math.floor(v[y]*100),g=Math.floor(v[y+1]*100);typeof v[y+1]<"u"?A>=_&&A<g-(g-_)/2?r=y:A>=_&&A<g&&(r=y+1):A>=_&&(r=y)}if(l.initialized&&r!==f&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(f||0)!==r))return!1;r!==(u||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let T;if(r>f?T="next":r<f?T="prev":T="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),d.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),d.effect!=="slide"&&l.setTranslate(p),T!=="reset"&&(l.transitionStart(i,T),l.transitionEnd(i,T)),!1;if(d.cssMode){const y=l.isHorizontal(),A=m?p:-p;if(e===0){const _=l.virtual&&l.params.virtual.enabled;_&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),_&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[y?"scrollLeft":"scrollTop"]=A})):h[y?"scrollLeft":"scrollTop"]=A,_&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Ji({swiper:l,targetPosition:A,side:y?"left":"top"}),!0;h.scrollTo({[y?"left":"top"]:A,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,T),e===0?l.transitionEnd(i,T):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(A){!l||l.destroyed||A.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,T))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function el(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);const l=s.grid&&s.params.grid&&s.params.grid.rows>1;let r=t;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)r=r+s.virtual.slidesBefore;else{let d;if(l){const m=r*s.params.grid.rows;d=s.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===m)[0].column}else d=s.getSlideIndexByData(r);const a=l?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:v}=s.params;let u=s.params.slidesPerView;u==="auto"?u=s.slidesPerViewDynamic():(u=Math.ceil(parseFloat(s.params.slidesPerView,10)),v&&u%2===0&&(u=u+1));let f=a-d<u;if(v&&(f=f||d<Math.ceil(u/2)),n&&v&&s.params.slidesPerView!=="auto"&&!l&&(f=!1),f){const m=v?d<s.activeIndex?"prev":"next":d-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?d+1:d-a+1,slideRealIndex:m==="next"?s.realIndex:void 0})}if(l){const m=r*s.params.grid.rows;r=s.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=s.getSlideIndexByData(r)}return requestAnimationFrame(()=>{s.slideTo(r,e,i,n)}),s}function tl(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:s,params:l,animating:r}=n;if(!s||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let d=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(d=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:d,v=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!v&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function il(t,e,i){e===void 0&&(e=!0);const n=this,{params:s,snapGrid:l,slidesGrid:r,rtlTranslate:d,enabled:a,animating:v}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const u=n.virtual&&s.virtual.enabled;if(s.loop){if(v&&!u&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const f=d?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const h=m(f),S=l.map(p=>m(p));let w=l[S.indexOf(h)-1];if(typeof w>"u"&&s.cssMode){let p;l.forEach((T,y)=>{h>=T&&(p=y)}),typeof p<"u"&&(w=l[p>0?p-1:p])}let k=0;if(typeof w<"u"&&(k=r.indexOf(w),k<0&&(k=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(k=k-n.slidesPerViewDynamic("previous",!0)+1,k=Math.max(k,0))),s.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(s.loop&&n.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(k,t,e,i)}),!0;return n.slideTo(k,t,e,i)}function nl(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 ol(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const s=this;if(s.destroyed)return;typeof t>"u"&&(t=s.params.speed);let l=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,l),d=r+Math.floor((l-r)/s.params.slidesPerGroup),a=s.rtlTranslate?s.translate:-s.translate;if(a>=s.snapGrid[d]){const v=s.snapGrid[d],u=s.snapGrid[d+1];a-v>(u-v)*n&&(l+=s.params.slidesPerGroup)}else{const v=s.snapGrid[d-1],u=s.snapGrid[d];a-v<=(u-v)*n&&(l-=s.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,s.slidesGrid.length-1),s.slideTo(l,t,e,i)}function ll(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let s=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?s<t.loopedSlides-n/2||s>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=t.getSlideIndex(mt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),At(()=>{t.slideTo(s)})):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=t.getSlideIndex(mt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),At(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}var sl={slideTo:$o,slideToLoop:el,slideNext:tl,slidePrev:il,slideReset:nl,slideToClosest:ol,slideToClickedSlide:ll};function al(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const s=()=>{mt(n,`.${i.slideClass}, swiper-slide`).forEach((f,m)=>{f.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),d=e.slides.length%r!==0,a=l&&e.slides.length%i.grid.rows!==0,v=u=>{for(let f=0;f<u;f+=1){const m=e.isElement?Pt("swiper-slide",[i.slideBlankClass]):Pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(d){if(i.loopAddBlankSlides){const u=r-e.slides.length%r;v(u),e.recalcSlides(),e.updateSlides()}else Vt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(a){if(i.loopAddBlankSlides){const u=i.grid.rows-e.slides.length%i.grid.rows;v(u),e.recalcSlides(),e.updateSlides()}else Vt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function rl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:s,activeSlideIndex:l,byController:r,byMousewheel:d}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:v,allowSlidePrev:u,allowSlideNext:f,slidesEl:m,params:h}=a,{centeredSlides:S}=h;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&h.virtual.enabled){i&&(!h.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):h.centeredSlides&&a.snapIndex<h.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=u,a.allowSlideNext=f,a.emit("loopFix");return}let w=h.slidesPerView;w==="auto"?w=a.slidesPerViewDynamic():(w=Math.ceil(parseFloat(h.slidesPerView,10)),S&&w%2===0&&(w=w+1));const k=h.slidesPerGroupAuto?w:h.slidesPerGroup;let p=k;p%k!==0&&(p+=k-p%k),p+=h.loopAdditionalSlides,a.loopedSlides=p;const T=a.grid&&h.grid&&h.grid.rows>1;v.length<w+p?Vt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):T&&h.grid.fill==="row"&&Vt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],A=[];let _=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(v.filter(I=>I.classList.contains(h.slideActiveClass))[0]):_=l;const g=n==="next"||!n,M=n==="prev"||!n;let P=0,x=0;const c=T?Math.ceil(v.length/h.grid.rows):v.length,b=(T?v[l].column:l)+(S&&typeof s>"u"?-w/2+.5:0);if(b<p){P=Math.max(p-b,k);for(let I=0;I<p-b;I+=1){const O=I-Math.floor(I/c)*c;if(T){const D=c-O-1;for(let F=v.length-1;F>=0;F-=1)v[F].column===D&&y.push(F)}else y.push(c-O-1)}}else if(b+w>c-p){x=Math.max(b-(c-p*2),k);for(let I=0;I<x;I+=1){const O=I-Math.floor(I/c)*c;T?v.forEach((D,F)=>{D.column===O&&A.push(F)}):A.push(O)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),M&&y.forEach(I=>{v[I].swiperLoopMoveDOM=!0,m.prepend(v[I]),v[I].swiperLoopMoveDOM=!1}),g&&A.forEach(I=>{v[I].swiperLoopMoveDOM=!0,m.append(v[I]),v[I].swiperLoopMoveDOM=!1}),a.recalcSlides(),h.slidesPerView==="auto"?a.updateSlides():T&&(y.length>0&&M||A.length>0&&g)&&a.slides.forEach((I,O)=>{a.grid.updateSlide(O,I,a.slides)}),h.watchSlidesProgress&&a.updateSlidesOffset(),i){if(y.length>0&&M){if(typeof e>"u"){const I=a.slidesGrid[_],D=a.slidesGrid[_+P]-I;d?a.setTranslate(a.translate-D):(a.slideTo(_+Math.ceil(P),0,!1,!0),s&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-D,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-D))}else if(s){const I=T?y.length/h.grid.rows:y.length;a.slideTo(a.activeIndex+I,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(A.length>0&&g)if(typeof e>"u"){const I=a.slidesGrid[_],D=a.slidesGrid[_-x]-I;d?a.setTranslate(a.translate-D):(a.slideTo(_-x,0,!1,!0),s&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-D,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-D))}else{const I=T?A.length/h.grid.rows:A.length;a.slideTo(a.activeIndex-I,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=f,a.controller&&a.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:s,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...I,slideTo:O.params.slidesPerView===h.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...I,slideTo:a.controller.control.params.slidesPerView===h.slidesPerView?i:!1})}a.emit("loopFix")}function dl(){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(s=>{const l=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;n[l]=s}),t.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),n.forEach(s=>{i.append(s)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var cl={loopCreate:al,loopFix:rl,loopDestroy:dl};function ul(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 vl(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var pl={setGrabCursor:ul,unsetGrabCursor:vl};function ml(t,e){e===void 0&&(e=this);function i(n){if(!n||n===ut()||n===Ze())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(t);return!s&&!n.getRootNode?null:s||i(n.getRootNode().host)}return i(e)}function nn(t,e,i){const n=Ze(),{params:s}=t,l=s.edgeSwipeDetection,r=s.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function fl(t){const e=this,i=ut();let n=t;n.originalEvent&&(n=n.originalEvent);const s=e.touchEventsData;if(n.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==n.pointerId)return;s.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(s.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){nn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:d}=e;if(!d||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||s.isTouched&&s.isMoved)return;const v=!!l.noSwipingClass&&l.noSwipingClass!=="",u=n.composedPath?n.composedPath():n.path;v&&n.target&&n.target.shadowRoot&&u&&(a=u[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?ml(f,a):a.closest(f))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const h=r.currentX,S=r.currentY;if(!nn(e,n,h))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=h,r.startY=S,s.touchStartTime=ot(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(s.allowThresholdMove=!1);let w=!0;a.matches(s.focusableElements)&&(w=!1,a.nodeName==="SELECT"&&(s.isTouched=!1)),i.activeElement&&i.activeElement.matches(s.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const k=w&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||k)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function hl(t){const e=ut(),i=this,n=i.touchEventsData,{params:s,touches:l,rtlTranslate:r,enabled:d}=i;if(!d||!s.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let v;if(a.type==="touchmove"){if(v=[...a.changedTouches].filter(g=>g.identifier===n.touchId)[0],!v||v.identifier!==n.touchId)return}else v=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const u=v.pageX,f=v.pageY;if(a.preventedByNestedSwiper){l.startX=u,l.startY=f;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:u,startY:f,currentX:u,currentY:f}),n.touchStartTime=ot());return}if(s.touchReleaseOnEdges&&!s.loop){if(i.isVertical()){if(f<l.startY&&i.translate<=i.maxTranslate()||f>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(u<l.startX&&i.translate<=i.maxTranslate()||u>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=u,l.currentY=f;const m=l.currentX-l.startX,h=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+h**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let g;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+h*h>=25&&(g=Math.atan2(Math.abs(h),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?g>s.touchAngle:90-g>s.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!s.cssMode&&a.cancelable&&a.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&a.stopPropagation();let S=i.isHorizontal()?m:h,w=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;s.oneWayMovement&&(S=Math.abs(S)*(r?1:-1),w=Math.abs(w)*(r?1:-1)),l.diff=S,S*=s.touchRatio,r&&(S=-S,w=-w);const k=i.touchesDirection;i.swipeDirection=S>0?"prev":"next",i.touchesDirection=w>0?"prev":"next";const p=i.params.loop&&!s.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&T&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const g=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(g)}n.allowMomentumBounce=!1,s.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let y;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&k!==i.touchesDirection&&p&&T&&Math.abs(S)>=1){Object.assign(l,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=S+n.startTranslate;let A=!0,_=s.resistanceRatio;if(s.touchReleaseOnEdges&&(_=0),S>0?(p&&T&&!y&&n.allowThresholdMove&&n.currentTranslate>(s.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(A=!1,s.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+S)**_))):S<0&&(p&&T&&!y&&n.allowThresholdMove&&n.currentTranslate<(s.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(s.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(A=!1,s.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-S)**_))),A&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(S)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&i.freeMode||s.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function gl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let s;if(n.type==="touchend"||n.type==="touchcancel"){if(s=[...n.changedTouches].filter(_=>_.identifier===i.touchId)[0],!s||s.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;s=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:d,rtlTranslate:a,slidesGrid:v,enabled:u}=e;if(!u||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=ot(),m=f-i.touchStartTime;if(e.allowClick){const _=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(_&&_[0]||n.target,_),e.emit("tap click",n),m<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=ot(),At(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||d.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let h;if(r.followFinger?h=a?e.translate:-e.translate:h=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:h});return}const S=h>=-e.maxTranslate()&&!e.params.loop;let w=0,k=e.slidesSizesGrid[0];for(let _=0;_<v.length;_+=_<r.slidesPerGroupSkip?1:r.slidesPerGroup){const g=_<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof v[_+g]<"u"?(S||h>=v[_]&&h<v[_+g])&&(w=_,k=v[_+g]-v[_]):(S||h>=v[_])&&(w=_,k=v[v.length-1]-v[v.length-2])}let p=null,T=null;r.rewind&&(e.isBeginning?T=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const y=(h-v[w])/k,A=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:w+A):e.slideTo(w)),e.swipeDirection==="prev"&&(y>1-r.longSwipesRatio?e.slideTo(w+A):T!==null&&y<0&&Math.abs(y)>r.longSwipesRatio?e.slideTo(T):e.slideTo(w))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(w+A):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:w+A),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:w))}}function on(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const d=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!d?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=s,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function bl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function yl(){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 s;const l=t.maxTranslate()-t.minTranslate();l===0?s=0:s=(t.translate-t.minTranslate())/l,s!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function wl(t){const e=this;Gt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Sl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ln=(t,e)=>{const i=ut(),{params:n,el:s,wrapperEl:l,device:r}=t,d=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",v=e;!s||typeof s=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:d}),s[a]("touchstart",t.onTouchStart,{passive:!1}),s[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:d}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:d}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[v](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",on,!0):t[v]("observerUpdate",on,!0),s[a]("load",t.onLoad,{capture:!0}))};function xl(){const t=this,{params:e}=t;t.onTouchStart=fl.bind(t),t.onTouchMove=hl.bind(t),t.onTouchEnd=gl.bind(t),t.onDocumentTouchStart=Sl.bind(t),e.cssMode&&(t.onScroll=yl.bind(t)),t.onClick=bl.bind(t),t.onLoad=wl.bind(t),ln(t,"on")}function Tl(){ln(this,"off")}var El={attachEvents:xl,detachEvents:Tl};const sn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Al(){const t=this,{realIndex:e,initialized:i,params:n,el:s}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const a=(r in l?l[r]:void 0)||t.originalParams,v=sn(t,n),u=sn(t,a),f=t.params.grabCursor,m=a.grabCursor,h=n.enabled;v&&!u?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!v&&u&&(s.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&s.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!m?t.unsetGrabCursor():!f&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(y=>{if(typeof a[y]>"u")return;const A=n[y]&&n[y].enabled,_=a[y]&&a[y].enabled;A&&!_&&t[y].disable(),!A&&_&&t[y].enable()});const S=a.direction&&a.direction!==n.direction,w=n.loop&&(a.slidesPerView!==n.slidesPerView||S),k=n.loop;S&&i&&t.changeDirection(),it(t.params,a);const p=t.params.enabled,T=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),h&&!p?t.disable():!h&&p&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(w?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!k&&T?(t.loopCreate(e),t.updateSlides()):k&&!T&&t.loopDestroy()),t.emit("breakpoint",a)}function Cl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const s=Ze(),l=e==="window"?s.innerHeight:i.clientHeight,r=Object.keys(t).map(d=>{if(typeof d=="string"&&d.indexOf("@")===0){const a=parseFloat(d.substr(1));return{value:l*a,point:d}}return{value:d,point:d}});r.sort((d,a)=>parseInt(d.value,10)-parseInt(a.value,10));for(let d=0;d<r.length;d+=1){const{point:a,value:v}=r[d];e==="window"?s.matchMedia(`(min-width: ${v}px)`).matches&&(n=a):v<=i.clientWidth&&(n=a)}return n||"max"}var Il={setBreakpoint:Al,getBreakpoint:Cl};function kl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&i.push(e+s)}):typeof n=="string"&&i.push(e+n)}),i}function _l(){const t=this,{classNames:e,params:i,rtl:n,el:s,device:l}=t,r=kl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),s.classList.add(...e),t.emitContainerClasses()}function Pl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Dl={addClasses:_l,removeClasses:Pl};function Ml(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const s=t.slides.length-1,l=t.slidesGrid[s]+t.slidesSizesGrid[s]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ol={checkOverflow:Ml},gi={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Rl(t,e){return function(n){n===void 0&&(n={});const s=Object.keys(n)[0],l=n[s];if(typeof l!="object"||l===null){it(e,n);return}if(t[s]===!0&&(t[s]={enabled:!0}),s==="navigation"&&t[s]&&t[s].enabled&&!t[s].prevEl&&!t[s].nextEl&&(t[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&t[s]&&t[s].enabled&&!t[s].el&&(t[s].auto=!0),!(s in t&&"enabled"in l)){it(e,n);return}typeof t[s]=="object"&&!("enabled"in t[s])&&(t[s].enabled=!0),t[s]||(t[s]={enabled:!1}),it(e,n)}}const bi={eventsEmitter:Do,update:Ho,translate:qo,transition:Qo,slide:sl,loop:cl,grabCursor:pl,events:El,breakpoints:Il,checkOverflow:Ol,classes:Dl},yi={};let wi=class wt{constructor(){let e,i;for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?i=s[0]:[e,i]=s,i||(i={}),i=it({},i),e&&!i.el&&(i.el=e);const r=ut();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const u=[];return r.querySelectorAll(i.el).forEach(f=>{const m=it({},i,{el:f});u.push(new wt(m))}),u}const d=this;d.__swiper__=!0,d.support=Qi(),d.device=$i({userAgent:i.userAgent}),d.browser=ko(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],i.modules&&Array.isArray(i.modules)&&d.modules.push(...i.modules);const a={};d.modules.forEach(u=>{u({params:i,swiper:d,extendParams:Rl(i,a),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});const v=it({},gi,a);return d.params=it({},v,yi,i),d.originalParams=it({},d.params),d.passedParams=it({},i),d.params&&d.params.on&&Object.keys(d.params.on).forEach(u=>{d.on(u,d.params.on[u])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return d.params.direction==="horizontal"},isVertical(){return d.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:d.params.allowSlideNext,allowSlidePrev:d.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:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}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,s=mt(i,`.${n.slideClass}, swiper-slide`),l=zt(s[0]);return zt(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=mt(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 s=n.minTranslate(),r=(n.maxTranslate()-s)*e+s;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const s=e.getSlideClasses(n);i.push({slideEl:n,classNames:s}),e.emit("_slideClass",n,s)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:s,slides:l,slidesGrid:r,slidesSizesGrid:d,size:a,activeIndex:v}=n;let u=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let f=l[v]?Math.ceil(l[v].swiperSlideSize):0,m;for(let h=v+1;h<l.length;h+=1)l[h]&&!m&&(f+=Math.ceil(l[h].swiperSlideSize),u+=1,f>a&&(m=!0));for(let h=v-1;h>=0;h-=1)l[h]&&!m&&(f+=l[h].swiperSlideSize,u+=1,f>a&&(m=!0))}else if(e==="current")for(let f=v+1;f<l.length;f+=1)(i?r[f]+d[f]-r[v]<a:r[f]-r[v]<a)&&(u+=1);else for(let f=v-1;f>=0;f-=1)r[v]-r[f]<a&&(u+=1);return u}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Gt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const r=e.rtlTranslate?e.translate*-1:e.translate,d=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(d),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)s(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||s()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,s=n.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${s}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const s=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(s()):mt(n,s())[0];return!r&&i.params.createElements&&(r=Pt("div",i.params.wrapperClass),n.append(r),mt(n,`.${i.params.slideClass}`).forEach(d=>{r.append(d)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||xt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||xt(n,"direction")==="rtl"),wrongRTL:xt(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const s=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&s.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(l=>{l.complete?Gt(i,l):l.addEventListener("load",r=>{Gt(i,r.target)})}),hi(i),i.initialized=!0,hi(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:s,el:l,wrapperEl:r,slides:d}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),d&&d.length&&d.forEach(a=>{a.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),fo(n)),n.destroyed=!0),null}static extendDefaults(e){it(yi,e)}static get extendedDefaults(){return yi}static get defaults(){return gi}static installModule(e){wt.prototype.__modules__||(wt.prototype.__modules__=[]);const i=wt.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>wt.installModule(i)),wt):(wt.installModule(e),wt)}};Object.keys(bi).forEach(t=>{Object.keys(bi[t]).forEach(e=>{wi.prototype[e]=bi[t][e]})}),wi.use([_o,Po]);const an=["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 Tt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function It(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Tt(e[n])&&Tt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:It(t[n],e[n]):t[n]=e[n]})}function rn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function dn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function cn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function un(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function Ll(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Bl(t){let{swiper:e,slides:i,passedParams:n,changedParams:s,nextEl:l,prevEl:r,scrollbarEl:d,paginationEl:a}=t;const v=s.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:u,pagination:f,navigation:m,scrollbar:h,virtual:S,thumbs:w}=e;let k,p,T,y,A,_,g,M;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(k=!0),s.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(p=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(u.pagination||u.pagination===!1)&&f&&!f.el&&(T=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||d)&&(u.scrollbar||u.scrollbar===!1)&&h&&!h.el&&(y=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(u.navigation||u.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(A=!0);const P=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),u[x].prevEl=void 0,u[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),u[x].el=void 0,e[x].el=void 0))};s.includes("loop")&&e.isElement&&(u.loop&&!n.loop?_=!0:!u.loop&&n.loop?g=!0:M=!0),v.forEach(x=>{if(Tt(u[x])&&Tt(n[x]))Object.assign(u[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&P(x);else{const c=n[x];(c===!0||c===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?c===!1&&P(x):u[x]=n[x]}}),v.includes("controller")&&!p&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),s.includes("children")&&i&&S&&u.virtual.enabled?(S.slides=i,S.update(!0)):s.includes("virtual")&&S&&u.virtual.enabled&&(i&&(S.slides=i),S.update(!0)),s.includes("children")&&i&&u.loop&&(M=!0),k&&w.init()&&w.update(!0),p&&(e.controller.control=u.controller.control),T&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(u.pagination.el=a),f.init(),f.render(),f.update()),y&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),e.el.appendChild(d)),d&&(u.scrollbar.el=d),h.init(),h.updateSize(),h.setTranslate()),A&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(u.navigation.nextEl=l),r&&(u.navigation.prevEl=r),m.init(),m.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&e.changeDirection(n.direction,!1),(_||M)&&e.loopDestroy(),(g||M)&&e.loopCreate(),e.update()}function Nl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},s={};It(i,gi),i._emitClasses=!0,i.init=!1;const l={},r=an.map(a=>a.replace(/_/,"")),d=Object.assign({},t);return Object.keys(d).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?Tt(t[a])?(i[a]={},s[a]={},It(i[a],t[a]),It(s[a],t[a])):(i[a]=t[a],s[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:s,rest:l,events:n}}function Fl(t,e){let{el:i,nextEl:n,prevEl:s,paginationEl:l,scrollbarEl:r,swiper:d}=t;rn(e)&&n&&s&&(d.params.navigation.nextEl=n,d.originalParams.navigation.nextEl=n,d.params.navigation.prevEl=s,d.originalParams.navigation.prevEl=s),dn(e)&&l&&(d.params.pagination.el=l,d.originalParams.pagination.el=l),cn(e)&&r&&(d.params.scrollbar.el=r,d.originalParams.scrollbar.el=r),d.init(i)}function jl(t,e,i,n,s){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(s),v=i.map(s);a.join("")!==v.join("")&&r("children"),n.length!==i.length&&r("children")}return an.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(Tt(t[a])&&Tt(e[a])){const v=Object.keys(t[a]),u=Object.keys(e[a]);v.length!==u.length?r(a):(v.forEach(f=>{t[a][f]!==e[a][f]&&r(a)}),u.forEach(f=>{t[a][f]!==e[a][f]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const Vl=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Wt(){return Wt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Wt.apply(this,arguments)}function vn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function pn(t){const e=[];return o.Children.toArray(t).forEach(i=>{vn(i)?e.push(i):i.props&&i.props.children&&pn(i.props.children).forEach(n=>e.push(n))}),e}function zl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(t).forEach(n=>{if(vn(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 s=pn(n.props.children);s.length>0?s.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Hl(t,e,i){if(!i)return null;const n=u=>{let f=u;return u<0?f=e.length+u:f>=e.length&&(f=f-e.length),f},s=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,d=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,v=[];for(let u=d;u<a;u+=1)u>=l&&u<=r&&v.push(e[n(u)]);return v.map((u,f)=>o.cloneElement(u,{swiper:t,style:s,key:u.props.virtualIndex||u.key||`slide-${f}`}))}function Dt(t,e){return typeof window>"u"?o.useEffect(t,e):o.useLayoutEffect(t,e)}const Si=o.createContext(null),mn=()=>o.useContext(Si),Ul=o.createContext(null),Et=o.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:s="div",children:l,onSwiper:r,...d}=t===void 0?{}:t,a=!1;const[v,u]=o.useState("swiper"),[f,m]=o.useState(null),[h,S]=o.useState(!1),w=o.useRef(!1),k=o.useRef(null),p=o.useRef(null),T=o.useRef(null),y=o.useRef(null),A=o.useRef(null),_=o.useRef(null),g=o.useRef(null),M=o.useRef(null),{params:P,passedParams:x,rest:c,events:E}=Nl(d),{slides:b,slots:I}=zl(l),O=()=>{S(!h)};Object.assign(P.on,{_containerClasses(B,N){u(N)}});const D=()=>{Object.assign(P.on,E),a=!0;const B={...P};if(delete B.wrapperClass,p.current=new wi(B),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=b;const N={cache:!1,slides:b,renderExternal:m,renderExternalUpdate:!1};It(p.current.params.virtual,N),It(p.current.originalParams.virtual,N)}};k.current||D(),p.current&&p.current.on("_beforeBreakpoint",O);const F=()=>{a||!E||!p.current||Object.keys(E).forEach(B=>{p.current.on(B,E[B])})},U=()=>{!E||!p.current||Object.keys(E).forEach(B=>{p.current.off(B,E[B])})};o.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",O)}),o.useEffect(()=>{!w.current&&p.current&&(p.current.emitSlidesClasses(),w.current=!0)}),Dt(()=>{if(e&&(e.current=k.current),!!k.current)return p.current.destroyed&&D(),Fl({el:k.current,nextEl:A.current,prevEl:_.current,paginationEl:g.current,scrollbarEl:M.current,swiper:p.current},P),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),Dt(()=>{F();const B=jl(x,T.current,b,y.current,N=>N.key);return T.current=x,y.current=b,B.length&&p.current&&!p.current.destroyed&&Bl({swiper:p.current,slides:b,passedParams:x,changedParams:B,nextEl:A.current,prevEl:_.current,scrollbarEl:M.current,paginationEl:g.current}),()=>{U()}}),Dt(()=>{Vl(p.current)},[f]);function R(){return P.virtual?Hl(p.current,b,f):b.map((B,N)=>o.cloneElement(B,{swiper:p.current,swiperSlideIndex:N}))}return o.createElement(n,Wt({ref:k,className:un(`${v}${i?` ${i}`:""}`)},c),o.createElement(Ul.Provider,{value:p.current},I["container-start"],o.createElement(s,{className:Ll(P.wrapperClass)},I["wrapper-start"],R(),I["wrapper-end"]),rn(P)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:_,className:"swiper-button-prev"}),o.createElement("div",{ref:A,className:"swiper-button-next"})),cn(P)&&o.createElement("div",{ref:M,className:"swiper-scrollbar"}),dn(P)&&o.createElement("div",{ref:g,className:"swiper-pagination"}),I["container-end"]))});Et.displayName="Swiper";const vt=o.forwardRef(function(t,e){let{tag:i="div",children:n,className:s="",swiper:l,zoom:r,lazy:d,virtualIndex:a,swiperSlideIndex:v,...u}=t===void 0?{}:t;const f=o.useRef(null),[m,h]=o.useState("swiper-slide"),[S,w]=o.useState(!1);function k(A,_,g){_===f.current&&h(g)}Dt(()=>{if(typeof v<"u"&&(f.current.swiperSlideIndex=v),e&&(e.current=f.current),!(!f.current||!l)){if(l.destroyed){m!=="swiper-slide"&&h("swiper-slide");return}return l.on("_slideClass",k),()=>{l&&l.off("_slideClass",k)}}}),Dt(()=>{l&&f.current&&!l.destroyed&&h(l.getSlideClasses(f.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},T=()=>typeof n=="function"?n(p):n,y=()=>{w(!0)};return o.createElement(i,Wt({ref:f,className:un(`${m}${s?` ${s}`:""}`),"data-swiper-slide-index":a,onLoad:y},u),r&&o.createElement(Si.Provider,{value:p},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},T(),d&&!S&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&o.createElement(Si.Provider,{value:p},T(),d&&!S&&o.createElement("div",{className:"swiper-lazy-preloader"})))});vt.displayName="SwiperSlide";const Gl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Wl=({visible:t,onClose:e,children:i,modalStyle:n,padding:s,popup:l,schema:r,fullHeight:d=window.innerHeight,isFullScreen:a=!1})=>{var v,u,f,m,h,S,w,k,p,T,y,A,_,g,M,P,x,c;const E=o.useRef(null),b=o.useRef(null),I=o.useRef(null),O=o.useRef(null),D=d*.2,F=a?d:d*.8,[U,R]=o.useState(D),[B,N]=o.useState(!1),j=o.useRef(null),{globalConfig:Z,popupDetailData:te}=Ce(),{schema:H}=dt();o.useEffect(()=>{const G=document.getElementById("sxp-render"),ee=document.getElementById("pb-modal");ee?j.current=ee:(j.current=document.createElement("div"),j.current.setAttribute("id","pb-modal"),G?.appendChild(j.current))},[]);const V=o.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]),$=o.useMemo(()=>{var G,ee,ne;const ue=r??H;return(ne=(ee=(G=ue?.sxpPageConf)===null||G===void 0?void 0:G.globalConfig)===null||ee===void 0?void 0:ee.popupList)===null||ne===void 0?void 0:ne.find(Te=>Te?.id===l?.id)},[l,r,H]),se=o.useMemo(()=>{var G,ee;return((ee=(G=$?.item)===null||G===void 0?void 0:G.event)===null||ee===void 0?void 0:ee.isScrollFullScreen)||!1},[$]);if(o.useEffect(()=>{V?N(!0):setTimeout(()=>{N(!1),R(D)},l?.duration)},[V,l]),!j.current)return null;const pe=He.debounce(()=>{e?.()},300),ie=G=>{E.current=G.touches[0],b.current=G.touches[0],I.current=!0},Q=G=>{requestAnimationFrame(()=>{var ee;if(I.current&&((ee=O?.current)===null||ee===void 0?void 0:ee.scrollTop)===0){const ne=G.touches[0].clientY,ue=G.touches[0].clientX,ce=E.current.clientY-ne;E.current=G.touches[0];const Te=ne-b.current.clientY,ke=ue-b.current.clientX;if(Math.abs(ke)>Math.abs(Te))return;const Oe=U-ce;Oe>0&&R(Oe)}})},q=G=>{var ee;if(I.current&&((ee=O?.current)===null||ee===void 0?void 0:ee.scrollTop)===0){const ne=G.changedTouches[0].clientY-b.current.clientY,ue=G.changedTouches[0].clientX-b.current.clientX;if(Math.abs(ue)>Math.abs(ne))return;const ce=b.current.clientY-E.current.clientY;ce>0?R(0):U<D&&ce<0?R(D):U>=D&&ce<0&&e?.()}I.current=!1};return _i.createPortal(o.createElement(o.Fragment,null,B&&o.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:V?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:pe},o.createElement("div",{style:{position:"relative",left:`${(m=(f=(u=(v=$?.item)===null||v===void 0?void 0:v.props)===null||u===void 0?void 0:u.popupBg)===null||f===void 0?void 0:f.horizontalMargin)!==null&&m!==void 0?m:0}px`,right:`${(k=(w=(S=(h=$?.item)===null||h===void 0?void 0:h.props)===null||S===void 0?void 0:S.popupBg)===null||w===void 0?void 0:w.horizontalMargin)!==null&&k!==void 0?k:0}px`,bottom:`${(A=(y=(T=(p=$?.item)===null||p===void 0?void 0:p.props)===null||T===void 0?void 0:T.popupBg)===null||y===void 0?void 0:y.bottomMargin)!==null&&A!==void 0?A:0}px`,overflow:"hidden",width:`calc(100% - ${((P=(M=(g=(_=$?.item)===null||_===void 0?void 0:_.props)===null||g===void 0?void 0:g.popupBg)===null||M===void 0?void 0:M.horizontalMargin)!==null&&P!==void 0?P:0)*2}px)`,height:"100%"}},o.createElement("div",Object.assign({className:`modal-container ${V?"modal-popIn":"modal-popOut"}`,style:Object.assign({padding:s,animationDuration:((x=l?.duration)!==null&&x!==void 0?x:0)/1e3+"s"},se&&{transform:`translateY(${U}px)`}),onClick:G=>{G.stopPropagation(),G.preventDefault()}},se&&{onTouchMove:Q,onTouchStart:ie,onTouchEnd:q}),o.createElement("div",{onClick:e,className:"modal-icon-wrapper"},o.createElement("img",{src:(c=Z?.popupCloseIcon)!==null&&c!==void 0?c:Gl,alt:"close",className:"modal-icon"})),o.createElement("div",{ref:O,style:{height:se?d:F,overflow:se&&U<=0||!se?"auto":"hidden"}},i))))),j.current)};var kt=o.memo(Wl);const Yl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),s=[];for(let r=0;r<n.length&&(s.push(n[r]),!(s.join(" ").length>=e));r++);return(s.length>1&&s.length<n.length?s.slice(0,s.length-1):s).join(" ")+" "},Xl=({text:t,maxStr:e=108,style:i,className:n,onClick:s,foldText:l,unfoldText:r,isPost:d,onChange:a})=>{const[v,u]=o.useState(!1),[f,m]=o.useState(!1),h=Number(i?.lineClamp||2),S=o.useRef(null),w=o.useRef(null),k=o.useCallback(()=>{u(!v)},[v,a]);return o.useMemo(()=>!v&&t.length>e?Yl(t,e)+"...":t,[t,e,v]),o.useEffect(()=>{var p,T;((p=w?.current)===null||p===void 0?void 0:p.offsetHeight)>((T=S?.current)===null||T===void 0?void 0:T.offsetHeight)&&d?m(!0):m(!1),w.current.style.display="none"},[d]),o.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},o.createElement("div",{ref:S,style:{overflow:"hidden",WebkitLineClamp:!d||v?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:he(t?.replace(/\n/g,"</br>"),i)}}),o.createElement("div",{ref:w,dangerouslySetInnerHTML:{__html:he(t?.replace(/\n/g,"</br>"),i)}}),t&&d&&f&&o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:s??k,dangerouslySetInnerHTML:{__html:he(v?r||"show less":l||"show more",i)}}))};var Yt=o.memo(Xl);const ql=o.forwardRef((t,e)=>{const{src:i,onLoad:n,style:s,className:l,loading:r,alt:d="image"}=t,[a,v]=o.useState(),u=o.useRef(null),[f,m]=o.useState(!1);return o.useImperativeHandle(e,()=>({setSrc:h=>{h&&v(h)}})),o.useEffect(()=>{i&&v(i)},[i]),o.useEffect(()=>{const h=()=>{i&&!f&&u.current&&(u.current.src="",u.current.src=i)};return ct.on(tt.PAGE_DID_SHOW,h),()=>{ct.off(tt.PAGE_DID_SHOW,h)}},[i,f]),o.createElement(o.Fragment,null,!f&&o.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),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",{ref:u,className:l,src:a,style:Object.assign({},s),loading:r,onLoad:h=>{m(!0),n?.(h.target)},alt:d})):o.createElement("img",{ref:u,className:l,src:a,style:Object.assign({},s),loading:r,onLoad:h=>{m(!0),n?.(h.target)},alt:d}))});var $e=o.memo(ql);const Jl=({children:t,isPadding:e=!0,style:i,enableSlideActive:n=!1})=>{const s=o.useRef(),{popupDetailData:l}=Ce();return o.useEffect(()=>{var r,d;n&&((r=s?.current)===null||r===void 0||r.swiper.slideTo((d=l?.multiCheckIndex)!==null&&d!==void 0?d:0))},[l,n]),o.createElement(Et,{ref:s,direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Eo,To,xo],style:Object.assign({padding:e?"0 12px 0 20px":0},i)},t)};var Mt=o.memo(Jl);const Kl=({products:t,data:e,defImg:i,style:n,onCLick:s,popupDetailData:l,check:r})=>{var d;const{productView:a}=Ye(),{popupCurTimeRef:v}=Ce(),u=(f,m)=>{if(r===m)return;const h=t?.[r];a(l,h,h?.bindCta,v.current,l?.index),s?.(m)};return o.createElement(o.Fragment,null,e?.open&&(t&&t?.length>1||!l)&&o.createElement(Mt,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},n),e?.style)},(d=l?t:[0,1,2,3])===null||d===void 0?void 0:d.map((f,m)=>{var h,S,w;return o.createElement(o.Fragment,null,f?.bindCta?o.createElement(vt,{className:ye.css({width:"50px",height:"50px",marginRight:"10px"}),onClick:()=>{u(f,m)},key:m},o.createElement($e,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:r===m?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(w=(h=f?.cover)!==null&&h!==void 0?h:(S=f?.homePage)===null||S===void 0?void 0:S[0])!==null&&w!==void 0?w:i})):null)})))};var fn=o.memo(Kl);const Zl=t=>{var e,i,n,s,l,r,d,a,v,u,f,m,h,S,w,k,p,T,y,A,_,g,M,P,x,c,E,b,{content:I,style:O,bgImg:D,onClick:F,schema:U,isDefault:R,bottom_image:B,tipText:N,isPost:j,viewTime:Z,rec:te,swiper:H,commodityStyles:V,buttonStyle:$,index:se,commodityGroup:pe,popupBg:ie,iframeIcon:Q,commodityImgRatio:q}=t,G=Ue(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);const{sxpParameter:ee,popupDetailData:ne,isPreview:ue,bffFbReport:ce,popupCurTimeRef:Te,checkCommodityIndexRef:ke}=Ce(),{jumpToWeb:Oe,productView:Pe}=Ye(),re=o.useRef(null),[ve,J]=o.useState(!1),[fe,Le]=o.useState(!1),[Se,Re]=o.useState((e=ne?.multiCheckIndex)!==null&&e!==void 0?e:0),z=j?te:ne;let L=j?z?.product:(n=(i=z?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(l=(s=z?.video)===null||s===void 0?void 0:s.bindProducts)===null||l===void 0?void 0:l[0],_e=j?(r=z?.product)===null||r===void 0?void 0:r.bindCta:(v=(a=(d=z?.video)===null||d===void 0?void 0:d.bindProduct)===null||a===void 0?void 0:a.bindCta)!==null&&v!==void 0?v:(m=(f=(u=z?.video)===null||u===void 0?void 0:u.bindProducts)===null||f===void 0?void 0:f[0])===null||m===void 0?void 0:m.bindCta;const qe=j?se:ne?.index;if(!j&&pe?.open&&(!((h=z?.video)===null||h===void 0)&&h.bindProducts)&&((w=(S=z?.video)===null||S===void 0?void 0:S.bindProducts)===null||w===void 0?void 0:w.length)>0){ke.current=Se;const C=(k=z?.video)===null||k===void 0?void 0:k.bindProducts[Se];L=C,_e=C?.bindCta}const st=()=>{L?.link&&(Oe(z,L,_e,qe),j||Pe(z,L,_e,Z||re.current,qe),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{j||ce?.({eventName:"ProductView"})},[j,ce]),o.useEffect(()=>{const C=()=>{re.current=new Date};return C(),window.addEventListener("pageshow",C),()=>{window.removeEventListener("pageshow",C)}},[]);const pt=o.useMemo(()=>{var C,X,K,le,me;return L?.currency&&L?.price?`${(K=(X=(C=L?.currency)===null||C===void 0?void 0:C.split("-")[1])===null||X===void 0?void 0:X.toUpperCase())!==null&&K!==void 0?K:""}${(me=(le=L?.price)===null||le===void 0?void 0:le.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&me!==void 0?me:""}`:"$7,000"},[L?.price,L?.currency]),Qe=(ue?375:(p=O?.width)!==null&&p!==void 0?p:window.innerWidth)-((T=ie?.horizontalMargin)!==null&&T!==void 0?T:0)*2,W=q?Qe*(q.h/q.w):Qe,Y=({isPost:C})=>{var X,K,le,me;return o.createElement("div",null,o.createElement("div",{className:"pb-commondity-content-collection",style:xe(V?.collection),hidden:!!L&&(!L?.collection||L?.collection===""),dangerouslySetInnerHTML:{__html:he((X=L?.collection)!==null&&X!==void 0?X:"Tiffany Lock",V?.collection)}}),o.createElement("div",{className:"pb-commondity-content-title",style:xe(V?.title),hidden:!!L&&!L?.title,dangerouslySetInnerHTML:{__html:he((K=L?.title)!==null&&K!==void 0?K:"Pendant in Yellow Gold with Diamonds, Medium",V?.title)}}),o.createElement("div",{className:"pb-commondity-content-price",style:xe(V?.price),hidden:!!L&&!L?.price,dangerouslySetInnerHTML:{__html:he(pt,V?.price)}}),o.createElement("div",{hidden:!!L&&!L?.taxInfo,style:xe(V?.taxInfo),dangerouslySetInnerHTML:{__html:he((le=L?.taxInfo)!==null&&le!==void 0?le:"\u7A0E\u8D39",V?.taxInfo)}}),o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(Yt,{foldText:N?.foldText,unfoldText:N?.unfoldText,onClick:()=>J(!0),isPost:C,text:(me=L?.info)!==null&&me!==void 0?me:`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 We=require("lodash"),Oo=require("uuid"),Ro=require("pako"),n=require("react"),oi=require("qs"),Lo=require("eventemitter3"),we=require("@emotion/css"),ki=require("react-dom");function Bo(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var _i=Bo(ki);function Ye(t,e){var i={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(i[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(t);a<o.length;a++)e.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(t,o[a])&&(i[o[a]]=t[o[a]]);return i}function Ze(t,e,i,o){function a(l){return l instanceof i?l:new i(function(d){d(l)})}return new(i||(i=Promise))(function(l,d){function r(u){try{v(o.next(u))}catch(f){d(f)}}function s(u){try{v(o.throw(u))}catch(f){d(f)}}function v(u){u.done?l(u.value):a(u.value).then(r,s)}v((o=o.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const No=/:\w+/g;var Pi=(t,e)=>Ze(void 0,void 0,void 0,function*(){const i={},o={};for(let a=0;a<e?.length;a++){const{id:l,method:d,url:r,urlParams:s,name:v,queryString:u,headers:f,body:m}=e[a];let h=r;s&&Object.entries(s).forEach(([w,y])=>{h=h.replace(No,P=>P===w?y:P)}),u&&(h+=u),o[l]=v;try{const w=yield fetch(h,{method:d,headers:Object.assign({"Content-Type":"application/json"},f),body:JSON.stringify(m)}).then(y=>y.json());i[l]=w}catch(w){console.error("DataSource request error: ",w),i[l]={}}}return{$store:i,idMapName:o}});const Di="SXP_TOKEN_INFO",Fo=(t,e)=>Ze(void 0,void 0,void 0,function*(){var i;const o=t.getTenantId(),a=t.getAppId(),l=t.getApiUrl(),d=window.localStorage.getItem(Di);let r=JSON.parse(d||"{}");if(Date.now()>((i=r?.expireTime)!==null&&i!==void 0?i:0)){const v=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":o||"","x-app-id":a||""}}).then(u=>u.json());if(v.success){const u=v.data;r=Object.assign(Object.assign({},u),{expireTime:Date.now()+u.expire*1e3}),window.localStorage.setItem(Di,JSON.stringify(r))}}return r});function Bt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];let a;if(e=e||i.length,t)for(a=0;a<t;a++)o[a]=i[0|Math.random()*e];else{let l;for(o[8]=o[13]=o[18]=o[23]="-",o[14]="4",a=0;a<36;a++)o[a]||(l=0|Math.random()*16,o[a]=i[a===19?l&3|8:l])}return o.join("")}const jo=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=i.length;let a=0;for(;a<t;)e+=i.charAt(Math.floor(Math.random()*o)),a+=1;return e},Vo=()=>{const t=Oo.v4();return t?.replaceAll?t.replaceAll("-",""):jo(32)},ge=(t,e)=>{if(!t)return"";let i="";const o=e?.["fontFamily-cn"],a=e?.["fontFamily-en"];if(!o&&!a)return t;let l=t;const d=/[\u4e00-\u9fa5]/g,r=/[^\u4e00-\u9fa5]/g,s=`font-family:${o??"inherit"}`,v=`font-family:${a??"inherit"}`,u=m=>{let h=m.search(d),w=m.search(r);return h!==-1&&w!==-1&&h<w&&(i+=`<span style="${s}">${m.substring(h,w)}</span>`,l=m.substring(w,m?.length)),h!==-1&&w!==-1&&h>w&&(i+=`<span style="${v}">${m.substring(w,h)}</span>`,l=m.substring(h,m?.length)),h===-1?(i+=`<span style="${v}">${m.substring(w,m?.length)}</span>`,l="",!1):w===-1?(i+=`<span style="${s}">${m.substring(h,m?.length)}</span>`,l="",!1):!0};let f=!0;for(;f;)f=u(l);return i};function zo(){var t,e,i,o,a,l,d;let r=self.navigator.userAgent;return r?/edge\/([\d\.]+)/i.exec(r)?`Edge ${(t=/edge\/([\d\.]+)/i.exec(r))===null||t===void 0?void 0:t[1]}`:/edg\/([\d\.]+)/i.exec(r)?`Edge(Chromium) ${(e=/edge\/([\d\.]+)/i.exec(r))===null||e===void 0?void 0:e[1]}`:/msie/i.test(r)?`Internet Explorer ${(i=/msie ([\d\.]+)/i.exec(r))===null||i===void 0?void 0:i[1]}`:/Trident/i.test(r)?`Internet Explorer ${(o=/rv:([\d\.]+)/i.exec(r))===null||o===void 0?void 0:o[1]}`:/chrome/i.test(r)?`Chrome ${(a=/chrome\/([\d\.]+)/i.exec(r))===null||a===void 0?void 0:a[1]}`:/firefox/i.test(r)?`Firefox ${(l=/firefox\/([\d\.]+)/i.exec(r))===null||l===void 0?void 0:l[1]}`:/safari/i.test(r)?`Safari ${(d=/version\/([\d\.]+)/i.exec(r))===null||d===void 0?void 0:d[1]}`:"Unknown":"Unknown"}function Ho(){var t,e,i;let o=self.navigator.userAgent;return o?/iphone/i.test(o)?`IOS ${(t=o.match(/OS\s(.*?)\slike/))===null||t===void 0?void 0:t[1]}`:/android/i.test(o)?`Android ${(e=o.match(/Android\s(.*?)\;/))===null||e===void 0?void 0:e[1]}`:/windows/i.test(o)?`Windows ${(i=o.match(/Windows\s(.*?)\;/))===null||i===void 0?void 0:i[1]}`:/mac/i.test(o)?"Mac OS":"Unknown":"Unknown"}function Uo(){let t=self.navigator.userAgent;if(!t)return"Unknown";if(/iphone/i.test(t))return"iPhone";if(/android/i.test(t)){var e=t.indexOf("("),i=t.indexOf(")");if(e!==-1&&i!==-1){var o=t.substring(e+1,i);return`${o}`}}return/windows/i.test(t)?"Windows":/mac/i.test(t)?"Mac":"Unknown"}function Mi(t){const i=document.cookie.split(";");let o=null;return i.forEach(a=>{const[l,d]=a.trim().split("=");l===t&&(o=d)}),o??""}function Oi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),o=new Uint8Array(i),a=Ro.inflate(o,{to:"string"});return JSON.parse(a)}let ni=null;const Go={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Wo{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,ni)return ni;ni=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Go[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Qe=null;const Yo={init:({appId:t,tenantId:e,env:i="live",apiUrl:o})=>{Qe||(Qe=new Wo),o&&Qe.setApiUrl(o),Qe.setAppId(t),Qe.setTenantId(e),Qe.setEnv(i)},getDetail:t=>{if(!Qe)return;const e=Qe.getTenantId(),i=Qe.getAppId(),o=Qe.getApiUrl();return fetch(`${o}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(a=>Ze(void 0,void 0,void 0,function*(){var l,d;const r=yield a.json(),s=Oi((l=r?.data)===null||l===void 0?void 0:l.data);if(s){const{$store:v}=yield Pi(o,(d=s?.dataSource)!==null&&d!==void 0?d:[]);r.data.data=s,Object.assign(r.data.data,{__STORE__:v})}return r}))},getSxpDetailByPageId:t=>Ze(void 0,void 0,void 0,function*(){if(!Qe)return;const e=Qe.getTenantId(),i=Qe.getAppId(),o=Qe.getApiUrl();return fetch(`${o}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(a=>Ze(void 0,void 0,void 0,function*(){var l;const d=yield a.json();if(!d.success)return;const r=Oi((l=d?.data)===null||l===void 0?void 0:l.data);return d.data.data=r,d.data}))}),getSxpRecommendVideoData:t=>Ze(void 0,void 0,void 0,function*(){if(!Qe)return;const e=yield Fo(Qe,t),i=Bt(0,0);let o=window.localStorage.getItem("SXP_FAKE_SESSION_ID");We.isEmpty(o)&&(o=Bt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",o));const a=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:o,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return a?.data||null})};function ct(){return n.useContext(Wi)}function Xo(){return n.useContext(Gi)}const li="feRealSessionIdKey",Ri=()=>{const t=Vo();return`${Date.now()}${t}`},qo=()=>{let t=Jo();return t||(t=Ri(),window.sessionStorage.setItem(li,t)),t},Li=()=>{const t=Ri();window.sessionStorage.setItem(li,t)},Jo=()=>window.sessionStorage.getItem(li),Bi="SXP_FAKE_USER_ID",Ni="FAKE_USER_STATE",Fi="AGREE_POLICY",ji="SLIDE_SKIP_STATE",Vi=()=>{let t=window.localStorage.getItem(Bi);return We.isEmpty(t)&&(t=Bt(36,62),window.localStorage.setItem(Bi,t)),t},Ko=()=>{const t=window.localStorage.getItem(Ni);return We.isEmpty(t)&&window.localStorage.setItem(Ni,"true"),We.isEmpty(t)},Zo=()=>{const t=window.localStorage.getItem(ji);return We.isEmpty(t)},Qo=()=>{window.localStorage.setItem(ji,"true")};function lt(t,e){const{appDomain:i}=Ie();return n.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ut=new Lo;var it;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(it||(it={}));const $o=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:o,privacy_policy_url:a,privacy_policy_title:l})=>{const{setIsAgreePolicy:d,bffEventReport:r}=Ie(),s=n.useMemo(()=>{const f=location.search.slice(1),m=oi.parse(f.replace(/\+/g,"%2B"));for(const h in m)m[h]=m[h].replace(/%2B/g,"+");return m},[]),v=f=>{var m;return(m=s[f])!==null&&m!==void 0?m:null};n.useEffect(()=>{r?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:v("utm_source"),utmMedium:v("utm_medium"),utmCampaign:v("utm_campaign"),utmId:v("utm_id"),utmContent:v("utm_content"),clSource:v("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const u=()=>{r?.({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(Fi,"yes")};return n.createElement("div",{className:"consent-bg"},n.createElement("div",{className:"consent"},n.createElement("div",{className:"consent-col"},n.createElement("div",{className:"consent-title"},i??"Privacy Policy"),n.createElement("div",{className:"consent-content"},o??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),n.createElement("div",{className:"consent-col"},n.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:u},"Agree"),n.createElement("a",{className:"consent-policy",target:"_blank",href:a?`https://${a}`:void 0},l??"More information"))))};var en=n.memo($o);const zi=n.createContext({rtcList:[],tagList:[]});var ai;(function(t){t[t.BFF=5]="BFF"})(ai||(ai={}));const Nt="FOR U",tn=({render:t,dataSources:e,utmVal:i,enableReportEvent:o=!0,maxSize:a,defaultSize:l,isPreview:d=!1,sxpParameter:r,appDomain:s,hashTagSize:v,loadingImage:u,isOpenHashTag:f=!1,enabledMetaConversionApi:m=!1,consentHeight:h,consentWidth:w,isShowTag:y=!0,isOpenConsent:P=!1,globalConfig:p,isEditor:x=!1,utmParameter:b,channelQueryList:E})=>{var C,g,O;const[k,S]=n.useState([]),[c,A]=n.useState([]),[T,_]=n.useState(!1),[D,M]=n.useState({rtc:"",requestId:""}),j=n.useRef(null),H=n.useRef(!1),[N,B]=n.useState(()=>!!window.localStorage.getItem(Fi)),[L,Z]=n.useState(),[G,ie]=n.useState(),[J,K]=n.useState(f),[V,ue]=n.useState([]),[ve,X]=n.useState(0),[Q,ne]=n.useState(!1),[te,le]=n.useState(null),se=n.useRef(),ae=n.useRef(),[oe,be]=n.useState(Nt),Se=n.useRef(-1),Pe=n.useRef(null),Te=n.useMemo(()=>{var q,W,he,Ae;return((Ae=(he=(W=(q=p?.consent)===null||q===void 0?void 0:q[0])===null||W===void 0?void 0:W.item)===null||he===void 0?void 0:he.props)===null||Ae===void 0?void 0:Ae.privacy_necessity)&&!N&&!x||P},[N,p,P,x]),Be=n.useCallback(q=>{var W;const he=q?.recList;return(W=he?.map(de=>{var _e,Ne,Fe,je,I,F;if(!((_e=de?.video)===null||_e===void 0)&&_e.bindProducts&&((Fe=(Ne=de?.video)===null||Ne===void 0?void 0:Ne.bindProducts)===null||Fe===void 0?void 0:Fe.length)>0){const Y=(F=(I=(je=de?.video)===null||je===void 0?void 0:je.bindProducts)===null||I===void 0?void 0:I.filter(ee=>!!ee?.bindCta))!==null&&F!==void 0?F:[];return Object.assign(Object.assign({},de),{video:Object.assign(Object.assign({},de?.video),{bindProducts:Y})})}return de}))!==null&&W!==void 0?W:[]},[]);n.useEffect(()=>{const q=W=>{se.current=W};return ut.on(it.CHANGE_THEME_TAG,q),()=>{ut.off(it.CHANGE_THEME_TAG,q)}},[]),n.useEffect(()=>{K(f)},[f]);const Re=n.useMemo(()=>e?.find(q=>q.type===ai.BFF),[e]),U=n.useCallback((q,W)=>{if(!Re)return;const he=Re.url,Ae=Vi();if(W?.query){const de=oi.stringify(W.query);q=`${q}?${de}`}return W.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${he}/api/v1${q}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Re.headers),{"x-user-id":Ae}),W.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${he}/api/v1${q}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Ae},Re.headers),method:W.method,body:JSON.stringify(W.body)}).then(de=>de.json()).catch(de=>Promise.reject(de))},[Re]),fe=n.useCallback(q=>Ze(void 0,void 0,void 0,function*(){var W,he,Ae,de,_e,Ne,Fe;if(q=Object.assign(Object.assign({maxSize:(W=q?.maxSize)!==null&&W!==void 0?W:a,defaultSize:(he=q?.defaultSize)!==null&&he!==void 0?he:l,hashTag:q?.hashTag,traceInfo:q?.traceInfo,themeTag:q?.themeTag},q?.contentFilter&&{contentFilter:`[${q?.contentFilter}]`}),q?.productFilter&&{productFilter:`[${q?.productFilter}]`}),i){const I=(_e=(de=(Ae=i?.split("&"))===null||Ae===void 0?void 0:Ae.filter(F=>{var Y,ee;const ce=F.split("=")[0];return(ee=(Y=b?.channels)!==null&&Y!==void 0?Y:[])===null||ee===void 0?void 0:ee.includes(ce)}))===null||de===void 0?void 0:de.join("&"))!==null&&_e!==void 0?_e:"";q=Object.assign(Object.assign({},q),{channel:decodeURIComponent(I)})}if(p?.enablePreview||x){if(q=Object.assign(Object.assign(Object.assign({},q),{directPage:!0,level:1}),!i&&E&&E?.length>0&&{channel:E?.[0]}),!q?.channel)return;let I=[],F=null,Y=1;const ee=ce=>Ze(void 0,void 0,void 0,function*(){var me,$,re,xe;if(ce.pageNum=Y,F=yield U?.("/recommend/list",{method:"GET",query:ce}),!F?.success)return;const Ce=($=(me=F?.data)===null||me===void 0?void 0:me.recList)===null||$===void 0?void 0:$[0];I=I.concat((xe=(re=F?.data)===null||re===void 0?void 0:re.recList)!==null&&xe!==void 0?xe:[]),(Ce?.product||Ce?.video)&&(Y=Y+1,yield ee(ce))});return yield ee(q),!q?.hashTag&&F&&M({rtc:(Ne=F?.data)===null||Ne===void 0?void 0:Ne.rtc,requestId:(Fe=F?.data)===null||Fe===void 0?void 0:Fe.requestId}),Object.assign(Object.assign({},F.data),{recList:I})}const je=yield U?.("/recommend/list",{method:"GET",query:q});if(je?.success)return q?.hashTag||M({rtc:je.data.rtc,requestId:je.data.requestId}),je?.data}),[U,i,a,l,p?.enablePreview,E,x]),Ee=n.useCallback(()=>Ze(void 0,void 0,void 0,function*(){var q,W,he,Ae;if(k.length<=0)return;const de=k?.[k?.length-1],_e=yield fe(Object.assign(Object.assign(Object.assign({hashTag:G?.hashTag},((q=de?.product)===null||q===void 0?void 0:q.itemId)&&{productFilter:(W=de?.product)===null||W===void 0?void 0:W.itemId}),((he=de?.video)===null||he===void 0?void 0:he.itemId)&&{contentFilter:(Ae=de?.video)===null||Ae===void 0?void 0:Ae.itemId}),{themeTag:se.current}));S(k.concat(Be(_e))),ue(V.concat(Be(_e)))}),[fe,k,G,V]),pe=n.useCallback(({userInfo:q,eventInfo:W})=>{if(!o||p?.enablePreview)return;q||(q={});const he=qo(),Ae=Object.assign(Object.assign({sessionID:he,rtc:D.rtc,requestId:D.requestId},W),{sxpDevice:Uo(),sxpSystem:Ho(),sxpBrowser:zo()}),de=Object.entries(q).map(([Ne,Fe])=>({name:Ne,value:Fe})),_e=Object.entries(Ae).map(([Ne,Fe])=>Fe&&{name:Ne,value:Fe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",q),console.log("eventInfo:",Ae),console.log("========= \u7ED3\u675F ========="),U?.("/event/report",{method:"POST",body:{userInfo:de,eventInfo:_e},type:"beacon"})},[U,D,o,p?.enablePreview]),Me=n.useCallback(q=>{var W,he,{eventName:Ae,actionSource:de="website",eventSourceUrl:_e=(W=window?.location)===null||W===void 0?void 0:W.href,externalId:Ne}=q;if(!o||!m||p?.enablePreview)return;const Fe=Vi();return U?.("/fb/events",{method:"POST",body:{eventName:Ae,actionSource:de,eventSourceUrl:_e,userData:{externalId:Fe,fbc:`fb.2.${new Date().getTime()}.${Mi("_fbc")}`,fbp:`fb.2.${new Date().getTime()}.${Mi("_fbp")}`,client_user_agent:(he=window?.navigator)===null||he===void 0?void 0:he.userAgent}},type:"beacon"})},[U,o,m,p?.enablePreview]),Oe=n.useCallback(q=>Ze(void 0,void 0,void 0,function*(){const W=yield U?.("/recommend/like",{method:"POST",body:q});return W?.success}),[U]),ye=n.useCallback(q=>Ze(void 0,void 0,void 0,function*(){const W=yield U?.("/recommend/unlike",{method:"POST",body:q});return W?.success}),[U]),z=n.useCallback(q=>Ze(void 0,void 0,void 0,function*(){const W=yield U?.("/customform",{method:"POST",body:q});return W?.success}),[U]),R=n.useCallback(()=>Ze(void 0,void 0,void 0,function*(){var q,W,he,Ae,de;if(!(!i||!y))try{const _e=(he=(W=(q=i?.split("&"))===null||q===void 0?void 0:q.filter(Fe=>{var je,I;const F=Fe.split("=")[0];return(I=(je=b?.channels)!==null&&je!==void 0?je:[])===null||I===void 0?void 0:I.includes(F)}))===null||W===void 0?void 0:W.join("&"))!==null&&he!==void 0?he:"",Ne=yield U?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(_e)}});A((de=(Ae=Ne?.data)===null||Ae===void 0?void 0:Ae.tags)!==null&&de!==void 0?de:[])}catch(_e){console.log("e",_e)}}),[U,i,y]),De=n.useCallback((q,W,he,Ae)=>{var de,_e,Ne,Fe,je,I,F,Y,ee,ce,me,$,re,xe,Ce,Ve,He,Ue,Xe,qe,ke,ze,tt,Ge,dt,rt,gt,bt,Le,Kt,Zt,Qt,$t,ei,ti,ii;const yt=he?.bindCta,Mo=((de=W?.video)===null||de===void 0?void 0:de.bindProduct)||((_e=W?.video)===null||_e===void 0?void 0:_e.bindProducts)&&((Fe=(Ne=W?.video)===null||Ne===void 0?void 0:Ne.bindProducts)===null||Fe===void 0?void 0:Fe.length)>0;let Lt="";Q?Lt="hashTagPage":!((je=W?.video)===null||je===void 0)&&je.url?Lt="videoPage":!((F=(I=W?.video)===null||I===void 0?void 0:I.imgUrls)===null||F===void 0)&&F.length&&(Lt="imagePage");const Ci=(xe=($=(Y=he?.tags)!==null&&Y!==void 0?Y:(me=(ce=(ee=W?.video)===null||ee===void 0?void 0:ee.bindProducts)===null||ce===void 0?void 0:ce[0])===null||me===void 0?void 0:me.tags)!==null&&$!==void 0?$:(re=W?.video)===null||re===void 0?void 0:re.tags)!==null&&xe!==void 0?xe:(Ce=W?.product)===null||Ce===void 0?void 0:Ce.tags;pe?.({eventInfo:Object.assign(Object.assign({},q),{ctaId:(Ve=yt?.itemId)!==null&&Ve!==void 0?Ve:"",ctaName:(He=yt?.title)!==null&&He!==void 0?He:"",contentTags:Ci?JSON.stringify(Ci):"",position:Ae+"",contentId:(Xe=(Ue=W?.video)===null||Ue===void 0?void 0:Ue.itemId)!==null&&Xe!==void 0?Xe:"",productId:Mo?he?.itemId:"",traceInfo:(ti=(Qt=(gt=(tt=(qe=yt?.traceInfo)!==null&&qe!==void 0?qe:(ze=(ke=W?.video)===null||ke===void 0?void 0:ke.bindCta)===null||ze===void 0?void 0:ze.traceInfo)!==null&&tt!==void 0?tt:(rt=(dt=(Ge=W?.video)===null||Ge===void 0?void 0:Ge.bindProduct)===null||dt===void 0?void 0:dt.bindCta)===null||rt===void 0?void 0:rt.traceInfo)!==null&&gt!==void 0?gt:(Zt=(Kt=(Le=(bt=W?.video)===null||bt===void 0?void 0:bt.bindProducts)===null||Le===void 0?void 0:Le[0])===null||Kt===void 0?void 0:Kt.bindCta)===null||Zt===void 0?void 0:Zt.traceInfo)!==null&&Qt!==void 0?Qt:(ei=($t=W?.product)===null||$t===void 0?void 0:$t.bindCta)===null||ei===void 0?void 0:ei.traceInfo)!==null&&ti!==void 0?ti:"",fromKName:Lt,fromKPage:(ii=location?.href)!==null&&ii!==void 0?ii:""})})},[pe,Q]),nt=n.useCallback(()=>{var q,W;const he=location.search.slice(1),Ae=oi.parse(he.replace(/\+/g,"%2B"));for(const Ne in Ae)Ae[Ne]=Ae[Ne].replace(/%2B/g,"+");const de=Ne=>{var Fe;return(Fe=Ae[Ne])!==null&&Fe!==void 0?Fe:""},_e=new Date;ae.current=_e,pe?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:de("utm_source"),utmMedium:de("utm_medium"),utmCampaign:de("utm_campaign"),utmId:de("utm_id"),utmContent:de("utm_content"),enterTime:Math.floor(_e/1e3)+"",requestId:null,enterUrl:(W=(q=window?.location)===null||q===void 0?void 0:q.href)!==null&&W!==void 0?W:"",clSource:de("cl_source")}})},[pe]);n.useEffect(()=>{Te||nt()},[Te]),n.useEffect(()=>{Te||(_(!0),R(),fe().then(q=>{S(Be(q)),ue(Be(q))}).finally(()=>{pe({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),_(!1),H.current=!0}))},[Te]),n.useEffect(()=>{!H.current&&!x||(_(!0),R(),fe().then(q=>{S(Be(q)),ue(Be(q))}).finally(()=>{_(!1)}))},[R,x,fe]);const Tt=lt("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",s);return n.createElement(zi.Provider,{value:{rtcList:k,setRtcList:S,mutateLike:Oe,mutateUnlike:ye,submitForm:z,popupDetailData:L,loadVideos:Ee,setPopupDetailData:Z,getRecommendVideos:fe,bffEventReport:pe,utmVal:i,isPreview:d,loading:T,sxpParameter:r,waterFallData:G,setWaterFallData:ie,ctaEvent:De,swiperRef:j,openHashtag:J,setOpenHashtag:K,cacheRtcList:V,setCacheRtcList:ue,cacheActiveIndex:ve,setCacheActiveIndex:X,isFromHashtag:Q,setIsFromHashtag:ne,appDomain:s,hashTagSize:v,loadingImage:u??Tt,isOpenHashTag:f,tagList:c,setLoading:_,videoRef:te,setVideoRef:le,bffFbReport:Me,isAgreePolicy:N,setIsAgreePolicy:B,curTime:ae,h5EnterLink:nt,themeTag:se,isShowConsent:Te,selectTag:oe,setSelectTag:be,globalConfig:p,popupCurTimeRef:Pe,checkCommodityIndexRef:Se}},Te?n.createElement(en,Object.assign({},(O=(g=(C=p?.consent)===null||C===void 0?void 0:C[0])===null||g===void 0?void 0:g.item)===null||O===void 0?void 0:O.props)):t({rtcList:k,mutateLike:Oe,mutateUnlike:ye,submitForm:z,tagList:c}))};var Hi=n.memo(tn);function Ie(){return n.useContext(zi)}var Ui;(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"})(Ui||(Ui={}));const Gi=n.createContext({$store:{},options:[],configs:[]}),on=({children:t,isSsr:e,enable:i})=>{const[o,a]=n.useState([]),{schema:l}=ct(),[d,r]=n.useState(l.__STORE__||{}),[s,v]=n.useState([]);n.useEffect(()=>{var m;e||We.isEqual(s,l?.dataSource)||v((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const u=n.useCallback(()=>Ze(void 0,void 0,void 0,function*(){const{$store:m,idMapName:h}=yield Pi("",s);r(m),f(m,h)}),[s]),f=(m,h)=>{const w=[];Object.entries(m).forEach(([y,P])=>{Object.keys(P).forEach(p=>{const x={label:`${h[y]} - ${p}`,value:`{{ ${y}.${p} }}`};w.push(x)})}),a(w)};return n.useEffect(()=>{e||u()},[u,e,l]),i?n.createElement(Gi.Provider,{value:{$store:l.__STORE__||d,options:o,configs:s}},t):t};var nn=n.memo(on);const Ft={id:Bt(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},si={id:"",duration:0,name:"none"},Wi=n.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Ft],redoStack:[],popup:si,setPopup:()=>{}}),Yi=n.forwardRef(({children:t,resolver:e,isSsr:i,schema:o,enableDataSource:a=!0,utmVal:l},d)=>{const[r,s]=n.useState(null),[v,u]=n.useState(o||{pointData:[Ft],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[f,m]=n.useState([Ft]),[h,w]=n.useState([[Ft]]),[y,P]=n.useState([]),[p,x]=n.useState(si);typeof window<"u"&&(window.sxpPopup=(O,k)=>{x(Object.assign(Object.assign(Object.assign({},si),{id:O}),k))}),typeof window<"u"&&(window.getJointUtmLink=O=>(Qo(),O?.indexOf("?")!==-1?O+(l?"&"+l:""):O+(l?"?"+l:""))),n.useEffect(()=>{w([v.pointData]),P([])},[v.type]);const b=n.useCallback(O=>{const k=We.cloneDeep(v);k&&(k.dataSource=O,u?.(k))},[v]),[E,C]=n.useState();n.useImperativeHandle(d,()=>({loadSchema(O){O&&(w([O.pointData]),u(O))},exportSchema(){return We.cloneDeep(v)},getPageInfoData(){return E},initPageInfoData(O){O&&C(O)}}));const g=n.useMemo(()=>{if(v)return v.type==="PC"?v.pcPageConf:v.mobilePageConf},[v]);return n.createElement(Wi.Provider,{value:{resolver:e,currentNode:r,schema:v,setCurrentNode:s,setSchema:u,saveDataSource:b,prePiontData:f,setPrePiontData:m,pageInfoData:E,setPageInfoData:O=>C(Object.assign(Object.assign({},E),O)),undoStack:h,redoStack:y,setRedoStack:P,setUndoStack:w,getCurPageConf:g,popup:p,setPopup:x}},n.createElement(nn,{isSsr:i,enable:a},t))});var ln=Object.freeze({__proto__:null,EditorCore:Yi}),an=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],sn=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{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:"Select",name:["textStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["textStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["textStyle","color"]},{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:"\u6807\u9898\u95F4\u8DDD",type:"TextSpace",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:"Select",name:["props","submitButtonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","submitButtonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C\u6837\u5F0F",type:"TextStyle",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u5BF9\u9F50",type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u95F4\u8DDD",type:"TextSpace",name:["props","submitButtonStyle"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Je(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:o}=Ie(),a=n.useCallback((r,s,v,u,f)=>{var m,h,w,y,P,p,x,b,E,C,g,O,k,S,c,A,T,_,D,M,j,H,N,B,L,Z,G,ie,J,K,V,ue,ve,X;let Q="";e&&(!((h=(m=r?.video)===null||m===void 0?void 0:m.bindProducts)===null||h===void 0)&&h.length||!((w=r?.video)===null||w===void 0)&&w.bindProduct)?Q="pdpPage":o?Q="hashTagPage":!((y=r?.video)===null||y===void 0)&&y.url?Q="videoPage":!((P=r?.video)===null||P===void 0)&&P.imgUrls&&(!((x=(p=r?.video)===null||p===void 0?void 0:p.imgUrls)===null||x===void 0)&&x.length)?Q="imagePage":r?.product&&(Q="productPage");const ne=(S=(O=(b=s?.tags)!==null&&b!==void 0?b:(g=(C=(E=r?.video)===null||E===void 0?void 0:E.bindProducts)===null||C===void 0?void 0:C[0])===null||g===void 0?void 0:g.tags)!==null&&O!==void 0?O:(k=r?.video)===null||k===void 0?void 0:k.tags)!==null&&S!==void 0?S:(c=r?.product)===null||c===void 0?void 0:c.tags;t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(A=s?.itemId)!==null&&A!==void 0?A:"",productName:(T=s?.title)!==null&&T!==void 0?T:"",price:s?.price?s?.price+"":"0",productCollection:(_=s?.collection)!==null&&_!==void 0?_:"",fromKName:Q,fromKPage:location?.href,contentTags:ne?JSON.stringify(ne):"",position:u+"",contentId:(M=(D=r?.video)===null||D===void 0?void 0:D.itemId)!==null&&M!==void 0?M:"",ctatId:(j=v?.itemId)!==null&&j!==void 0?j:"",traceInfo:(X=(V=(J=(L=(H=f??s?.traceInfo)!==null&&H!==void 0?H:(B=(N=r?.video)===null||N===void 0?void 0:N.bindProduct)===null||B===void 0?void 0:B.traceInfo)!==null&&L!==void 0?L:(ie=(G=(Z=r?.video)===null||Z===void 0?void 0:Z.bindProducts)===null||G===void 0?void 0:G[0])===null||ie===void 0?void 0:ie.traceInfo)!==null&&J!==void 0?J:(K=r?.product)===null||K===void 0?void 0:K.traceInfo)!==null&&V!==void 0?V:(ve=(ue=r?.video)===null||ue===void 0?void 0:ue.bindCta)===null||ve===void 0?void 0:ve.traceInfo)!==null&&X!==void 0?X:""}})},[t,e,o]),l=n.useCallback((r,s,v,u,f)=>{var m,h,w,y,P,p,x,b,E,C,g,O,k,S;let c="";e&&(!((h=(m=r?.video)===null||m===void 0?void 0:m.bindProducts)===null||h===void 0)&&h.length||!((w=r?.video)===null||w===void 0)&&w.bindProduct)?c="pdpPage":r?.product&&(c="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:c,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:f+"",contentId:(y=r?.video)===null||y===void 0?void 0:y.itemId,ctatId:v?.itemId,traceInfo:(S=(O=(b=(P=s?.traceInfo)!==null&&P!==void 0?P:(x=(p=r?.video)===null||p===void 0?void 0:p.bindProduct)===null||x===void 0?void 0:x.traceInfo)!==null&&b!==void 0?b:(g=(C=(E=r?.video)===null||E===void 0?void 0:E.bindProducts)===null||C===void 0?void 0:C[0])===null||g===void 0?void 0:g.traceInfo)!==null&&O!==void 0?O:(k=r?.product)===null||k===void 0?void 0:k.traceInfo)!==null&&S!==void 0?S:"",timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),d=n.useCallback((r,s,v,u)=>{s&&s===Nt&&t?.({eventInfo:{lastFeed:r,themeTags:v?`['${v}']`:"",hashTags:u?`['${u}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:a,productView:l,backMainFeed:d}}const dn=({layout:t,columns:e,onChange:i})=>n.createElement(n.Fragment,null,e?.map((o,a)=>n.createElement("div",{key:a,className:"pb-appoint-form-container-item",style:{flexDirection:t==="horizontal"?"row":"column"}},t!=="inline"&&n.createElement("label",{className:"pb-appoint-form-container-label"},o?.title),o?.valueType==="text"&&n.createElement("input",Object.assign({className:"pb-appoint-form-container-input",type:"text",placeholder:t==="inline"?o?.title:"\u8BF7\u8F93\u5165",name:o?.dataIndex},i&&{onChange:i})))));var rn=n.memo(dn);const cn=t=>{var{columns:e,style:i,title:o,textStyle:a,submitBgColor:l,submitColor:d,submitText:r,layoutType:s="inline",isExternalLink:v,isPopup:u,onClick:f,onClose:m,submitButtonStyle:h}=t,w=Ye(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:y,popupDetailData:P}=Ie(),{jumpToWeb:p}=Je(),[x,b]=n.useState(!1),E=n.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"}],[]),[C,g]=n.useState({}),O=n.useMemo(()=>We.cloneDeep(e)||E,[e,E]),k=n.useCallback(c=>{const{name:A,value:T}=c.target;g(Object.assign(Object.assign({},C),{[A]:T}))},[C]),S=We.debounce(()=>Ze(void 0,void 0,void 0,function*(){var c,A,T,_,D;const M=C;if(!M)return;const j=(A=(c=Object.keys(M))===null||c===void 0?void 0:c.map(N=>{var B;return{name:N,value:(B=M[N])!==null&&B!==void 0?B:""}}))===null||A===void 0?void 0:A.filter(N=>N?.value);if(!j||!j?.length)return;b(!0);const H=yield y?.({attributes:j});if(b(!1),H){if(v){const N=P,B=(T=N?.video)===null||T===void 0?void 0:T.bindProduct,L=(D=(_=N?.video)===null||_===void 0?void 0:_.bindProduct)===null||D===void 0?void 0:D.bindCta,Z=P?.index;p(N,B,L,Z)}u||m?.(),f?.()}}),1e3);return n.createElement("div",{className:"pb-appoint-form"},n.createElement("div",{className:`pb-appoint-form-title ${we.css(Object.assign({},a))}`,dangerouslySetInnerHTML:{__html:ge(o,a)}}),n.createElement("div",Object.assign({className:we.css(Object.assign({},i))},w),n.createElement("div",{className:"pb-appoint-form-container"},n.createElement(rn,{columns:O,layout:s,onChange:k}))),n.createElement("div",{className:"pb-appoint-form-btn-wrapper"},n.createElement("button",{"aria-label":r,onClick:S,className:"pb-appoint-form-btn",style:Object.assign({color:d,background:l},h),dangerouslySetInnerHTML:{__html:ge(x?"loading...":r,h)}})))};var un=n.memo(cn);function Ke(t,e){return t.extend=e,t}const vn=Ke(un,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:sn,bindableProps:[],interactionRender:an},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 pn=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],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:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{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"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"}],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:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{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"]},{label:"\u95F4\u8DDD",type:"TextSpace"},{label:"\u4EF7\u683C\u5343\u5206\u7B26\u5C55\u793A",type:"Switch",name:["enableFormattedPrice"],initialValue:!0}]}]},{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:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","buttonStyle"]}]},{title:"Iframe\u5546\u54C1\u5F39\u7A97",child:[{label:"\u5F39\u7A97\u6309\u94AE",type:"Upload",name:["props","iframeIcon"],text:"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A106 * 41"}]}];function Xi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function di(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Xi(e[i])&&Xi(t[i])&&Object.keys(e[i]).length>0&&di(t[i],e[i])})}const qi={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 vt(){const t=typeof document<"u"?document:{};return di(t,qi),t}const mn={document:qi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function $e(){const t=typeof window<"u"?window:{};return di(t,mn),t}function St(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function fn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function It(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function at(){return Date.now()}function hn(t){const e=$e();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function gn(t,e){e===void 0&&(e="x");const i=$e();let o,a,l;const d=hn(t);return i.WebKitCSSMatrix?(a=d.transform||d.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(r=>r.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(a==="none"?"":a)):(l=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),o=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?a=l.m41:o.length===16?a=parseFloat(o[12]):a=parseFloat(o[4])),e==="y"&&(i.WebKitCSSMatrix?a=l.m42:o.length===16?a=parseFloat(o[13]):a=parseFloat(o[5])),a||0}function jt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function bn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function ot(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const o=i<0||arguments.length<=i?void 0:arguments[i];if(o!=null&&!bn(o)){const a=Object.keys(Object(o)).filter(l=>e.indexOf(l)<0);for(let l=0,d=a.length;l<d;l+=1){const r=a[l],s=Object.getOwnPropertyDescriptor(o,r);s!==void 0&&s.enumerable&&(jt(t[r])&&jt(o[r])?o[r].__swiper__?t[r]=o[r]:ot(t[r],o[r]):!jt(t[r])&&jt(o[r])?(t[r]={},o[r].__swiper__?t[r]=o[r]:ot(t[r],o[r])):t[r]=o[r])}}}return t}function Vt(t,e,i){t.style.setProperty(e,i)}function Ji(t){let{swiper:e,targetPosition:i,side:o}=t;const a=$e(),l=-e.translate;let d=null,r;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const v=i>l?"next":"prev",u=(m,h)=>v==="next"&&m>=h||v==="prev"&&m<=h,f=()=>{r=new Date().getTime(),d===null&&(d=r);const m=Math.max(Math.min((r-d)/s,1),0),h=.5-Math.cos(m*Math.PI)/2;let w=l+h*(i-l);if(u(w,i)&&(w=i),e.wrapperEl.scrollTo({[o]:w}),u(w,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[o]:w})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(f)};f()}function mt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function zt(t){try{console.warn(t);return}catch{}}function Dt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:St(e)),i}function yn(t){const e=$e(),i=vt(),o=t.getBoundingClientRect(),a=i.body,l=t.clientTop||a.clientTop||0,d=t.clientLeft||a.clientLeft||0,r=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:o.top+r-l,left:o.left+s-d}}function wn(t,e){const i=[];for(;t.previousElementSibling;){const o=t.previousElementSibling;e?o.matches(e)&&i.push(o):i.push(o),t=o}return i}function Sn(t,e){const i=[];for(;t.nextElementSibling;){const o=t.nextElementSibling;e?o.matches(e)&&i.push(o):i.push(o),t=o}return i}function xt(t,e){return $e().getComputedStyle(t,null).getPropertyValue(e)}function Ht(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Ki(t,e){const i=[];let o=t.parentElement;for(;o;)e?o.matches(e)&&i.push(o):i.push(o),o=o.parentElement;return i}function ri(t,e){function i(o){o.target===t&&(e.call(t,o),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ci(t,e,i){const o=$e();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(o.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(o.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function ft(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function xn(t){let{swiper:e,extendParams:i,on:o,emit:a}=t;const l=$e();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let d,r=at(),s;const v=[];function u(b){let O=0,k=0,S=0,c=0;return"detail"in b&&(k=b.detail),"wheelDelta"in b&&(k=-b.wheelDelta/120),"wheelDeltaY"in b&&(k=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(O=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(O=k,k=0),S=O*10,c=k*10,"deltaY"in b&&(c=b.deltaY),"deltaX"in b&&(S=b.deltaX),b.shiftKey&&!S&&(S=c,c=0),(S||c)&&b.deltaMode&&(b.deltaMode===1?(S*=40,c*=40):(S*=800,c*=800)),S&&!O&&(O=S<1?-1:1),c&&!k&&(k=c<1?-1:1),{spinX:O,spinY:k,pixelX:S,pixelY:c}}function f(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function h(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&at()-r<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&at()-r<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),a("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),a("scroll",b.raw)),r=new l.Date().getTime(),!1)}function w(b){const E=e.params.mousewheel;if(b.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 y(b){let E=b,C=!0;if(!e.enabled||b.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const g=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 k=O&&O.contains(E.target);if(!e.mouseEntered&&!k&&!g.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let S=0;const c=e.rtlTranslate?-1:1,A=u(E);if(g.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*c;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*c:-A.pixelY;if(S===0)return!0;g.invert&&(S=-S);let T=e.getTranslate()+S*g.sensitivity;if(T>=e.minTranslate()&&(T=e.minTranslate()),T<=e.maxTranslate()&&(T=e.maxTranslate()),C=e.params.loop?!0:!(T===e.minTranslate()||T===e.maxTranslate()),C&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const _={time:at(),delta:Math.abs(S),direction:Math.sign(S),raw:b};v.length>=2&&v.shift();const D=v.length?v[v.length-1]:void 0;if(v.push(_),D?(_.direction!==D.direction||_.delta>D.delta||_.time>D.time+150)&&h(_):h(_),w(_))return!0}else{const _={time:at(),delta:Math.abs(S),direction:Math.sign(S)},D=s&&_.time<s.time+500&&_.delta<=s.delta&&_.direction===s.direction;if(!D){s=void 0;let M=e.getTranslate()+S*g.sensitivity;const j=e.isBeginning,H=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(),(!j&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:_.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(d),d=void 0,v.length>=15&&v.shift();const N=v.length?v[v.length-1]:void 0,B=v[0];if(v.push(_),N&&(_.delta>N.delta||_.direction!==N.direction))v.splice(0);else if(v.length>=15&&_.time-B.time<500&&B.delta-_.delta>=1&&_.delta<=6){const L=S>0?.8:.2;s=_,v.splice(0),d=It(()=>{e.slideToClosest(e.params.speed,!0,void 0,L)},0)}d||(d=It(()=>{s=_,v.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(D||a("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),g.releaseOnEdges&&(M===e.minTranslate()||M===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function P(b){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[b]("mouseenter",f),E[b]("mouseleave",m),E[b]("wheel",y)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",y),!0):e.mousewheel.enabled?!1:(P("addEventListener"),e.mousewheel.enabled=!0,!0)}function x(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,y),!0):e.mousewheel.enabled?(P("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}o("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&x(),e.params.mousewheel.enabled&&p()}),o("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&x()}),Object.assign(e.mousewheel,{enable:p,disable:x})}function Zi(t,e,i,o){return t.params.createElements&&Object.keys(o).forEach(a=>{if(!i[a]&&i.auto===!0){let l=mt(t.el,`.${o[a]}`)[0];l||(l=Dt("div",o[a]),l.className=o[a],t.el.append(l)),i[a]=l,e[a]=l}}),i}function Ct(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ut(t){let{swiper:e,extendParams:i,on:o,emit:a}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let d,r=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function v(p,x){const{bulletActiveClass:b}=e.params.pagination;p&&(p=p[`${x==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${b}-${x}`),p=p[`${x==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${b}-${x}-${x}`)))}function u(p){const x=p.target.closest(Ct(e.params.pagination.bulletClass));if(!x)return;p.preventDefault();const b=Ht(x)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function f(){const p=e.rtl,x=e.params.pagination;if(s())return;let b=e.pagination.el;b=ft(b);let E,C;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,E=e.activeIndex||0),x.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let S,c,A;if(x.dynamicBullets&&(d=ci(k[0],e.isHorizontal()?"width":"height",!0),b.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${d*(x.dynamicMainBullets+4)}px`}),x.dynamicMainBullets>1&&C!==void 0&&(r+=E-(C||0),r>x.dynamicMainBullets-1?r=x.dynamicMainBullets-1:r<0&&(r=0)),S=Math.max(E-r,0),c=S+(Math.min(k.length,x.dynamicMainBullets)-1),A=(c+S)/2),k.forEach(T=>{const _=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${x.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();T.classList.remove(..._)}),b.length>1)k.forEach(T=>{const _=Ht(T);_===E?T.classList.add(...x.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),x.dynamicBullets&&(_>=S&&_<=c&&T.classList.add(...`${x.bulletActiveClass}-main`.split(" ")),_===S&&v(T,"prev"),_===c&&v(T,"next"))});else{const T=k[E];if(T&&T.classList.add(...x.bulletActiveClass.split(" ")),e.isElement&&k.forEach((_,D)=>{_.setAttribute("part",D===E?"bullet-active":"bullet")}),x.dynamicBullets){const _=k[S],D=k[c];for(let M=S;M<=c;M+=1)k[M]&&k[M].classList.add(...`${x.bulletActiveClass}-main`.split(" "));v(_,"prev"),v(D,"next")}}if(x.dynamicBullets){const T=Math.min(k.length,x.dynamicMainBullets+4),_=(d*T-d)/2-A*d,D=p?"right":"left";k.forEach(M=>{M.style[e.isHorizontal()?D:"top"]=`${_}px`})}}b.forEach((k,S)=>{if(x.type==="fraction"&&(k.querySelectorAll(Ct(x.currentClass)).forEach(c=>{c.textContent=x.formatFractionCurrent(E+1)}),k.querySelectorAll(Ct(x.totalClass)).forEach(c=>{c.textContent=x.formatFractionTotal(O)})),x.type==="progressbar"){let c;x.progressbarOpposite?c=e.isHorizontal()?"vertical":"horizontal":c=e.isHorizontal()?"horizontal":"vertical";const A=(E+1)/O;let T=1,_=1;c==="horizontal"?T=A:_=A,k.querySelectorAll(Ct(x.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${_})`,D.style.transitionDuration=`${e.params.speed}ms`})}x.type==="custom"&&x.renderCustom?(k.innerHTML=x.renderCustom(e,E+1,O),S===0&&a("paginationRender",k)):(S===0&&a("paginationRender",k),a("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](x.lockClass)})}function m(){const p=e.params.pagination;if(s())return;const x=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 b=e.pagination.el;b=ft(b);let E="";if(p.type==="bullets"){let C=e.params.loop?Math.ceil(x/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>x&&(C=x);for(let g=0;g<C;g+=1)p.renderBullet?E+=p.renderBullet.call(e,g,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=[],b.forEach(C=>{p.type!=="custom"&&(C.innerHTML=E||""),p.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(Ct(p.bulletClass)))}),p.type!=="custom"&&a("paginationRender",b[0])}function h(){e.params.pagination=Zi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let x;typeof p.el=="string"&&e.isElement&&(x=e.el.querySelector(p.el)),!x&&typeof p.el=="string"&&(x=[...document.querySelectorAll(p.el)]),x||(x=p.el),!(!x||x.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(x)&&x.length>1&&(x=[...e.el.querySelectorAll(p.el)],x.length>1&&(x=x.filter(b=>Ki(b,".swiper")[0]===e.el)[0])),Array.isArray(x)&&x.length===1&&(x=x[0]),Object.assign(e.pagination,{el:x}),x=ft(x),x.forEach(b=>{p.type==="bullets"&&p.clickable&&b.classList.add(...(p.clickableClass||"").split(" ")),b.classList.add(p.modifierClass+p.type),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(b.classList.add(`${p.modifierClass}${p.type}-dynamic`),r=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&b.classList.add(p.progressbarOppositeClass),p.clickable&&b.addEventListener("click",u),e.enabled||b.classList.add(p.lockClass)}))}function w(){const p=e.params.pagination;if(s())return;let x=e.pagination.el;x&&(x=ft(x),x.forEach(b=>{b.classList.remove(p.hiddenClass),b.classList.remove(p.modifierClass+p.type),b.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(b.classList.remove(...(p.clickableClass||"").split(" ")),b.removeEventListener("click",u))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...p.bulletActiveClass.split(" ")))}o("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:x}=e.pagination;x=ft(x),x.forEach(b=>{b.classList.remove(p.horizontalClass,p.verticalClass),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),o("init",()=>{e.params.pagination.enabled===!1?P():(h(),m(),f())}),o("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),o("snapIndexChange",()=>{f()}),o("snapGridLengthChange",()=>{m(),f()}),o("destroy",()=>{w()}),o("enable disable",()=>{let{el:p}=e.pagination;p&&(p=ft(p),p.forEach(x=>x.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),o("lock unlock",()=>{f()}),o("click",(p,x)=>{const b=x.target,E=ft(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const C=E[0].classList.contains(e.params.pagination.hiddenClass);a(C===!0?"paginationShow":"paginationHide"),E.forEach(g=>g.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=ft(p),p.forEach(x=>x.classList.remove(e.params.pagination.paginationDisabledClass))),h(),m(),f()},P=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=ft(p),p.forEach(x=>x.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:y,disable:P,render:m,update:f,init:h,destroy:w})}function Tn(t){let{swiper:e,extendParams:i,on:o,emit:a}=t;const l=vt();let d=!1,r=null,s=null,v,u,f,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 h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T,rtlTranslate:_}=e,{dragEl:D,el:M}=T,j=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let N=u,B=(f-u)*H;_?(B=-B,B>0?(N=u-B,B=0):-B+u>f&&(N=f+B)):B<0?(N=u+B,B=0):B+u>f&&(N=f-B),e.isHorizontal()?(D.style.transform=`translate3d(${B}px, 0, 0)`,D.style.width=`${N}px`):(D.style.transform=`translate3d(0px, ${B}px, 0)`,D.style.height=`${N}px`),j.hide&&(clearTimeout(r),M.style.opacity=1,r=setTimeout(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3))}function w(T){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${T}ms`)}function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T}=e,{dragEl:_,el:D}=T;_.style.width="",_.style.height="",f=e.isHorizontal()?D.offsetWidth:D.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?u=f*m:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?_.style.width=`${u}px`:_.style.height=`${u}px`,m>=1?D.style.display="none":D.style.display="",e.params.scrollbar.hide&&(D.style.opacity=0),e.params.watchOverflow&&e.enabled&&T.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function P(T){return e.isHorizontal()?T.clientX:T.clientY}function p(T){const{scrollbar:_,rtlTranslate:D}=e,{el:M}=_;let j;j=(P(T)-yn(M)[e.isHorizontal()?"left":"top"]-(v!==null?v:u/2))/(f-u),j=Math.max(Math.min(j,1),0),D&&(j=1-j);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*j;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function x(T){const _=e.params.scrollbar,{scrollbar:D,wrapperEl:M}=e,{el:j,dragEl:H}=D;d=!0,v=T.target===H?P(T)-T.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,T.preventDefault(),T.stopPropagation(),M.style.transitionDuration="100ms",H.style.transitionDuration="100ms",p(T),clearTimeout(s),j.style.transitionDuration="0ms",_.hide&&(j.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",T)}function b(T){const{scrollbar:_,wrapperEl:D}=e,{el:M,dragEl:j}=_;d&&(T.preventDefault&&T.cancelable?T.preventDefault():T.returnValue=!1,p(T),D.style.transitionDuration="0ms",M.style.transitionDuration="0ms",j.style.transitionDuration="0ms",a("scrollbarDragMove",T))}function E(T){const _=e.params.scrollbar,{scrollbar:D,wrapperEl:M}=e,{el:j}=D;d&&(d=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),_.hide&&(clearTimeout(s),s=It(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3)),a("scrollbarDragEnd",T),_.snapOnRelease&&e.slideToClosest())}function C(T){const{scrollbar:_,params:D}=e,M=_.el;if(!M)return;const j=M,H=D.passiveListeners?{passive:!1,capture:!1}:!1,N=D.passiveListeners?{passive:!0,capture:!1}:!1;if(!j)return;const B=T==="on"?"addEventListener":"removeEventListener";j[B]("pointerdown",x,H),l[B]("pointermove",b,H),l[B]("pointerup",E,N)}function g(){!e.params.scrollbar.el||!e.scrollbar.el||C("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||C("off")}function k(){const{scrollbar:T,el:_}=e;e.params.scrollbar=Zi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const D=e.params.scrollbar;if(!D.el)return;let M;if(typeof D.el=="string"&&e.isElement&&(M=e.el.querySelector(D.el)),!M&&typeof D.el=="string"){if(M=l.querySelectorAll(D.el),!M.length)return}else M||(M=D.el);e.params.uniqueNavElements&&typeof D.el=="string"&&M.length>1&&_.querySelectorAll(D.el).length===1&&(M=_.querySelector(D.el)),M.length>0&&(M=M[0]),M.classList.add(e.isHorizontal()?D.horizontalClass:D.verticalClass);let j;M&&(j=M.querySelector(Ct(e.params.scrollbar.dragClass)),j||(j=Dt("div",e.params.scrollbar.dragClass),M.append(j))),Object.assign(T,{el:M,dragEl:j}),D.draggable&&g(),M&&M.classList[e.enabled?"remove":"add"](...St(e.params.scrollbar.lockClass))}function S(){const T=e.params.scrollbar,_=e.scrollbar.el;_&&_.classList.remove(...St(e.isHorizontal()?T.horizontalClass:T.verticalClass)),O()}o("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const T=e.params.scrollbar;let{el:_}=e.scrollbar;_=ft(_),_.forEach(D=>{D.classList.remove(T.horizontalClass,T.verticalClass),D.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass)})}),o("init",()=>{e.params.scrollbar.enabled===!1?A():(k(),y(),h())}),o("update resize observerUpdate lock unlock changeDirection",()=>{y()}),o("setTranslate",()=>{h()}),o("setTransition",(T,_)=>{w(_)}),o("enable disable",()=>{const{el:T}=e.scrollbar;T&&T.classList[e.enabled?"remove":"add"](...St(e.params.scrollbar.lockClass))}),o("destroy",()=>{S()});const c=()=>{e.el.classList.remove(...St(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...St(e.params.scrollbar.scrollbarDisabledClass)),k(),y(),h()},A=()=>{e.el.classList.add(...St(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...St(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:c,disable:A,updateSize:y,setTranslate:h,init:k,destroy:S})}function Gt(t){let{swiper:e,extendParams:i,on:o,emit:a,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,r,s=l&&l.autoplay?l.autoplay.delay:3e3,v=l&&l.autoplay?l.autoplay.delay:3e3,u,f=new Date().getTime(),m,h,w,y,P,p,x;function b(N){!e||e.destroyed||!e.wrapperEl||N.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!(x||N.detail&&N.detail.bySwiperTouchMove)&&c())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(v=u,m=!1);const N=e.autoplay.paused?u:f+v-new Date().getTime();e.autoplay.timeLeft=N,a("autoplayTimeLeft",N,N/s),r=requestAnimationFrame(()=>{E()})},C=()=>{let N;return e.virtual&&e.params.virtual.enabled?N=e.slides.filter(L=>L.classList.contains("swiper-slide-active"))[0]:N=e.slides[e.activeIndex],N?parseInt(N.getAttribute("data-swiper-autoplay"),10):void 0},g=N=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(r),E();let B=typeof N>"u"?e.params.autoplay.delay:N;s=e.params.autoplay.delay,v=e.params.autoplay.delay;const L=C();!Number.isNaN(L)&&L>0&&typeof N>"u"&&(B=L,s=L,v=L),u=B;const Z=e.params.speed,G=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(Z,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,Z,!0,!0),a("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(Z,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,Z,!0,!0),a("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{g()})))};return B>0?(clearTimeout(d),d=setTimeout(()=>{G()},B)):requestAnimationFrame(()=>{G()}),B},O=()=>{f=new Date().getTime(),e.autoplay.running=!0,g(),a("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(d),cancelAnimationFrame(r),a("autoplayStop")},S=(N,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(d),N||(p=!0);const L=()=>{a("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):c()};if(e.autoplay.paused=!0,B){P&&(u=e.params.autoplay.delay),P=!1,L();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),L())},c=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),p?(p=!1,g(u)):g(),e.autoplay.paused=!1,a("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const N=vt();N.visibilityState==="hidden"&&(p=!0,S(!0)),N.visibilityState==="visible"&&c()},T=N=>{N.pointerType==="mouse"&&(p=!0,x=!0,!(e.animating||e.autoplay.paused)&&S(!0))},_=N=>{N.pointerType==="mouse"&&(x=!1,e.autoplay.paused&&c())},D=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",T),e.el.addEventListener("pointerleave",_))},M=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",T),e.el.removeEventListener("pointerleave",_))},j=()=>{vt().addEventListener("visibilitychange",A)},H=()=>{vt().removeEventListener("visibilitychange",A)};o("init",()=>{e.params.autoplay.enabled&&(D(),j(),O())}),o("destroy",()=>{M(),H(),e.autoplay.running&&k()}),o("_freeModeStaticRelease",()=>{(w||p)&&c()}),o("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():S(!0,!0)}),o("beforeTransitionStart",(N,B,L)=>{e.destroyed||!e.autoplay.running||(L||!e.params.autoplay.disableOnInteraction?S(!0,!0):k())}),o("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}h=!0,w=!1,p=!1,y=setTimeout(()=>{p=!0,w=!0,S(!0)},200)}}),o("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(y),clearTimeout(d),e.params.autoplay.disableOnInteraction){w=!1,h=!1;return}w&&e.params.cssMode&&c(),w=!1,h=!1}}),o("slideChange",()=>{e.destroyed||!e.autoplay.running||(P=!0)}),Object.assign(e.autoplay,{start:O,stop:k,pause:S,resume:c})}function En(t){let{swiper:e,extendParams:i,emit:o,once:a}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),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:s,touches:v}=e;s.velocities.length===0&&s.velocities.push({position:v[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:v[e.isHorizontal()?"currentX":"currentY"],time:at()})}function r(s){let{currentPos:v}=s;if(e.params.cssMode)return;const{params:u,wrapperEl:f,rtlTranslate:m,snapGrid:h,touchEventsData:w}=e,P=at()-w.touchStartTime;if(v<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(v>-e.maxTranslate()){e.slides.length<h.length?e.slideTo(h.length-1):e.slideTo(e.slides.length-1);return}if(u.freeMode.momentum){if(w.velocities.length>1){const k=w.velocities.pop(),S=w.velocities.pop(),c=k.position-S.position,A=k.time-S.time;e.velocity=c/A,e.velocity/=2,Math.abs(e.velocity)<u.freeMode.minimumVelocity&&(e.velocity=0),(A>150||at()-k.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=u.freeMode.momentumVelocityRatio,w.velocities.length=0;let p=1e3*u.freeMode.momentumRatio;const x=e.velocity*p;let b=e.translate+x;m&&(b=-b);let E=!1,C;const g=Math.abs(e.velocity)*20*u.freeMode.momentumBounceRatio;let O;if(b<e.maxTranslate())u.freeMode.momentumBounce?(b+e.maxTranslate()<-g&&(b=e.maxTranslate()-g),C=e.maxTranslate(),E=!0,w.allowMomentumBounce=!0):b=e.maxTranslate(),u.loop&&u.centeredSlides&&(O=!0);else if(b>e.minTranslate())u.freeMode.momentumBounce?(b-e.minTranslate()>g&&(b=e.minTranslate()+g),C=e.minTranslate(),E=!0,w.allowMomentumBounce=!0):b=e.minTranslate(),u.loop&&u.centeredSlides&&(O=!0);else if(u.freeMode.sticky){let k;for(let S=0;S<h.length;S+=1)if(h[S]>-b){k=S;break}Math.abs(h[k]-b)<Math.abs(h[k-1]-b)||e.swipeDirection==="next"?b=h[k]:b=h[k-1],b=-b}if(O&&a("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-b-e.translate)/e.velocity):p=Math.abs((b-e.translate)/e.velocity),u.freeMode.sticky){const k=Math.abs((m?-b:b)-e.translate),S=e.slidesSizesGrid[e.activeIndex];k<S?p=u.speed:k<2*S?p=u.speed*1.5:p=u.speed*2.5}}else if(u.freeMode.sticky){e.slideToClosest();return}u.freeMode.momentumBounce&&E?(e.updateProgress(C),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ri(f,()=>{!e||e.destroyed||!w.allowMomentumBounce||(o("momentumBounce"),e.setTransition(u.speed),setTimeout(()=>{e.setTranslate(C),ri(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(o("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ri(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(u.freeMode.sticky){e.slideToClosest();return}else u.freeMode&&o("_freeModeNoMomentumRelease");(!u.freeMode.momentum||P>=u.longSwipesMs)&&(o("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:d,onTouchEnd:r}})}let ui;function An(){const t=$e(),e=vt();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 ui||(ui=An()),ui}let vi;function In(t){let{userAgent:e}=t===void 0?{}:t;const i=Qi(),o=$e(),a=o.navigator.platform,l=e||o.navigator.userAgent,d={ios:!1,android:!1},r=o.screen.width,s=o.screen.height,v=l.match(/(Android);?[\s\/]+([\d.]+)?/);let u=l.match(/(iPad).*OS\s([\d_]+)/);const f=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!u&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=a==="Win32";let w=a==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&w&&i.touch&&y.indexOf(`${r}x${s}`)>=0&&(u=l.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),w=!1),v&&!h&&(d.os="android",d.android=!0),(u||m||f)&&(d.os="ios",d.ios=!0),d}function $i(t){return t===void 0&&(t={}),vi||(vi=In(t)),vi}let pi;function Cn(){const t=$e(),e=$i();let i=!1;function o(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(o()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[s,v]=r.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));i=s<16||s===16&&v<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=o(),d=l||a&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:d,isWebView:a}}function kn(){return pi||(pi=Cn()),pi}function _n(t){let{swiper:e,on:i,emit:o}=t;const a=$e();let l=null,d=null;const r=()=>{!e||e.destroyed||!e.initialized||(o("beforeResize"),o("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(f=>{d=a.requestAnimationFrame(()=>{const{width:m,height:h}=e;let w=m,y=h;f.forEach(P=>{let{contentBoxSize:p,contentRect:x,target:b}=P;b&&b!==e.el||(w=x?x.width:(p[0]||p).inlineSize,y=x?x.height:(p[0]||p).blockSize)}),(w!==m||y!==h)&&r()})}),l.observe(e.el))},v=()=>{d&&a.cancelAnimationFrame(d),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},u=()=>{!e||e.destroyed||!e.initialized||o("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof a.ResizeObserver<"u"){s();return}a.addEventListener("resize",r),a.addEventListener("orientationchange",u)}),i("destroy",()=>{v(),a.removeEventListener("resize",r),a.removeEventListener("orientationchange",u)})}function Pn(t){let{swiper:e,extendParams:i,on:o,emit:a}=t;const l=[],d=$e(),r=function(u,f){f===void 0&&(f={});const m=d.MutationObserver||d.WebkitMutationObserver,h=new m(w=>{if(e.__preventObserver__)return;if(w.length===1){a("observerUpdate",w[0]);return}const y=function(){a("observerUpdate",w[0])};d.requestAnimationFrame?d.requestAnimationFrame(y):d.setTimeout(y,0)});h.observe(u,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),l.push(h)},s=()=>{if(e.params.observer){if(e.params.observeParents){const u=Ki(e.hostEl);for(let f=0;f<u.length;f+=1)r(u[f])}r(e.hostEl,{childList:e.params.observeSlideChildren}),r(e.wrapperEl,{attributes:!1})}},v=()=>{l.forEach(u=>{u.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),o("init",s),o("destroy",v)}var Dn={on(t,e,i){const o=this;if(!o.eventsListeners||o.destroyed||typeof e!="function")return o;const a=i?"unshift":"push";return t.split(" ").forEach(l=>{o.eventsListeners[l]||(o.eventsListeners[l]=[]),o.eventsListeners[l][a](e)}),o},once(t,e,i){const o=this;if(!o.eventsListeners||o.destroyed||typeof e!="function")return o;function a(){o.off(t,a),a.__emitterProxy&&delete a.__emitterProxy;for(var l=arguments.length,d=new Array(l),r=0;r<l;r++)d[r]=arguments[r];e.apply(o,d)}return a.__emitterProxy=e,o.on(t,a,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const o=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[o](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(o=>{typeof e>"u"?i.eventsListeners[o]=[]:i.eventsListeners[o]&&i.eventsListeners[o].forEach((a,l)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&i.eventsListeners[o].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,o;for(var a=arguments.length,l=new Array(a),d=0;d<a;d++)l[d]=arguments[d];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),o=t):(e=l[0].events,i=l[0].data,o=l[0].context||t),i.unshift(o),(Array.isArray(e)?e:e.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(v=>{v.apply(o,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(v=>{v.apply(o,i)})}),t}};function Mn(){const t=this;let e,i;const o=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=o.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=o.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(xt(o,"padding-left")||0,10)-parseInt(xt(o,"padding-right")||0,10),i=i-parseInt(xt(o,"padding-top")||0,10)-parseInt(xt(o,"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 On(){const t=this;function e(c,A){return parseFloat(c.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:o,slidesEl:a,size:l,rtlTranslate:d,wrongRTL:r}=t,s=t.virtual&&i.virtual.enabled,v=s?t.virtual.slides.length:t.slides.length,u=mt(a,`.${t.params.slideClass}, swiper-slide`),f=s?t.virtual.slides.length:u.length;let m=[];const h=[],w=[];let y=i.slidesOffsetBefore;typeof y=="function"&&(y=i.slidesOffsetBefore.call(t));let P=i.slidesOffsetAfter;typeof P=="function"&&(P=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,x=t.slidesGrid.length;let b=i.spaceBetween,E=-y,C=0,g=0;if(typeof l>"u")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*l:typeof b=="string"&&(b=parseFloat(b)),t.virtualSize=-b,u.forEach(c=>{d?c.style.marginLeft="":c.style.marginRight="",c.style.marginBottom="",c.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Vt(o,"--swiper-centered-offset-before",""),Vt(o,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();let k;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(c=>typeof i.breakpoints[c].slidesPerView<"u").length>0;for(let c=0;c<f;c+=1){k=0;let A;if(u[c]&&(A=u[c]),O&&t.grid.updateSlide(c,A,u),!(u[c]&&xt(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(u[c].style[t.getDirectionLabel("width")]="");const T=getComputedStyle(A),_=A.style.transform,D=A.style.webkitTransform;if(_&&(A.style.transform="none"),D&&(A.style.webkitTransform="none"),i.roundLengths)k=t.isHorizontal()?ci(A,"width",!0):ci(A,"height",!0);else{const M=e(T,"width"),j=e(T,"padding-left"),H=e(T,"padding-right"),N=e(T,"margin-left"),B=e(T,"margin-right"),L=T.getPropertyValue("box-sizing");if(L&&L==="border-box")k=M+N+B;else{const{clientWidth:Z,offsetWidth:G}=A;k=M+j+H+N+B+(G-Z)}}_&&(A.style.transform=_),D&&(A.style.webkitTransform=D),i.roundLengths&&(k=Math.floor(k))}else k=(l-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),u[c]&&(u[c].style[t.getDirectionLabel("width")]=`${k}px`);u[c]&&(u[c].swiperSlideSize=k),w.push(k),i.centeredSlides?(E=E+k/2+C/2+b,C===0&&c!==0&&(E=E-l/2-b),c===0&&(E=E-l/2-b),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),g%i.slidesPerGroup===0&&m.push(E),h.push(E)):(i.roundLengths&&(E=Math.floor(E)),(g-Math.min(t.params.slidesPerGroupSkip,g))%t.params.slidesPerGroup===0&&m.push(E),h.push(E),E=E+k+b),t.virtualSize+=k+b,C=k,g+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+P,d&&r&&(i.effect==="slide"||i.effect==="coverflow")&&(o.style.width=`${t.virtualSize+b}px`),i.setWrapperSize&&(o.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),O&&t.grid.updateWrapperSize(k,m),!i.centeredSlides){const c=[];for(let A=0;A<m.length;A+=1){let T=m[A];i.roundLengths&&(T=Math.floor(T)),m[A]<=t.virtualSize-l&&c.push(T)}m=c,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(s&&i.loop){const c=w[0]+b;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),T=c*i.slidesPerGroup;for(let _=0;_<A;_+=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]+c),h.push(h[h.length-1]+c),t.virtualSize+=c}if(m.length===0&&(m=[0]),b!==0){const c=t.isHorizontal()&&d?"marginLeft":t.getDirectionLabel("marginRight");u.filter((A,T)=>!i.cssMode||i.loop?!0:T!==u.length-1).forEach(A=>{A.style[c]=`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let c=0;w.forEach(T=>{c+=T+(b||0)}),c-=b;const A=c-l;m=m.map(T=>T<=0?-y:T>A?A+P:T)}if(i.centerInsufficientSlides){let c=0;w.forEach(T=>{c+=T+(b||0)}),c-=b;const A=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(c+A<l){const T=(l-c-A)/2;m.forEach((_,D)=>{m[D]=_-T}),h.forEach((_,D)=>{h[D]=_+T})}}if(Object.assign(t,{slides:u,snapGrid:m,slidesGrid:h,slidesSizesGrid:w}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Vt(o,"--swiper-centered-offset-before",`${-m[0]}px`),Vt(o,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const c=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(T=>T+c),t.slidesGrid=t.slidesGrid.map(T=>T+A)}if(f!==v&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==x&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const c=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(c);f<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(c):A&&t.el.classList.remove(c)}}function Rn(t){const e=this,i=[],o=e.virtual&&e.params.virtual.enabled;let a=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const d=r=>o?e.slides[e.getSlideIndexByData(r)]:e.slides[r];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(r=>{i.push(r)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const r=e.activeIndex+l;if(r>e.slides.length&&!o)break;i.push(d(r))}else i.push(d(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const r=i[l].offsetHeight;a=r>a?r:a}(a||a===0)&&(e.wrapperEl.style.height=`${a}px`)}function Ln(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let o=0;o<e.length;o+=1)e[o].swiperSlideOffset=(t.isHorizontal()?e[o].offsetLeft:e[o].offsetTop)-i-t.cssOverflowAdjustment()}const eo=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Bn(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:o,rtlTranslate:a,snapGrid:l}=e;if(o.length===0)return;typeof o[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let d=-t;a&&(d=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let r=i.spaceBetween;typeof r=="string"&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*e.size:typeof r=="string"&&(r=parseFloat(r));for(let s=0;s<o.length;s+=1){const v=o[s];let u=v.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(u-=o[0].swiperSlideOffset);const f=(d+(i.centeredSlides?e.minTranslate():0)-u)/(v.swiperSlideSize+r),m=(d-l[0]+(i.centeredSlides?e.minTranslate():0)-u)/(v.swiperSlideSize+r),h=-(d-u),w=h+e.slidesSizesGrid[s],y=h>=0&&h<=e.size-e.slidesSizesGrid[s],P=h>=0&&h<e.size-1||w>1&&w<=e.size||h<=0&&w>=e.size;P&&(e.visibleSlides.push(v),e.visibleSlidesIndexes.push(s)),eo(v,P,i.slideVisibleClass),eo(v,y,i.slideFullyVisibleClass),v.progress=a?-f:f,v.originalProgress=a?-m:m}}function Nn(t){const e=this;if(typeof t>"u"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const i=e.params,o=e.maxTranslate()-e.minTranslate();let{progress:a,isBeginning:l,isEnd:d,progressLoop:r}=e;const s=l,v=d;if(o===0)a=0,l=!0,d=!0;else{a=(t-e.minTranslate())/o;const u=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;l=u||a<=0,d=f||a>=1,u&&(a=0),f&&(a=1)}if(i.loop){const u=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[u],h=e.slidesGrid[f],w=e.slidesGrid[e.slidesGrid.length-1],y=Math.abs(t);y>=m?r=(y-m)/w:r=(y+w-h)/w,r>1&&(r-=1)}Object.assign(e,{progress:a,progressLoop:r,isBeginning:l,isEnd:d}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!s&&e.emit("reachBeginning toEdge"),d&&!v&&e.emit("reachEnd toEdge"),(s&&!l||v&&!d)&&e.emit("fromEdge"),e.emit("progress",a)}const mi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Fn(){const t=this,{slides:e,params:i,slidesEl:o,activeIndex:a}=t,l=t.virtual&&i.virtual.enabled,d=t.grid&&i.grid&&i.grid.rows>1,r=f=>mt(o,`.${i.slideClass}${f}, swiper-slide${f}`)[0];let s,v,u;if(l)if(i.loop){let f=a-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),s=r(`[data-swiper-slide-index="${f}"]`)}else s=r(`[data-swiper-slide-index="${a}"]`);else d?(s=e.filter(f=>f.column===a)[0],u=e.filter(f=>f.column===a+1)[0],v=e.filter(f=>f.column===a-1)[0]):s=e[a];s&&(d||(u=Sn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u&&(u=e[0]),v=wn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!v===0&&(v=e[e.length-1]))),e.forEach(f=>{mi(f,f===s,i.slideActiveClass),mi(f,f===u,i.slideNextClass),mi(f,f===v,i.slidePrevClass)}),t.emitSlidesClasses()}const Wt=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,o=e.closest(i());if(o){let a=o.querySelector(`.${t.params.lazyPreloaderClass}`);!a&&t.isElement&&(o.shadowRoot?a=o.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{o.shadowRoot&&(a=o.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),a&&a.remove())})),a&&a.remove()}},fi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},hi=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const o=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),a=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const d=a,r=[d-e];r.push(...Array.from({length:e}).map((s,v)=>d+o+v)),t.slides.forEach((s,v)=>{r.includes(s.column)&&fi(t,v)});return}const l=a+o-1;if(t.params.rewind||t.params.loop)for(let d=a-e;d<=l+e;d+=1){const r=(d%i+i)%i;(r<a||r>l)&&fi(t,r)}else for(let d=Math.max(a-e,0);d<=Math.min(l+e,i-1);d+=1)d!==a&&(d>l||d<a)&&fi(t,d)};function jn(t){const{slidesGrid:e,params:i}=t,o=t.rtlTranslate?t.translate:-t.translate;let a;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?o>=e[l]&&o<e[l+1]-(e[l+1]-e[l])/2?a=l:o>=e[l]&&o<e[l+1]&&(a=l+1):o>=e[l]&&(a=l);return i.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function Vn(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:o,params:a,activeIndex:l,realIndex:d,snapIndex:r}=e;let s=t,v;const u=h=>{let w=h-e.virtual.slidesBefore;return w<0&&(w=e.virtual.slides.length+w),w>=e.virtual.slides.length&&(w-=e.virtual.slides.length),w};if(typeof s>"u"&&(s=jn(e)),o.indexOf(i)>=0)v=o.indexOf(i);else{const h=Math.min(a.slidesPerGroupSkip,s);v=h+Math.floor((s-h)/a.slidesPerGroup)}if(v>=o.length&&(v=o.length-1),s===l&&!e.params.loop){v!==r&&(e.snapIndex=v,e.emit("snapIndexChange"));return}if(s===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(s);return}const f=e.grid&&a.grid&&a.grid.rows>1;let m;if(e.virtual&&a.virtual.enabled&&a.loop)m=u(s);else if(f){const h=e.slides.filter(y=>y.column===s)[0];let w=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(w)&&(w=Math.max(e.slides.indexOf(h),0)),m=Math.floor(w/a.grid.rows)}else if(e.slides[s]){const h=e.slides[s].getAttribute("data-swiper-slide-index");h?m=parseInt(h,10):m=s}else m=s;Object.assign(e,{previousSnapIndex:r,snapIndex:v,previousRealIndex:d,realIndex:m,previousIndex:l,activeIndex:s}),e.initialized&&hi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(d!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function zn(t,e){const i=this,o=i.params;let a=t.closest(`.${o.slideClass}, swiper-slide`);!a&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(r=>{!a&&r.matches&&r.matches(`.${o.slideClass}, swiper-slide`)&&(a=r)});let l=!1,d;if(a){for(let r=0;r<i.slides.length;r+=1)if(i.slides[r]===a){l=!0,d=r;break}}if(a&&l)i.clickedSlide=a,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=d;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}o.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Hn={updateSize:Mn,updateSlides:On,updateAutoHeight:Rn,updateSlidesOffset:Ln,updateSlidesProgress:Bn,updateProgress:Nn,updateSlidesClasses:Fn,updateActiveIndex:Vn,updateClickedSlide:zn};function Un(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:o,translate:a,wrapperEl:l}=e;if(i.virtualTranslate)return o?-a:a;if(i.cssMode)return a;let d=gn(l,t);return d+=e.cssOverflowAdjustment(),o&&(d=-d),d||0}function Gn(t,e){const i=this,{rtlTranslate:o,params:a,wrapperEl:l,progress:d}=i;let r=0,s=0;const v=0;i.isHorizontal()?r=o?-t:t:s=t,a.roundLengths&&(r=Math.floor(r),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?r:s,a.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-s:a.virtualTranslate||(i.isHorizontal()?r-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${r}px, ${s}px, ${v}px)`);let u;const f=i.maxTranslate()-i.minTranslate();f===0?u=0:u=(t-i.minTranslate())/f,u!==d&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Wn(){return-this.snapGrid[0]}function Yn(){return-this.snapGrid[this.snapGrid.length-1]}function Xn(t,e,i,o,a){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),o===void 0&&(o=!0);const l=this,{params:d,wrapperEl:r}=l;if(l.animating&&d.preventInteractionOnTransition)return!1;const s=l.minTranslate(),v=l.maxTranslate();let u;if(o&&t>s?u=s:o&&t<v?u=v:u=t,l.updateProgress(u),d.cssMode){const f=l.isHorizontal();if(e===0)r[f?"scrollLeft":"scrollTop"]=-u;else{if(!l.support.smoothScroll)return Ji({swiper:l,targetPosition:-u,side:f?"left":"top"}),!0;r.scrollTo({[f?"left":"top"]:-u,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(u),i&&(l.emit("beforeTransitionStart",e,a),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(u),i&&(l.emit("beforeTransitionStart",e,a),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var qn={getTranslate:Un,setTranslate:Gn,minTranslate:Wn,maxTranslate:Yn,translateTo:Xn};function Jn(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 to(t){let{swiper:e,runCallbacks:i,direction:o,step:a}=t;const{activeIndex:l,previousIndex:d}=e;let r=o;if(r||(l>d?r="next":l<d?r="prev":r="reset"),e.emit(`transition${a}`),i&&l!==d){if(r==="reset"){e.emit(`slideResetTransition${a}`);return}e.emit(`slideChangeTransition${a}`),r==="next"?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`)}}function Kn(t,e){t===void 0&&(t=!0);const i=this,{params:o}=i;o.cssMode||(o.autoHeight&&i.updateAutoHeight(),to({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Zn(t,e){t===void 0&&(t=!0);const i=this,{params:o}=i;i.animating=!1,!o.cssMode&&(i.setTransition(0),to({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Qn={setTransition:Jn,transitionStart:Kn,transitionEnd:Zn};function $n(t,e,i,o,a){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let d=t;d<0&&(d=0);const{params:r,snapGrid:s,slidesGrid:v,previousIndex:u,activeIndex:f,rtlTranslate:m,wrapperEl:h,enabled:w}=l;if(!w&&!o&&!a||l.destroyed||l.animating&&r.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const y=Math.min(l.params.slidesPerGroupSkip,d);let P=y+Math.floor((d-y)/l.params.slidesPerGroup);P>=s.length&&(P=s.length-1);const p=-s[P];if(r.normalizeSlideIndex)for(let b=0;b<v.length;b+=1){const E=-Math.floor(p*100),C=Math.floor(v[b]*100),g=Math.floor(v[b+1]*100);typeof v[b+1]<"u"?E>=C&&E<g-(g-C)/2?d=b:E>=C&&E<g&&(d=b+1):E>=C&&(d=b)}if(l.initialized&&d!==f&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(f||0)!==d))return!1;d!==(u||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let x;if(d>f?x="next":d<f?x="prev":x="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(d),r.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),r.effect!=="slide"&&l.setTranslate(p),x!=="reset"&&(l.transitionStart(i,x),l.transitionEnd(i,x)),!1;if(r.cssMode){const b=l.isHorizontal(),E=m?p:-p;if(e===0){const C=l.virtual&&l.params.virtual.enabled;C&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),C&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[b?"scrollLeft":"scrollTop"]=E})):h[b?"scrollLeft":"scrollTop"]=E,C&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Ji({swiper:l,targetPosition:E,side:b?"left":"top"}),!0;h.scrollTo({[b?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(d),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,o),l.transitionStart(i,x),e===0?l.transitionEnd(i,x):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(E){!l||l.destroyed||E.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,x))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function el(t,e,i,o){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const a=this;if(a.destroyed)return;typeof e>"u"&&(e=a.params.speed);const l=a.grid&&a.params.grid&&a.params.grid.rows>1;let d=t;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)d=d+a.virtual.slidesBefore;else{let r;if(l){const m=d*a.params.grid.rows;r=a.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=a.getSlideIndexByData(d);const s=l?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:v}=a.params;let u=a.params.slidesPerView;u==="auto"?u=a.slidesPerViewDynamic():(u=Math.ceil(parseFloat(a.params.slidesPerView,10)),v&&u%2===0&&(u=u+1));let f=s-r<u;if(v&&(f=f||r<Math.ceil(u/2)),o&&v&&a.params.slidesPerView!=="auto"&&!l&&(f=!1),f){const m=v?r<a.activeIndex?"prev":"next":r-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?r+1:r-s+1,slideRealIndex:m==="next"?a.realIndex:void 0})}if(l){const m=d*a.params.grid.rows;d=a.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===m)[0].column}else d=a.getSlideIndexByData(d)}return requestAnimationFrame(()=>{a.slideTo(d,e,i,o)}),a}function tl(t,e,i){e===void 0&&(e=!0);const o=this,{enabled:a,params:l,animating:d}=o;if(!a||o.destroyed)return o;typeof t>"u"&&(t=o.params.speed);let r=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(r=Math.max(o.slidesPerViewDynamic("current",!0),1));const s=o.activeIndex<l.slidesPerGroupSkip?1:r,v=o.virtual&&l.virtual.enabled;if(l.loop){if(d&&!v&&l.loopPreventsSliding)return!1;if(o.loopFix({direction:"next"}),o._clientLeft=o.wrapperEl.clientLeft,o.activeIndex===o.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{o.slideTo(o.activeIndex+s,t,e,i)}),!0}return l.rewind&&o.isEnd?o.slideTo(0,t,e,i):o.slideTo(o.activeIndex+s,t,e,i)}function il(t,e,i){e===void 0&&(e=!0);const o=this,{params:a,snapGrid:l,slidesGrid:d,rtlTranslate:r,enabled:s,animating:v}=o;if(!s||o.destroyed)return o;typeof t>"u"&&(t=o.params.speed);const u=o.virtual&&a.virtual.enabled;if(a.loop){if(v&&!u&&a.loopPreventsSliding)return!1;o.loopFix({direction:"prev"}),o._clientLeft=o.wrapperEl.clientLeft}const f=r?o.translate:-o.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const h=m(f),w=l.map(p=>m(p));let y=l[w.indexOf(h)-1];if(typeof y>"u"&&a.cssMode){let p;l.forEach((x,b)=>{h>=x&&(p=b)}),typeof p<"u"&&(y=l[p>0?p-1:p])}let P=0;if(typeof y<"u"&&(P=d.indexOf(y),P<0&&(P=o.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(P=P-o.slidesPerViewDynamic("previous",!0)+1,P=Math.max(P,0))),a.rewind&&o.isBeginning){const p=o.params.virtual&&o.params.virtual.enabled&&o.virtual?o.virtual.slides.length-1:o.slides.length-1;return o.slideTo(p,t,e,i)}else if(a.loop&&o.activeIndex===0&&a.cssMode)return requestAnimationFrame(()=>{o.slideTo(P,t,e,i)}),!0;return o.slideTo(P,t,e,i)}function ol(t,e,i){e===void 0&&(e=!0);const o=this;if(!o.destroyed)return typeof t>"u"&&(t=o.params.speed),o.slideTo(o.activeIndex,t,e,i)}function nl(t,e,i,o){e===void 0&&(e=!0),o===void 0&&(o=.5);const a=this;if(a.destroyed)return;typeof t>"u"&&(t=a.params.speed);let l=a.activeIndex;const d=Math.min(a.params.slidesPerGroupSkip,l),r=d+Math.floor((l-d)/a.params.slidesPerGroup),s=a.rtlTranslate?a.translate:-a.translate;if(s>=a.snapGrid[r]){const v=a.snapGrid[r],u=a.snapGrid[r+1];s-v>(u-v)*o&&(l+=a.params.slidesPerGroup)}else{const v=a.snapGrid[r-1],u=a.snapGrid[r];s-v<=(u-v)*o&&(l-=a.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,a.slidesGrid.length-1),a.slideTo(l,t,e,i)}function ll(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,o=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let a=t.clickedIndex,l;const d=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?a<t.loopedSlides-o/2||a>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),a=t.getSlideIndex(mt(i,`${d}[data-swiper-slide-index="${l}"]`)[0]),It(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=t.getSlideIndex(mt(i,`${d}[data-swiper-slide-index="${l}"]`)[0]),It(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}var al={slideTo:$n,slideToLoop:el,slideNext:tl,slidePrev:il,slideReset:ol,slideToClosest:nl,slideToClickedSlide:ll};function sl(t){const e=this,{params:i,slidesEl:o}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const a=()=>{mt(o,`.${i.slideClass}, swiper-slide`).forEach((f,m)=>{f.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,d=i.slidesPerGroup*(l?i.grid.rows:1),r=e.slides.length%d!==0,s=l&&e.slides.length%i.grid.rows!==0,v=u=>{for(let f=0;f<u;f+=1){const m=e.isElement?Dt("swiper-slide",[i.slideBlankClass]):Dt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(r){if(i.loopAddBlankSlides){const u=d-e.slides.length%d;v(u),e.recalcSlides(),e.updateSlides()}else zt("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)");a()}else if(s){if(i.loopAddBlankSlides){const u=i.grid.rows-e.slides.length%i.grid.rows;v(u),e.recalcSlides(),e.updateSlides()}else zt("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)");a()}else a();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function dl(t){let{slideRealIndex:e,slideTo:i=!0,direction:o,setTranslate:a,activeSlideIndex:l,byController:d,byMousewheel:r}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:v,allowSlidePrev:u,allowSlideNext:f,slidesEl:m,params:h}=s,{centeredSlides:w}=h;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&h.virtual.enabled){i&&(!h.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):h.centeredSlides&&s.snapIndex<h.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=u,s.allowSlideNext=f,s.emit("loopFix");return}let y=h.slidesPerView;y==="auto"?y=s.slidesPerViewDynamic():(y=Math.ceil(parseFloat(h.slidesPerView,10)),w&&y%2===0&&(y=y+1));const P=h.slidesPerGroupAuto?y:h.slidesPerGroup;let p=P;p%P!==0&&(p+=P-p%P),p+=h.loopAdditionalSlides,s.loopedSlides=p;const x=s.grid&&h.grid&&h.grid.rows>1;v.length<y+p?zt("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"):x&&h.grid.fill==="row"&&zt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],E=[];let C=s.activeIndex;typeof l>"u"?l=s.getSlideIndex(v.filter(_=>_.classList.contains(h.slideActiveClass))[0]):C=l;const g=o==="next"||!o,O=o==="prev"||!o;let k=0,S=0;const c=x?Math.ceil(v.length/h.grid.rows):v.length,T=(x?v[l].column:l)+(w&&typeof a>"u"?-y/2+.5:0);if(T<p){k=Math.max(p-T,P);for(let _=0;_<p-T;_+=1){const D=_-Math.floor(_/c)*c;if(x){const M=c-D-1;for(let j=v.length-1;j>=0;j-=1)v[j].column===M&&b.push(j)}else b.push(c-D-1)}}else if(T+y>c-p){S=Math.max(T-(c-p*2),P);for(let _=0;_<S;_+=1){const D=_-Math.floor(_/c)*c;x?v.forEach((M,j)=>{M.column===D&&E.push(j)}):E.push(D)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),O&&b.forEach(_=>{v[_].swiperLoopMoveDOM=!0,m.prepend(v[_]),v[_].swiperLoopMoveDOM=!1}),g&&E.forEach(_=>{v[_].swiperLoopMoveDOM=!0,m.append(v[_]),v[_].swiperLoopMoveDOM=!1}),s.recalcSlides(),h.slidesPerView==="auto"?s.updateSlides():x&&(b.length>0&&O||E.length>0&&g)&&s.slides.forEach((_,D)=>{s.grid.updateSlide(D,_,s.slides)}),h.watchSlidesProgress&&s.updateSlidesOffset(),i){if(b.length>0&&O){if(typeof e>"u"){const _=s.slidesGrid[C],M=s.slidesGrid[C+k]-_;r?s.setTranslate(s.translate-M):(s.slideTo(C+Math.ceil(k),0,!1,!0),a&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-M,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-M))}else if(a){const _=x?b.length/h.grid.rows:b.length;s.slideTo(s.activeIndex+_,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(E.length>0&&g)if(typeof e>"u"){const _=s.slidesGrid[C],M=s.slidesGrid[C-S]-_;r?s.setTranslate(s.translate-M):(s.slideTo(C-S,0,!1,!0),a&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-M,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-M))}else{const _=x?E.length/h.grid.rows:E.length;s.slideTo(s.activeIndex-_,0,!1,!0)}}if(s.allowSlidePrev=u,s.allowSlideNext=f,s.controller&&s.controller.control&&!d){const _={slideRealIndex:e,direction:o,setTranslate:a,activeSlideIndex:l,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({..._,slideTo:D.params.slidesPerView===h.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({..._,slideTo:s.controller.control.params.slidesPerView===h.slidesPerView?i:!1})}s.emit("loopFix")}function rl(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const o=[];t.slides.forEach(a=>{const l=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;o[l]=a}),t.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),o.forEach(a=>{i.append(a)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var cl={loopCreate:sl,loopFix:dl,loopDestroy:rl};function ul(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 vl(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var pl={setGrabCursor:ul,unsetGrabCursor:vl};function ml(t,e){e===void 0&&(e=this);function i(o){if(!o||o===vt()||o===$e())return null;o.assignedSlot&&(o=o.assignedSlot);const a=o.closest(t);return!a&&!o.getRootNode?null:a||i(o.getRootNode().host)}return i(e)}function io(t,e,i){const o=$e(),{params:a}=t,l=a.edgeSwipeDetection,d=a.edgeSwipeThreshold;return l&&(i<=d||i>=o.innerWidth-d)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function fl(t){const e=this,i=vt();let o=t;o.originalEvent&&(o=o.originalEvent);const a=e.touchEventsData;if(o.type==="pointerdown"){if(a.pointerId!==null&&a.pointerId!==o.pointerId)return;a.pointerId=o.pointerId}else o.type==="touchstart"&&o.targetTouches.length===1&&(a.touchId=o.targetTouches[0].identifier);if(o.type==="touchstart"){io(e,o,o.targetTouches[0].pageX);return}const{params:l,touches:d,enabled:r}=e;if(!r||!l.simulateTouch&&o.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let s=o.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in o&&o.which===3||"button"in o&&o.button>0||a.isTouched&&a.isMoved)return;const v=!!l.noSwipingClass&&l.noSwipingClass!=="",u=o.composedPath?o.composedPath():o.path;v&&o.target&&o.target.shadowRoot&&u&&(s=u[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(o.target&&o.target.shadowRoot);if(l.noSwiping&&(m?ml(f,s):s.closest(f))){e.allowClick=!0;return}if(l.swipeHandler&&!s.closest(l.swipeHandler))return;d.currentX=o.pageX,d.currentY=o.pageY;const h=d.currentX,w=d.currentY;if(!io(e,o,h))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=h,d.startY=w,a.touchStartTime=at(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(a.allowThresholdMove=!1);let y=!0;s.matches(a.focusableElements)&&(y=!1,s.nodeName==="SELECT"&&(a.isTouched=!1)),i.activeElement&&i.activeElement.matches(a.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const P=y&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||P)&&!s.isContentEditable&&o.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",o)}function hl(t){const e=vt(),i=this,o=i.touchEventsData,{params:a,touches:l,rtlTranslate:d,enabled:r}=i;if(!r||!a.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(o.touchId!==null||s.pointerId!==o.pointerId))return;let v;if(s.type==="touchmove"){if(v=[...s.changedTouches].filter(g=>g.identifier===o.touchId)[0],!v||v.identifier!==o.touchId)return}else v=s;if(!o.isTouched){o.startMoving&&o.isScrolling&&i.emit("touchMoveOpposite",s);return}const u=v.pageX,f=v.pageY;if(s.preventedByNestedSwiper){l.startX=u,l.startY=f;return}if(!i.allowTouchMove){s.target.matches(o.focusableElements)||(i.allowClick=!1),o.isTouched&&(Object.assign(l,{startX:u,startY:f,currentX:u,currentY:f}),o.touchStartTime=at());return}if(a.touchReleaseOnEdges&&!a.loop){if(i.isVertical()){if(f<l.startY&&i.translate<=i.maxTranslate()||f>l.startY&&i.translate>=i.minTranslate()){o.isTouched=!1,o.isMoved=!1;return}}else if(u<l.startX&&i.translate<=i.maxTranslate()||u>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&s.target===e.activeElement&&s.target.matches(o.focusableElements)){o.isMoved=!0,i.allowClick=!1;return}o.allowTouchCallbacks&&i.emit("touchMove",s),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=u,l.currentY=f;const m=l.currentX-l.startX,h=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+h**2)<i.params.threshold)return;if(typeof o.isScrolling>"u"){let g;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?o.isScrolling=!1:m*m+h*h>=25&&(g=Math.atan2(Math.abs(h),Math.abs(m))*180/Math.PI,o.isScrolling=i.isHorizontal()?g>a.touchAngle:90-g>a.touchAngle)}if(o.isScrolling&&i.emit("touchMoveOpposite",s),typeof o.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(o.startMoving=!0),o.isScrolling||s.type==="touchmove"&&o.preventTouchMoveFromPointerMove){o.isTouched=!1;return}if(!o.startMoving)return;i.allowClick=!1,!a.cssMode&&s.cancelable&&s.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&s.stopPropagation();let w=i.isHorizontal()?m:h,y=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;a.oneWayMovement&&(w=Math.abs(w)*(d?1:-1),y=Math.abs(y)*(d?1:-1)),l.diff=w,w*=a.touchRatio,d&&(w=-w,y=-y);const P=i.touchesDirection;i.swipeDirection=w>0?"prev":"next",i.touchesDirection=y>0?"prev":"next";const p=i.params.loop&&!a.cssMode,x=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!o.isMoved){if(p&&x&&i.loopFix({direction:i.swipeDirection}),o.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const g=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(g)}o.allowMomentumBounce=!1,a.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let b;if(new Date().getTime(),o.isMoved&&o.allowThresholdMove&&P!==i.touchesDirection&&p&&x&&Math.abs(w)>=1){Object.assign(l,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:o.currentTranslate}),o.loopSwapReset=!0,o.startTranslate=o.currentTranslate;return}i.emit("sliderMove",s),o.isMoved=!0,o.currentTranslate=w+o.startTranslate;let E=!0,C=a.resistanceRatio;if(a.touchReleaseOnEdges&&(C=0),w>0?(p&&x&&!b&&o.allowThresholdMove&&o.currentTranslate>(a.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),o.currentTranslate>i.minTranslate()&&(E=!1,a.resistance&&(o.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+o.startTranslate+w)**C))):w<0&&(p&&x&&!b&&o.allowThresholdMove&&o.currentTranslate<(a.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(a.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),o.currentTranslate<i.maxTranslate()&&(E=!1,a.resistance&&(o.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-o.startTranslate-w)**C))),E&&(s.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&o.currentTranslate<o.startTranslate&&(o.currentTranslate=o.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&o.currentTranslate>o.startTranslate&&(o.currentTranslate=o.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(o.currentTranslate=o.startTranslate),a.threshold>0)if(Math.abs(w)>a.threshold||o.allowThresholdMove){if(!o.allowThresholdMove){o.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,o.currentTranslate=o.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{o.currentTranslate=o.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&i.freeMode||a.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(o.currentTranslate),i.setTranslate(o.currentTranslate))}function gl(t){const e=this,i=e.touchEventsData;let o=t;o.originalEvent&&(o=o.originalEvent);let a;if(o.type==="touchend"||o.type==="touchcancel"){if(a=[...o.changedTouches].filter(C=>C.identifier===i.touchId)[0],!a||a.identifier!==i.touchId)return}else{if(i.touchId!==null||o.pointerId!==i.pointerId)return;a=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)&&!(["pointercancel","contextmenu"].includes(o.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:d,touches:r,rtlTranslate:s,slidesGrid:v,enabled:u}=e;if(!u||!d.simulateTouch&&o.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",o),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 f=at(),m=f-i.touchStartTime;if(e.allowClick){const C=o.path||o.composedPath&&o.composedPath();e.updateClickedSlide(C&&C[0]||o.target,C),e.emit("tap click",o),m<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",o)}if(i.lastClickTime=at(),It(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||r.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let h;if(d.followFinger?h=s?e.translate:-e.translate:h=-i.currentTranslate,d.cssMode)return;if(d.freeMode&&d.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:h});return}const w=h>=-e.maxTranslate()&&!e.params.loop;let y=0,P=e.slidesSizesGrid[0];for(let C=0;C<v.length;C+=C<d.slidesPerGroupSkip?1:d.slidesPerGroup){const g=C<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;typeof v[C+g]<"u"?(w||h>=v[C]&&h<v[C+g])&&(y=C,P=v[C+g]-v[C]):(w||h>=v[C])&&(y=C,P=v[v.length-1]-v[v.length-2])}let p=null,x=null;d.rewind&&(e.isBeginning?x=d.virtual&&d.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const b=(h-v[y])/P,E=y<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;if(m>d.longSwipesMs){if(!d.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=d.longSwipesRatio?e.slideTo(d.rewind&&e.isEnd?p:y+E):e.slideTo(y)),e.swipeDirection==="prev"&&(b>1-d.longSwipesRatio?e.slideTo(y+E):x!==null&&b<0&&Math.abs(b)>d.longSwipesRatio?e.slideTo(x):e.slideTo(y))}else{if(!d.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(o.target===e.navigation.nextEl||o.target===e.navigation.prevEl)?o.target===e.navigation.nextEl?e.slideTo(y+E):e.slideTo(y):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:y+E),e.swipeDirection==="prev"&&e.slideTo(x!==null?x:y))}}function oo(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:o,allowSlidePrev:a,snapGrid:l}=t,d=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const r=d&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!r?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=a,t.allowSlideNext=o,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function bl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function yl(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:o}=t;if(!o)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 a;const l=t.maxTranslate()-t.minTranslate();l===0?a=0:a=(t.translate-t.minTranslate())/l,a!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function wl(t){const e=this;Wt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Sl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const no=(t,e)=>{const i=vt(),{params:o,el:a,wrapperEl:l,device:d}=t,r=!!o.nested,s=e==="on"?"addEventListener":"removeEventListener",v=e;!a||typeof a=="string"||(i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:r}),a[s]("touchstart",t.onTouchStart,{passive:!1}),a[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:r}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:r}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(o.preventClicks||o.preventClicksPropagation)&&a[s]("click",t.onClick,!0),o.cssMode&&l[s]("scroll",t.onScroll),o.updateOnWindowResize?t[v](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",oo,!0):t[v]("observerUpdate",oo,!0),a[s]("load",t.onLoad,{capture:!0}))};function xl(){const t=this,{params:e}=t;t.onTouchStart=fl.bind(t),t.onTouchMove=hl.bind(t),t.onTouchEnd=gl.bind(t),t.onDocumentTouchStart=Sl.bind(t),e.cssMode&&(t.onScroll=yl.bind(t)),t.onClick=bl.bind(t),t.onLoad=wl.bind(t),no(t,"on")}function Tl(){no(this,"off")}var El={attachEvents:xl,detachEvents:Tl};const lo=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Al(){const t=this,{realIndex:e,initialized:i,params:o,el:a}=t,l=o.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const d=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!d||t.currentBreakpoint===d)return;const s=(d in l?l[d]:void 0)||t.originalParams,v=lo(t,o),u=lo(t,s),f=t.params.grabCursor,m=s.grabCursor,h=o.enabled;v&&!u?(a.classList.remove(`${o.containerModifierClass}grid`,`${o.containerModifierClass}grid-column`),t.emitContainerClasses()):!v&&u&&(a.classList.add(`${o.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&o.grid.fill==="column")&&a.classList.add(`${o.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!m?t.unsetGrabCursor():!f&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(b=>{if(typeof s[b]>"u")return;const E=o[b]&&o[b].enabled,C=s[b]&&s[b].enabled;E&&!C&&t[b].disable(),!E&&C&&t[b].enable()});const w=s.direction&&s.direction!==o.direction,y=o.loop&&(s.slidesPerView!==o.slidesPerView||w),P=o.loop;w&&i&&t.changeDirection(),ot(t.params,s);const p=t.params.enabled,x=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),h&&!p?t.disable():!h&&p&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",s),i&&(y?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!P&&x?(t.loopCreate(e),t.updateSlides()):P&&!x&&t.loopDestroy()),t.emit("breakpoint",s)}function Il(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let o=!1;const a=$e(),l=e==="window"?a.innerHeight:i.clientHeight,d=Object.keys(t).map(r=>{if(typeof r=="string"&&r.indexOf("@")===0){const s=parseFloat(r.substr(1));return{value:l*s,point:r}}return{value:r,point:r}});d.sort((r,s)=>parseInt(r.value,10)-parseInt(s.value,10));for(let r=0;r<d.length;r+=1){const{point:s,value:v}=d[r];e==="window"?a.matchMedia(`(min-width: ${v}px)`).matches&&(o=s):v<=i.clientWidth&&(o=s)}return o||"max"}var Cl={setBreakpoint:Al,getBreakpoint:Il};function kl(t,e){const i=[];return t.forEach(o=>{typeof o=="object"?Object.keys(o).forEach(a=>{o[a]&&i.push(e+a)}):typeof o=="string"&&i.push(e+o)}),i}function _l(){const t=this,{classNames:e,params:i,rtl:o,el:a,device:l}=t,d=kl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:o},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...d),a.classList.add(...e),t.emitContainerClasses()}function Pl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Dl={addClasses:_l,removeClasses:Pl};function Ml(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:o}=i;if(o){const a=t.slides.length-1,l=t.slidesGrid[a]+t.slidesSizesGrid[a]+o*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ol={checkOverflow:Ml},gi={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Rl(t,e){return function(o){o===void 0&&(o={});const a=Object.keys(o)[0],l=o[a];if(typeof l!="object"||l===null){ot(e,o);return}if(t[a]===!0&&(t[a]={enabled:!0}),a==="navigation"&&t[a]&&t[a].enabled&&!t[a].prevEl&&!t[a].nextEl&&(t[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&t[a]&&t[a].enabled&&!t[a].el&&(t[a].auto=!0),!(a in t&&"enabled"in l)){ot(e,o);return}typeof t[a]=="object"&&!("enabled"in t[a])&&(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),ot(e,o)}}const bi={eventsEmitter:Dn,update:Hn,translate:qn,transition:Qn,slide:al,loop:cl,grabCursor:pl,events:El,breakpoints:Cl,checkOverflow:Ol,classes:Dl},yi={};let wi=class wt{constructor(){let e,i;for(var o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?i=a[0]:[e,i]=a,i||(i={}),i=ot({},i),e&&!i.el&&(i.el=e);const d=vt();if(i.el&&typeof i.el=="string"&&d.querySelectorAll(i.el).length>1){const u=[];return d.querySelectorAll(i.el).forEach(f=>{const m=ot({},i,{el:f});u.push(new wt(m))}),u}const r=this;r.__swiper__=!0,r.support=Qi(),r.device=$i({userAgent:i.userAgent}),r.browser=kn(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&r.modules.push(...i.modules);const s={};r.modules.forEach(u=>{u({params:i,swiper:r,extendParams:Rl(i,s),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const v=ot({},gi,s);return r.params=ot({},v,yi,i),r.originalParams=ot({},r.params),r.passedParams=ot({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(u=>{r.on(u,r.params.on[u])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.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:r.params.allowSlideNext,allowSlidePrev:r.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:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}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:o}=this,a=mt(i,`.${o.slideClass}, swiper-slide`),l=Ht(a[0]);return Ht(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:o}=e;e.slides=mt(i,`.${o.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 o=this;e=Math.min(Math.max(e,0),1);const a=o.minTranslate(),d=(o.maxTranslate()-a)*e+a;o.translateTo(d,typeof i>"u"?0:i),o.updateActiveIndex(),o.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(o=>o.indexOf("swiper")===0||o.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(o=>o.indexOf("swiper-slide")===0||o.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(o=>{const a=e.getSlideClasses(o);i.push({slideEl:o,classNames:a}),e.emit("_slideClass",o,a)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const o=this,{params:a,slides:l,slidesGrid:d,slidesSizesGrid:r,size:s,activeIndex:v}=o;let u=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let f=l[v]?Math.ceil(l[v].swiperSlideSize):0,m;for(let h=v+1;h<l.length;h+=1)l[h]&&!m&&(f+=Math.ceil(l[h].swiperSlideSize),u+=1,f>s&&(m=!0));for(let h=v-1;h>=0;h-=1)l[h]&&!m&&(f+=l[h].swiperSlideSize,u+=1,f>s&&(m=!0))}else if(e==="current")for(let f=v+1;f<l.length;f+=1)(i?d[f]+r[f]-d[v]<s:d[f]-d[v]<s)&&(u+=1);else for(let f=v-1;f>=0;f-=1)d[v]-d[f]<s&&(u+=1);return u}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:o}=e;o.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(d=>{d.complete&&Wt(e,d)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){const d=e.rtlTranslate?e.translate*-1:e.translate,r=Math.min(Math.max(d,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(o.freeMode&&o.freeMode.enabled&&!o.cssMode)a(),o.autoHeight&&e.updateAutoHeight();else{if((o.slidesPerView==="auto"||o.slidesPerView>1)&&e.isEnd&&!o.centeredSlides){const d=e.virtual&&o.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(d.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||a()}o.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const o=this,a=o.params.direction;return e||(e=a==="horizontal"?"vertical":"horizontal"),e===a||e!=="horizontal"&&e!=="vertical"||(o.el.classList.remove(`${o.params.containerModifierClass}${a}`),o.el.classList.add(`${o.params.containerModifierClass}${e}`),o.emitContainerClasses(),o.params.direction=e,o.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),o.emit("changeDirection"),i&&o.update()),o}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 o=e||i.params.el;if(typeof o=="string"&&(o=document.querySelector(o)),!o)return!1;o.swiper=i,o.parentNode&&o.parentNode.host&&o.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const a=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let d=o&&o.shadowRoot&&o.shadowRoot.querySelector?o.shadowRoot.querySelector(a()):mt(o,a())[0];return!d&&i.params.createElements&&(d=Dt("div",i.params.wrapperClass),o.append(d),mt(o,`.${i.params.slideClass}`).forEach(r=>{d.append(r)})),Object.assign(i,{el:o,wrapperEl:d,slidesEl:i.isElement&&!o.parentNode.host.slideSlots?o.parentNode.host:d,hostEl:i.isElement?o.parentNode.host:o,mounted:!0,rtl:o.dir.toLowerCase()==="rtl"||xt(o,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(o.dir.toLowerCase()==="rtl"||xt(o,"direction")==="rtl"),wrongRTL:xt(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 a=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&a.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(l=>{l.complete?Wt(i,l):l.addEventListener("load",d=>{Wt(i,d.target)})}),hi(i),i.initialized=!0,hi(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const o=this,{params:a,el:l,wrapperEl:d,slides:r}=o;return typeof o.params>"u"||o.destroyed||(o.emit("beforeDestroy"),o.initialized=!1,o.detachEvents(),a.loop&&o.loopDestroy(),i&&(o.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),d&&d.removeAttribute("style"),r&&r.length&&r.forEach(s=>{s.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),o.emit("destroy"),Object.keys(o.eventsListeners).forEach(s=>{o.off(s)}),e!==!1&&(o.el&&typeof o.el!="string"&&(o.el.swiper=null),fn(o)),o.destroyed=!0),null}static extendDefaults(e){ot(yi,e)}static get extendedDefaults(){return yi}static get defaults(){return gi}static installModule(e){wt.prototype.__modules__||(wt.prototype.__modules__=[]);const i=wt.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>wt.installModule(i)),wt):(wt.installModule(e),wt)}};Object.keys(bi).forEach(t=>{Object.keys(bi[t]).forEach(e=>{wi.prototype[e]=bi[t][e]})}),wi.use([_n,Pn]);const ao=["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 Et(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function kt(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(o=>i.indexOf(o)<0).forEach(o=>{typeof t[o]>"u"?t[o]=e[o]:Et(e[o])&&Et(t[o])&&Object.keys(e[o]).length>0?e[o].__swiper__?t[o]=e[o]:kt(t[o],e[o]):t[o]=e[o]})}function so(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function ro(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function co(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function uo(t){t===void 0&&(t="");const e=t.split(" ").map(o=>o.trim()).filter(o=>!!o),i=[];return e.forEach(o=>{i.indexOf(o)<0&&i.push(o)}),i.join(" ")}function Ll(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Bl(t){let{swiper:e,slides:i,passedParams:o,changedParams:a,nextEl:l,prevEl:d,scrollbarEl:r,paginationEl:s}=t;const v=a.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:u,pagination:f,navigation:m,scrollbar:h,virtual:w,thumbs:y}=e;let P,p,x,b,E,C,g,O;a.includes("thumbs")&&o.thumbs&&o.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(P=!0),a.includes("controller")&&o.controller&&o.controller.control&&u.controller&&!u.controller.control&&(p=!0),a.includes("pagination")&&o.pagination&&(o.pagination.el||s)&&(u.pagination||u.pagination===!1)&&f&&!f.el&&(x=!0),a.includes("scrollbar")&&o.scrollbar&&(o.scrollbar.el||r)&&(u.scrollbar||u.scrollbar===!1)&&h&&!h.el&&(b=!0),a.includes("navigation")&&o.navigation&&(o.navigation.prevEl||d)&&(o.navigation.nextEl||l)&&(u.navigation||u.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const k=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),u[S].prevEl=void 0,u[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),u[S].el=void 0,e[S].el=void 0))};a.includes("loop")&&e.isElement&&(u.loop&&!o.loop?C=!0:!u.loop&&o.loop?g=!0:O=!0),v.forEach(S=>{if(Et(u[S])&&Et(o[S]))Object.assign(u[S],o[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in o[S]&&!o[S].enabled&&k(S);else{const c=o[S];(c===!0||c===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?c===!1&&k(S):u[S]=o[S]}}),v.includes("controller")&&!p&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),a.includes("children")&&i&&w&&u.virtual.enabled?(w.slides=i,w.update(!0)):a.includes("virtual")&&w&&u.virtual.enabled&&(i&&(w.slides=i),w.update(!0)),a.includes("children")&&i&&u.loop&&(O=!0),P&&y.init()&&y.update(!0),p&&(e.controller.control=u.controller.control),x&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(u.pagination.el=s),f.init(),f.render(),f.update()),b&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-scrollbar"),r.part.add("scrollbar"),e.el.appendChild(r)),r&&(u.scrollbar.el=r),h.init(),h.updateSize(),h.setTranslate()),E&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!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))),l&&(u.navigation.nextEl=l),d&&(u.navigation.prevEl=d),m.init(),m.update()),a.includes("allowSlideNext")&&(e.allowSlideNext=o.allowSlideNext),a.includes("allowSlidePrev")&&(e.allowSlidePrev=o.allowSlidePrev),a.includes("direction")&&e.changeDirection(o.direction,!1),(C||O)&&e.loopDestroy(),(g||O)&&e.loopCreate(),e.update()}function Nl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},o={},a={};kt(i,gi),i._emitClasses=!0,i.init=!1;const l={},d=ao.map(s=>s.replace(/_/,"")),r=Object.assign({},t);return Object.keys(r).forEach(s=>{typeof t[s]>"u"||(d.indexOf(s)>=0?Et(t[s])?(i[s]={},a[s]={},kt(i[s],t[s]),kt(a[s],t[s])):(i[s]=t[s],a[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?o[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:l[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:a,rest:l,events:o}}function Fl(t,e){let{el:i,nextEl:o,prevEl:a,paginationEl:l,scrollbarEl:d,swiper:r}=t;so(e)&&o&&a&&(r.params.navigation.nextEl=o,r.originalParams.navigation.nextEl=o,r.params.navigation.prevEl=a,r.originalParams.navigation.prevEl=a),ro(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),co(e)&&d&&(r.params.scrollbar.el=d,r.originalParams.scrollbar.el=d),r.init(i)}function jl(t,e,i,o,a){const l=[];if(!e)return l;const d=s=>{l.indexOf(s)<0&&l.push(s)};if(i&&o){const s=o.map(a),v=i.map(a);s.join("")!==v.join("")&&d("children"),o.length!==i.length&&d("children")}return ao.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(Et(t[s])&&Et(e[s])){const v=Object.keys(t[s]),u=Object.keys(e[s]);v.length!==u.length?d(s):(v.forEach(f=>{t[s][f]!==e[s][f]&&d(s)}),u.forEach(f=>{t[s][f]!==e[s][f]&&d(s)}))}else t[s]!==e[s]&&d(s)}),l}const Vl=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 Yt(){return Yt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},Yt.apply(this,arguments)}function vo(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function po(t){const e=[];return n.Children.toArray(t).forEach(i=>{vo(i)?e.push(i):i.props&&i.props.children&&po(i.props.children).forEach(o=>e.push(o))}),e}function zl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return n.Children.toArray(t).forEach(o=>{if(vo(o))e.push(o);else if(o.props&&o.props.slot&&i[o.props.slot])i[o.props.slot].push(o);else if(o.props&&o.props.children){const a=po(o.props.children);a.length>0?a.forEach(l=>e.push(l)):i["container-end"].push(o)}else i["container-end"].push(o)}),{slides:e,slots:i}}function Hl(t,e,i){if(!i)return null;const o=u=>{let f=u;return u<0?f=e.length+u:f>=e.length&&(f=f-e.length),f},a=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:d}=i,r=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,v=[];for(let u=r;u<s;u+=1)u>=l&&u<=d&&v.push(e[o(u)]);return v.map((u,f)=>n.cloneElement(u,{swiper:t,style:a,key:u.props.virtualIndex||u.key||`slide-${f}`}))}function Mt(t,e){return typeof window>"u"?n.useEffect(t,e):n.useLayoutEffect(t,e)}const Si=n.createContext(null),mo=()=>n.useContext(Si),Ul=n.createContext(null),At=n.forwardRef(function(t,e){let{className:i,tag:o="div",wrapperTag:a="div",children:l,onSwiper:d,...r}=t===void 0?{}:t,s=!1;const[v,u]=n.useState("swiper"),[f,m]=n.useState(null),[h,w]=n.useState(!1),y=n.useRef(!1),P=n.useRef(null),p=n.useRef(null),x=n.useRef(null),b=n.useRef(null),E=n.useRef(null),C=n.useRef(null),g=n.useRef(null),O=n.useRef(null),{params:k,passedParams:S,rest:c,events:A}=Nl(r),{slides:T,slots:_}=zl(l),D=()=>{w(!h)};Object.assign(k.on,{_containerClasses(B,L){u(L)}});const M=()=>{Object.assign(k.on,A),s=!0;const B={...k};if(delete B.wrapperClass,p.current=new wi(B),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=T;const L={cache:!1,slides:T,renderExternal:m,renderExternalUpdate:!1};kt(p.current.params.virtual,L),kt(p.current.originalParams.virtual,L)}};P.current||M(),p.current&&p.current.on("_beforeBreakpoint",D);const j=()=>{s||!A||!p.current||Object.keys(A).forEach(B=>{p.current.on(B,A[B])})},H=()=>{!A||!p.current||Object.keys(A).forEach(B=>{p.current.off(B,A[B])})};n.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",D)}),n.useEffect(()=>{!y.current&&p.current&&(p.current.emitSlidesClasses(),y.current=!0)}),Mt(()=>{if(e&&(e.current=P.current),!!P.current)return p.current.destroyed&&M(),Fl({el:P.current,nextEl:E.current,prevEl:C.current,paginationEl:g.current,scrollbarEl:O.current,swiper:p.current},k),d&&!p.current.destroyed&&d(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),Mt(()=>{j();const B=jl(S,x.current,T,b.current,L=>L.key);return x.current=S,b.current=T,B.length&&p.current&&!p.current.destroyed&&Bl({swiper:p.current,slides:T,passedParams:S,changedParams:B,nextEl:E.current,prevEl:C.current,scrollbarEl:O.current,paginationEl:g.current}),()=>{H()}}),Mt(()=>{Vl(p.current)},[f]);function N(){return k.virtual?Hl(p.current,T,f):T.map((B,L)=>n.cloneElement(B,{swiper:p.current,swiperSlideIndex:L}))}return n.createElement(o,Yt({ref:P,className:uo(`${v}${i?` ${i}`:""}`)},c),n.createElement(Ul.Provider,{value:p.current},_["container-start"],n.createElement(a,{className:Ll(k.wrapperClass)},_["wrapper-start"],N(),_["wrapper-end"]),so(k)&&n.createElement(n.Fragment,null,n.createElement("div",{ref:C,className:"swiper-button-prev"}),n.createElement("div",{ref:E,className:"swiper-button-next"})),co(k)&&n.createElement("div",{ref:O,className:"swiper-scrollbar"}),ro(k)&&n.createElement("div",{ref:g,className:"swiper-pagination"}),_["container-end"]))});At.displayName="Swiper";const pt=n.forwardRef(function(t,e){let{tag:i="div",children:o,className:a="",swiper:l,zoom:d,lazy:r,virtualIndex:s,swiperSlideIndex:v,...u}=t===void 0?{}:t;const f=n.useRef(null),[m,h]=n.useState("swiper-slide"),[w,y]=n.useState(!1);function P(E,C,g){C===f.current&&h(g)}Mt(()=>{if(typeof v<"u"&&(f.current.swiperSlideIndex=v),e&&(e.current=f.current),!(!f.current||!l)){if(l.destroyed){m!=="swiper-slide"&&h("swiper-slide");return}return l.on("_slideClass",P),()=>{l&&l.off("_slideClass",P)}}}),Mt(()=>{l&&f.current&&!l.destroyed&&h(l.getSlideClasses(f.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},x=()=>typeof o=="function"?o(p):o,b=()=>{y(!0)};return n.createElement(i,Yt({ref:f,className:uo(`${m}${a?` ${a}`:""}`),"data-swiper-slide-index":s,onLoad:b},u),d&&n.createElement(Si.Provider,{value:p},n.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof d=="number"?d:void 0},x(),r&&!w&&n.createElement("div",{className:"swiper-lazy-preloader"}))),!d&&n.createElement(Si.Provider,{value:p},x(),r&&!w&&n.createElement("div",{className:"swiper-lazy-preloader"})))});pt.displayName="SwiperSlide";const Gl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Wl=({visible:t,onClose:e,children:i,modalStyle:o,padding:a,popup:l,schema:d,fullHeight:r=window.innerHeight,isFullScreen:s=!1})=>{var v,u,f,m,h,w,y,P,p,x,b,E,C,g,O,k,S,c,A,T,_;const D=n.useRef(null),M=n.useRef(null),j=n.useRef(null),H=n.useRef(null),N=r*.2,B=s?r:r*.8,[L,Z]=n.useState(N),[G,ie]=n.useState(!1),J=n.useRef(null),{globalConfig:K,popupDetailData:V}=Ie(),{schema:ue}=ct();n.useEffect(()=>{const ae=document.getElementById("sxp-render"),oe=document.getElementById("pb-modal");oe?J.current=oe:(J.current=document.createElement("div"),J.current.setAttribute("id","pb-modal"),ae?.appendChild(J.current))},[]);const ve=n.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]),X=n.useMemo(()=>{var ae,oe,be;const Se=d??ue;return(be=(oe=(ae=Se?.sxpPageConf)===null||ae===void 0?void 0:ae.globalConfig)===null||oe===void 0?void 0:oe.popupList)===null||be===void 0?void 0:be.find(Te=>Te?.id===l?.id)},[l,d,ue]),Q=n.useMemo(()=>{var ae,oe;return((oe=(ae=X?.item)===null||ae===void 0?void 0:ae.event)===null||oe===void 0?void 0:oe.isScrollFullScreen)||!1},[X]);if(n.useEffect(()=>{ve?ie(!0):setTimeout(()=>{ie(!1),Z(N)},l?.duration)},[ve,l]),!J.current)return null;const ne=We.debounce(()=>{e?.()},300),te=ae=>{D.current=ae.touches[0],M.current=ae.touches[0],j.current=!0},le=ae=>{requestAnimationFrame(()=>{var oe;if(j.current&&((oe=H?.current)===null||oe===void 0?void 0:oe.scrollTop)===0){const be=ae.touches[0].clientY,Se=ae.touches[0].clientX,Pe=D.current.clientY-be;D.current=ae.touches[0];const Te=be-M.current.clientY,Be=Se-M.current.clientX;if(Math.abs(Be)>Math.abs(Te))return;const Re=L-Pe;Re>0&&Z(Re)}})},se=ae=>{var oe;if(j.current&&((oe=H?.current)===null||oe===void 0?void 0:oe.scrollTop)===0){const be=ae.changedTouches[0].clientY-M.current.clientY,Se=ae.changedTouches[0].clientX-M.current.clientX;if(Math.abs(Se)>Math.abs(be))return;const Pe=M.current.clientY-D.current.clientY;Pe>0?Z(0):L<N&&Pe<0?Z(N):L>=N&&Pe<0&&e?.()}j.current=!1};return _i.createPortal(n.createElement(n.Fragment,null,G&&n.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:ve?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},o),onClick:ne},n.createElement("div",{style:{position:"relative",left:`${(m=(f=(u=(v=X?.item)===null||v===void 0?void 0:v.props)===null||u===void 0?void 0:u.popupBg)===null||f===void 0?void 0:f.horizontalMargin)!==null&&m!==void 0?m:0}px`,right:`${(P=(y=(w=(h=X?.item)===null||h===void 0?void 0:h.props)===null||w===void 0?void 0:w.popupBg)===null||y===void 0?void 0:y.horizontalMargin)!==null&&P!==void 0?P:0}px`,bottom:`${(E=(b=(x=(p=X?.item)===null||p===void 0?void 0:p.props)===null||x===void 0?void 0:x.popupBg)===null||b===void 0?void 0:b.bottomMargin)!==null&&E!==void 0?E:0}px`,overflow:"hidden",width:`calc(100% - ${((k=(O=(g=(C=X?.item)===null||C===void 0?void 0:C.props)===null||g===void 0?void 0:g.popupBg)===null||O===void 0?void 0:O.horizontalMargin)!==null&&k!==void 0?k:0)*2}px)`,height:"100%"}},n.createElement("div",Object.assign({className:`modal-container ${ve?"modal-popIn":"modal-popOut"}`,style:Object.assign({padding:a,animationDuration:((S=l?.duration)!==null&&S!==void 0?S:0)/1e3+"s"},Q&&{transform:`translateY(${L}px)`}),onClick:ae=>{ae.stopPropagation(),ae.preventDefault()}},Q&&{onTouchMove:le,onTouchStart:te,onTouchEnd:se}),n.createElement("div",{onClick:e,className:"modal-icon-wrapper"},n.createElement("img",{src:(c=K?.popupCloseIcon)!==null&&c!==void 0?c:Gl,alt:"close",className:"modal-icon"})),n.createElement("div",{ref:H,style:{height:(Q?r:B)-((_=(T=(A=X?.item)===null||A===void 0?void 0:A.props)===null||T===void 0?void 0:T.popupBg)===null||_===void 0?void 0:_.bottomMargin),overflow:Q&&L<=0||!Q?"auto":"hidden"}},i))))),J.current)};var _t=n.memo(Wl);const Yl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const o=t.split(" "),a=[];for(let d=0;d<o.length&&(a.push(o[d]),!(a.join(" ").length>=e));d++);return(a.length>1&&a.length<o.length?a.slice(0,a.length-1):a).join(" ")+" "},Xl=({text:t,maxStr:e=108,style:i,className:o,onClick:a,foldText:l,unfoldText:d,isPost:r,onChange:s})=>{const[v,u]=n.useState(!1),[f,m]=n.useState(!1),h=Number(i?.lineClamp||2),w=n.useRef(null),y=n.useRef(null),P=n.useCallback(()=>{u(!v)},[v,s]);return n.useMemo(()=>!v&&t.length>e?Yl(t,e)+"...":t,[t,e,v]),n.useEffect(()=>{var p,x;((p=y?.current)===null||p===void 0?void 0:p.offsetHeight)>((x=w?.current)===null||x===void 0?void 0:x.offsetHeight)&&r?m(!0):m(!1),y.current.style.display="none"},[r]),n.createElement("div",{className:o,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},n.createElement("div",{ref:w,style:{overflow:"hidden",WebkitLineClamp:!r||v?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:ge(t?.replace(/\n/g,"</br>"),i)}}),n.createElement("div",{ref:y,dangerouslySetInnerHTML:{__html:ge(t?.replace(/\n/g,"</br>"),i)}}),t&&r&&f&&n.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:a??P,dangerouslySetInnerHTML:{__html:ge(v?d||"show less":l||"show more",i)}}))};var Xt=n.memo(Xl);const ql=n.forwardRef((t,e)=>{const{src:i,onLoad:o,style:a,className:l,loading:d,alt:r="image"}=t,[s,v]=n.useState(),u=n.useRef(null),[f,m]=n.useState(!1);return n.useImperativeHandle(e,()=>({setSrc:h=>{h&&v(h)}})),n.useEffect(()=>{i&&v(i)},[i]),n.useEffect(()=>{const h=()=>{i&&!f&&u.current&&(u.current.src="",u.current.src=i)};return ut.on(it.PAGE_DID_SHOW,h),()=>{ut.off(it.PAGE_DID_SHOW,h)}},[i,f]),n.createElement(n.Fragment,null,!f&&n.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),s?.includes(".avif")?n.createElement("picture",null,n.createElement("source",{type:"image/avif",srcSet:s}),n.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),n.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),n.createElement("img",{ref:u,className:l,src:s,style:Object.assign({},a),loading:d,onLoad:h=>{m(!0),o?.(h.target)},alt:r})):n.createElement("img",{ref:u,className:l,src:s,style:Object.assign({},a),loading:d,onLoad:h=>{m(!0),o?.(h.target)},alt:r}))});var et=n.memo(ql);const Jl=({children:t,isPadding:e=!0,style:i,enableSlideActive:o=!1})=>{const a=n.useRef(),{popupDetailData:l}=Ie();return n.useEffect(()=>{var d,r;o&&((d=a?.current)===null||d===void 0||d.swiper.slideTo((r=l?.multiCheckIndex)!==null&&r!==void 0?r:0))},[l,o]),n.createElement(At,{ref:a,direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[En,Tn,xn],style:Object.assign({padding:e?"0 12px 0 20px":0},i)},t)};var Ot=n.memo(Jl);const Kl=({products:t,data:e,defImg:i,style:o,onCLick:a,popupDetailData:l,check:d})=>{var r;const{productView:s}=Je(),{popupCurTimeRef:v}=Ie(),u=(f,m)=>{if(d===m)return;const h=t?.[d];s(l,h,h?.bindCta,v.current,l?.index),a?.(m)};return n.createElement(n.Fragment,null,e?.open&&(t&&t?.length>1||!l)&&n.createElement(Ot,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},o),e?.style)},(r=l?t:[0,1,2,3])===null||r===void 0?void 0:r.map((f,m)=>{var h,w,y;return n.createElement(n.Fragment,null,f?.bindCta?n.createElement(pt,{className:we.css({width:"50px",height:"50px",marginRight:"10px"}),onClick:()=>{u(f,m)},key:m},n.createElement(et,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:d===m?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(y=(h=f?.cover)!==null&&h!==void 0?h:(w=f?.homePage)===null||w===void 0?void 0:w[0])!==null&&y!==void 0?y:i})):null)})))};var fo=n.memo(Kl);const Zl=t=>{var e,i,o,a,l,d,r,s,v,u,f,m,h,w,y,P,p,x,b,E,C,g,O,k,S,c,A,T,_,{content:D,style:M,bgImg:j,onClick:H,schema:N,isDefault:B,bottom_image:L,tipText:Z,isPost:G,viewTime:ie,rec:J,swiper:K,commodityStyles:V,buttonStyle:ue,index:ve,commodityGroup:X,popupBg:Q,iframeIcon:ne,commodityImgRatio:te}=t,le=Ye(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);const{sxpParameter:se,popupDetailData:ae,isPreview:oe,bffFbReport:be,popupCurTimeRef:Se,checkCommodityIndexRef:Pe}=Ie(),{jumpToWeb:Te,productView:Be}=Je(),Re=n.useRef(null),[U,fe]=n.useState(!1),[Ee,pe]=n.useState(!1),[Me,Oe]=n.useState((e=ae?.multiCheckIndex)!==null&&e!==void 0?e:0),ye=n.useRef(),z=G?J:ae;let R=G?z?.product:(o=(i=z?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&o!==void 0?o:(l=(a=z?.video)===null||a===void 0?void 0:a.bindProducts)===null||l===void 0?void 0:l[0],De=G?(d=z?.product)===null||d===void 0?void 0:d.bindCta:(v=(s=(r=z?.video)===null||r===void 0?void 0:r.bindProduct)===null||s===void 0?void 0:s.bindCta)!==null&&v!==void 0?v:(m=(f=(u=z?.video)===null||u===void 0?void 0:u.bindProducts)===null||f===void 0?void 0:f[0])===null||m===void 0?void 0:m.bindCta;const nt=G?ve:ae?.index;if(!G&&X?.open&&(!((h=z?.video)===null||h===void 0)&&h.bindProducts)&&((y=(w=z?.video)===null||w===void 0?void 0:w.bindProducts)===null||y===void 0?void 0:y.length)>0){Pe.current=Me;const F=(P=z?.video)===null||P===void 0?void 0:P.bindProducts[Me];R=F,De=F?.bindCta}const Tt=()=>{R?.link&&(Te(z,R,De,nt),G||Be(z,R,De,ie||Re.current,nt),window.location.href=window.getJointUtmLink(R.link))};n.useEffect(()=>{G||be?.({eventName:"ProductView"})},[G,be]),n.useEffect(()=>{const F=()=>{Re.current=new Date};return F(),window.addEventListener("pageshow",F),()=>{window.removeEventListener("pageshow",F)}},[]);const q=n.useMemo(()=>{var F,Y,ee,ce,me,$,re;const xe=((F=V?.price)===null||F===void 0?void 0:F.enableFormattedPrice)===void 0||((Y=V?.price)===null||Y===void 0?void 0:Y.enableFormattedPrice);return R?.currency&&R?.price?`${(me=(ce=(ee=R?.currency)===null||ee===void 0?void 0:ee.split("-")[1])===null||ce===void 0?void 0:ce.toUpperCase())!==null&&me!==void 0?me:""}${xe?(re=($=R?.price)===null||$===void 0?void 0:$.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&re!==void 0?re:"":R?.price}`:"$7,000"},[R?.price,R?.currency,(p=V?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),W=(oe?375:(x=M?.width)!==null&&x!==void 0?x:window.innerWidth)-((b=Q?.horizontalMargin)!==null&&b!==void 0?b:0)*2,he=te?W*(te.h/te.w):W,Ae=({isPost:F})=>{var Y,ee,ce,me;return n.createElement("div",null,n.createElement("div",{className:"pb-commondity-content-collection",style:_e(V?.collection),hidden:!!R&&(!R?.collection||R?.collection===""),dangerouslySetInnerHTML:{__html:ge((Y=R?.collection)!==null&&Y!==void 0?Y:"Tiffany Lock",V?.collection)}}),n.createElement("div",{className:"pb-commondity-content-title",style:_e(V?.title),hidden:!!R&&!R?.title,dangerouslySetInnerHTML:{__html:ge((ee=R?.title)!==null&&ee!==void 0?ee:"Pendant in Yellow Gold with Diamonds, Medium",V?.title)}}),n.createElement("div",{className:"pb-commondity-content-price",style:_e(V?.price),hidden:!!R&&!R?.price,dangerouslySetInnerHTML:{__html:ge(q,V?.price)}}),n.createElement("div",{hidden:!!R&&!R?.taxInfo,style:_e(V?.taxInfo),dangerouslySetInnerHTML:{__html:ge((ce=R?.taxInfo)!==null&&ce!==void 0?ce:"\u7A0E\u8D39",V?.taxInfo)}}),n.createElement("div",{hidden:!!R&&(!R?.info||R?.info==="")},n.createElement(Xt,{foldText:Z?.foldText,unfoldText:Z?.unfoldText,onClick:()=>fe(!0),isPost:F,text:(me=R?.info)!==null&&me!==void 0?me:`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:V?.info})))},be=()=>{var C,X;return o.createElement(o.Fragment,null,(R||L?.link)&&o.createElement("button",{"aria-label":(C=_e?.enTitle)!==null&&C!==void 0?C:"Purchase on Website",onClick:st,className:"pb-commondity-btn",style:$},o.createElement("span",{dangerouslySetInnerHTML:{__html:he((X=_e?.enTitle)!==null&&X!==void 0?X:"Purchase on Website",$)}})))},xe=o.useCallback(C=>C?.lineClamp?Object.assign(Object.assign({},C),{overflow:"hidden",WebkitLineClamp:C?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):C,[]),ae=o.useCallback(C=>{Te.current=new Date,Re(C),ke.current=C},[]),Ee=o.useCallback(()=>{var C,X,K;if(!j)return o.createElement(fn,{products:(C=z?.video)===null||C===void 0?void 0:C.bindProducts,data:pe,defImg:(K=(X=ee?.bottom_image)!==null&&X!==void 0?X:B)!==null&&K!==void 0?K:"",style:{padding:"0 19px"},onCLick:ae,popupDetailData:ne,check:Se})},[Se]),Ae=o.useMemo(()=>{const C={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return C?.[H?.dotsAlign]},[H?.dotsAlign]),oe=((A=(y=z?.video)===null||y===void 0?void 0:y.bindProduct)===null||A===void 0?void 0:A.remark)||((M=(g=(_=z?.video)===null||_===void 0?void 0:_.bindProducts)===null||g===void 0?void 0:g[0])===null||M===void 0?void 0:M.remark)||((P=z?.product)===null||P===void 0?void 0:P.remark);return o.createElement(o.Fragment,null,o.createElement("div",Object.assign({className:ye.css(Object.assign({},O))},G),o.createElement("div",{style:{position:"relative"}},L&&((x=L?.homePage)===null||x===void 0?void 0:x.length)>0&&o.createElement(Et,{height:W,modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:Ae},loop:!0,autoplay:{delay:H?.delay*1e3}},o.createElement(o.Fragment,null,(c=L?.homePage)===null||c===void 0?void 0:c.map(C=>{var X;return o.createElement(vt,{key:C},o.createElement("div",{style:{overflow:"hidden",width:Qe,height:W}},o.createElement($e,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${H?.translateY?H?.translateY+50:50}%`},src:(X=C??ee?.bottom_image)!==null&&X!==void 0?X:B})))}))),!(!((E=L?.homePage)===null||E===void 0)&&E.length)&&o.createElement("div",{className:ye.css({height:W,width:Qe})},o.createElement("img",{className:ye.css({objectFit:"cover",width:"100%",height:"100%"}),src:(b=ee?.bottom_image)!==null&&b!==void 0?b:B,alt:"pdp image"})),oe&&Q||!L&&Q&&o.createElement("div",{style:{padding:"5px 10px",display:"flex",alignItems:"center",position:"absolute",right:"10px",bottom:"10px",zIndex:1,background:"#fff",borderRadius:"3px"},onClick:()=>Le(!0)},o.createElement("img",{src:Q,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),o.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),Ee(),o.createElement("div",{className:"pb-commondity-content"},Y({isPost:j}))),be(),o.createElement(kt,{visible:ve,onClose:()=>J(!1)},o.createElement("div",{style:{paddingBottom:"80px"}},Y({isPost:!1})),be()),o.createElement(kt,{visible:fe,padding:0,isFullScreen:!0,onClose:()=>Le(!1)},o.createElement("iframe",{src:oe,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var Ql=o.memo(Zl),$l=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const es=Xe(Ql,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:po,interactionRender:$l},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},taxInfo:{color:"#000",fontSize:13,textAlign:"left",marginBottom:"10px"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var ts=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],is=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5185\u5BB9",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Group",label:"\u5185\u5BB9\u5B57\u4F53",child:[{type:"Select",name:["props","contentStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","contentStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","contentStyle","color"],initialValue:"#000"},{type:"Number",name:["props","contentStyle","fontSize"],addonAfter:"px",initialValue:14}]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Select",name:["props","submitButtonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","submitButtonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{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"],initialValue:"#000"}]}],hn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+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Cxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const ns=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:s,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return s&&s.length>0?(e=s[0])===null||e===void 0?void 0:e.url:null}},os=t=>{var{content:e,btnText:i,style:n,icon:s,isPopup:l,isExternalLink:r,onClose:d,onClick:a,submitButtonStyle:v,contentStyle:u}=t,f=Ue(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:m}=Ce(),{jumpToWeb:h}=Ye(),S=typeof s=="string"?s:ns(s),w=()=>{var k,p,T;if(r){const y=m,A=(k=y?.video)===null||k===void 0?void 0:k.bindProduct,_=(T=(p=y?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0?void 0:T.bindCta,g=m?.index;h(y,A,_,g)}l||d?.(),a?.()};return o.createElement("div",Object.assign({className:`pb-prompt ${ye.css(Object.assign({},n))}`},f),o.createElement("div",{className:"pb-prompt-icon"},o.createElement("img",{width:"100%",src:S??hn,alt:"success image"})),o.createElement("div",{className:"pb-prompt-content",style:u,dangerouslySetInnerHTML:{__html:he(e,u)}}),o.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:v,onClick:w,dangerouslySetInnerHTML:{__html:he(i,v)}}))};var ls=o.memo(os);const ss=Xe(ls,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:is,bindableProps:[],interactionRender:ts},defaulSetting:{props:{icon:hn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var as=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],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:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{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:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{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:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"Iframe\u5546\u54C1\u5F39\u7A97",child:[{label:"\u5F39\u7A97\u6309\u94AE",type:"Upload",name:["props","iframeIcon"],text:"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A106 * 41"}]}];const rs=t=>{var e,i,n,s,l,r,d,a,v,u,f,m,h,S,w,k,p,T,y,A,_,g,M,P,x,c,E,b,I,O,D,F,{style:U,isDefault:R,rec:B,viewTime:N,isPost:j,bottom_image:Z,tipText:te,swiper:H,commodityStyles:V,buttonStyle:$,index:se,commodityGroup:pe,popupBg:ie,iframeIcon:Q,commodityImgRatio:q}=t,G=Ue(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);o.useState(!0);const{sxpParameter:ee,popupCurTimeRef:ne,popupDetailData:ue,isPreview:ce,bffFbReport:Te,checkCommodityIndexRef:ke}=Ce(),{jumpToWeb:Oe,productView:Pe}=Ye();o.useState(!1),o.useState(!1),o.useState(!0);const[re,ve]=o.useState(!1),J=o.useRef(null),[fe,Le]=o.useState(!1),[Se,Re]=o.useState((e=ue?.multiCheckIndex)!==null&&e!==void 0?e:0),z=j?B:ue;let L=j?z?.product:(n=(i=z?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(l=(s=z?.video)===null||s===void 0?void 0:s.bindProducts)===null||l===void 0?void 0:l[0],_e=j?(r=z?.product)===null||r===void 0?void 0:r.bindCta:(v=(a=(d=z?.video)===null||d===void 0?void 0:d.bindProduct)===null||a===void 0?void 0:a.bindCta)!==null&&v!==void 0?v:(m=(f=(u=z?.video)===null||u===void 0?void 0:u.bindProducts)===null||f===void 0?void 0:f[0])===null||m===void 0?void 0:m.bindCta;const qe=j?se:ue?.index;if(!j&&pe?.open&&(!((h=z?.video)===null||h===void 0)&&h.bindProducts)&&((w=(S=z?.video)===null||S===void 0?void 0:S.bindProducts)===null||w===void 0?void 0:w.length)>0){ke.current=Se;const oe=(k=z?.video)===null||k===void 0?void 0:k.bindProducts[Se];L=oe,_e=oe?.bindCta}const st=()=>{L?.link&&(Oe(z,L,_e,qe),j||Pe(z,L,_e,N||J.current,qe),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{j||Te?.({eventName:"ProductView"})},[j,Te]),o.useEffect(()=>{const oe=()=>{J.current=new Date};return oe(),window.addEventListener("pageshow",oe),()=>{window.removeEventListener("pageshow",oe)}},[]);const pt=o.useMemo(()=>{var oe,C,X,K,le;return L?.currency&&L?.price?`${(X=(C=(oe=L?.currency)===null||oe===void 0?void 0:oe.split("-")[1])===null||C===void 0?void 0:C.toUpperCase())!==null&&X!==void 0?X:""}${(le=(K=L?.price)===null||K===void 0?void 0:K.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&le!==void 0?le:""}`:"\xA3102,300.00"},[L?.price,L?.currency]),Qe=(ce?375:(p=U?.width)!==null&&p!==void 0?p:window.innerWidth)-((T=ie?.horizontalMargin)!==null&&T!==void 0?T:0)*2,W=q?Qe*(q.h/q.w):Qe,Y=({isPost:oe})=>o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(Yt,{isPost:oe,onClick:()=>ve(!0),className:"pb-commondityDiroNew-info",style:V?.info,foldText:te?.foldText,unfoldText:te?.unfoldText,text:L?.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`})),be=o.useCallback(oe=>oe?.lineClamp?Object.assign(Object.assign({},oe),{overflow:"hidden",WebkitLineClamp:oe?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):oe,[]),xe=o.useCallback(oe=>{ne.current=new Date,Re(oe),ke.current=oe},[]),ae=o.useCallback(()=>{var oe,C,X;if(!j)return o.createElement(fn,{products:(oe=z?.video)===null||oe===void 0?void 0:oe.bindProducts,data:pe,defImg:(X=(C=ee?.bottom_image)!==null&&C!==void 0?C:Z)!==null&&X!==void 0?X:"",style:{padding:"0 19px"},onCLick:xe,popupDetailData:ue,check:Se})},[Se]),Ee=o.useMemo(()=>{const oe={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return oe?.[H?.dotsAlign]},[H?.dotsAlign]),Ae=((A=(y=z?.video)===null||y===void 0?void 0:y.bindProduct)===null||A===void 0?void 0:A.remark)||((M=(g=(_=z?.video)===null||_===void 0?void 0:_.bindProducts)===null||g===void 0?void 0:g[0])===null||M===void 0?void 0:M.remark)||((P=z?.product)===null||P===void 0?void 0:P.remark);return o.createElement("div",{className:"pb-commondityDiroNew"},o.createElement("div",Object.assign({className:ye.css(Object.assign(Object.assign({},U),{transform:"translate3d(0px, 0px, 0px)"}))},G),o.createElement("div",{style:{position:"relative"}},L&&((x=L?.homePage)===null||x===void 0?void 0:x.length)>0&&o.createElement(Et,{height:W,modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:Ee},loop:!0,autoplay:{delay:H?.delay*1e3}},(c=L?.homePage)===null||c===void 0?void 0:c.map(oe=>{var C;return o.createElement(vt,{key:oe},o.createElement("div",{style:{overflow:"hidden",width:Qe,height:W}},o.createElement($e,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${H?.translateY?H?.translateY+50:50}%`},src:(C=oe??ee?.bottom_image)!==null&&C!==void 0?C:Z})))})),!(!((E=L?.homePage)===null||E===void 0)&&E.length)&&o.createElement("div",{className:ye.css({height:W,width:Qe})},o.createElement("img",{className:ye.css({objectFit:"cover",width:"100%",height:"100%"}),src:(b=ee?.bottom_image)!==null&&b!==void 0?b:Z,alt:"pdp image"})),Ae&&Q||!L&&Q&&o.createElement("div",{style:{padding:"5px 10px",display:"flex",alignItems:"center",position:"absolute",right:"10px",bottom:"10px",zIndex:1,background:"#fff",borderRadius:"3px"},onClick:()=>Le(!0)},o.createElement("img",{src:Q,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),o.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),ae(),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:be(V?.title),dangerouslySetInnerHTML:{__html:he((I=L?.title)!==null&&I!==void 0?I:"Large Dior Toujours BagLarge",V?.title)}}),o.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!L&&(!L?.collection||L?.collection===""),style:be(V?.collection),dangerouslySetInnerHTML:{__html:he(L?.collection||"Black Macrocannage CalfskinLarge",V?.collection)}})),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.price,style:be(V?.price),dangerouslySetInnerHTML:{__html:he(pt,V?.price)}}),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.taxInfo,style:be(V?.taxInfo),dangerouslySetInnerHTML:{__html:he((O=L?.taxInfo)!==null&&O!==void 0?O:"\u7A0E\u8D39",V?.taxInfo)}}))),(!L||L?.link)&&o.createElement("button",{"aria-label":(D=_e?.enTitle)!==null&&D!==void 0?D:"Shop now",onClick:st,className:"pb-commondityDiroNew-btn",style:$},o.createElement("span",{dangerouslySetInnerHTML:{__html:he((F=_e?.enTitle)!==null&&F!==void 0?F:"Shop now",$)}})),Y({isPost:j}))),o.createElement(kt,{visible:re,onClose:()=>ve(!1)},Y({isPost:!1})),o.createElement(kt,{visible:fe,padding:0,isFullScreen:!0,onClose:()=>Le(!1)},o.createElement("iframe",{src:Ae,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var ds=o.memo(rs),cs=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const us=Xe(ds,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:as,interactionRender:cs},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},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var vs=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","commodityPicture","width"],addonAfter:"W"},{type:"Number",name:["props","commodityPicture","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","commodityPicture","borderRadius"],max:100},{type:"Number",name:["props","commodityPicture","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","commodityPicture","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","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"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{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"]},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","width"],addonAfter:"W"},{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:"TextSpace",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"]},{type:"Number",addonAfter:"px",name:["props","buttonStyle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","buttonStyle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","buttonStyle"]}]}];function gn(t){const e=o.useRef(null),[i,n]=o.useState(!1);return o.useEffect(()=>{e.current=new IntersectionObserver(([s])=>{n(s.isIntersecting)})},[]),o.useEffect(()=>{var s;return t?.current&&((s=e?.current)===null||s===void 0||s.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const ps=({src:t,rec:e,item:i,index:n,style:s,translateY:l,imgStyle:r,enableEventReport:d=!0})=>{const a=o.useRef(null),v=gn(a),{ctaEvent:u}=Ce();return o.useEffect(()=>{v&&t&&a?.current&&d&&u?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[v,t,a,e,u,i,n,d]),o.useMemo(()=>t?.includes(".avif")?t:`${t}?imrquality/rquality/20`,[t]),o.createElement("div",{className:ye.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},r))},o.createElement("div",{ref:a,hidden:!t,className:ye.css({width:"100%",height:"100%"})},o.createElement($e,{className:ye.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?l+50:50}%`},s)),src:t})))};var ht=o.memo(ps);const ms=t=>{var e,i,{style:n,isDefault:s,rec:l,viewTime:r,isPost:d,bottom_image:a,commodityStyles:v,buttonStyle:u,translateY:f=0,commodityPicture:m,isExternalLink:h,onClick:S}=t,w=Ue(t,["style","isDefault","rec","viewTime","isPost","bottom_image","commodityStyles","buttonStyle","translateY","commodityPicture","isExternalLink","onClick"]);const{sxpParameter:k,popupDetailData:p,setPopupDetailData:T,ctaEvent:y}=Ce(),{jumpToWeb:A}=Ye(),{popup:_}=dt(),g=d?l:p,M=(i=(e=g?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[null,null,null,null],P=p?.index,x=o.useCallback(E=>{var b,I,O,D,F;return E?.currency&&E?.price?`${(O=(I=(b=E?.currency)===null||b===void 0?void 0:b.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&O!==void 0?O:""}${(F=(D=E?.price)===null||D===void 0?void 0:D.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&F!==void 0?F:""}`:"$7,000"},[]),c=He.throttle((E,b)=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},g,E,P),T?.(Object.assign(Object.assign({},g),{video:Object.assign(Object.assign({},g?.video),{bindProduct:E}),index:P,multiCheckIndex:b})),h?E?.link&&(A(g,E,E.bindCta,P),window.location.href=window.getJointUtmLink(E.link)):S?.()},_?.duration);return o.createElement("div",{className:ye.css(Object.assign(Object.assign({},n),{display:"flex",flexDirection:"column",gap:"10px",padding:"0 20px",marginTop:"50px",boxSizing:"border-box"}))},M?.map((E,b)=>{var I,O,D,F,U,R,B,N,j,Z;return o.createElement(o.Fragment,null,g&&!E?.bindCta?null:o.createElement("div",Object.assign({key:b},w,{className:ye.css({display:"flex"}),onClick:()=>c(E,b)}),o.createElement(ht,{src:(F=(D=(I=E?.cover)!==null&&I!==void 0?I:(O=E?.homePage)===null||O===void 0?void 0:O[0])!==null&&D!==void 0?D:k?.bottom_image)!==null&&F!==void 0?F:a,rec:g,item:E,index:b,translateY:f,imgStyle:m,enableEventReport:!1}),o.createElement("div",{style:{width:`calc(100% - ${(U=m?.width)!==null&&U!==void 0?U:0}px - ${(R=m?.marginRight)!==null&&R!==void 0?R:0}px)`,display:"flex",flexDirection:"column",justifyContent:"space-between"}},o.createElement("div",null,o.createElement("div",{className:"one-line-ellipsis",style:v?.title,hidden:!!E&&!E?.title,dangerouslySetInnerHTML:{__html:he((B=E?.title)!==null&&B!==void 0?B:"Pendant in Yellow Gold with Diamonds, Medium",v?.title)}}),o.createElement("div",{className:"two-line-ellipsis",style:v?.collection,hidden:!!E&&(!E?.collection||E?.collection===""),dangerouslySetInnerHTML:{__html:he((N=E?.collection)!==null&&N!==void 0?N:"Tiffany Lock",v?.collection)}})),o.createElement("div",{className:ye.css({display:"flex",alignItems:"flex-end",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",null,o.createElement("div",{style:v?.price,hidden:!!E&&!E?.price,dangerouslySetInnerHTML:{__html:he(x(E),v?.price)}})),o.createElement("div",{className:"one-line-ellipsis",style:Object.assign(Object.assign({},u),{padding:"0 15px"}),dangerouslySetInnerHTML:{__html:he((Z=(j=E?.bindCta)===null||j===void 0?void 0:j.enTitle)!==null&&Z!==void 0?Z:"Shop Now",u)}})))))}))};var fs=o.memo(ms),hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const gs=Xe(fs,{displayName:"\u5546\u54C1\u5217\u8868",icon:"",category:"popup",type:"CommodityList",related:{settingRender:vs,interactionRender:hs},defaulSetting:{props:{commodityPicture:{width:100,height:100,marginRight:10},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:14},title:{color:"#000",fontSize:14},collection:{color:"#757575",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:30,width:100,textAlign:"center",color:"#fff",lineHeight:2.5}},style:{}},w:100,h:40,sort:1});var bs=[{title:"\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]}]}];const ys=t=>{var e,i,{content:n,btnText:s,style:l,icon:r,isPopup:d,isExternalLink:a,onClose:v,onClick:u,submitButtonStyle:f,contentStyle:m}=t,h=Ue(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:S}=Ce(),w=(i=(e=S?.video)===null||e===void 0?void 0:e.bindCta)===null||i===void 0?void 0:i.remark;return o.createElement("div",Object.assign({className:`${ye.css(Object.assign({},l))}`},h),w&&o.createElement("iframe",{src:w,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}}))};var ws=o.memo(ys);const Ss=Xe(ws,{displayName:"Iframe\u5F39\u7A97",icon:"",category:"popup",type:"Iframe",related:{settingRender:bs,bindableProps:[]},defaulSetting:{props:{},style:{}},w:100,h:40,sort:3});var lt=[{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:"Select",name:["props","ctaTempStyles","title","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","title","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{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:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{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"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]}]}],xs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ts=t=>{var{rec:e,children:i,className:n,onClick:s,style:l,isExternalLink:r=!1,index:d,jumpLink:a}=t;Ue(t,["rec","children","className","onClick","style","isExternalLink","index","jumpLink"]);const v=o.useRef(null),{popup:u}=dt(),{setPopupDetailData:f,ctaEvent:m}=Ce(),{jumpToWeb:h}=Ye(),S=He.throttle(()=>{var w,k,p,T,y,A,_,g;const M=(k=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)!==null&&k!==void 0?k:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,d),f?.(Object.assign(Object.assign({},e),{index:d})),r){if(a||!((T=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0)&&T.link){const P=(y=e?.video)===null||y===void 0?void 0:y.bindCta,x=(A=e?.video)===null||A===void 0?void 0:A.bindProduct;h(e,x,P,d),window.location.href=window.getJointUtmLink(a||((g=(_=e?.video)===null||_===void 0?void 0:_.bindProduct)===null||g===void 0?void 0:g.link)||"")}}else s?.()},u?.duration);return o.createElement("div",{ref:v,className:n,style:l,onClick:S},i)};var Ot=o.memo(Ts),Es={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const As=t=>{var e,i,n,s,l,r,d,a,v,u,f,{content:m,style:h,bgImg:S,recData:w,bottom_image:k,ctaTempStyles:p,isExternalLink:T,translateY:y=0,index:A}=t,_=Ue(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=Ce(),M=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,P=(l=(s=(i=M?.cover)!==null&&i!==void 0?i:(n=M?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:g?.bottom_image)!==null&&l!==void 0?l:k;return o.createElement(Ot,Object.assign({isExternalLink:T,rec:w,className:ye.css(Object.assign({},h)),style:{display:"flex"},index:A},_),o.createElement(ht,{src:P,rec:w,item:(d=(r=w?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&d!==void 0?d:w?.video,index:A,translateY:y,imgStyle:p?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Es["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:he((a=M?.title)!==null&&a!==void 0?a:"Product Name",p?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((v=p?.ctaTitle)===null||v===void 0?void 0:v.height)+"px"},p?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((f=(u=M?.bindCta)===null||u===void 0?void 0:u.enTitle)!==null&&f!==void 0?f:"Shop Now",p?.ctaTitle)}})))};var Cs=o.memo(As);const Is=Xe(Cs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:xs,bindableProps:[],settingRender:lt},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 ks=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const _s=t=>{var e,i,n,s,l,r,{content:d,style:a,bgImg:v,recData:u,bottom_image:f,ctaTempStyles:m,isExternalLink:h,index:S}=t,w=Ue(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:k}=Ce(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,T=(n=(i=p?.icon)!==null&&i!==void 0?i:k?.bottom_image)!==null&&n!==void 0?n:f;return o.createElement(Ot,Object.assign({isExternalLink:h,rec:u,className:ye.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"},index:S},w),o.createElement(ht,{src:T,rec:u,item:(l=(s=u?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&l!==void 0?l:u?.video,index:S,imgStyle:m?.img}),o.createElement("div",{className:ye.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},m?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((r=p?.enTitle)!==null&&r!==void 0?r:"Product Name",m?.ctaTitle)}}))};var Ps=o.memo(_s);const Ds=Xe(Ps,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ks,settingRender:lt?.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 Ms=[{title:"\u81EA\u5B9A\u4E49\u6807\u9898",child:[{type:"Switch",label:"\u81EA\u5B9A\u4E49\u6807\u9898\u5F00\u5173",name:["props","customTitle","display"]},{type:"Text",label:"\u6807\u9898\u6587\u6848",name:["props","customTitle","text"]},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","customTitle","style","width"],addonAfter:"W"},{type:"Number",name:["props","customTitle","style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","customTitle","style","borderRadius"],max:100},{type:"Number",name:["props","customTitle","style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","customTitle","style","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","customTitle","style","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","customTitle","style","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","customTitle","style","color"]},{type:"Number",addonAfter:"px",name:["props","customTitle","style","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","customTitle","style"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","customTitle","style"]},{label:"\u4E0A\u8FB9\u8DDD",type:"Number",name:["props","customTitle","style","marginTop"],addonAfter:"px"}]}],bn={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};const Os=t=>{var e,i,n,s,l,r,d,a,v,{content:u,style:f,bgImg:m,recData:h,bottom_image:S,ctaTempStyles:w,index:k,customTitle:p}=t,T=Ue(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index","customTitle"]);const{sxpParameter:y,bffEventReport:A}=Ce();Ye();const _=(e=h?.video)===null||e===void 0?void 0:e.bindCta;(i=h?.video)===null||i===void 0||i.bindProduct;const g=(s=(n=_?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&s!==void 0?s:S;return o.createElement(Ot,Object.assign({index:k,rec:h,className:ye.css(Object.assign({alignItems:"center"},f)),style:{display:"flex"}},T,{jumpLink:(l=_?.link)!==null&&l!==void 0?l:""}),o.createElement(ht,{src:g,rec:h,item:(d=(r=h?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&d!==void 0?d:h?.video,index:k,imgStyle:w?.img}),o.createElement("div",{className:ye.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},o.createElement("div",null,o.createElement("div",{className:bn["tow-line-ellipsis"],style:w?.ctaTitle,dangerouslySetInnerHTML:{__html:he((a=_?.enTitle)!==null&&a!==void 0?a:"Product Name",w?.ctaTitle)}}),p?.display&&o.createElement("div",{style:Object.assign(Object.assign({},p?.style),{lineHeight:((v=p?.style)===null||v===void 0?void 0:v.height)+"px"}),className:bn["one-line-ellipsis"],dangerouslySetInnerHTML:{__html:he(p?.text,p?.style)}}))))};var Rs=o.memo(Os),Ls=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],xi;const Bs=Xe(Rs,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:(xi=lt?.filter(t=>t.type!=="commodityTitle"))===null||xi===void 0?void 0:xi.concat(Ms),bindableProps:[],interactionRender:Ls},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}},customTitle:{style:{textAlign:"left",textDecoration:"underline",fontWeight:"bold",width:130,height:20,fontSize:12,color:"#000"},text:"\u63A2\u7D22\u66F4\u591A"}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const js=t=>{var e,i,n,s,l,r,d,a,v,u,f,{content:m,style:h,bgImg:S,recData:w,bottom_image:k,ctaTempStyles:p,isExternalLink:T,translateY:y=0,index:A}=t,_=Ue(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=Ce(),M=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,P=(l=(s=(i=M?.cover)!==null&&i!==void 0?i:(n=M?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:g?.bottom_image)!==null&&l!==void 0?l:k;return o.createElement(Ot,Object.assign({isExternalLink:T,rec:w,className:ye.css(Object.assign({},h)),style:{display:"flex"},index:A},_),o.createElement(ht,{src:P,rec:w,item:(d=(r=w?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&d!==void 0?d:w?.video,index:A,translateY:y,imgStyle:p?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Fs["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:he((a=M?.title)!==null&&a!==void 0?a:"Product Name",p?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((v=p?.ctaTitle)===null||v===void 0?void 0:v.height)+"px"},p?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((f=(u=M?.bindCta)===null||u===void 0?void 0:u.enTitle)!==null&&f!==void 0?f:"Shop Now",p?.ctaTitle)}})))};var Vs=o.memo(js);const zs=Xe(Vs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Ns,settingRender:lt,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var Hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Us={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Gs=t=>{var e,i,n,s,l,r,d,a,v,u,{content:f,style:m,bgImg:h,recData:S,bottom_image:w,ctaTempStyles:k,isExternalLink:p,translateY:T=0,index:y}=t,A=Ue(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:_}=Ce(),g=(e=S?.video)===null||e===void 0?void 0:e.bindProduct,M=(l=(s=(i=g?.cover)!==null&&i!==void 0?i:(n=g?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:_?.bottom_image)!==null&&l!==void 0?l:w;return o.createElement(Ot,Object.assign({isExternalLink:p,rec:S,className:ye.css(Object.assign({},m)),style:{display:"flex"},index:y},A),o.createElement(ht,{src:M,rec:S,item:(d=(r=S?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&d!==void 0?d:S?.video,index:y,translateY:T,imgStyle:k?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Us["tow-line-ellipsis"],style:k?.title,dangerouslySetInnerHTML:{__html:he((a=g?.title)!==null&&a!==void 0?a:"Product Name",k?.title)}}),o.createElement("div",{className:ye.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},k?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((u=(v=g?.bindCta)===null||v===void 0?void 0:v.enTitle)!==null&&u!==void 0?u:"Shop Now",k?.ctaTitle)}})))};var Ws=o.memo(Gs);const Ys=Xe(Ws,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Hs,bindableProps:[],settingRender:lt},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 Xs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],qs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Js=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:d,bottom_image:a,ctaTempStyles:v,isExternalLink:u,index:f,translateY:m=0}=t,h=Ue(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:S,setPopupDetailData:w,sxpParameter:k}=Ce(),{popup:p}=dt(),{jumpToWeb:T}=Ye(),[y,A]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=He.throttle((g,M)=>{S?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,f),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:f,multiCheckIndex:M})),u?g?.link&&(T(r,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):d?.()},p?.duration);return o.createElement(Mt,{isPadding:!!r},y?.map((g,M)=>{var P,x,c,E,b,I,O,D;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(vt,Object.assign({key:M,className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>_(g,M)}),o.createElement(ht,{src:(E=(c=(P=g?.cover)!==null&&P!==void 0?P:(x=g?.homePage)===null||x===void 0?void 0:x[0])!==null&&c!==void 0?c:k?.bottom_image)!==null&&E!==void 0?E:a,rec:r,item:g,index:M,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:ye.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:qs["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((b=g?.title)!==null&&b!==void 0?b:"Product Name",v?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((I=v?.ctaTitle)===null||I===void 0?void 0:I.height)+"px"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((D=(O=g?.bindCta)===null||O===void 0?void 0:O.enTitle)!==null&&D!==void 0?D:"Shop Now",v?.ctaTitle)}}))))}))};var Ks=o.memo(Js);const Zs=Xe(Ks,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Xs,bindableProps:[],settingRender:lt},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 Qs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],$s={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ea=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:d,bottom_image:a,ctaTempStyles:v,isExternalLink:u,index:f,translateY:m=0}=t,h=Ue(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:S}=Ce(),{ctaEvent:w,setPopupDetailData:k}=Ce(),{popup:p}=dt(),[T,y]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:A}=Ye(),_=He.throttle((g,M)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,f),k?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:f,multiCheckIndex:M})),u?g?.link&&(A(r,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):d?.()},p?.duration);return o.createElement(Mt,{isPadding:!!r},T?.map((g,M)=>{var P,x,c,E,b,I,O,D;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(vt,Object.assign({key:M,className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>_(g,M)}),o.createElement(ht,{src:(E=(c=(P=g?.cover)!==null&&P!==void 0?P:(x=g?.homePage)===null||x===void 0?void 0:x[0])!==null&&c!==void 0?c:S?.bottom_image)!==null&&E!==void 0?E:a,rec:r,item:g,index:M,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:$s["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((b=g?.title)!==null&&b!==void 0?b:"Product Name",v?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((I=v?.ctaTitle)===null||I===void 0?void 0:I.height)+"px"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((D=(O=g?.bindCta)===null||O===void 0?void 0:O.enTitle)!==null&&D!==void 0?D:"Shop Now",v?.ctaTitle)}}))))}))};var ta=o.memo(ea);const ia=Xe(ta,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Qs,settingRender:lt,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 na=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],oa={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const la=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:d,bottom_image:a,ctaTempStyles:v,isExternalLink:u,index:f,translateY:m=0}=t,h=Ue(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:S,setPopupDetailData:w,sxpParameter:k}=Ce(),{popup:p}=dt(),{jumpToWeb:T}=Ye(),[y,A]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=He.throttle((g,M)=>{S?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,f),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:f,multiCheckIndex:M})),u?g?.link&&(T(r,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):d?.()},p?.duration);return o.createElement(Mt,{isPadding:!!r},y?.map((g,M)=>{var P,x,c,E,b,I,O;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(vt,Object.assign({key:M,className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>_(g,M)}),o.createElement(ht,{src:(E=(c=(P=g?.cover)!==null&&P!==void 0?P:(x=g?.homePage)===null||x===void 0?void 0:x[0])!==null&&c!==void 0?c:k?.bottom_image)!==null&&E!==void 0?E:a,rec:r,item:g,index:M,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},o.createElement("div",{className:oa["tow-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((b=g?.title)!==null&&b!==void 0?b:"Product Name",v?.title)}}),o.createElement("div",{className:ye.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((O=(I=g?.bindCta)===null||I===void 0?void 0:I.enTitle)!==null&&O!==void 0?O:"Shop Now",v?.ctaTitle)}}))))}))};var sa=o.memo(la);const aa=Xe(sa,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:na,bindableProps:[],settingRender:lt},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 ra=[{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:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{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:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{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 da=({icon:t,styles:e,textStyle:i,onClose:n})=>{var s;const{waterFallData:l,setOpenHashtag:r}=Ce();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:Object.assign(Object.assign({},i),{paddingLeft:i?.textAlign==="left"?"35px":0}),dangerouslySetInnerHTML:{__html:he(`#${(s=l?.hashTag)!==null&&s!==void 0?s:"\u6807\u9898"}`,i)}}))};var yn=o.memo(da),ca=null,ua="3d989325-e7d6-4a74-8a97-98febdf5b567",va=null,pa=null,ma={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"},fa=[{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}],ha="Handbags",wn={productUserId:ca,requestId:ua,channel:va,rtc:pa,tag:ma,recList:fa,hashTag:ha};const ga=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:s,index:l,showBorder:r,list:d,reportTagsView:a,textStyles:v,space:u}=t,{swiperRef:f,setRtcList:m,setOpenHashtag:h,sxpParameter:S}=Ce(),[w,k]=o.useState(!1);o.useState(!1),o.useState({height:1,width:1});const p=o.useRef(null),T=o.useRef(null);o.useRef(null),o.useRef(null);const[y,A]=o.useState(""),_=o.useMemo(()=>{var b,I,O,D,F,U,R,B,N,j;return!((b=e?.video)===null||b===void 0)&&b.cover?(I=e?.video)===null||I===void 0?void 0:I.cover:!((D=(O=e?.video)===null||O===void 0?void 0:O.imgUrls)===null||D===void 0)&&D.length?(U=(F=e?.video)===null||F===void 0?void 0:F.imgUrls)===null||U===void 0?void 0:U[0]:!((B=(R=e?.product)===null||R===void 0?void 0:R.homePage)===null||B===void 0)&&B.length?(j=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||j===void 0?void 0:j[0]:S?.bottom_image||""},[e,S?.bottom_image]),g=o.useMemo(()=>{var b,I;return((b=e?.product)===null||b===void 0?void 0:b.title)||((I=e?.video)===null||I===void 0?void 0:I.title)||null},[e]),M=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.useMemo(()=>M===void 0?!1:M<=r,[M,r]);const P=o.useMemo(()=>{var b,I,O,D,F,U,R,B,N;return!((b=e?.product)===null||b===void 0)&&b.currency&&(!((I=e?.product)===null||I===void 0)&&I.price)?`${(U=(F=(D=(O=e?.product)===null||O===void 0?void 0:O.currency)===null||D===void 0?void 0:D.split("-")[1])===null||F===void 0?void 0:F.toUpperCase())!==null&&U!==void 0?U:""}${(N=(B=(R=e?.product)===null||R===void 0?void 0:R.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&N!==void 0?N:""}`:null},[e]);o.useEffect(()=>{if(p.current===null||_==="")return;let b=null;w&&y?b=y:b=_,b&&p.current.setSrc(b)},[_,w,y]);const x=o.useRef(),c=o.useCallback(b=>{setTimeout(()=>{var I;const O=(I=x?.current)===null||I===void 0?void 0:I.offsetHeight;n(O+56+u,l)},0)},[u,n,l,s,x]),E=()=>{a(),m?.(d),setTimeout(()=>{var b;(b=f?.current)===null||b===void 0||b.swiper.slideTo(l,0,!1),h?.(!1)},0)};return o.createElement("div",{ref:T,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:E},o.createElement("div",{className:"waterFallList-content-listItem-picture",ref:x},o.createElement($e,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:c,ref:p})),o.createElement("div",{className:"waterFallList-content-listItem-info"},o.createElement("div",{className:`waterFallList-content-listItem-info-title ${P?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},v?.title),dangerouslySetInnerHTML:{__html:he(g,v?.title)}}),o.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!P,style:v.price,dangerouslySetInnerHTML:{__html:he(P,v?.price)}})))};function ba(t){var e,i,n,s,l,r,d,a,v,u,f,m,h,S,w,k,p,T,y,A,_,g,{reportTagsView:M,showBanner:P}=t,x=Ue(t,["reportTagsView","showBanner"]);const{waterFallData:c,getRecommendVideos:E,hashTagSize:b,loadingImage:I,isOpenHashTag:O}=Ce(),D=o.useRef(null),[F,U]=o.useState(0),[R,B]=o.useState(),N=o.useRef(null),[j,Z]=o.useState([]),te=o.useRef(),H=[170,230,300],[V,$]=o.useState(!1),[se,pe]=o.useState([]),ie=o.useRef(),Q=o.useCallback((re,ve)=>Math.floor(Math.random()*(ve-re+1))+re,[]),q=o.useRef([]),[G,ee]=o.useState({width:0}),ne=o.useMemo(()=>{const re=G.width||0;return re>=1200?6:re>=768&&re<=1199?4:2},[G]),ue=o.useMemo(()=>G.width/ne-2,[ne,G]),ce=o.useCallback(()=>{var re;const ve=(re=te.current)!==null&&re!==void 0?re:[],J=[];for(let fe=0;fe<se?.length;fe++){const Le=Math.floor(fe/ne),Se=fe%ne+1;let Re=0,z=9999999999;if(Le===0)J[fe]=fe;else{for(let L=0;L<J.length;L++)q.current[J[L]].top+q.current[J[L]].height<z&&(Re=L,z=q.current[J[L]].top+q.current[J[L]].height);J[Re]=fe}q.current[fe]===void 0&&(q.current[fe]={}),Le===0?(Se===1?q.current[fe].left=0:q.current[fe].left=q.current[fe-1].left+ue+4,q.current[fe].top=0):(q.current[fe].left=q.current[Re].left,q.current[fe].top=z),q.current[fe].height=q.current[fe].height||H[Q(0,2)],ve[fe]={transform:`translate(${q.current[fe].left}px,${q.current[fe].top}px)`,width:`${ue}px`,height:q.current[fe].height}}return Z([...ve]),[...ve]},[ue,ne,H,Q,se]),Te=o.useCallback((re,ve)=>{q.current[ve]===void 0&&(q.current[ve]={}),q.current[ve].height=re,te.current=ce()},[ce]);o.useEffect(()=>{te.current=ce()},[ue,ne,se]),o.useEffect(()=>{var re,ve,J,fe,Le,Se;if($(!0),c&&E?.(Object.assign(Object.assign({hashTag:c?.hashTag,defaultSize:b,maxSize:b},((ve=(re=c?.rec)===null||re===void 0?void 0:re.product)===null||ve===void 0?void 0:ve.itemId)&&{productFilter:(fe=(J=c?.rec)===null||J===void 0?void 0:J.product)===null||fe===void 0?void 0:fe.itemId}),c?.itemId&&{contentFilter:c?.itemId})).then(Re=>{var z,L;B(Re),pe((L=(z=Re?.recList)===null||z===void 0?void 0:z.filter(_e=>_e?.video!==null||_e?.product!==null))!==null&&L!==void 0?L:[]),$(!1)}),O){const Re=wn;B(Re),pe((Se=(Le=Re?.recList)===null||Le===void 0?void 0:Le.filter(z=>z?.video!==null||z?.product!==null))!==null&&Se!==void 0?Se:[]),$(!1)}},[c,E,b,O]);const ke=o.useCallback(()=>{N.current!==null&&ee({width:N.current.getBoundingClientRect().width})},[]);o.useEffect(()=>{if(N.current===null)return;const re=new ResizeObserver(ve=>{ke()});return re.observe(N.current),()=>{re.disconnect()}},[ke]),o.useCallback(()=>{var re,ve,J,fe;$(!0),c&&E?.(Object.assign(Object.assign({hashTag:c?.hashTag},((ve=(re=c?.rec)===null||re===void 0?void 0:re.product)===null||ve===void 0?void 0:ve.itemId)&&{productFilter:(fe=(J=c?.rec)===null||J===void 0?void 0:J.product)===null||fe===void 0?void 0:fe.itemId}),c?.itemId&&{contentFilter:c?.itemId})).then(Le=>{var Se,Re;pe(se?.concat((Re=(Se=Le?.recList)===null||Se===void 0?void 0:Se.filter(z=>!z?.video))!==null&&Re!==void 0?Re:[])),$(!1)})},[c,E,se]);const Oe=o.useCallback(()=>{U(D.current.scrollTop)},[]);o.useEffect(()=>{var re;return(re=D?.current)===null||re===void 0||re.addEventListener("scroll",Oe),()=>{var ve;(ve=D?.current)===null||ve===void 0||ve.removeEventListener("scroll",Oe)}},[Oe,D]);const Pe=()=>{var re,ve;!((re=R?.tag)===null||re===void 0)&&re.link&&(M(),window.location.href=window.getJointUtmLink((ve=R?.tag)===null||ve===void 0?void 0:ve.link))};return o.createElement(o.Fragment,null,V?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:I,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"waterFallList",ref:N},o.createElement("div",{className:"waterFallList-scroll",ref:D},P&&((e=R?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:Pe},o.createElement($e,{className:ye.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=R?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"waterFallList-info",style:(n=x?.textStyles)===null||n===void 0?void 0:n.hashTagDesc,dangerouslySetInnerHTML:{__html:he((s=R?.tag)===null||s===void 0?void 0:s.info,(l=x?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),o.createElement("div",{hidden:!(!((r=R?.tag)===null||r===void 0)&&r.link),className:"waterFallList-collection",style:Object.assign({},(d=x?.textStyles)===null||d===void 0?void 0:d.hashTagLink),onClick:Pe,dangerouslySetInnerHTML:{__html:he(((a=R?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection",(v=x?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),o.createElement("div",{className:"waterFallList-content"},se?.map((re,ve)=>{var J;return o.createElement(ga,Object.assign({key:ve,index:ve,rec:re,list:se,showBorder:F+((J=D?.current)===null||J===void 0?void 0:J.clientHeight),style:j[ve],sizeChange:Te,unitWidth:ue,reportTagsView:M},x))}),o.createElement("div",{hidden:!(!((u=R?.tag)===null||u===void 0)&&u.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(w=((m=q?.current[((f=q?.current)===null||f===void 0?void 0:f.length)-1])===null||m===void 0?void 0:m.top)+((S=q?.current[((h=q?.current)===null||h===void 0?void 0:h.length)-1])===null||S===void 0?void 0:S.height))!==null&&w!==void 0?w:0}px)`,height:!((k=R?.tag)===null||k===void 0)&&k.link?((p=ie?.current)===null||p===void 0?void 0:p.offsetHeight)||((T=x?.buttonBgStyle)===null||T===void 0?void 0:T.height)||"100px":0}}))),o.createElement("div",{className:"waterFallList-bottom",hidden:!(!((y=R?.tag)===null||y===void 0)&&y.link),style:x?.buttonBgStyle}),o.createElement("div",{ref:ie,hidden:!(!((A=R?.tag)===null||A===void 0)&&A.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},x?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((_=R?.tag)===null||_===void 0?void 0:_.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:x?.buttonStyle,onClick:Pe,dangerouslySetInnerHTML:{__html:he(((g=R?.tag)===null||g===void 0?void 0:g.linkTitle)||"Shop the collection",x?.buttonStyle)}}))))}var ya="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const wa=t=>{const{rec:e,index:i,list:n,reportTagsView:s,textStyles:l,space:r}=t,{swiperRef:d,setRtcList:a,setOpenHashtag:v,bffEventReport:u,sxpParameter:f}=Ce(),[m,h]=o.useState(!1),S=o.useRef(null),w=o.useRef(null),k=o.useRef(null),p=o.useRef(null),[T,y]=o.useState(""),A=o.useMemo(()=>{var x,c,E,b,I,O,D,F,U,R;return!((x=e?.video)===null||x===void 0)&&x.cover?(c=e?.video)===null||c===void 0?void 0:c.cover:!((b=(E=e?.video)===null||E===void 0?void 0:E.imgUrls)===null||b===void 0)&&b.length?(O=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||O===void 0?void 0:O[0]:!((F=(D=e?.product)===null||D===void 0?void 0:D.homePage)===null||F===void 0)&&F.length?(R=(U=e?.product)===null||U===void 0?void 0:U.homePage)===null||R===void 0?void 0:R[0]:f?.bottom_image||""},[e,f?.bottom_image]),_=o.useMemo(()=>{var x,c;return((x=e?.product)===null||x===void 0?void 0:x.title)||((c=e?.video)===null||c===void 0?void 0:c.title)||null},[e]),g=o.useMemo(()=>{var x,c,E,b,I,O,D,F,U;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((c=e?.product)===null||c===void 0)&&c.price)?`${(O=(I=(b=(E=e?.product)===null||E===void 0?void 0:E.currency)===null||b===void 0?void 0:b.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&O!==void 0?O:""}${(U=(F=(D=e?.product)===null||D===void 0?void 0:D.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&U!==void 0?U:""}`:null},[e]);o.useEffect(()=>{const x=new IntersectionObserver(c=>{c.forEach(E=>{if(E.isIntersecting){if(w.current===null||A==="")return;m&&T?S.current.setSrc(T):S.current.setSrc(A),x.unobserve(w.current)}})});return x.observe(w.current),()=>{x.disconnect()}},[A,m,T]);const M=(x,c,E)=>{const b=x/c;return E/b};o.useEffect(()=>{const x=k?.current;x===null||A===""||!m||(x.src=A,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const c=p?.current;if(!c)return;const E=c.getContext("2d"),b=window?.innerWidth/2,I=M(x.videoWidth,x.videoHeight,b);c.height=I,c.width=b,E?.drawImage(x,0,0,c.width,c.height),y(c.toDataURL()),x.remove(),c.remove()})},[A,m]);const P=()=>{s(),a?.(n),setTimeout(()=>{var x;(x=d?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),v?.(!1)},0)};return o.createElement("div",{ref:w,className:"list-content-listItem",key:i,onClick:P,style:{marginBottom:r}},o.createElement("div",{className:"list-content-listItem-picture"},m&&o.createElement("div",{style:{display:"none"}},o.createElement("video",{ref:k,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),o.createElement("canvas",{ref:p})),o.createElement($e,{loading:"lazy",className:"list-content-listItem-picture-img",ref:S})),o.createElement("div",{className:"list-content-listItem-info"},o.createElement("div",{className:`list-content-listItem-info-title ${g?"list-content-listItem-info-nowrap":""}`,style:l?.title,dangerouslySetInnerHTML:{__html:he(_,l?.title)}}),o.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!g,dangerouslySetInnerHTML:{__html:he(g,l?.price)}})))};function Sa(t){var e,i,n,s,l,r,d,a,v,u,f,m,h,S,w,k,p,{reportTagsView:T,showBanner:y}=t,A=Ue(t,["reportTagsView","showBanner"]);const{waterFallData:_,getRecommendVideos:g,hashTagSize:M,loadingImage:P,isOpenHashTag:x}=Ce(),[c,E]=o.useState(),[b,I]=o.useState(),[O,D]=o.useState(!1),F=o.useRef(null),[U,R]=o.useState(!1);o.useCallback(()=>{var N,j,Z,te;U||(R(!0),_&&g?.(Object.assign(Object.assign({hashTag:_?.hashTag},((j=(N=_?.rec)===null||N===void 0?void 0:N.product)===null||j===void 0?void 0:j.itemId)&&{productFilter:(te=(Z=_?.rec)===null||Z===void 0?void 0:Z.product)===null||te===void 0?void 0:te.itemId}),_?.itemId&&{contentFilter:_?.itemId})).then(H=>{var V;E(c?.concat((V=H?.recList)!==null&&V!==void 0?V:[])),R(!1)}))},[_,g,c,U]),o.useEffect(()=>{var N,j,Z,te,H,V;if(D(!0),_&&g?.(Object.assign(Object.assign(Object.assign({hashTag:_?.hashTag},((j=(N=_?.rec)===null||N===void 0?void 0:N.product)===null||j===void 0?void 0:j.itemId)&&{productFilter:(te=(Z=_?.rec)===null||Z===void 0?void 0:Z.product)===null||te===void 0?void 0:te.itemId}),_?.itemId&&{contentFilter:_?.itemId}),{defaultSize:M,maxSize:M})).then($=>{var se,pe;I($),E((pe=(se=$?.recList)===null||se===void 0?void 0:se.filter(ie=>ie?.video!==null||ie?.product!==null))!==null&&pe!==void 0?pe:[]),D(!1)}),x){const $=wn;I($),E((V=(H=$?.recList)===null||H===void 0?void 0:H.filter(se=>se?.video!==null||se?.product!==null))!==null&&V!==void 0?V:[]),D(!1)}},[_,g,M,x]);const B=()=>{var N,j;!((N=b?.tag)===null||N===void 0)&&N.link&&(T(),window.location.href=window.getJointUtmLink((j=b?.tag)===null||j===void 0?void 0:j.link))};return o.createElement(o.Fragment,null,O?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:P,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"list"},o.createElement("div",{className:"list-scroll",ref:F},y&&((e=b?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:B},o.createElement($e,{className:ye.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=b?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"list-info",style:(n=A?.textStyles)===null||n===void 0?void 0:n.hashTagDesc,dangerouslySetInnerHTML:{__html:he((s=b?.tag)===null||s===void 0?void 0:s.info,(l=A?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),o.createElement("div",{hidden:!(!((r=b?.tag)===null||r===void 0)&&r.link),className:"list-collection",onClick:B,style:Object.assign(Object.assign({},(d=A?.textStyles)===null||d===void 0?void 0:d.hashTagLink),{marginBottom:A?.space}),dangerouslySetInnerHTML:{__html:he(((a=b?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection",(v=A?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),o.createElement("div",{className:"list-content"},c?.map((N,j)=>o.createElement(wa,Object.assign({key:j,index:j,rec:N,list:c,reportTagsView:T},A)))),o.createElement("div",{hidden:!U,style:{textAlign:"center"}},"loading..."),o.createElement("div",{hidden:!(!((u=b?.tag)===null||u===void 0)&&u.link),style:{height:!((f=b?.tag)===null||f===void 0)&&f.link?((m=A?.buttonBgStyle)===null||m===void 0?void 0:m.height)||((h=A?.buttonStyle)===null||h===void 0?void 0:h.height)||"100px":0}})),o.createElement("div",{className:"list-bottom",hidden:!(!((S=b?.tag)===null||S===void 0)&&S.link),style:A?.buttonBgStyle}),o.createElement("div",{hidden:!(!((w=b?.tag)===null||w===void 0)&&w.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},A?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((k=b?.tag)===null||k===void 0?void 0:k.linkTitle)||"Shop the collection",className:"list-btn",style:A?.buttonStyle,onClick:B,dangerouslySetInnerHTML:{__html:he(((p=b?.tag)===null||p===void 0?void 0:p.linkTitle)||"Shop the collection",A?.buttonStyle)}}))))}const xa=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:s,swiperRef:l,setWaterFallData:r,cacheRtcList:d,setRtcList:a,cacheActiveIndex:v,rtcList:u,setCacheRtcList:f,setIsFromHashtag:m,isFromHashtag:h,bffEventReport:S,themeTag:w,selectTag:k}=Ce(),{backMainFeed:p}=Ye();o.useRef(null);const T=o.useRef(null),[y,A]=o.useState();o.useEffect(()=>{const x=document.getElementById("sxp-render"),c=document.getElementById("water-fall");c?T.current=c:(T.current=document.createElement("div"),T.current.setAttribute("id","water-fall"),x?.appendChild(T.current))},[]);const _=()=>{const x=He.isEqual(u,d);!x&&d&&d?.length&&a?.(d),p("branch",k,void 0,i?.hashTag),P(),r?.(void 0),m?.(!1),setTimeout(()=>{var c,E;x||(E=(c=l?.current)===null||c===void 0?void 0:c.swiper)===null||E===void 0||E.slideTo(v,0,!1),n?.(!1)},0)},[g,M]=o.useState();o.useEffect(()=>{i&&M(i)},[i]);const P=o.useCallback(()=>{var x,c,E,b,I,O;const D=g?.rec;if(!D)return;let F="";h?F="hashTagPage":!((x=D?.video)===null||x===void 0)&&x.url?F="videoPage":!((E=(c=D?.video)===null||c===void 0?void 0:c.imgUrls)===null||E===void 0)&&E.length&&(F="imagePage"),S?.({eventInfo:{contentId:(b=D?.video)===null||b===void 0?void 0:b.itemId,position:v+"",contentTags:JSON.stringify((I=D?.video)===null||I===void 0?void 0:I.tags),traceInfo:(O=D?.video)===null||O===void 0?void 0:O.traceInfo,hashTags:JSON.stringify([g?.hashTag]),fromKName:F,fromKPage:location?.href,timeOnSite:Math.floor((new Date-y)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,S,y,h,v]);return o.useEffect(()=>{s&&A(new Date)},[s]),o.useEffect(()=>{const x=()=>{A(new Date)};return window.addEventListener("pageshow",x),()=>{window.removeEventListener("pageshow",x)}},[]),T.current?_i.createPortal(o.createElement("div",{className:"waterfall",style:{display:s?"block":"none"}},o.createElement(yn,{icon:ya,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:_}),t?.openFixedSize===!0||t?.openFixedSize===void 0?o.createElement(Sa,Object.assign({reportTagsView:P},t)):o.createElement(ba,Object.assign({reportTagsView:P},t))),T.current):null};var Sn=o.memo(xa);const Ta=t=>o.createElement(Sn,Object.assign({},t));var Ea=o.memo(Ta);const Aa=Xe(Ea,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ra,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000",textAlign:"center"},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 Ca=[{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 xn=t=>o.createElement(xn,Object.assign({},t));var Ia=o.memo(xn);const ka=Xe(Ia,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:Ca},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var _a=[{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"]},{type:"TextMargin",name:["style"],label:"\u4E0A\u4E0B\u8FB9\u8DDD",direction:"vertical"},{type:"TextPadding",name:["style"],label:"\u5185\u8FB9\u8DDD",direction:"horizontal"}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{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"]}]}],Tn={"animated-button":"index-module_animated-button__lqTbg",gradientCover:"index-module_gradientCover__5iUag","one-line-ellipsis":"index-module_one-line-ellipsis__HutE0","two-line-ellipsis":"index-module_two-line-ellipsis__c8gRJ"};const Pa=t=>{var e,i,n,s,l,r,d,a,v,u,{style:f,recData:m,ctaTempStyles:h,index:S,event:w,onClick:k,isExternalLink:p=!1}=t,T=Ue(t,["style","recData","ctaTempStyles","index","event","onClick","isExternalLink"]);const{ctaEvent:y,setPopupDetailData:A}=Ce(),{jumpToWeb:_}=Ye(),[g,M]=o.useState(!1),P=o.useRef(null),x=gn(P),c=((n=(i=(e=m?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.bindCta)||((l=(s=m?.video)===null||s===void 0?void 0:s.bindProduct)===null||l===void 0?void 0:l.bindCta)||((r=m?.video)===null||r===void 0?void 0:r.bindCta),E=((a=(d=m?.video)===null||d===void 0?void 0:d.bindProducts)===null||a===void 0?void 0:a[0])||((v=m?.video)===null||v===void 0?void 0:v.bindProduct),b=()=>{var F,U,R,B;const N=((U=(F=m?.video)===null||F===void 0?void 0:F.bindProducts)===null||U===void 0?void 0:U[0])||((R=m?.video)===null||R===void 0?void 0:R.bindProduct)||m?.video;if(y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},m,N,S),A?.(Object.assign(Object.assign({},m),{index:S})),p){const j=E?.link||((B=N?.bindCta)===null||B===void 0?void 0:B.link);j&&(_(m,E,c,S),window.location.href=window.getJointUtmLink(j))}else k?.()},I=c?.enTitle||"\u67E5\u770B\u8BE6\u60C5",O=o.useMemo(()=>{var F,U;const R=w?.animation;if(R){const{delay:B,duration:N,backgroundColor:j}=R;return{":after":{animationDelay:`${(F=B/1e3)!==null&&F!==void 0?F:0}s`,animationDuration:`${(U=N/1e3)!==null&&U!==void 0?U:0}s`,backgroundColor:`${j??"transparent"}`}}}},[w?.animation]);o.useEffect(()=>{var F,U,R;x&&P?.current&&y?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},m,((U=(F=m?.video)===null||F===void 0?void 0:F.bindProducts)===null||U===void 0?void 0:U[0])||((R=m?.video)===null||R===void 0?void 0:R.bindProduct)||m?.video,S)},[x]),o.useEffect(()=>{M(!!x)},[x]);const D=o.useMemo(()=>g?Tn["animated-button"]:null,[g]);return o.createElement("div",Object.assign({ref:P,style:Object.assign(Object.assign(Object.assign({},f),h?.ctaTitle),{lineHeight:`${(u=f?.height)!==null&&u!==void 0?u:0}px`})},T,{className:`${D} ${ye.css(O)} ${Tn["one-line-ellipsis"]}`,onClick:b,dangerouslySetInnerHTML:{__html:he(I,h?.ctaTitle)}}))};var Da=o.memo(Pa),Ma=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]},{title:"\u52A8\u753B\u6548\u679C",child:[{type:"Color",name:["animation","backgroundColor"],label:"\u52A8\u753B\u989C\u8272"},{type:"Select",name:["animation","name"],label:"\u52A8\u753B",options:[{label:"\u9ED8\u8BA4",value:1}],fieldProps:{style:{width:"100%"}}},{type:"Number",label:"\u52A8\u753B\u542F\u52A8\u65F6\u95F4",name:["animation","delay"],addonAfter:"ms"},{type:"Number",label:"\u52A8\u753B\u6301\u7EED\u65F6\u95F4",name:["animation","duration"],addonAfter:"ms"}]}];const Oa=Xe(Da,{displayName:"\u7EAF\u8272\u52A8\u6548CTA",icon:"",category:"cta",type:"AniLink",related:{settingRender:_a,bindableProps:[],interactionRender:Ma},defaulSetting:{props:{ctaTempStyles:{ctaTitle:{fontSize:15,color:"#fff",textAlign:"center"}},event:{animation:{backgroundColor:"#F40082",name:1,delay:1e3,duration:2e3}}},style:{width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",paddingLeft:7,paddingRight:7}},w:100,h:40,sort:1});var Ra=[{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:"\u5916\u8FB9\u8DDD",type:"Number",name:["style","margin"],addonAfter:"px"},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],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\u4E0B\u8FB9\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginBottom"]},{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:"Select",name:["props","ctaTempStyles","title","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","title","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{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:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{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"]}]}],_t={aniLinkPopup:"index-module_aniLinkPopup__YT7kj","animated-fadeIn":"index-module_animated-fadeIn__8ZCbq",fadeIn:"index-module_fadeIn__2E-dk","animated-fadeOut":"index-module_animated-fadeOut__iK4oc",fadeOut:"index-module_fadeOut__MgevT","one-line-ellipsis":"index-module_one-line-ellipsis__NRiVV","two-line-ellipsis":"index-module_two-line-ellipsis__k-YGB","modal-icon-wrapper":"index-module_modal-icon-wrapper__tu3BY","modal-icon-wrapper-img":"index-module_modal-icon-wrapper-img__4b7qZ"};const La="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Ba=t=>{var e,i,n,s,l,r,d,a,v,u,f,m,h,S,w,k,p,T,y,A,_,g,M,P,{style:x,recData:c,ctaTempStyles:E,index:b,event:I,bottom_image:O,translateY:D,isTel:F,onClick:U,isExternalLink:R=!1,isActive:B}=t,N=Ue(t,["style","recData","ctaTempStyles","index","event","bottom_image","translateY","isTel","onClick","isExternalLink","isActive"]);x==null||delete x.transform;const{sxpParameter:j,globalConfig:Z,ctaEvent:te,setPopupDetailData:H}=Ce(),{jumpToWeb:V}=Ye(),[$,se]=o.useState(!0),pe=((n=(i=(e=c?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.bindCta)||((l=(s=c?.video)===null||s===void 0?void 0:s.bindProduct)===null||l===void 0?void 0:l.bindCta)||((r=c?.video)===null||r===void 0?void 0:r.bindCta),ie=((a=(d=c?.video)===null||d===void 0?void 0:d.bindProducts)===null||a===void 0?void 0:a[0])||((v=c?.video)===null||v===void 0?void 0:v.bindProduct),Q=()=>{var ce,Te,ke,Oe;const Pe=((Te=(ce=c?.video)===null||ce===void 0?void 0:ce.bindProducts)===null||Te===void 0?void 0:Te[0])||((ke=c?.video)===null||ke===void 0?void 0:ke.bindProduct)||c?.video;if(te?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},c,Pe,b),H?.(Object.assign(Object.assign({},c),{index:b})),R){const re=ie?.link||((Oe=Pe?.bindCta)===null||Oe===void 0?void 0:Oe.link);re&&(V(c,ie,pe,b),window.location.href=window.getJointUtmLink(re))}else U?.()},q=pe?.enTitle||"\u67E5\u770B\u8BE6\u60C5",G=o.useMemo(()=>{const ce=I?.animation;if(ce){const{delay:Te,duration:ke}=ce;return{animationDelay:`${Te?Te/1e3:0}s`,animationDuration:`${ke?ke/1e3:0}s`}}},[I?.animation]),ee=(S=(h=(m=(u=ie?.cover)!==null&&u!==void 0?u:(f=ie?.homePage)===null||f===void 0?void 0:f[0])!==null&&m!==void 0?m:pe?.icon)!==null&&h!==void 0?h:j?.bottom_image)!==null&&S!==void 0?S:O,ne=ce=>{ce.stopPropagation(),se(!1)};o.useEffect(()=>{se(!0)},[B]);const ue=o.useMemo(()=>B&&$?_t["animated-fadeIn"]:null,[B,$]);return o.createElement(o.Fragment,null,F?o.createElement("div",{style:{height:"40px",lineHeight:"40px",paddingLeft:"6px"}},"Cta Title"):o.createElement("div",Object.assign({},N,{className:`${ye.css(Object.assign(Object.assign({},x),{"--transY":`translateY(calc(100% + ${(w=x?.margin)!==null&&w!==void 0?w:0}px))`}))} ${_t.aniLinkPopup} ${ue} ${ye.css(G)}`,onClick:Q}),o.createElement("div",{onClick:ne,className:_t["modal-icon-wrapper"],style:{padding:(k=x?.padding)!==null&&k!==void 0?k:0}},o.createElement("img",{src:(p=Z?.popupCloseIcon)!==null&&p!==void 0?p:La,alt:"close",className:_t["modal-icon-wrapper-img"]})),o.createElement(ht,{src:ee,rec:c,item:(g=(A=(y=(T=c?.video)===null||T===void 0?void 0:T.bindProducts)===null||y===void 0?void 0:y[0])!==null&&A!==void 0?A:(_=c?.video)===null||_===void 0?void 0:_.bindProduct)!==null&&g!==void 0?g:c?.video,index:b,translateY:D,imgStyle:E?.img}),(!c||ie?.title)&&o.createElement("div",{className:_t["one-line-ellipsis"],style:E?.title,dangerouslySetInnerHTML:{__html:he((M=ie?.title)!==null&&M!==void 0?M:"Product Name",E?.title)}}),o.createElement("div",{className:_t["one-line-ellipsis"],style:Object.assign(Object.assign({},E?.ctaTitle),{lineHeight:((P=E?.ctaTitle)===null||P===void 0?void 0:P.height)+"px"}),dangerouslySetInnerHTML:{__html:he(q,E?.ctaTitle)}})))};var Na=o.memo(Ba),Fa=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]},{title:"\u52A8\u753B\u6548\u679C",child:[{type:"Select",name:["animation","name"],label:"\u52A8\u753B",options:[{label:"\u9ED8\u8BA4",value:1}],fieldProps:{style:{width:"100%"}}},{type:"Number",label:"\u52A8\u753B\u542F\u52A8\u65F6\u95F4",name:["animation","delay"],addonAfter:"ms"},{type:"Number",label:"\u52A8\u753B\u6301\u7EED\u65F6\u95F4",name:["animation","duration"],addonAfter:"ms"}]}];const ja=Xe(Na,{displayName:"\u7AD6\u7248\u5F39\u7A97CTA",icon:"",category:"cta",type:"AniLinkPopup",related:{settingRender:Ra,bindableProps:[],interactionRender:Fa},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:108,height:108,marginBottom:0},title:{fontSize:14,color:"#000",textAlign:"left",lineHeight:2.6},ctaTitle:{width:108,height:22,fontSize:12,color:"#fff",textAlign:"center",backgroundColor:"rgba(0,0,0,1)"}},event:{animation:{name:1,delay:1e3,duration:2e3}}},style:{width:120,height:185,borderRadius:3,backgroundColor:"rgba(255,255,255,1)",padding:7,margin:15}},w:100,h:40,sort:2});var Ti=Object.freeze({__proto__:null,AniLink:Oa,AniLinkPopup:ja,Appoint:Ds,AppointForm:vo,Commodity:Is,CommodityDetail:es,CommodityDetailDiroNew:us,CommodityDiro:zs,CommodityDiroNew:Ys,CommodityList:gs,Consent:ka,HashTag:Aa,Iframe:Ss,Link:Bs,MultiCommodity:ia,MultiCommodityDiro:Zs,MultiCommodityDiroNew:aa,Prompt:ss});const Va="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",za="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ha=t=>{var e,{active:i,activeIcon:n,unActicveIcon:s,recData:l,position:r}=t,d=Ue(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:a,mutateUnlike:v,bffEventReport:u,setCacheRtcList:f,cacheRtcList:m}=Ce(),[h,S]=o.useState((e=m?.[r])===null||e===void 0?void 0:e.isCollected),w=nt(za),k=nt(Va),p=He.debounce(()=>Ke(void 0,void 0,void 0,function*(){var T,y,A,_,g,M,P,x,c,E,b,I,O,D,F,U,R,B,N,j,Z,te;if(h){S(!1);const H=(A=yield v?.({videoItemId:(y=(T=l?.video)===null||T===void 0?void 0:T.itemId)!==null&&y!==void 0?y:""}))!==null&&A!==void 0?A:!1;if(u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(g=(_=l?.video)===null||_===void 0?void 0:_.itemId)!==null&&g!==void 0?g:"",contentName:(P=(M=l?.video)===null||M===void 0?void 0:M.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((c=(x=l?.video)===null||x===void 0?void 0:x.tags)!==null&&c!==void 0?c:[]),position:r+"",contentFormat:!((E=l?.video)===null||E===void 0)&&E.url?"video":"image",traceInfo:(b=l?.video)===null||b===void 0?void 0:b.traceInfo}}),!H)S(!0);else{const V=(I=m?.map(($,se)=>(se===r&&($.isCollected=!1),$)))!==null&&I!==void 0?I:[];f?.(V)}}else{S(!0);const H=(O=yield a?.({content:JSON.stringify(l)}))!==null&&O!==void 0?O:!1;if(u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(F=(D=l?.video)===null||D===void 0?void 0:D.itemId)!==null&&F!==void 0?F:"",contentName:(R=(U=l?.video)===null||U===void 0?void 0:U.title)!==null&&R!==void 0?R:"",contentTags:JSON.stringify((N=(B=l?.video)===null||B===void 0?void 0:B.tags)!==null&&N!==void 0?N:[]),position:r+"",contentFormat:!((j=l?.video)===null||j===void 0)&&j.url?"video":"image",traceInfo:(Z=l?.video)===null||Z===void 0?void 0:Z.traceInfo}}),!H)S(!1);else{const V=(te=m?.map(($,se)=>(se===r&&($.isCollected=!0),$)))!==null&&te!==void 0?te:[];f?.(V)}}}),200);return o.createElement("button",Object.assign({},d,{"aria-label":"like",onClick:p}),o.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:h?n||w:s||k,alt:"icon"}))};var En=o.memo(Ha),Ua="data:image/gif;base64,R0lGODlhlgCWAPf/AAAAAICAgMzMzMzMzNXV1dXV1dXV1dfX19jOztjY2NvOztvb29zc3N/Pz9/V1d/f3+Pj4+bm5ubm5ujR0ejg4Ojo6Onp6erj4+rj4+rl5evr6+vr6+3k5O3t7e3t7e7u7u7u7u/v7/Dw8PDw8PHx8fHx8fHx8fLs7PLu7vLu7vLy8vPu7vPz8/Tp6fTx8fTx8fT09PT09PT09PXw8Pbx8fbz8/b29vb29vb29vb29vb29vf09Pf39/f39/f39/f39/f39/f39/f39/f39/f39/j09Pj09Pj19fj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pn29vn39/n5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fr09Pr4+Pr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vv39/v39/v4+Pv5+fv5+fv6+vv7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/z4+Pz5+fz5+fz5+fz6+vz6+vz6+vz6+vz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/P36+v36+v36+v37+/37+/37+/37+/38/P38/P38/P38/P39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f78/P78/P78/P78/P7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v/V1f/39//4+P/6+v/7+//8/P/8/P/9/f/9/f/9/f/9/f/+/v/+/v/+/v/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wD/ACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAwBLACxFABcADwAMAIYAAACAgIDMzMzV1dXX19fYzs7Y2Njbzs7b29vc3Nzfz8/f1dXf39/j4+Pm5ubo0dHo4ODo6Ojp6enq4+Pq5eXr6+vt5OTt7e3u7u7v7+/w8PDx8fHy7Ozy7u7y8vLz7u7z8/P06en08fH09PT18PD28fH28/P29vb39PT39/f49PT49fX4+Pj59vb59/f5+fn69PT6+Pj6+vr79/f7+Pj7+fn7+vr7+/v8+Pj8+fn8+vr8/Pz9+vr9+/v9/Pz9/f3+/Pz+/v7/1dX/9/f/+Pj/+vr/+/v//Pz//f3//v7///8A/wD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8IUgCXCNzxI8gOJQV3CFy4RIkMJTccQnQYZCGShAgNZiS45MfDiB8lglzSQyPGk0FCqpwY8iBKlyZFyly5xKRNmAJrzGQJcWFJmDB1MBQ4MwnDgAAAIfkECQQA/wAsRwAXAA8ADAAACFMA/wkslAhcqWKJsLkRyPAfODfgujyM+LAYQ4QGMR4sWGrhRIkQQVJcyFGjyYJrRqoU2aXYxowlS7L8SBNiIZg4XwqcGfIjw5g5G/6zUROcDYYBAQAh+QQJAwD/ACxIABcAEAAMAAAIWwD/CfzXqVSxRNgSlRrIEAm4LuDcPIz4sBNDcAYTYTy4MVEigRMlQhRJsYvAjB1TGuxio6RLkhJDaURJk+PCkDhHTvxXc6bNgzxh5ow40E3Pjm4Y/lszNKnAgAAAIfkECQMA/wAsSgAXABEADQAACGUA/wn856YLtkSlBioceAScG3BdHEJ0uLBLsUTgSl3MuLFUooESIz4UOfHhvzYYNabs2PFflJIwSUZcU0olx5U4SyEJyXNkyH84bwotFepfzJ4TB7IMqrGLwlIyeUZZuNAjR4UBAQAh+QQJBAD/ACxMABcAEgAOAAAIaAD/CRTYpdTAgwgFgusCzs1CcGvAJfwXBVypYoksYtSYqNjBhw4Zhmy4kJvAUhczpuTIEds/kSBjwiy4caXNmhhH6pRJEiVOlT8t/iM5kyhRk0NvAgX6cWfRKBNLLdXY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M1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/IcEJMWFAQEAOw==";const Ei=(()=>{if(typeof document>"u")return;const t=document.createElement("div"),e=ki.render(o.createElement("video",{id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",preload:"auto",controls:!1,muted:!0,style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),t);return i=>i?(i.innerHTML="",i.appendChild(e),document.querySelector("#player-container-id")):void 0})(),Ga=({rec:t,index:e,height:i,data:n,muted:s,activeIndex:l,videoPostConfig:r,videoPlayIcon:d})=>{const[a,v]=o.useState(!1),{bffEventReport:u,sxpParameter:f,waterFallData:m,openHashtag:h,bffFbReport:S}=Ce(),w=o.useRef(0),[k,p]=o.useState(!1),[T,y]=o.useState(!0),{isActive:A}=mn(),_=o.useRef(null),[g,M]=o.useState(""),[P,x]=o.useState(!1),c=o.useRef(),E=`pb-cache-video-${e}`,b=o.useRef(null),I=o.useMemo(()=>r?.mode==="2",[r]),O=o.useMemo(()=>{var Q;return r?.mode==="2"?`translateY(-${50+((Q=r?.offsetTop)!==null&&Q!==void 0?Q:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),D=o.useMemo(()=>{var Q;return((Q=t?.video)===null||Q===void 0?void 0:Q.cover)||g},[g,t]),F=o.useMemo(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]),U=o.useMemo(()=>r?.bgWay==="1",[r]),R=o.useMemo(()=>U&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,U]);o.useEffect(()=>{c?.current&&(c.current.muted=s)},[s,c?.current]);const B=o.useCallback(()=>{var Q;c?.current&&((Q=c?.current)===null||Q===void 0||Q.play())},[c?.current]),N=nt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),j=o.useCallback(()=>{c?.current&&(x(!1),p(!0))},[]),Z=o.useCallback(()=>{var Q,q,G,ee,ne,ue,ce,Te,ke,Oe,Pe,re,ve;if(!c?.current)return;v(!1);const J=n[e];if(J&&(!((Q=c?.current)===null||Q===void 0)&&Q.duration)){w.current=((q=c?.current)===null||q===void 0?void 0:q.currentTime)||0;const fe=((ee=(G=c?.current)===null||G===void 0?void 0:G.duration)!==null&&ee!==void 0?ee:0).toFixed(2),Le=((ue=(ne=c?.current)===null||ne===void 0?void 0:ne.currentTime)!==null&&ue!==void 0?ue:0).toFixed(2),Se=T?"0":"1";u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Te=(ce=J?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&Te!==void 0?Te:"",contentName:(Oe=(ke=J?.video)===null||ke===void 0?void 0:ke.title)!==null&&Oe!==void 0?Oe:"",playType:Se,startTime:Le,videoDuration:fe,contentTags:JSON.stringify((re=(Pe=J?.video)===null||Pe===void 0?void 0:Pe.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(ve=J?.video)===null||ve===void 0?void 0:ve.traceInfo}}),y(!1)}},[u,n,e,T,c?.current]),te=o.useCallback(()=>{var Q;if(!c?.current||g||!I||(c.current.style.objectFit="contain",!((Q=t?.video)===null||Q===void 0)&&Q.cover||!_||!_.current||U))return;const q=()=>{const G=_?.current,ee=G.getContext("2d"),ne=window?.innerWidth,ue=window?.innerHeight;G.height=ue,G.width=ne,ee?.drawImage(c.current,0,0,G.width,G.height),M(G.toDataURL())};q(),setTimeout(()=>{q()},500)},[c.current,U,t,g,I]),H=o.useCallback(()=>{c.current&&(Z(),te())},[c.current,te,Z]),V=o.useCallback(Q=>()=>{var q,G,ee,ne,ue;if(!c.current||!k)return;const ce=(q=c?.current)===null||q===void 0?void 0:q.paused;switch(Q){case"start":if(!ce)return;(G=c?.current)===null||G===void 0||G.play(),v(!1);break;case"pause":if(ce)return;(ee=c?.current)===null||ee===void 0||ee.pause(),v(!0);break;default:ce?(ne=c?.current)===null||ne===void 0||ne.play():(ue=c?.current)===null||ue===void 0||ue.pause(),v(!ce);break}},[k,c?.current]),$=o.useCallback(()=>{var Q,q,G,ee,ne,ue,ce,Te,ke,Oe,Pe,re,ve;if(!c?.current||l!==e)return;const J=n[e],fe=((q=(Q=c?.current)===null||Q===void 0?void 0:Q.duration)!==null&&q!==void 0?q:0).toFixed(2),Le=((ee=(G=c?.current)===null||G===void 0?void 0:G.currentTime)!==null&&ee!==void 0?ee:0).toFixed(2);if(!((ne=c?.current)===null||ne===void 0)&&ne.duration){const Se=(((ue=c?.current)===null||ue===void 0?void 0:ue.currentTime)-w.current).toFixed(2);u?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Te=(ce=J?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&Te!==void 0?Te:"",contentName:(Oe=(ke=J?.video)===null||ke===void 0?void 0:ke.title)!==null&&Oe!==void 0?Oe:"",endTime:Le,videoDuration:fe,playDuration:Se,contentTags:JSON.stringify((re=(Pe=J?.video)===null||Pe===void 0?void 0:Pe.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(ve=J?.video)===null||ve===void 0?void 0:ve.traceInfo}})}},[n,e,u,c?.current,l]),se=o.useCallback(()=>{x(!0)},[]);o.useEffect(()=>{var Q,q,G,ee,ne,ue,ce,Te,ke,Oe;if(!A)return;const Pe=t?.video.url;if(!Pe)return;const re=document.querySelector(`#${E}`);if(!re||(c.current=Ei?.(re),!c?.current))return;const ve=window?.Hls;let J=null;return Pe.includes(".m3u8")&&ve&&ve.isSupported()?(J=new ve,J.loadSource(Pe),J.attachMedia(c?.current),J.on(ve.Events.MANIFEST_PARSED,function(){var fe;(fe=c?.current)===null||fe===void 0||fe.play()})):c.current.src=Pe,(Q=c?.current)===null||Q===void 0||Q.setAttribute("x5-playsinline","true"),(q=c?.current)===null||q===void 0||q.setAttribute("webkit-playsinline","true"),(G=c?.current)===null||G===void 0||G.addEventListener("loadedmetadata",H),(ee=c?.current)===null||ee===void 0||ee.addEventListener("loadeddata",te),(ne=c?.current)===null||ne===void 0||ne.addEventListener("play",Z),(ue=c?.current)===null||ue===void 0||ue.addEventListener("playing",j),(ce=c?.current)===null||ce===void 0||ce.addEventListener("pause",$),(Te=c?.current)===null||Te===void 0||Te.addEventListener("ended",B),(ke=c?.current)===null||ke===void 0||ke.addEventListener("canplay",B),(Oe=c?.current)===null||Oe===void 0||Oe.addEventListener("waiting",se),()=>{var fe,Le,Se,Re,z,L,_e,qe,st;((fe=c?.current)===null||fe===void 0?void 0:fe.paused)||$(),J&&J?.destroy(),p(!1),(Le=c?.current)===null||Le===void 0||Le.removeEventListener("loadedmetadata",H),(Se=c?.current)===null||Se===void 0||Se.removeEventListener("loadeddata",te),(Re=c?.current)===null||Re===void 0||Re.removeEventListener("play",Z),(z=c?.current)===null||z===void 0||z.removeEventListener("playing",j),(L=c?.current)===null||L===void 0||L.removeEventListener("pause",$),(_e=c?.current)===null||_e===void 0||_e.removeEventListener("ended",B),(qe=c?.current)===null||qe===void 0||qe.removeEventListener("canplay",B),(st=c?.current)===null||st===void 0||st.removeEventListener("waiting",se)}},[A,E,t,$]),o.useEffect(()=>{var Q,q;!c?.current||!k||(A?(S?.({eventName:"ViewContent"}),(Q=c?.current)===null||Q===void 0||Q.play()):(q=c?.current)===null||q===void 0||q.pause())},[A,k,c?.current]),o.useEffect(()=>{var Q,q,G;if(!A||!c?.current)return;!((Q=c?.current)===null||Q===void 0?void 0:Q.paused)&&h?(q=c?.current)===null||q===void 0||q.pause():h||(G=c?.current)===null||G===void 0||G.play()},[h,A,c?.current]),o.useEffect(()=>{if(!A)return;const Q=()=>{V("start")(),S?.({eventName:"ViewContent"})},q=V("pause");return ct.on(tt.PAGE_DID_SHOW,Q),ct.on(tt.PAGE_DID_HIDE,q),()=>{ct.off(tt.PAGE_DID_SHOW,Q),ct.off(tt.PAGE_DID_HIDE,q)}},[V,A]);const pe=o.useMemo(()=>!f?.placeholder_image||k?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image,alt:"placeholder image"}),[k,f?.placeholder_image]),ie=o.useMemo(()=>{if(!(!P||!k))return o.createElement("img",{style:{position:"absolute",top:"50%",left:0,right:0,transform:"translateY(-100%)",margin:"auto",width:"50px",height:"50px",objectFit:"contain"},src:Ua,alt:"placeholder image"})},[P,k]);return o.useEffect(()=>{if(!c?.current)return;const Q=()=>{var q;l===e&&(!((q=t?.video)===null||q===void 0)&&q.url)&&c?.current&&!a&&V("pause")()};return window.addEventListener("beforeunload",Q),()=>{window.removeEventListener("beforeunload",Q)}},[l,e,t,c?.current,V,a]),t?.video?o.createElement(o.Fragment,null,I?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:V(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},R)},!U&&k&&D&&o.createElement($e,{src:D,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},F)}),o.createElement("canvas",{ref:_,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:O,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},o.createElement("div",{className:"n-full-screen",ref:b,id:E,style:{width:"100%",height:"100%"}}),a&&o.createElement($e,{className:"clc-pb-video-pause",src:d??N,alt:"pause"}))),pe,ie):o.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:V()},o.createElement("div",{className:"n-full-screen",ref:b,id:E,style:{width:"100%",height:"100%"}}),pe,ie,a&&o.createElement($e,{className:"clc-pb-video-pause",src:d??N,alt:"pause"}))):null};var Wa=o.memo(Ga);const Ya=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:s})=>{const[l,r]=o.useState(t),d=a=>{a.stopPropagation();const v=!l;r(v),n?.(v)};return o.useEffect(()=>{r(t)},[t]),o.createElement("button",{style:s,"aria-label":"toggle button",className:"pb-toggle-button",onClick:d},o.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var An=o.memo(Ya);const Xa=({imageUrl:t,style:e,duration:i=2e3})=>{const[n,s]=o.useState(!0);dt(),o.useEffect(()=>{setTimeout(()=>{s(!1)},i)},[]);const l=nt("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),r=o.useMemo(()=>n?"pb-fadeIn":"pb-fadeOut",[n]);return o.createElement("div",{hidden:!n,className:`pb-finger-wrap ${r}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},o.createElement("img",{src:t||l,alt:"finger swiper"}))},Cn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:s}=t,l=o.useMemo(()=>n?.mode==="2",[n]),r=o.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),d=o.useMemo(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=o.useMemo(()=>n?.bgWay==="1",[n]),v=o.useMemo(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return o.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},v)},(!l||!a)&&o.createElement($e,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},d),onLoad:s}),l&&o.createElement($e,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0},onLoad:s}))},qa=({imgUrls:t,width:e,height:i,rec:n,index:s,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:d})=>{var a,v;const u=o.useRef(),{isActive:f}=mn(),{sxpParameter:m,openHashtag:h}=Ce(),[S,w]=o.useState(!1);o.useEffect(()=>{S&&f?(u?.current&&u.current.swiper.autoplay.start(),h?l(n):r(s)):u?.current&&u.current.swiper.autoplay.stop()},[n,f,l,h,s,r,S]);const k=o.useCallback(()=>{S||w(!0)},[S]);return o.createElement(Et,{ref:u,defaultValue:0,direction:"horizontal",modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},className:ye.css(Object.assign({},d?.marginBottom&&{".swiper-pagination":{bottom:(a=d?.marginBottom)!==null&&a!==void 0?a:0}})),height:i,loop:!0,autoplay:{delay:((v=d?.delay)!==null&&v!==void 0?v:3)*1e3}},t?.map((p,T)=>o.createElement(vt,{key:T},o.createElement(Cn,{src:!S&&T>0?"":p,height:i,imgUrlsPostConfig:d,onShowFirstImage:k}))))};var Ja=o.memo(qa);const Ka=({tags:t,itemId:e,itemType:i,index:n,rec:s,hashTagStyle:l})=>{var r;const[d,a]=o.useState(!1),{setWaterFallData:v,setOpenHashtag:u,setCacheActiveIndex:f,waterFallData:m,setIsFromHashtag:h}=Ce(),S=w=>{m?h?.(!0):f?.(n),v?.(i?{hashTag:w,itemId:e,itemType:i,rec:s}:{hashTag:w,rec:s}),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",style:{marginTop:`${(r=l?.marginTop)!==null&&r!==void 0?r:16}px`}},o.createElement(Mt,null,t?.map((w,k)=>o.createElement(vt,{key:k,hidden:d?!1:k>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>S(w)},o.createElement("div",{dangerouslySetInnerHTML:{__html:he(`#${w}`,l)}})))))};var In=o.memo(Ka),Za="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Xt(t){return o.memo(function(e){const{$store:i}=Xn(),n=l=>{let r=l;const d=l.match(/{{.*?}}/g);return d?.length&&d.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(v,u)=>{if(u){const f=He.get(i,u);return r=r.replace(a,f),f}})}),r},s=o.useMemo(()=>{var l,r,d;const{bindDatas:a}=e,v=Ue(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,u=>{if(u?.propKey&&u?.dataPath){const{propKey:f,dataPath:m}=u;m.replace(/{{\s*([\w.]+)\s*}}/g,(h,S)=>{var w,k;if(S){const p=(k=(w=He.get(i,S))!==null&&w!==void 0?w:e[f])!==null&&k!==void 0?k:"";return v[f]=p,p}})}}),v){v.eventMap={};const u=He.cloneDeep(v.event)||{};for(const f in u)if(Object.prototype.hasOwnProperty.call(u,f))try{u[f].value=n(u[f].value),v.eventMap[f]=new Function(u[f].value)}catch{}}return!((d=(r=v?.event)===null||r===void 0?void 0:r.onClick)===null||d===void 0)&&d.linkType&&(v.style.cursor="pointer"),v},[i,e]);return o.createElement(t,Object.assign({},s,s.eventMap))})}const Qa=({rec:t,index:e,tempMap:i,resolver:n,includesCtaType:s,isActive:l})=>{var r,d,a,v,u;const{schema:f}=dt();if(!t?.video)return null;let m=null;!((d=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||d===void 0)&&d.length?m="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?m="\u5546\u54C1CTA":m=(u=(v=t?.video)===null||v===void 0?void 0:v.bindCta)===null||u===void 0?void 0:u.itemId;const h=i?.[m],S=o.useMemo(()=>{var w,k,p,T,y,A,_,g,M,P,x,c,E,b,I,O,D,F,U,R,B,N,j,Z,te,H,V,$,se,pe,ie,Q,q;if(!t?.video)return null;if(!((k=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||k===void 0)&&k.length||!((p=t?.video)===null||p===void 0)&&p.bindProduct||(y=(T=t?.video)===null||T===void 0?void 0:T.bindCta)===null||y===void 0||y.itemId,!(s&&!s?.includes((A=h?.item)===null||A===void 0?void 0:A.type))&&!(!s&&((_=h?.item)===null||_===void 0?void 0:_.category)==="cta")){if(((g=h?.item)===null||g===void 0?void 0:g.type)==="CommodityDiro"&&!(!((M=t?.video)===null||M===void 0)&&M.bindProduct)||((P=h?.item)===null||P===void 0?void 0:P.type)==="Commodity"&&!(!((x=t?.video)===null||x===void 0)&&x.bindProduct)||((c=h?.item)===null||c===void 0?void 0:c.type)==="CommodityDiroNew"&&!(!((E=t?.video)===null||E===void 0)&&E.bindProduct)||((b=h?.item)===null||b===void 0?void 0:b.type)==="MultiCommodity"&&!(!((O=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||O===void 0)&&O.length)||((D=h?.item)===null||D===void 0?void 0:D.type)==="MultiCommodityDiro"&&!(!((U=(F=t?.video)===null||F===void 0?void 0:F.bindProducts)===null||U===void 0)&&U.length)||((R=h?.item)===null||R===void 0?void 0:R.type)==="MultiCommodityDiroNew"&&!(!((N=(B=t?.video)===null||B===void 0?void 0:B.bindProducts)===null||N===void 0)&&N.length))return null;if(h&&n){const G=n[(j=h?.item)===null||j===void 0?void 0:j.type],ee=Xt(G),ne=(Z=G?.extend)===null||Z===void 0?void 0:Z.defaulSetting,ue=((V=(H=(te=h?.item)===null||te===void 0?void 0:te.event)===null||H===void 0?void 0:H.onClick)===null||V===void 0?void 0:V.linkType)==="externalLink";return o.createElement(ee,Object.assign({style:Object.assign(Object.assign(Object.assign({},ne?.style),($=h?.item)===null||$===void 0?void 0:$.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},ne?.textStyle),(se=h?.item)===null||se===void 0?void 0:se.textStyle),bindDatas:(ie=(pe=h?.item)===null||pe===void 0?void 0:pe.bindDatas)!==null&&ie!==void 0?ie:[]},ne?.props,(Q=h?.item)===null||Q===void 0?void 0:Q.props,{event:((q=h?.item)===null||q===void 0?void 0:q.event)||{},schema:f,id:h?.id,key:h?.id,recData:t,isExternalLink:ue,index:e,isActive:l}))}else return null}},[t,n,i,f,h?.id,l]);return o.createElement(o.Fragment,null,S)};var qt=o.memo(Qa);const kn=({nudge:t})=>{var e,i,n,s,l,r;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:(l=(s=t?.size)===null||s===void 0?void 0:s.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r: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,marginTop:0}),dangerouslySetInnerHTML:{__html:he(t?.content,t?.textStyle)}})))},$a=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:n,setRtcList:s,setCacheRtcList:l,setCacheActiveIndex:r,setLoading:d,swiperRef:a,waterFallData:v,bffEventReport:u,selectTag:f,setSelectTag:m}=Ce(),{backMainFeed:h}=Ye(),S=o.useMemo(()=>[Bt,...t],[t]),w=k=>()=>{if(k===f)return;k!=="FOR U"?u?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${k}']`}}):h("theme",k,f);let p;k!==Bt&&(p=k),d?.(!0),n?.({themeTag:p}).then(T=>{var y,A,_,g;ct.emit(tt.CHANGE_THEME_TAG,p),s?.((y=T?.recList)!==null&&y!==void 0?y:[]),l?.((A=T?.recList)!==null&&A!==void 0?A:[]),e?.(0),r?.(0),(g=(_=a?.current)===null||_===void 0?void 0:_.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{d?.(!1)}),m?.(k)};return v||t.length<=0?null:o.createElement("div",{className:"clc-sxp-tagbar",style:i},o.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},S.map(k=>o.createElement("li",{className:`clc-sxp-tagbar-list-item ${k===f?"clc-sxp-tagbar-list-item-active":""}`,key:k,onClick:w(k)},k))))};var _n=o.memo($a);const Pn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:s,resolver:l,data:r=[],ctaType:d,tipText:a,nudge:v,_schema:u,hashTagStyle:f,tagList:m=[],licenseUrl:h})=>{var S,w,k,p,T,y,A,_,g;const M=nt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),P=nt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png"),{schema:x}=dt(),[c,E]=o.useState(0),b=o.useRef(0),[I,O]=o.useState(!0),D=o.useRef(),[F,U]=o.useState(!1),[R,B]=o.useState(!1),[N,j]=o.useState(new Date().getTime()),Z=o.useRef(!1),{loadVideos:te,bffEventReport:H,loading:V,setPopupDetailData:$,ctaEvent:se,swiperRef:pe,waterFallData:ie,setOpenHashtag:Q,appDomain:q,openHashtag:G,loadingImage:ee,isFromHashtag:ne,popupDetailData:ue,bffFbReport:ce,curTime:Te,h5EnterLink:ke,isShowConsent:Oe,selectTag:Pe,isPreview:re}=Ce(),{backMainFeed:ve}=Ye(),{productView:J}=Ye(),fe=o.useMemo(()=>r.length>0&&!V&&(Kn()||t?.enableSwiperTip),[r,V,t?.enableSwiperTip]);o.useEffect(()=>{Li()},[]),o.useEffect(()=>{if(r?.length>0){const C=new Date;D.current=C,ce?.({eventName:"PageView"})}},[r?.length]);const Le=o.useCallback(()=>{if(Li(),ke?.(),r.length>0){const C=new Date;D.current=C,ce?.({eventName:"PageView"})}},[r.length,ce,ke]);o.useEffect(()=>{var C;const X=r?.findIndex(K=>{var le,me,we,de,ge,Me,Be,Fe,je;const Ve=d?.[0];return Ve==="\u591A\u5546\u54C1CTA"?((le=K?.video)===null||le===void 0?void 0:le.bindProducts)&&((we=(me=K?.video)===null||me===void 0?void 0:me.bindProducts)===null||we===void 0?void 0:we.length)>0:Ve==="\u5546\u54C1CTA"?(de=K?.video)===null||de===void 0?void 0:de.bindProduct:((Me=(ge=K?.video)===null||ge===void 0?void 0:ge.bindCta)===null||Me===void 0?void 0:Me.itemId)===Ve&&(((Be=K?.video)===null||Be===void 0?void 0:Be.url)||((je=(Fe=K?.video)===null||Fe===void 0?void 0:Fe.imgUrls)===null||je===void 0?void 0:je.length))})||0;(C=pe?.current)===null||C===void 0||C.swiper.slideTo(X)},[d,pe]),o.useEffect(()=>{const C=r?.[c],X=()=>{var K,le,me,we,de,ge,Me,Be,Fe,je,Ve,Ge,We,Ie,Ne,et,ze,at,rt,gt;const bt=!G&&!Oe;if(document.visibilityState==="hidden"){bt&&(ct.emit(tt.PAGE_DID_HIDE,C),W(C),xe(C));let De="";ue&&(!((le=(K=C?.video)===null||K===void 0?void 0:K.bindProducts)===null||le===void 0)&&le.length||!((me=C?.video)===null||me===void 0)&&me.bindProduct)?De="pdpPage":ue&&((Me=s?.[(ge=(de=(we=C?.video)===null||we===void 0?void 0:we.bindCta)===null||de===void 0?void 0:de.itemId)!==null&&ge!==void 0?ge:""].item)===null||Me===void 0?void 0:Me.type)==="Appoint"?De="formPage":ne?De="hashTagPage":!((Be=C?.video)===null||Be===void 0)&&Be.url?De="videoPage":!((Fe=C?.video)===null||Fe===void 0)&&Fe.imgUrls&&(!((Ve=(je=C?.video)===null||je===void 0?void 0:je.imgUrls)===null||Ve===void 0)&&Ve.length)?De="imagePage":C?.product&&(De="productPage"),H?.({eventInfo:{sessionDuration:Math.floor((new Date-Te.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ge=C?.video)===null||Ge===void 0?void 0:Ge.itemId,productId:(We=C?.product)===null||We===void 0?void 0:We.itemId,position:c+"",fromKName:De,fromKPage:location?.href,ctatId:(et=(Ne=(Ie=C?.video)===null||Ie===void 0?void 0:Ie.bindCta)===null||Ne===void 0?void 0:Ne.itemId)!==null&&et!==void 0?et:"",traceInfo:(gt=(at=(ze=C?.video)===null||ze===void 0?void 0:ze.traceInfo)!==null&&at!==void 0?at:(rt=C?.product)===null||rt===void 0?void 0:rt.traceInfo)!==null&&gt!==void 0?gt:""}})}else document.visibilityState==="visible"&&(Z.current===!0&&(j(new Date().getTime()),Z.current=!1),Le(),bt&&(ae(c),ct.emit(tt.PAGE_DID_SHOW,C),ve("external",Pe)))};return document.addEventListener("visibilitychange",X),()=>{document.removeEventListener("visibilitychange",X)}},[c,H,r,Le,ue,ne,s,Te,ve,G,Oe,Pe]);const Se=o.useMemo(()=>{let C=0;return m.length>0&&(C+=45,ie&&(C-=45)),C},[m,ie]),Re=o.useMemo(()=>{let C=0;return t?.logoUrl&&t?.isShowLogo&&(C+=56),C},[]),z=o.useMemo(()=>i-Re-Se,[t,i,Se]),L=o.useMemo(()=>{var C,X;if(t?.logoUrl&&t?.isShowLogo){const K=(X=(C=t?.logoBar)===null||C===void 0?void 0:C.onClick)===null||X===void 0?void 0:X.value;return o.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},K&&{onClick:()=>new Function(K)()}),o.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t]),_e=o.useCallback((C,X)=>{var K,le,me,we;return!((K=C?.video)===null||K===void 0)&&K.url?o.createElement(Wa,{key:N,rec:C,index:X,muted:I,data:r,height:z,activeIndex:c,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon}):!((le=C?.video)===null||le===void 0)&&le.imgUrls?o.createElement(Ja,{key:C?.video.itemId,imgUrls:C?.video.imgUrls,width:n,height:z,rec:C,index:X,onReportViewImageEnd:W,onViewImageStartEvent:ae,imgUrlsPostConfig:t?.imgUrlsPost}):C.product&&Array.isArray(t?.productPost)&&((me=t?.productPost)===null||me===void 0?void 0:me.length)>0?(we=t?.productPost)===null||we===void 0?void 0:we.map((de,ge)=>{var Me,Be,Fe,je,Ve,Ge,We,Ie;const Ne=l[(Me=de?.item)===null||Me===void 0?void 0:Me.type],et=Xt(Ne),ze=(Be=Ne?.extend)===null||Be===void 0?void 0:Be.defaulSetting;return o.createElement(et,Object.assign({key:`${X}${ge}`,textStyle:Object.assign(Object.assign({},ze?.textStyle),(Fe=de?.item)===null||Fe===void 0?void 0:Fe.textStyle),bindDatas:(Ve=(je=de?.item)===null||je===void 0?void 0:je.bindDatas)!==null&&Ve!==void 0?Ve:[]},ze?.props,(Ge=de?.item)===null||Ge===void 0?void 0:Ge.props,{event:((We=de?.item)===null||We===void 0?void 0:We.event)||{},schema:x,id:de?.id,viewTime:D.current,rec:C,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},ze?.style),(Ie=de?.item)===null||Ie===void 0?void 0:Ie.style),{height:"100%",overflow:"auto"}),index:X}))}):null},[n,r,z,I,c,t?.productPost,t?.videoPlayIcon,D,a,l,x,N]),qe=o.useCallback(C=>{B(C)},[]),st=o.useMemo(()=>R?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[R]),pt=o.useCallback((C,X)=>{var K,le,me,we,de,ge,Me,Be;return C?.video?o.createElement(o.Fragment,null,((K=C?.video)===null||K===void 0?void 0:K.title)&&!R&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom",style:{paddingBottom:`${(le=t?.bottomInfoDist)!==null&&le!==void 0?le:40}px`}},o.createElement(kn,{nudge:v}),t?.isShowCTA===void 0||t?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(qt,{rec:C,index:X,tempMap:s,resolver:l})):null,o.createElement("div",null,o.createElement(Yt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(we=(me=C?.video)===null||me===void 0?void 0:me.title)!==null&&we!==void 0?we:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:qe}),o.createElement(qt,{rec:C,index:X,tempMap:s,resolver:l,includesCtaType:["AniLink"]}),o.createElement(In,{index:c,tags:(ge=(de=C?.video)===null||de===void 0?void 0:de.hashTags)!==null&&ge!==void 0?ge:[],itemId:(Me=C?.video)===null||Me===void 0?void 0:Me.itemId,itemType:!((Be=C?.video)===null||Be===void 0)&&Be.itemId?"VIDEO":null,rec:C,hashTagStyle:f}))),o.createElement(qt,{rec:C,index:X,tempMap:s,resolver:l,includesCtaType:["AniLinkPopup"],isActive:X===c})):null},[e,c,s,l,a,v,f,t,qe,R,st]),Qe=o.useCallback((C,X,K)=>{var le,me,we,de;if(!t?.isShowLike||!K)return;let ge=(le=t?.likeIconY)!==null&&le!==void 0?le:400;return ie&&ge<40&&(ge+=40),C?.video?o.createElement(En,{key:C.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:C.isCollected,recData:C,className:"clc-sxp-like-button",style:{position:t?.likeIconFixed?"fixed":"absolute",[(me=t.likeIconXPosit)!==null&&me!==void 0?me:"right"]:(we=t.likeIconX)!==null&&we!==void 0?we:0,[(de=t.likeIconYPosit)!==null&&de!==void 0?de:"bottom"]:ge},position:X}):null},[t,ie]),W=C=>{var X,K,le,me,we,de;if(!(!((X=C?.video)===null||X===void 0)&&X.url)&&(!((K=C?.video)===null||K===void 0)&&K.imgUrls)){const ge=Date.now(),Me=(ge-b.current)/1e3;H?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(me=(le=C?.video)===null||le===void 0?void 0:le.itemId)!==null&&me!==void 0?me:"",contentName:(we=C?.video.title)!==null&&we!==void 0?we:"",imageEndTime:`${ge}`,playDuration:`${Me}`,contentTags:JSON.stringify((de=C?.video.tags)!==null&&de!==void 0?de:[]),position:c+"",contentFormat:"image",traceInfo:C?.video.traceInfo}})}},Y=(C,X)=>{var K,le,me,we,de,ge,Me,Be,Fe,je,Ve,Ge,We,Ie,Ne,et,ze,at,rt;if(re||ie)return;const gt=new Date-Te.current;if(t?.openSlideSkip&&gt>=((K=t?.slideSkipStartTime)!==null&&K!==void 0?K:0)&&Zn()&&C){const bt=((we=(me=(le=C?.video)===null||le===void 0?void 0:le.bindProducts)===null||me===void 0?void 0:me[0])===null||we===void 0?void 0:we.link)||((ge=(de=C?.video)===null||de===void 0?void 0:de.bindProduct)===null||ge===void 0?void 0:ge.link)||((Me=C?.product)===null||Me===void 0?void 0:Me.link),De=C?.product||((Be=C?.video)===null||Be===void 0?void 0:Be.bindProduct)||((je=(Fe=C?.video)===null||Fe===void 0?void 0:Fe.bindProducts)===null||je===void 0?void 0:je[0]);bt&&(H?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(Ve=De?.itemId)!==null&&Ve!==void 0?Ve:"",productName:(Ge=De?.title)!==null&&Ge!==void 0?Ge:"",price:De?.price?De?.price+"":"0",productCollection:(We=De?.collection)!==null&&We!==void 0?We:"",contentTags:De?.tags?JSON.stringify(De?.tags):"",position:X+"",contentId:(Ne=(Ie=C?.video)===null||Ie===void 0?void 0:Ie.itemId)!==null&&Ne!==void 0?Ne:"",traceInfo:(rt=(ze=(et=C?.video)===null||et===void 0?void 0:et.traceInfo)!==null&&ze!==void 0?ze:(at=C?.product)===null||at===void 0?void 0:at.traceInfo)!==null&&rt!==void 0?rt:""}}),Qn(),Z.current=!0,window.location.href=window.getJointUtmLink(bt))}},be=C=>{var X,K,le,me,we,de,ge,Me,Be,Fe,je,Ve,Ge,We;D.current=new Date;const Ie=r[C.previousIndex];if(!Ie)return;C.previousIndex-C.activeIndex<0?(H?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(K=(X=Ie?.video)===null||X===void 0?void 0:X.itemId)!==null&&K!==void 0?K:"",productId:(me=(le=Ie?.product)===null||le===void 0?void 0:le.itemId)!==null&&me!==void 0?me:"",requestId:null,traceInfo:(de=(we=Ie?.video)===null||we===void 0?void 0:we.traceInfo)!==null&&de!==void 0?de:""}}),W(Ie),Y(Ie,C.previousIndex)):(H?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(Me=(ge=Ie?.video)===null||ge===void 0?void 0:ge.itemId)!==null&&Me!==void 0?Me:"",productId:(Fe=(Be=Ie.product)===null||Be===void 0?void 0:Be.itemId)!==null&&Fe!==void 0?Fe:"",requestId:null,traceInfo:(Ve=(je=Ie?.video)===null||je===void 0?void 0:je.traceInfo)!==null&&Ve!==void 0?Ve:""}}),W(Ie)),xe(Ie);const Ne=r[C.activeIndex];!(!((Ge=Ne?.video)===null||Ge===void 0)&&Ge.url)&&!(!((We=Ne?.video)===null||We===void 0)&&We.imgUrls)&&Ne?.product&&ce?.({eventName:"ProductView"})},xe=C=>{var X,K,le;!(!((X=C?.video)===null||X===void 0)&&X.url)&&!(!((K=C?.video)===null||K===void 0)&&K.imgUrls)&&C?.product&&J(C,C.product,(le=C?.product)===null||le===void 0?void 0:le.bindCta,D.current,c)};o.useEffect(()=>{const C=r[c];G&&xe(C)},[G,r,c]);const ae=C=>{var X,K,le,me,we,de;const ge=r[C];if(!(!((X=ge?.video)===null||X===void 0)&&X.url)&&(!((K=ge?.video)===null||K===void 0)&&K.imgUrls)){const Me=Date.now();b.current=Me,H?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(me=(le=ge?.video)===null||le===void 0?void 0:le.itemId)!==null&&me!==void 0?me:"",contentName:(we=ge?.video.title)!==null&&we!==void 0?we:"",imageStartTime:`${Me}`,contentTags:JSON.stringify((de=ge?.video.tags)!==null&&de!==void 0?de:[]),position:C+"",contentFormat:"image",traceInfo:ge?.video.traceInfo}}),ce?.({eventName:"ViewContent"})}},Ee=o.useMemo(()=>{var C;const X=c===0&&!ie?[(C=r?.[0])!==null&&C!==void 0?C:null]:r?.map((K,le)=>c===le||le-1===c||le+1===c?K:null);return ie?X:X.concat([{loading:!0}])},[r,c,ie]),Ae=o.useCallback(C=>{var X,K,le,me,we,de;if(C)return(t?.isShowMute===void 0||t?.isShowMute===!0)&&o.createElement(An,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((K=(X=Ee?.[c])===null||X===void 0?void 0:X.video)===null||K===void 0)&&K.url?"visible":"hidden",zIndex:999,[(le=t?.muteIconXPosit)!==null&&le!==void 0?le:"right"]:(me=t?.muteIconX)!==null&&me!==void 0?me:0,[(we=t?.muteIconYPosit)!==null&&we!==void 0?we:"bottom"]:(de=t?.muteIconY)!==null&&de!==void 0?de:23},defaultValue:I,activeIcon:t?.unMuteIcon?t?.unMuteIcon:M,unactiveIcon:t?.muteIcon?t?.muteIcon:P,onChange:O})},[t,Ee,c,I]),oe=o.useMemo(()=>V?o.createElement("div",{style:{height:z,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:ee,alt:"loading...",style:{objectFit:"contain"}})):Ee?.map((C,X)=>o.createElement(vt,{key:X,virtualIndex:X,style:{overflow:"hidden"}},C&&o.createElement(o.Fragment,null,C?.loading?o.createElement("div",{style:{height:z,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:ee,alt:"loading...",style:{objectFit:"contain"}})):o.createElement(o.Fragment,null,_e(C,X),pt(C,X),Qe(C,X,!t?.likeIconFixed),Ae(!t?.muteIconFixed))))),[n,r,z,V,pt,_e,Ee,ee,N,Ae]);return o.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},ie&&o.createElement(yn,{icon:Za,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},textStyle:Object.assign(Object.assign({},(T=(p=(k=(w=(S=t?.hashTag)===null||S===void 0?void 0:S[0])===null||w===void 0?void 0:w.item)===null||k===void 0?void 0:k.props)===null||p===void 0?void 0:p.textStyles)===null||T===void 0?void 0:T.hashTagTitle),{color:"#fff"}),onClose:()=>{Q?.(!0)}}),L,o.createElement(_n,{tagList:m,setActiveIndex:E,style:{top:Re}}),fe?o.createElement(Xa,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`},duration:t?.swiperTipAniDur}):null,o.createElement(Et,{style:{marginTop:Se},ref:pe,onSlideChange:()=>{pe.current.swiper.allowTouchMove=!1,setTimeout(()=>{pe.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:C=>{E(C.activeIndex),!G&&(be(C),!ie&&C?.activeIndex+2>=r?.length&&(F||(U(!0),te?.(Math.ceil(c/10)+1).then(()=>{U(!1)}))))},direction:"vertical",height:z},Qe(Ee[c],c,!!t?.likeIconFixed),Ae(!!t?.muteIconFixed),oe),o.createElement(Sn,Object.assign({},(g=(_=(A=t?.hashTag)===null||A===void 0?void 0:A[0])===null||_===void 0?void 0:_.item)===null||g===void 0?void 0:g.props)))},er=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:s,index:l})=>o.createElement(Et,{defaultValue:0,direction:"horizontal",modules:[Ht,Ut],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>o.createElement(vt,{key:r},o.createElement(Cn,{src:r,height:i,imgUrlsPostConfig:n}))));var tr=o.memo(er);const ir=({rec:t,index:e,height:i,data:n,muted:s,activeIndex:l,videoPostConfig:r,width:d})=>{const[a,v]=o.useState(!1),u=o.useRef(null),{bffEventReport:f,sxpParameter:m,waterFallData:h,openHashtag:S}=Ce(),w=o.useRef(0),[k,p]=o.useState(!1),[T,y]=o.useState(!0),A=o.useRef(null),[_,g]=o.useState("");o.useEffect(()=>{u.current&&(u.current.muted=s)},[s]);const M=o.useCallback(()=>{var B;(B=u.current)===null||B===void 0||B.play()},[]),P=nt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=o.useCallback(()=>{var B,N,j,Z,te,H,V,$,se,pe,ie,Q,q;v(!1);const G=n[e];if(G&&(!((B=u?.current)===null||B===void 0)&&B.duration)){w.current=((N=u?.current)===null||N===void 0?void 0:N.currentTime)||0;const ee=((Z=(j=u.current)===null||j===void 0?void 0:j.duration)!==null&&Z!==void 0?Z:0).toFixed(2),ne=((H=(te=u.current)===null||te===void 0?void 0:te.currentTime)!==null&&H!==void 0?H:0).toFixed(2),ue=T?"0":"1";f?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:($=(V=G?.video)===null||V===void 0?void 0:V.itemId)!==null&&$!==void 0?$:"",contentName:(pe=(se=G?.video)===null||se===void 0?void 0:se.title)!==null&&pe!==void 0?pe:"",playType:ue,startTime:ne,videoDuration:ee,contentTags:JSON.stringify((Q=(ie=G?.video)===null||ie===void 0?void 0:ie.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(q=G?.video)===null||q===void 0?void 0:q.traceInfo}}),y(!1)}},[f,n,e,T]),c=o.useCallback(()=>{p(!0)},[]),E=o.useCallback(B=>()=>{var N,j,Z,te,H;if(!k)return;const V=(N=u.current)===null||N===void 0?void 0:N.paused;switch(B){case"start":if(!V)return;(j=u.current)===null||j===void 0||j.play(),v(!1);break;case"pause":if(V)return;(Z=u.current)===null||Z===void 0||Z.pause(),v(!0);break;default:V?(te=u.current)===null||te===void 0||te.play():(H=u.current)===null||H===void 0||H.pause(),v(!V);break}},[k]),b=o.useCallback(()=>{var B,N,j,Z,te,H,V,$,se,pe,ie,Q,q;const G=n[e],ee=((N=(B=u.current)===null||B===void 0?void 0:B.duration)!==null&&N!==void 0?N:0).toFixed(2),ne=((Z=(j=u.current)===null||j===void 0?void 0:j.currentTime)!==null&&Z!==void 0?Z:0).toFixed(2);if(!((te=u?.current)===null||te===void 0)&&te.duration){const ue=(((H=u?.current)===null||H===void 0?void 0:H.currentTime)-w.current).toFixed(2);f?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:($=(V=G?.video)===null||V===void 0?void 0:V.itemId)!==null&&$!==void 0?$:"",contentName:(pe=(se=G?.video)===null||se===void 0?void 0:se.title)!==null&&pe!==void 0?pe:"",endTime:ne,videoDuration:ee,playDuration:ue,contentTags:JSON.stringify((Q=(ie=G?.video)===null||ie===void 0?void 0:ie.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(q=G?.video)===null||q===void 0?void 0:q.traceInfo}})}},[n,e,f]),I=o.useMemo(()=>r?.mode==="2",[r]),O=o.useMemo(()=>{var B;return r?.mode==="2"?`translateY(-${50+((B=r?.offsetTop)!==null&&B!==void 0?B:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),D=o.useMemo(()=>{var B;return((B=t?.video)===null||B===void 0?void 0:B.cover)||_},[_,t]),F=o.useCallback(()=>{if(!A||!u||!u.current||!A.current)return;const B=u?.current,N=A?.current,j=N.getContext("2d"),Z=window?.innerWidth,te=window?.innerHeight;N.height=te,N.width=Z,j?.drawImage(B,0,0,N.width,N.height),g(N.toDataURL())},[]);o.useEffect(()=>{var B,N,j,Z;if(u.current){if(v(!1),!u.current.src){const te=t?.video.url;if(te.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const H=new window.Hls;H.loadSource(te),H.attachMedia(u.current)}else u.current.canPlayType("application/vnd.apple.mpegurl"),u.current.src=te;else u.current.src=te;u.current.setAttribute("x5-playsinline","true"),u.current.setAttribute("webkit-playsinline","true")}return(B=u.current)===null||B===void 0||B.addEventListener("loadedmetadata",c),(N=u.current)===null||N===void 0||N.addEventListener("canplay",c),(j=u.current)===null||j===void 0||j.addEventListener("playing",x),(Z=u.current)===null||Z===void 0||Z.addEventListener("loadeddata",F),()=>{var te,H,V,$;(te=u.current)===null||te===void 0||te.removeEventListener("loadedmetadata",c),(H=u.current)===null||H===void 0||H.removeEventListener("canplay",c),(V=u.current)===null||V===void 0||V.removeEventListener("playing",x),($=u.current)===null||$===void 0||$.removeEventListener("loadeddata",F)}}},[c,x,t?.video,F]);const U=o.useMemo(()=>!m?.placeholder_image||k?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[k,m?.placeholder_image]);o.useEffect(()=>{const B=()=>{var N,j;l===e&&(!((N=t?.video)===null||N===void 0)&&N.url)&&(!((j=u?.current)===null||j===void 0)&&j.src)&&!a&&E("pause")()};return window.addEventListener("beforeunload",B),()=>{window.removeEventListener("beforeunload",B)}},[l,e,t,u,E,a]);const R=o.useMemo(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?o.createElement(o.Fragment,null,I?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:E(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},o.createElement($e,{src:D,style:Object.assign({height:i,width:d,objectFit:"cover"},R)}),o.createElement("canvas",{ref:A,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:d,height:i,top:"50%",transform:O,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:d,height:"100%"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:u,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:b,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),o.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:P,alt:"video pause image"}))),U):o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:E(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:u,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:b,onEnded:M}),U,o.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:P,alt:"video pause image"}))):null};var nr=o.memo(ir);const Ai={};Object.values(Ti).forEach(t=>{Ai[t.extend.type]=t});const or="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",lr="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sr=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:s,descStyle:l,hashTagStyle:r,containerHeight:d=664,containerWidth:a=375,appDomain:v,tagList:u=[]})=>{const f=o.useMemo(()=>{let g=0;return e?.logoUrl&&e?.isShowLogo&&(g+=45),u.length>0&&(g+=45),d-g},[e,d,u]),m=(g,M)=>{var P,x,c,E;if(!((P=g?.video)===null||P===void 0)&&P.url)return o.createElement(nr,{rec:g,index:M,muted:!0,width:a,data:t??[],height:f,activeIndex:M,videoPostConfig:e?.videoPost});if(!((x=g?.video)===null||x===void 0)&&x.imgUrls)return o.createElement(tr,{key:g?.video.itemId,imgUrls:g?.video.imgUrls,width:a,height:f,rec:g,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(g.product&&g.product&&Array.isArray(e?.productPost)&&((c=e?.productPost)===null||c===void 0?void 0:c.length)>0)return(E=e?.productPost)===null||E===void 0?void 0:E.map((b,I)=>{var O,D,F,U,R,B,N,j;const Z=Ai[(O=b?.item)===null||O===void 0?void 0:O.type],te=Xt(Z),H=(D=Z?.extend)===null||D===void 0?void 0:D.defaulSetting;return o.createElement(te,Object.assign({key:`${M}${I}`,textStyle:Object.assign(Object.assign({},H?.textStyle),(F=b?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(R=(U=b?.item)===null||U===void 0?void 0:U.bindDatas)!==null&&R!==void 0?R:[]},H?.props,(B=b?.item)===null||B===void 0?void 0:B.props,{event:((N=b?.item)===null||N===void 0?void 0:N.event)||{},id:b?.id,rec:g,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},H?.style),(j=b?.item)===null||j===void 0?void 0:j.style),{width:a,height:f,overflow:"auto"}),index:M}))})},h=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]),S=(g,M)=>e?.isShowCTA===void 0||e?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(qt,{rec:g,index:M,tempMap:s,resolver:Ai})):null,w=(g,M)=>{var P,x,c,E,b,I,O;return g?.video?o.createElement(o.Fragment,null,((P=g?.video)===null||P===void 0?void 0:P.title)&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(kn,{nudge:n}),S(g,M),o.createElement("div",null,o.createElement(Yt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(c=(x=g?.video)===null||x===void 0?void 0:x.title)!==null&&c!==void 0?c:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),o.createElement(In,{index:M,tags:(b=(E=g?.video)===null||E===void 0?void 0:E.hashTags)!==null&&b!==void 0?b:[],itemId:(I=g?.video)===null||I===void 0?void 0:I.itemId,itemType:!((O=g?.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:g,hashTagStyle:r}))):null},k=nt(lr,v),p=nt(or,v),T=(g,M)=>{var P,x,c,E;if(!e?.isShowLike)return;let b=(P=e?.likeIconY)!==null&&P!==void 0?P:400;return b<40&&(b+=40),g?.video?o.createElement(En,{key:g.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:k,unActicveIcon:(c=e?.unlikeIcon)!==null&&c!==void 0?c:p,position:M,active:g.isCollected,recData:g,className:"clc-sxp-like-button",style:{top:b,right:(E=e?.likeIconX)!==null&&E!==void 0?E:0}}):null},y=nt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",v),A=nt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",v),_=(g,M)=>{var P,x,c,E;return o.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},h,o.createElement(_n,{tagList:u}),o.createElement(An,{style:{position:"absolute",right:(P=e?.muteIconX)!==null&&P!==void 0?P:0,visibility:!((c=(x=t?.[M])===null||x===void 0?void 0:x.video)===null||c===void 0)&&c.url?"visible":"hidden",bottom:(E=e?.muteIconY)!==null&&E!==void 0?E:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:y,unactiveIcon:e?.muteIcon?e?.muteIcon:A}),m(g,M),w(g,M),T(g,M))};return o.createElement("div",{className:ye.css({width:"100%",height:d,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((g,M)=>_(g,M)))};var ar=o.memo(sr);const rr=()=>{const{schema:t,resolver:e,popup:i}=dt(),{setPopupDetailData:n,popupDetailData:s,popupCurTimeRef:l,checkCommodityIndexRef:r}=Ce(),{productView:d}=Ye(),[a,v]=o.useState();o.useEffect(()=>{const m=()=>{l.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),o.useEffect(()=>{i&&i?.id&&i?.id!==""&&(l.current=new Date,v(i))},[i]);const u=()=>{var m,h,S,w,k,p,T,y,A,_,g,M,P,x,c,E,b,I;if(!i||i?.id===""||!a||new Date-l.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;v(Object.assign(Object.assign({},i),{id:""}));const O=(w=(S=(h=t?.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||S===void 0?void 0:S.popupList)===null||w===void 0?void 0:w.find(D=>D?.id===i?.id);if(((k=O?.item)===null||k===void 0?void 0:k.type)==="CommodityDetail"||((p=O?.item)===null||p===void 0?void 0:p.type)==="CommodityDetailDiroNew"){const D=s;let F=(y=(T=D?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&y!==void 0?y:(_=(A=D?.video)===null||A===void 0?void 0:A.bindProducts)===null||_===void 0?void 0:_[0],U=(P=(M=(g=D?.video)===null||g===void 0?void 0:g.bindProduct)===null||M===void 0?void 0:M.bindCta)!==null&&P!==void 0?P:(E=(c=(x=D?.video)===null||x===void 0?void 0:x.bindProducts)===null||c===void 0?void 0:c[0])===null||E===void 0?void 0:E.bindCta;if(r?.current>=0){const R=(I=(b=D?.video)===null||b===void 0?void 0:b.bindProducts)===null||I===void 0?void 0:I[r?.current];R&&(F=R,U=R?.bindCta)}F&&U&&d(D,F,U,l.current,s?.index)}setTimeout(()=>{window?.sxpPopup(""),n?.(null),r.current=-1},i?.duration)},f=o.useMemo(()=>{var m,h,S;return(S=(h=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||h===void 0?void 0:h.popupList)===null||S===void 0?void 0:S.map((w,k)=>{var p,T,y,A,_,g,M,P,x,c,E,b,I,O;if(w?.id===i?.id){const D=e[(p=w?.item)===null||p===void 0?void 0:p.type],F=Xt(D),U=((A=(y=(T=w?.item)===null||T===void 0?void 0:T.event)===null||y===void 0?void 0:y.onClick)===null||A===void 0?void 0:A.linkType)==="externalLink",R=((M=(g=(_=w?.item)===null||_===void 0?void 0:_.event)===null||g===void 0?void 0:g.onClick)===null||M===void 0?void 0:M.linkType)==="popup",B=(P=D?.extend)===null||P===void 0?void 0:P.defaulSetting;return o.createElement(F,Object.assign({key:k,style:Object.assign(Object.assign(Object.assign({},B?.style),(x=w?.item)===null||x===void 0?void 0:x.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},B?.textStyle),(c=w?.item)===null||c===void 0?void 0:c.textStyle),bindDatas:(b=(E=w?.item)===null||E===void 0?void 0:E.bindDatas)!==null&&b!==void 0?b:[]},B?.props,(I=w?.item)===null||I===void 0?void 0:I.props,{event:((O=w?.item)===null||O===void 0?void 0:O.event)||{},schema:t,id:w?.id,isExternalLink:U,isPopup:R,onClose:u}))}else return o.createElement(o.Fragment,null)})},[t,i,e,u]);return o.createElement(kt,{popup:a,onClose:u,padding:0,modalStyle:{position:"fixed"}},f)},Ci={};Object.values(Ti).forEach(t=>{Ci[t.extend.type]=t});const dr=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:s,appDomain:l,licenseUrl:r,enabledMetaConversionApi:d})=>{var a,v,u,f,m,h,S,w,k,p,T;const y=o.useMemo(()=>{var A;return location?.search?(A=location?.search)===null||A===void 0?void 0:A.replace("?",""):""},[]);return o.createElement(Yi,{resolver:Ci,enableDataSource:!1,schema:t?.data,utmVal:y},o.createElement(Hi,{utmVal:y,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(v=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&v!==void 0?v:e,defaultSize:(f=(u=t?.sxp_parameter)===null||u===void 0?void 0:u.default_recommend)!==null&&f!==void 0?f:i,hashTagSize:(h=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&h!==void 0?h:n,loadingImage:s,appDomain:l,enabledMetaConversionApi:d,isShowTag:(k=(w=(S=t?.data)===null||S===void 0?void 0:S.sxpPageConf)===null||w===void 0?void 0:w.globalConfig)===null||k===void 0?void 0:k.isShowTag,globalConfig:(T=(p=t?.data)===null||p===void 0?void 0:p.sxpPageConf)===null||T===void 0?void 0:T.globalConfig,utmParameter:t?.utm_parameter,render:({rtcList:A,tagList:_})=>{var g;return o.createElement(o.Fragment,null,o.createElement(Pn,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{tagList:_,data:A,resolver:Ci,licenseUrl:r})),o.createElement(rr,null))}}))};var cr=o.memo(dr);const Dn=o.createContext({}),ur=({children:t,data:e})=>{var i,n,s,l,r,d,a,v,u,f,m,h,S;const[w,k]=o.useState(!1),[p,T]=o.useState(!1);return o.createElement(Dn.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:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.loading_image,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(v=e?.sxp_parameter)===null||v===void 0?void 0:v.privacy_necessity,privacyPolicyTitle:(u=e?.sxp_parameter)===null||u===void 0?void 0:u.privacy_policy_title,privacyPolicyUrl:(f=e?.sxp_parameter)===null||f===void 0?void 0:f.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(h=e?.sxp_parameter)===null||h===void 0?void 0:h.template,industry:(S=e?.sxp_parameter)===null||S===void 0?void 0:S.industry},appDomain:e?.appDomain,openHashtag:w,setOpenHashtag:k,openConsent:p,setOpenConsent:T,sxpFontLinks:e?.sxpFontLinks}},t)};function vr(){return o.useContext(Dn)}exports.DiyPortalPreview=ar,exports.EditorDataProvider=ur,exports.Modal=kt,exports.SxpDataSourceProvider=Hi,exports.SxpPageCore=cr,exports.SxpPageRender=Pn,exports.core=oo,exports.default=Yn,exports.materials=Ti,exports.useEditorDataProvider=vr;
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:V?.info})))},de=()=>{var F,Y;return n.createElement(n.Fragment,null,(B||R?.link)&&n.createElement("button",{"aria-label":(F=De?.enTitle)!==null&&F!==void 0?F:"Purchase on Website",onClick:Tt,className:"pb-commondity-btn",style:ue},n.createElement("span",{dangerouslySetInnerHTML:{__html:ge((Y=De?.enTitle)!==null&&Y!==void 0?Y:"Purchase on Website",ue)}})))},_e=n.useCallback(F=>F?.lineClamp?Object.assign(Object.assign({},F),{overflow:"hidden",WebkitLineClamp:F?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):F,[]),Ne=n.useCallback(F=>{Se.current=new Date,Oe(F),Pe.current=F,ye?.current&&(ye.current.swiper.slideTo(0),ye.current.swiper.autoplay.start())},[]),Fe=n.useCallback(()=>{var F,Y,ee;if(!G)return n.createElement(fo,{products:(F=z?.video)===null||F===void 0?void 0:F.bindProducts,data:X,defImg:(ee=(Y=se?.bottom_image)!==null&&Y!==void 0?Y:L)!==null&&ee!==void 0?ee:"",style:{padding:"0 19px"},onCLick:Ne,popupDetailData:ae,check:Me})},[Me]),je=n.useMemo(()=>{const F={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return F?.[K?.dotsAlign]},[K?.dotsAlign]),I=((C=(E=z?.video)===null||E===void 0?void 0:E.bindProduct)===null||C===void 0?void 0:C.remark)||((k=(O=(g=z?.video)===null||g===void 0?void 0:g.bindProducts)===null||O===void 0?void 0:O[0])===null||k===void 0?void 0:k.remark)||((S=z?.product)===null||S===void 0?void 0:S.remark);return n.createElement(n.Fragment,null,n.createElement("div",Object.assign({className:we.css(Object.assign({},M))},le),n.createElement("div",{style:{position:"relative"}},R&&((c=R?.homePage)===null||c===void 0?void 0:c.length)>0&&n.createElement(At,{height:he,modules:[Ut,Gt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:je},loop:!0,autoplay:{delay:K?.delay*1e3},ref:ye},n.createElement(n.Fragment,null,(A=R?.homePage)===null||A===void 0?void 0:A.map(F=>{var Y;return n.createElement(pt,{key:F},n.createElement("div",{style:{overflow:"hidden",width:W,height:he}},n.createElement(et,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${K?.translateY?K?.translateY+50:50}%`},src:(Y=F??se?.bottom_image)!==null&&Y!==void 0?Y:L})))}))),!(!((T=R?.homePage)===null||T===void 0)&&T.length)&&n.createElement("div",{className:we.css({height:he,width:W})},n.createElement("img",{className:we.css({objectFit:"cover",width:"100%",height:"100%"}),src:(_=se?.bottom_image)!==null&&_!==void 0?_:L,alt:"pdp image"})),I&&ne||!R&&ne&&n.createElement("div",{style:{padding:"5px 10px",display:"flex",alignItems:"center",position:"absolute",right:"10px",bottom:"10px",zIndex:1,background:"#fff",borderRadius:"3px"},onClick:()=>pe(!0)},n.createElement("img",{src:ne,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),n.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),Fe(),n.createElement("div",{className:"pb-commondity-content"},Ae({isPost:G}))),de(),n.createElement(_t,{visible:U,onClose:()=>fe(!1)},n.createElement("div",{style:{paddingBottom:"80px"}},Ae({isPost:!1})),de()),n.createElement(_t,{visible:Ee,padding:0,isFullScreen:!0,onClose:()=>pe(!1)},n.createElement("iframe",{src:I,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var Ql=n.memo(Zl),$l=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const ea=Ke(Ql,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:pn,interactionRender:$l},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},taxInfo:{color:"#000",fontSize:13,textAlign:"left",marginBottom:"10px"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var ta=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ia=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5185\u5BB9",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Group",label:"\u5185\u5BB9\u5B57\u4F53",child:[{type:"Select",name:["props","contentStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","contentStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","contentStyle","color"],initialValue:"#000"},{type:"Number",name:["props","contentStyle","fontSize"],addonAfter:"px",initialValue:14}]},{label:"\u5185\u5BB9\u5B57\u4F53\u95F4\u8DDD",type:"TextSpace",name:["props","contentStyle"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Select",name:["props","submitButtonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","submitButtonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{label:"\u63D0\u4EA4\u6309\u94AE\u95F4\u8DDD",type:"TextSpace",name:["props","submitButtonStyle"]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"],initialValue:"#000"}]}],ho="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBO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czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const oa=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:o,file:a,src:l}=t;switch(i){case 2:return o||null;case 3:return l||null;default:return a&&a.length>0?(e=a[0])===null||e===void 0?void 0:e.url:null}},na=t=>{var{content:e,btnText:i,style:o,icon:a,isPopup:l,isExternalLink:d,onClose:r,onClick:s,submitButtonStyle:v,contentStyle:u}=t,f=Ye(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:m}=Ie(),{jumpToWeb:h}=Je(),w=typeof a=="string"?a:oa(a),y=()=>{var P,p,x;if(d){const b=m,E=(P=b?.video)===null||P===void 0?void 0:P.bindProduct,C=(x=(p=b?.video)===null||p===void 0?void 0:p.bindProduct)===null||x===void 0?void 0:x.bindCta,g=m?.index;h(b,E,C,g)}l||r?.(),s?.()};return n.createElement("div",Object.assign({className:`pb-prompt ${we.css(Object.assign({},o))}`},f),n.createElement("div",{className:"pb-prompt-icon"},n.createElement("img",{width:"100%",src:w??ho,alt:"success image"})),n.createElement("div",{className:"pb-prompt-content",style:u,dangerouslySetInnerHTML:{__html:ge(e,u)}}),n.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:v,onClick:y,dangerouslySetInnerHTML:{__html:ge(i,v)}}))};var la=n.memo(na);const aa=Ke(la,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:ia,bindableProps:[],interactionRender:ta},defaulSetting:{props:{icon:ho,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var sa=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],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:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{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:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{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"]},{label:"\u95F4\u8DDD",type:"TextSpace"},{label:"\u4EF7\u683C\u5343\u5206\u7B26\u5C55\u793A",type:"Switch",name:["enableFormattedPrice"],initialValue:!0}]}]},{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:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","buttonStyle"]}]},{title:"Iframe\u5546\u54C1\u5F39\u7A97",child:[{label:"\u5F39\u7A97\u6309\u94AE",type:"Upload",name:["props","iframeIcon"],text:"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A106 * 41"}]}];const da=t=>{var e,i,o,a,l,d,r,s,v,u,f,m,h,w,y,P,p,x,b,E,C,g,O,k,S,c,A,T,_,D,M,j,H,{style:N,isDefault:B,rec:L,viewTime:Z,isPost:G,bottom_image:ie,tipText:J,swiper:K,commodityStyles:V,buttonStyle:ue,index:ve,commodityGroup:X,popupBg:Q,iframeIcon:ne,commodityImgRatio:te}=t,le=Ye(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);n.useState(!0);const{sxpParameter:se,popupCurTimeRef:ae,popupDetailData:oe,isPreview:be,bffFbReport:Se,checkCommodityIndexRef:Pe}=Ie(),{jumpToWeb:Te,productView:Be}=Je();n.useState(!1),n.useState(!1),n.useState(!0);const[Re,U]=n.useState(!1),fe=n.useRef(null),[Ee,pe]=n.useState(!1),[Me,Oe]=n.useState((e=oe?.multiCheckIndex)!==null&&e!==void 0?e:0),ye=n.useRef(),z=G?L:oe;let R=G?z?.product:(o=(i=z?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&o!==void 0?o:(l=(a=z?.video)===null||a===void 0?void 0:a.bindProducts)===null||l===void 0?void 0:l[0],De=G?(d=z?.product)===null||d===void 0?void 0:d.bindCta:(v=(s=(r=z?.video)===null||r===void 0?void 0:r.bindProduct)===null||s===void 0?void 0:s.bindCta)!==null&&v!==void 0?v:(m=(f=(u=z?.video)===null||u===void 0?void 0:u.bindProducts)===null||f===void 0?void 0:f[0])===null||m===void 0?void 0:m.bindCta;const nt=G?ve:oe?.index;if(!G&&X?.open&&(!((h=z?.video)===null||h===void 0)&&h.bindProducts)&&((y=(w=z?.video)===null||w===void 0?void 0:w.bindProducts)===null||y===void 0?void 0:y.length)>0){Pe.current=Me;const I=(P=z?.video)===null||P===void 0?void 0:P.bindProducts[Me];R=I,De=I?.bindCta}const Tt=()=>{R?.link&&(Te(z,R,De,nt),G||Be(z,R,De,Z||fe.current,nt),window.location.href=window.getJointUtmLink(R.link))};n.useEffect(()=>{G||Se?.({eventName:"ProductView"})},[G,Se]),n.useEffect(()=>{const I=()=>{fe.current=new Date};return I(),window.addEventListener("pageshow",I),()=>{window.removeEventListener("pageshow",I)}},[]);const q=n.useMemo(()=>{var I,F,Y,ee,ce,me,$;const re=((I=V?.price)===null||I===void 0?void 0:I.enableFormattedPrice)===void 0||((F=V?.price)===null||F===void 0?void 0:F.enableFormattedPrice);return R?.currency&&R?.price?`${(ce=(ee=(Y=R?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||ee===void 0?void 0:ee.toUpperCase())!==null&&ce!==void 0?ce:""}${re?($=(me=R?.price)===null||me===void 0?void 0:me.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&$!==void 0?$:"":R?.price}`:"\xA3102,300.00"},[R?.price,R?.currency,(p=V?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),W=(be?375:(x=N?.width)!==null&&x!==void 0?x:window.innerWidth)-((b=Q?.horizontalMargin)!==null&&b!==void 0?b:0)*2,he=te?W*(te.h/te.w):W,Ae=({isPost:I})=>n.createElement("div",{hidden:!!R&&(!R?.info||R?.info==="")},n.createElement(Xt,{isPost:I,onClick:()=>U(!0),className:"pb-commondityDiroNew-info",style:V?.info,foldText:J?.foldText,unfoldText:J?.unfoldText,text:R?.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`})),de=n.useCallback(I=>I?.lineClamp?Object.assign(Object.assign({},I),{overflow:"hidden",WebkitLineClamp:I?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):I,[]),_e=n.useCallback(I=>{ae.current=new Date,Oe(I),Pe.current=I,ye?.current&&(ye.current.swiper.slideTo(0),ye.current.swiper.autoplay.start())},[]),Ne=n.useCallback(()=>{var I,F,Y;if(!G)return n.createElement(fo,{products:(I=z?.video)===null||I===void 0?void 0:I.bindProducts,data:X,defImg:(Y=(F=se?.bottom_image)!==null&&F!==void 0?F:ie)!==null&&Y!==void 0?Y:"",style:{padding:"0 19px"},onCLick:_e,popupDetailData:oe,check:Me})},[Me]),Fe=n.useMemo(()=>{const I={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return I?.[K?.dotsAlign]},[K?.dotsAlign]),je=((C=(E=z?.video)===null||E===void 0?void 0:E.bindProduct)===null||C===void 0?void 0:C.remark)||((k=(O=(g=z?.video)===null||g===void 0?void 0:g.bindProducts)===null||O===void 0?void 0:O[0])===null||k===void 0?void 0:k.remark)||((S=z?.product)===null||S===void 0?void 0:S.remark);return n.createElement("div",{className:"pb-commondityDiroNew"},n.createElement("div",Object.assign({className:we.css(Object.assign(Object.assign({},N),{transform:"translate3d(0px, 0px, 0px)"}))},le),n.createElement("div",{style:{position:"relative"}},R&&((c=R?.homePage)===null||c===void 0?void 0:c.length)>0&&n.createElement(At,{height:he,modules:[Ut,Gt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:Fe},loop:!0,autoplay:{delay:K?.delay*1e3},ref:ye},(A=R?.homePage)===null||A===void 0?void 0:A.map(I=>{var F;return n.createElement(pt,{key:I},n.createElement("div",{style:{overflow:"hidden",width:W,height:he}},n.createElement(et,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${K?.translateY?K?.translateY+50:50}%`},src:(F=I??se?.bottom_image)!==null&&F!==void 0?F:ie})))})),!(!((T=R?.homePage)===null||T===void 0)&&T.length)&&n.createElement("div",{className:we.css({height:he,width:W})},n.createElement("img",{className:we.css({objectFit:"cover",width:"100%",height:"100%"}),src:(_=se?.bottom_image)!==null&&_!==void 0?_:ie,alt:"pdp image"})),je&&ne||!R&&ne&&n.createElement("div",{style:{padding:"5px 10px",display:"flex",alignItems:"center",position:"absolute",right:"10px",bottom:"10px",zIndex:1,background:"#fff",borderRadius:"3px"},onClick:()=>pe(!0)},n.createElement("img",{src:ne,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),n.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),Ne(),n.createElement("div",{className:"pb-commondityDiroNew-content"},n.createElement("div",{className:"pb-commondityDiroNew-content-top"},n.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},n.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:de(V?.title),dangerouslySetInnerHTML:{__html:ge((D=R?.title)!==null&&D!==void 0?D:"Large Dior Toujours BagLarge",V?.title)}}),n.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!R&&(!R?.collection||R?.collection===""),style:de(V?.collection),dangerouslySetInnerHTML:{__html:ge(R?.collection||"Black Macrocannage CalfskinLarge",V?.collection)}})),n.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},n.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!R&&!R?.price,style:de(V?.price),dangerouslySetInnerHTML:{__html:ge(q,V?.price)}}),n.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!R&&!R?.taxInfo,style:de(V?.taxInfo),dangerouslySetInnerHTML:{__html:ge((M=R?.taxInfo)!==null&&M!==void 0?M:"\u7A0E\u8D39",V?.taxInfo)}}))),(!R||R?.link)&&n.createElement("button",{"aria-label":(j=De?.enTitle)!==null&&j!==void 0?j:"Shop now",onClick:Tt,className:"pb-commondityDiroNew-btn",style:ue},n.createElement("span",{dangerouslySetInnerHTML:{__html:ge((H=De?.enTitle)!==null&&H!==void 0?H:"Shop now",ue)}})),Ae({isPost:G}))),n.createElement(_t,{visible:Re,onClose:()=>U(!1)},Ae({isPost:!1})),n.createElement(_t,{visible:Ee,padding:0,isFullScreen:!0,onClose:()=>pe(!1)},n.createElement("iframe",{src:je,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var ra=n.memo(da),ca=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const ua=Ke(ra,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:sa,interactionRender:ca},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},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var va=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","commodityPicture","width"],addonAfter:"W"},{type:"Number",name:["props","commodityPicture","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","commodityPicture","borderRadius"],max:100},{type:"Number",name:["props","commodityPicture","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","commodityPicture","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","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"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u95F4\u8DDD",type:"TextSpace"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"]},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","width"],addonAfter:"W"},{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:"TextSpace",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"]},{type:"Number",addonAfter:"px",name:["props","buttonStyle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","buttonStyle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","buttonStyle"]}]}];function go(t){const e=n.useRef(null),[i,o]=n.useState(!1);return n.useEffect(()=>{e.current=new IntersectionObserver(([a])=>{o(a.isIntersecting)})},[]),n.useEffect(()=>{var a;return t?.current&&((a=e?.current)===null||a===void 0||a.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const pa=({src:t,rec:e,item:i,index:o,style:a,translateY:l,imgStyle:d,enableEventReport:r=!0})=>{const s=n.useRef(null),v=go(s),{ctaEvent:u}=Ie();return n.useEffect(()=>{v&&t&&s?.current&&r&&u?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,o)},[v,t,s,e,u,i,o,r]),n.useMemo(()=>t?.includes(".avif")?t:`${t}?imrquality/rquality/20`,[t]),n.createElement("div",{className:we.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d))},n.createElement("div",{ref:s,hidden:!t,className:we.css({width:"100%",height:"100%"})},n.createElement(et,{className:we.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?l+50:50}%`},a)),src:t})))};var ht=n.memo(pa);const ma=t=>{var e,i,{style:o,isDefault:a,rec:l,viewTime:d,isPost:r,bottom_image:s,commodityStyles:v,buttonStyle:u,translateY:f=0,commodityPicture:m,isExternalLink:h,onClick:w}=t,y=Ye(t,["style","isDefault","rec","viewTime","isPost","bottom_image","commodityStyles","buttonStyle","translateY","commodityPicture","isExternalLink","onClick"]);const{sxpParameter:P,popupDetailData:p,setPopupDetailData:x,ctaEvent:b}=Ie(),{jumpToWeb:E}=Je(),{popup:C}=ct(),g=r?l:p,O=(i=(e=g?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[null,null,null,null],k=p?.index,S=n.useCallback(A=>{var T,_,D,M,j;return A?.currency&&A?.price?`${(D=(_=(T=A?.currency)===null||T===void 0?void 0:T.split("-")[1])===null||_===void 0?void 0:_.toUpperCase())!==null&&D!==void 0?D:""}${(j=(M=A?.price)===null||M===void 0?void 0:M.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&j!==void 0?j:""}`:"$7,000"},[]),c=We.throttle((A,T)=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},g,A,k),x?.(Object.assign(Object.assign({},g),{video:Object.assign(Object.assign({},g?.video),{bindProduct:A}),index:k,multiCheckIndex:T})),h?A?.link&&(E(g,A,A.bindCta,k),window.location.href=window.getJointUtmLink(A.link)):w?.()},C?.duration);return n.createElement("div",{className:we.css(Object.assign(Object.assign({},o),{display:"flex",flexDirection:"column",gap:"10px",padding:"0 20px",marginTop:"50px",boxSizing:"border-box"}))},O?.map((A,T)=>{var _,D,M,j,H,N,B,L,Z,G;return n.createElement(n.Fragment,null,g&&!A?.bindCta?null:n.createElement("div",Object.assign({key:T},y,{className:we.css({display:"flex"}),onClick:()=>c(A,T)}),n.createElement(ht,{src:(j=(M=(_=A?.cover)!==null&&_!==void 0?_:(D=A?.homePage)===null||D===void 0?void 0:D[0])!==null&&M!==void 0?M:P?.bottom_image)!==null&&j!==void 0?j:s,rec:g,item:A,index:T,translateY:f,imgStyle:m,enableEventReport:!1}),n.createElement("div",{style:{width:`calc(100% - ${(H=m?.width)!==null&&H!==void 0?H:0}px - ${(N=m?.marginRight)!==null&&N!==void 0?N:0}px)`,display:"flex",flexDirection:"column",justifyContent:"space-between"}},n.createElement("div",null,n.createElement("div",{className:"one-line-ellipsis",style:v?.title,hidden:!!A&&!A?.title,dangerouslySetInnerHTML:{__html:ge((B=A?.title)!==null&&B!==void 0?B:"Pendant in Yellow Gold with Diamonds, Medium",v?.title)}}),n.createElement("div",{className:"two-line-ellipsis",style:v?.collection,hidden:!!A&&(!A?.collection||A?.collection===""),dangerouslySetInnerHTML:{__html:ge((L=A?.collection)!==null&&L!==void 0?L:"Tiffany Lock",v?.collection)}})),n.createElement("div",{className:we.css({display:"flex",alignItems:"flex-end",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",null,n.createElement("div",{style:v?.price,hidden:!!A&&!A?.price,dangerouslySetInnerHTML:{__html:ge(S(A),v?.price)}})),n.createElement("div",{className:"one-line-ellipsis",style:Object.assign(Object.assign({},u),{padding:"0 15px"}),dangerouslySetInnerHTML:{__html:ge((G=(Z=A?.bindCta)===null||Z===void 0?void 0:Z.enTitle)!==null&&G!==void 0?G:"Shop Now",u)}})))))}))};var fa=n.memo(ma),ha=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ga=Ke(fa,{displayName:"\u5546\u54C1\u5217\u8868",icon:"",category:"popup",type:"CommodityList",related:{settingRender:va,interactionRender:ha},defaulSetting:{props:{commodityPicture:{width:100,height:100,marginRight:10},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:14},title:{color:"#000",fontSize:14},collection:{color:"#757575",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:30,width:100,textAlign:"center",color:"#fff",lineHeight:2.5}},style:{}},w:100,h:40,sort:1});var ba=[{title:"\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]}]}];const ya=t=>{var e,i,{content:o,btnText:a,style:l,icon:d,isPopup:r,isExternalLink:s,onClose:v,onClick:u,submitButtonStyle:f,contentStyle:m}=t,h=Ye(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:w}=Ie(),y=(i=(e=w?.video)===null||e===void 0?void 0:e.bindCta)===null||i===void 0?void 0:i.remark;return n.createElement("div",Object.assign({className:`${we.css(Object.assign({},l))}`},h),y&&n.createElement("iframe",{src:y,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}}))};var wa=n.memo(ya);const Sa=Ke(wa,{displayName:"Iframe\u5F39\u7A97",icon:"",category:"popup",type:"Iframe",related:{settingRender:ba,bindableProps:[]},defaulSetting:{props:{},style:{}},w:100,h:40,sort:3});var st=[{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:"Select",name:["props","ctaTempStyles","title","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","title","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{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:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{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"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]}]}],xa=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ta=t=>{var{rec:e,children:i,className:o,onClick:a,style:l,isExternalLink:d=!1,index:r,jumpLink:s}=t;Ye(t,["rec","children","className","onClick","style","isExternalLink","index","jumpLink"]);const v=n.useRef(null),{popup:u}=ct(),{setPopupDetailData:f,ctaEvent:m}=Ie(),{jumpToWeb:h}=Je(),w=We.throttle(()=>{var y,P,p,x,b,E,C,g;const O=(P=(y=e?.video)===null||y===void 0?void 0:y.bindProduct)!==null&&P!==void 0?P:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,r),f?.(Object.assign(Object.assign({},e),{index:r})),d){if(s||!((x=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||x===void 0)&&x.link){const k=(b=e?.video)===null||b===void 0?void 0:b.bindCta,S=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;h(e,S,k,r),window.location.href=window.getJointUtmLink(s||((g=(C=e?.video)===null||C===void 0?void 0:C.bindProduct)===null||g===void 0?void 0:g.link)||"")}}else a?.()},u?.duration);return n.createElement("div",{ref:v,className:o,style:l,onClick:w},i)};var Rt=n.memo(Ta),Ea={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Aa=t=>{var e,i,o,a,l,d,r,s,v,u,f,{content:m,style:h,bgImg:w,recData:y,bottom_image:P,ctaTempStyles:p,isExternalLink:x,translateY:b=0,index:E}=t,C=Ye(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=Ie(),O=(e=y?.video)===null||e===void 0?void 0:e.bindProduct,k=(l=(a=(i=O?.cover)!==null&&i!==void 0?i:(o=O?.homePage)===null||o===void 0?void 0:o[0])!==null&&a!==void 0?a:g?.bottom_image)!==null&&l!==void 0?l:P;return n.createElement(Rt,Object.assign({isExternalLink:x,rec:y,className:we.css(Object.assign({},h)),style:{display:"flex"},index:E},C),n.createElement(ht,{src:k,rec:y,item:(r=(d=y?.video)===null||d===void 0?void 0:d.bindProduct)!==null&&r!==void 0?r:y?.video,index:E,translateY:b,imgStyle:p?.img}),n.createElement("div",{className:we.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",{className:Ea["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:ge((s=O?.title)!==null&&s!==void 0?s:"Product Name",p?.title)}}),n.createElement("div",{className:we.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((v=p?.ctaTitle)===null||v===void 0?void 0:v.height)+"px"},p?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((f=(u=O?.bindCta)===null||u===void 0?void 0:u.enTitle)!==null&&f!==void 0?f:"Shop Now",p?.ctaTitle)}})))};var Ia=n.memo(Aa);const Ca=Ke(Ia,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:xa,bindableProps:[],settingRender:st},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 ka=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const _a=t=>{var e,i,o,a,l,d,{content:r,style:s,bgImg:v,recData:u,bottom_image:f,ctaTempStyles:m,isExternalLink:h,index:w}=t,y=Ye(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:P}=Ie(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,x=(o=(i=p?.icon)!==null&&i!==void 0?i:P?.bottom_image)!==null&&o!==void 0?o:f;return n.createElement(Rt,Object.assign({isExternalLink:h,rec:u,className:we.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"},index:w},y),n.createElement(ht,{src:x,rec:u,item:(l=(a=u?.video)===null||a===void 0?void 0:a.bindProduct)!==null&&l!==void 0?l:u?.video,index:w,imgStyle:m?.img}),n.createElement("div",{className:we.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},m?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((d=p?.enTitle)!==null&&d!==void 0?d:"Product Name",m?.ctaTitle)}}))};var Pa=n.memo(_a);const Da=Ke(Pa,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ka,settingRender:st?.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 Ma=[{title:"\u81EA\u5B9A\u4E49\u6807\u9898",child:[{type:"Switch",label:"\u81EA\u5B9A\u4E49\u6807\u9898\u5F00\u5173",name:["props","customTitle","display"]},{type:"Text",label:"\u6807\u9898\u6587\u6848",name:["props","customTitle","text"]},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","customTitle","style","width"],addonAfter:"W"},{type:"Number",name:["props","customTitle","style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","customTitle","style","borderRadius"],max:100},{type:"Number",name:["props","customTitle","style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","customTitle","style","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","customTitle","style","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","customTitle","style","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","customTitle","style","color"]},{type:"Number",addonAfter:"px",name:["props","customTitle","style","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","customTitle","style"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","customTitle","style"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","customTitle","style"]},{label:"\u4E0A\u8FB9\u8DDD",type:"Number",name:["props","customTitle","style","marginTop"],addonAfter:"px"}]}],bo={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};const Oa=t=>{var e,i,o,a,l,d,r,s,v,{content:u,style:f,bgImg:m,recData:h,bottom_image:w,ctaTempStyles:y,index:P,customTitle:p}=t,x=Ye(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index","customTitle"]);const{sxpParameter:b,bffEventReport:E}=Ie();Je();const C=(e=h?.video)===null||e===void 0?void 0:e.bindCta;(i=h?.video)===null||i===void 0||i.bindProduct;const g=(a=(o=C?.icon)!==null&&o!==void 0?o:b?.bottom_image)!==null&&a!==void 0?a:w;return n.createElement(Rt,Object.assign({index:P,rec:h,className:we.css(Object.assign({alignItems:"center"},f)),style:{display:"flex"}},x,{jumpLink:(l=C?.link)!==null&&l!==void 0?l:""}),n.createElement(ht,{src:g,rec:h,item:(r=(d=h?.video)===null||d===void 0?void 0:d.bindProduct)!==null&&r!==void 0?r:h?.video,index:P,imgStyle:y?.img}),n.createElement("div",{className:we.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},n.createElement("div",null,n.createElement("div",{className:bo["tow-line-ellipsis"],style:y?.ctaTitle,dangerouslySetInnerHTML:{__html:ge((s=C?.enTitle)!==null&&s!==void 0?s:"Product Name",y?.ctaTitle)}}),p?.display&&n.createElement("div",{style:Object.assign(Object.assign({},p?.style),{lineHeight:((v=p?.style)===null||v===void 0?void 0:v.height)+"px"}),className:bo["one-line-ellipsis"],dangerouslySetInnerHTML:{__html:ge(p?.text,p?.style)}}))))};var Ra=n.memo(Oa),La=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],xi;const Ba=Ke(Ra,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:(xi=st?.filter(t=>t.type!=="commodityTitle"))===null||xi===void 0?void 0:xi.concat(Ma),bindableProps:[],interactionRender:La},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}},customTitle:{style:{textAlign:"left",textDecoration:"underline",fontWeight:"bold",width:130,height:20,fontSize:12,color:"#000"},text:"\u63A2\u7D22\u66F4\u591A"}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Na=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fa={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const ja=t=>{var e,i,o,a,l,d,r,s,v,u,f,{content:m,style:h,bgImg:w,recData:y,bottom_image:P,ctaTempStyles:p,isExternalLink:x,translateY:b=0,index:E}=t,C=Ye(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=Ie(),O=(e=y?.video)===null||e===void 0?void 0:e.bindProduct,k=(l=(a=(i=O?.cover)!==null&&i!==void 0?i:(o=O?.homePage)===null||o===void 0?void 0:o[0])!==null&&a!==void 0?a:g?.bottom_image)!==null&&l!==void 0?l:P;return n.createElement(Rt,Object.assign({isExternalLink:x,rec:y,className:we.css(Object.assign({},h)),style:{display:"flex"},index:E},C),n.createElement(ht,{src:k,rec:y,item:(r=(d=y?.video)===null||d===void 0?void 0:d.bindProduct)!==null&&r!==void 0?r:y?.video,index:E,translateY:b,imgStyle:p?.img}),n.createElement("div",{className:we.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",{className:Fa["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:ge((s=O?.title)!==null&&s!==void 0?s:"Product Name",p?.title)}}),n.createElement("div",{className:we.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((v=p?.ctaTitle)===null||v===void 0?void 0:v.height)+"px"},p?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((f=(u=O?.bindCta)===null||u===void 0?void 0:u.enTitle)!==null&&f!==void 0?f:"Shop Now",p?.ctaTitle)}})))};var Va=n.memo(ja);const za=Ke(Va,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Na,settingRender:st,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 Ha=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ua={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Ga=t=>{var e,i,o,a,l,d,r,s,v,u,{content:f,style:m,bgImg:h,recData:w,bottom_image:y,ctaTempStyles:P,isExternalLink:p,translateY:x=0,index:b}=t,E=Ye(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:C}=Ie(),g=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,O=(l=(a=(i=g?.cover)!==null&&i!==void 0?i:(o=g?.homePage)===null||o===void 0?void 0:o[0])!==null&&a!==void 0?a:C?.bottom_image)!==null&&l!==void 0?l:y;return n.createElement(Rt,Object.assign({isExternalLink:p,rec:w,className:we.css(Object.assign({},m)),style:{display:"flex"},index:b},E),n.createElement(ht,{src:O,rec:w,item:(r=(d=w?.video)===null||d===void 0?void 0:d.bindProduct)!==null&&r!==void 0?r:w?.video,index:b,translateY:x,imgStyle:P?.img}),n.createElement("div",{className:we.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},n.createElement("div",{className:Ua["tow-line-ellipsis"],style:P?.title,dangerouslySetInnerHTML:{__html:ge((s=g?.title)!==null&&s!==void 0?s:"Product Name",P?.title)}}),n.createElement("div",{className:we.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},P?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((u=(v=g?.bindCta)===null||v===void 0?void 0:v.enTitle)!==null&&u!==void 0?u:"Shop Now",P?.ctaTitle)}})))};var Wa=n.memo(Ga);const Ya=Ke(Wa,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Ha,bindableProps:[],settingRender:st},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 Xa=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],qa={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ja=t=>{var e,i,{content:o,style:a,bgImg:l,recData:d,onClick:r,bottom_image:s,ctaTempStyles:v,isExternalLink:u,index:f,translateY:m=0}=t,h=Ye(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:w,setPopupDetailData:y,sxpParameter:P}=Ie(),{popup:p}=ct(),{jumpToWeb:x}=Je(),[b,E]=n.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=We.throttle((g,O)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,g,f),y?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:g}),index:f,multiCheckIndex:O})),u?g?.link&&(x(d,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):r?.()},p?.duration);return n.createElement(Ot,{isPadding:!!d},b?.map((g,O)=>{var k,S,c,A,T,_,D,M;return n.createElement(n.Fragment,null,d&&!g?.bindCta?null:n.createElement(pt,Object.assign({key:O,className:we.css(Object.assign(Object.assign({},a),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>C(g,O)}),n.createElement(ht,{src:(A=(c=(k=g?.cover)!==null&&k!==void 0?k:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&c!==void 0?c:P?.bottom_image)!==null&&A!==void 0?A:s,rec:d,item:g,index:O,translateY:m,imgStyle:v?.img}),n.createElement("div",{className:we.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",{className:qa["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:ge((T=g?.title)!==null&&T!==void 0?T:"Product Name",v?.title)}}),n.createElement("div",{className:we.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((_=v?.ctaTitle)===null||_===void 0?void 0:_.height)+"px"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((M=(D=g?.bindCta)===null||D===void 0?void 0:D.enTitle)!==null&&M!==void 0?M:"Shop Now",v?.ctaTitle)}}))))}))};var Ka=n.memo(Ja);const Za=Ke(Ka,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Xa,bindableProps:[],settingRender:st},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 Qa=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],$a={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const es=t=>{var e,i,{content:o,style:a,bgImg:l,recData:d,onClick:r,bottom_image:s,ctaTempStyles:v,isExternalLink:u,index:f,translateY:m=0}=t,h=Ye(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:w}=Ie(),{ctaEvent:y,setPopupDetailData:P}=Ie(),{popup:p}=ct(),[x,b]=n.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Je(),C=We.throttle((g,O)=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,g,f),P?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:g}),index:f,multiCheckIndex:O})),u?g?.link&&(E(d,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):r?.()},p?.duration);return n.createElement(Ot,{isPadding:!!d},x?.map((g,O)=>{var k,S,c,A,T,_,D,M;return n.createElement(n.Fragment,null,d&&!g?.bindCta?null:n.createElement(pt,Object.assign({key:O,className:we.css(Object.assign(Object.assign({},a),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>C(g,O)}),n.createElement(ht,{src:(A=(c=(k=g?.cover)!==null&&k!==void 0?k:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&c!==void 0?c:w?.bottom_image)!==null&&A!==void 0?A:s,rec:d,item:g,index:O,translateY:m,imgStyle:v?.img}),n.createElement("div",{className:we.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",{className:$a["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:ge((T=g?.title)!==null&&T!==void 0?T:"Product Name",v?.title)}}),n.createElement("div",{className:we.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((_=v?.ctaTitle)===null||_===void 0?void 0:_.height)+"px"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((M=(D=g?.bindCta)===null||D===void 0?void 0:D.enTitle)!==null&&M!==void 0?M:"Shop Now",v?.ctaTitle)}}))))}))};var ts=n.memo(es);const is=Ke(ts,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Qa,settingRender:st,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"}]}],ns={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const ls=t=>{var e,i,{content:o,style:a,bgImg:l,recData:d,onClick:r,bottom_image:s,ctaTempStyles:v,isExternalLink:u,index:f,translateY:m=0}=t,h=Ye(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:w,setPopupDetailData:y,sxpParameter:P}=Ie(),{popup:p}=ct(),{jumpToWeb:x}=Je(),[b,E]=n.useState((i=(e=d?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=We.throttle((g,O)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},d,g,f),y?.(Object.assign(Object.assign({},d),{video:Object.assign(Object.assign({},d?.video),{bindProduct:g}),index:f,multiCheckIndex:O})),u?g?.link&&(x(d,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):r?.()},p?.duration);return n.createElement(Ot,{isPadding:!!d},b?.map((g,O)=>{var k,S,c,A,T,_,D;return n.createElement(n.Fragment,null,d&&!g?.bindCta?null:n.createElement(pt,Object.assign({key:O,className:we.css(Object.assign(Object.assign({},a),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>C(g,O)}),n.createElement(ht,{src:(A=(c=(k=g?.cover)!==null&&k!==void 0?k:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&c!==void 0?c:P?.bottom_image)!==null&&A!==void 0?A:s,rec:d,item:g,index:O,translateY:m,imgStyle:v?.img}),n.createElement("div",{className:we.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},n.createElement("div",{className:ns["tow-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:ge((T=g?.title)!==null&&T!==void 0?T:"Product Name",v?.title)}}),n.createElement("div",{className:we.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((D=(_=g?.bindCta)===null||_===void 0?void 0:_.enTitle)!==null&&D!==void 0?D:"Shop Now",v?.ctaTitle)}}))))}))};var as=n.memo(ls);const ss=Ke(as,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:os,bindableProps:[],settingRender:st},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 ds=[{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:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u95F4\u8DDD",type:"TextSpace"}]}]},{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:"Select",name:["props","buttonStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","buttonStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]},{label:"\u95F4\u8DDD",type:"TextSpace",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:o})=>{var a;const{waterFallData:l,setOpenHashtag:d}=Ie();return n.createElement("div",{className:"clc-sxp-nav",style:e},n.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:o}),n.createElement("div",{className:"clc-sxp-nav-title",style:Object.assign(Object.assign({},i),{paddingLeft:i?.textAlign==="left"?"35px":0}),dangerouslySetInnerHTML:{__html:ge(`#${(a=l?.hashTag)!==null&&a!==void 0?a:"\u6807\u9898"}`,i)}}))};var yo=n.memo(rs),cs=null,us="3d989325-e7d6-4a74-8a97-98febdf5b567",vs=null,ps=null,ms={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}],hs="Handbags",wo={productUserId:cs,requestId:us,channel:vs,rtc:ps,tag:ms,recList:fs,hashTag:hs};const gs=t=>{const{rec:e,style:i={},sizeChange:o=()=>{},unitWidth:a,index:l,showBorder:d,list:r,reportTagsView:s,textStyles:v,space:u}=t,{swiperRef:f,setRtcList:m,setOpenHashtag:h,sxpParameter:w}=Ie(),[y,P]=n.useState(!1);n.useState(!1),n.useState({height:1,width:1});const p=n.useRef(null),x=n.useRef(null);n.useRef(null),n.useRef(null);const[b,E]=n.useState(""),C=n.useMemo(()=>{var T,_,D,M,j,H,N,B,L,Z;return!((T=e?.video)===null||T===void 0)&&T.cover?(_=e?.video)===null||_===void 0?void 0:_.cover:!((M=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||M===void 0)&&M.length?(H=(j=e?.video)===null||j===void 0?void 0:j.imgUrls)===null||H===void 0?void 0:H[0]:!((B=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||B===void 0)&&B.length?(Z=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||Z===void 0?void 0:Z[0]:w?.bottom_image||""},[e,w?.bottom_image]),g=n.useMemo(()=>{var T,_;return((T=e?.product)===null||T===void 0?void 0:T.title)||((_=e?.video)===null||_===void 0?void 0:_.title)||null},[e]),O=n.useMemo(()=>{var T;return i.transform?Number((T=i.transform)===null||T===void 0?void 0:T.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);n.useMemo(()=>O===void 0?!1:O<=d,[O,d]);const k=n.useMemo(()=>{var T,_,D,M,j,H,N,B,L;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((_=e?.product)===null||_===void 0)&&_.price)?`${(H=(j=(M=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||M===void 0?void 0:M.split("-")[1])===null||j===void 0?void 0:j.toUpperCase())!==null&&H!==void 0?H:""}${(L=(B=(N=e?.product)===null||N===void 0?void 0:N.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&L!==void 0?L:""}`:null},[e]);n.useEffect(()=>{if(p.current===null||C==="")return;let T=null;y&&b?T=b:T=C,T&&p.current.setSrc(T)},[C,y,b]);const S=n.useRef(),c=n.useCallback(T=>{setTimeout(()=>{var _;const D=(_=S?.current)===null||_===void 0?void 0:_.offsetHeight;o(D+56+u,l)},0)},[u,o,l,a,S]),A=()=>{s(),m?.(r),setTimeout(()=>{var T;(T=f?.current)===null||T===void 0||T.swiper.slideTo(l,0,!1),h?.(!1)},0)};return n.createElement("div",{ref:x,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:A},n.createElement("div",{className:"waterFallList-content-listItem-picture",ref:S},n.createElement(et,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:c,ref:p})),n.createElement("div",{className:"waterFallList-content-listItem-info"},n.createElement("div",{className:`waterFallList-content-listItem-info-title ${k?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},v?.title),dangerouslySetInnerHTML:{__html:ge(g,v?.title)}}),n.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!k,style:v.price,dangerouslySetInnerHTML:{__html:ge(k,v?.price)}})))};function bs(t){var e,i,o,a,l,d,r,s,v,u,f,m,h,w,y,P,p,x,b,E,C,g,{reportTagsView:O,showBanner:k}=t,S=Ye(t,["reportTagsView","showBanner"]);const{waterFallData:c,getRecommendVideos:A,hashTagSize:T,loadingImage:_,isOpenHashTag:D,cacheActiveIndex:M}=Ie(),{jumpToWeb:j}=Je(),H=n.useRef(null),[N,B]=n.useState(0),[L,Z]=n.useState(),G=n.useRef(null),[ie,J]=n.useState([]),K=n.useRef(),V=[170,230,300],[ue,ve]=n.useState(!1),[X,Q]=n.useState([]),ne=n.useRef(),te=n.useCallback((U,fe)=>Math.floor(Math.random()*(fe-U+1))+U,[]),le=n.useRef([]),[se,ae]=n.useState({width:0}),oe=n.useMemo(()=>{const U=se.width||0;return U>=1200?6:U>=768&&U<=1199?4:2},[se]),be=n.useMemo(()=>se.width/oe-2,[oe,se]),Se=n.useCallback(()=>{var U;const fe=(U=K.current)!==null&&U!==void 0?U:[],Ee=[];for(let pe=0;pe<X?.length;pe++){const Me=Math.floor(pe/oe),Oe=pe%oe+1;let ye=0,z=9999999999;if(Me===0)Ee[pe]=pe;else{for(let R=0;R<Ee.length;R++)le.current[Ee[R]].top+le.current[Ee[R]].height<z&&(ye=R,z=le.current[Ee[R]].top+le.current[Ee[R]].height);Ee[ye]=pe}le.current[pe]===void 0&&(le.current[pe]={}),Me===0?(Oe===1?le.current[pe].left=0:le.current[pe].left=le.current[pe-1].left+be+4,le.current[pe].top=0):(le.current[pe].left=le.current[ye].left,le.current[pe].top=z),le.current[pe].height=le.current[pe].height||V[te(0,2)],fe[pe]={transform:`translate(${le.current[pe].left}px,${le.current[pe].top}px)`,width:`${be}px`,height:le.current[pe].height}}return J([...fe]),[...fe]},[be,oe,V,te,X]),Pe=n.useCallback((U,fe)=>{le.current[fe]===void 0&&(le.current[fe]={}),le.current[fe].height=U,K.current=Se()},[Se]);n.useEffect(()=>{K.current=Se()},[be,oe,X]),n.useEffect(()=>{var U,fe,Ee,pe,Me,Oe;if(ve(!0),c&&A?.(Object.assign(Object.assign({hashTag:c?.hashTag,defaultSize:T,maxSize:T},((fe=(U=c?.rec)===null||U===void 0?void 0:U.product)===null||fe===void 0?void 0:fe.itemId)&&{productFilter:(pe=(Ee=c?.rec)===null||Ee===void 0?void 0:Ee.product)===null||pe===void 0?void 0:pe.itemId}),c?.itemId&&{contentFilter:c?.itemId})).then(ye=>{var z,R;Z(ye),Q((R=(z=ye?.recList)===null||z===void 0?void 0:z.filter(De=>De?.video!==null||De?.product!==null))!==null&&R!==void 0?R:[]),ve(!1)}),D){const ye=wo;Z(ye),Q((Oe=(Me=ye?.recList)===null||Me===void 0?void 0:Me.filter(z=>z?.video!==null||z?.product!==null))!==null&&Oe!==void 0?Oe:[]),ve(!1)}},[c,A,T,D]);const Te=n.useCallback(()=>{G.current!==null&&ae({width:G.current.getBoundingClientRect().width})},[]);n.useEffect(()=>{if(G.current===null)return;const U=new ResizeObserver(fe=>{Te()});return U.observe(G.current),()=>{U.disconnect()}},[Te]),n.useCallback(()=>{var U,fe,Ee,pe;ve(!0),c&&A?.(Object.assign(Object.assign({hashTag:c?.hashTag},((fe=(U=c?.rec)===null||U===void 0?void 0:U.product)===null||fe===void 0?void 0:fe.itemId)&&{productFilter:(pe=(Ee=c?.rec)===null||Ee===void 0?void 0:Ee.product)===null||pe===void 0?void 0:pe.itemId}),c?.itemId&&{contentFilter:c?.itemId})).then(Me=>{var Oe,ye;Q(X?.concat((ye=(Oe=Me?.recList)===null||Oe===void 0?void 0:Oe.filter(z=>!z?.video))!==null&&ye!==void 0?ye:[])),ve(!1)})},[c,A,X]);const Be=n.useCallback(()=>{B(H.current.scrollTop)},[]);n.useEffect(()=>{var U;return(U=H?.current)===null||U===void 0||U.addEventListener("scroll",Be),()=>{var fe;(fe=H?.current)===null||fe===void 0||fe.removeEventListener("scroll",Be)}},[Be,H]);const Re=()=>{var U,fe,Ee,pe,Me;if(!((U=L?.tag)===null||U===void 0)&&U.link){O();const Oe=c?.rec;j(Oe,(fe=Oe?.video)===null||fe===void 0?void 0:fe.bindProduct,(Ee=Oe?.video)===null||Ee===void 0?void 0:Ee.bindCta,M,(pe=Oe?.video)===null||pe===void 0?void 0:pe.traceInfo),window.location.href=window.getJointUtmLink((Me=L?.tag)===null||Me===void 0?void 0:Me.link)}};return n.createElement(n.Fragment,null,ue?n.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},n.createElement("img",{width:64,height:64,src:_,alt:"loading...",style:{objectFit:"contain"}})):n.createElement("div",{className:"waterFallList",ref:G},n.createElement("div",{className:"waterFallList-scroll",ref:H},k&&((e=L?.tag)===null||e===void 0?void 0:e.picture)&&n.createElement("div",{onClick:Re},n.createElement(et,{className:we.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=L?.tag)===null||i===void 0?void 0:i.picture})),n.createElement("div",{className:"waterFallList-info",style:(o=S?.textStyles)===null||o===void 0?void 0:o.hashTagDesc,dangerouslySetInnerHTML:{__html:ge((a=L?.tag)===null||a===void 0?void 0:a.info,(l=S?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),n.createElement("div",{hidden:!(!((d=L?.tag)===null||d===void 0)&&d.link),className:"waterFallList-collection",style:Object.assign({},(r=S?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:Re,dangerouslySetInnerHTML:{__html:ge(((s=L?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection",(v=S?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),n.createElement("div",{className:"waterFallList-content"},X?.map((U,fe)=>{var Ee;return n.createElement(gs,Object.assign({key:fe,index:fe,rec:U,list:X,showBorder:N+((Ee=H?.current)===null||Ee===void 0?void 0:Ee.clientHeight),style:ie[fe],sizeChange:Pe,unitWidth:be,reportTagsView:O},S))}),n.createElement("div",{hidden:!(!((u=L?.tag)===null||u===void 0)&&u.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((m=le?.current[((f=le?.current)===null||f===void 0?void 0:f.length)-1])===null||m===void 0?void 0:m.top)+((w=le?.current[((h=le?.current)===null||h===void 0?void 0:h.length)-1])===null||w===void 0?void 0:w.height))!==null&&y!==void 0?y:0}px)`,height:!((P=L?.tag)===null||P===void 0)&&P.link?((p=ne?.current)===null||p===void 0?void 0:p.offsetHeight)||((x=S?.buttonBgStyle)===null||x===void 0?void 0:x.height)||"100px":0}}))),n.createElement("div",{className:"waterFallList-bottom",hidden:!(!((b=L?.tag)===null||b===void 0)&&b.link),style:S?.buttonBgStyle}),n.createElement("div",{ref:ne,hidden:!(!((E=L?.tag)===null||E===void 0)&&E.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},S?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},n.createElement("button",{"aria-label":((C=L?.tag)===null||C===void 0?void 0:C.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:S?.buttonStyle,onClick:Re,dangerouslySetInnerHTML:{__html:ge(((g=L?.tag)===null||g===void 0?void 0:g.linkTitle)||"Shop the collection",S?.buttonStyle)}}))))}var ys="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ws=t=>{const{rec:e,index:i,list:o,reportTagsView:a,textStyles:l,space:d}=t,{swiperRef:r,setRtcList:s,setOpenHashtag:v,sxpParameter:u}=Ie(),[f,m]=n.useState(!1),h=n.useRef(null),w=n.useRef(null),y=n.useRef(null),P=n.useRef(null),[p,x]=n.useState(""),b=n.useMemo(()=>{var k,S,c,A,T,_,D,M,j,H;return!((k=e?.video)===null||k===void 0)&&k.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((A=(c=e?.video)===null||c===void 0?void 0:c.imgUrls)===null||A===void 0)&&A.length?(_=(T=e?.video)===null||T===void 0?void 0:T.imgUrls)===null||_===void 0?void 0:_[0]:!((M=(D=e?.product)===null||D===void 0?void 0:D.homePage)===null||M===void 0)&&M.length?(H=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||H===void 0?void 0:H[0]:u?.bottom_image||""},[e,u?.bottom_image]),E=n.useMemo(()=>{var k,S;return((k=e?.product)===null||k===void 0?void 0:k.title)||((S=e?.video)===null||S===void 0?void 0:S.title)||null},[e]),C=n.useMemo(()=>{var k,S,c,A,T,_,D,M,j;return!((k=e?.product)===null||k===void 0)&&k.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(_=(T=(A=(c=e?.product)===null||c===void 0?void 0:c.currency)===null||A===void 0?void 0:A.split("-")[1])===null||T===void 0?void 0:T.toUpperCase())!==null&&_!==void 0?_:""}${(j=(M=(D=e?.product)===null||D===void 0?void 0:D.price)===null||M===void 0?void 0:M.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&j!==void 0?j:""}`:null},[e]);n.useEffect(()=>{const k=new IntersectionObserver(S=>{S.forEach(c=>{if(c.isIntersecting){if(w.current===null||b==="")return;f&&p?h.current.setSrc(p):h.current.setSrc(b),k.unobserve(w.current)}})});return k.observe(w.current),()=>{k.disconnect()}},[b,f,p]);const g=(k,S,c)=>{const A=k/S;return c/A};n.useEffect(()=>{const k=y?.current;k===null||b===""||!f||(k.src=b,k.currentTime=1,k.crossOrigin="anonymous",k.onloadeddata=()=>{const S=P?.current;if(!S)return;const c=S.getContext("2d"),A=window?.innerWidth/2,T=g(k.videoWidth,k.videoHeight,A);S.height=T,S.width=A,c?.drawImage(k,0,0,S.width,S.height),x(S.toDataURL()),k.remove(),S.remove()})},[b,f]);const O=()=>{a(),s?.(o),setTimeout(()=>{var k;(k=r?.current)===null||k===void 0||k.swiper.slideTo(i,0,!1),v?.(!1)},0)};return n.createElement("div",{ref:w,className:"list-content-listItem",key:i,onClick:O,style:{marginBottom:d}},n.createElement("div",{className:"list-content-listItem-picture"},f&&n.createElement("div",{style:{display:"none"}},n.createElement("video",{ref:y,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),n.createElement("canvas",{ref:P})),n.createElement(et,{loading:"lazy",className:"list-content-listItem-picture-img",ref:h})),n.createElement("div",{className:"list-content-listItem-info"},n.createElement("div",{className:`list-content-listItem-info-title ${C?"list-content-listItem-info-nowrap":""}`,style:l?.title,dangerouslySetInnerHTML:{__html:ge(E,l?.title)}}),n.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!C,dangerouslySetInnerHTML:{__html:ge(C,l?.price)}})))};function Ss(t){var e,i,o,a,l,d,r,s,v,u,f,m,h,w,y,P,p,{reportTagsView:x,showBanner:b}=t,E=Ye(t,["reportTagsView","showBanner"]);const{waterFallData:C,getRecommendVideos:g,hashTagSize:O,loadingImage:k,isOpenHashTag:S,cacheActiveIndex:c}=Ie(),{jumpToWeb:A}=Je(),[T,_]=n.useState(),[D,M]=n.useState(),[j,H]=n.useState(!1),N=n.useRef(null),[B,L]=n.useState(!1);n.useCallback(()=>{var G,ie,J,K;B||(L(!0),C&&g?.(Object.assign(Object.assign({hashTag:C?.hashTag},((ie=(G=C?.rec)===null||G===void 0?void 0:G.product)===null||ie===void 0?void 0:ie.itemId)&&{productFilter:(K=(J=C?.rec)===null||J===void 0?void 0:J.product)===null||K===void 0?void 0:K.itemId}),C?.itemId&&{contentFilter:C?.itemId})).then(V=>{var ue;_(T?.concat((ue=V?.recList)!==null&&ue!==void 0?ue:[])),L(!1)}))},[C,g,T,B]),n.useEffect(()=>{var G,ie,J,K,V,ue;if(H(!0),C&&g?.(Object.assign(Object.assign(Object.assign({hashTag:C?.hashTag},((ie=(G=C?.rec)===null||G===void 0?void 0:G.product)===null||ie===void 0?void 0:ie.itemId)&&{productFilter:(K=(J=C?.rec)===null||J===void 0?void 0:J.product)===null||K===void 0?void 0:K.itemId}),C?.itemId&&{contentFilter:C?.itemId}),{defaultSize:O,maxSize:O})).then(ve=>{var X,Q;M(ve),_((Q=(X=ve?.recList)===null||X===void 0?void 0:X.filter(ne=>ne?.video!==null||ne?.product!==null))!==null&&Q!==void 0?Q:[]),H(!1)}),S){const ve=wo;M(ve),_((ue=(V=ve?.recList)===null||V===void 0?void 0:V.filter(X=>X?.video!==null||X?.product!==null))!==null&&ue!==void 0?ue:[]),H(!1)}},[C,g,O,S]);const Z=()=>{var G,ie,J,K,V;if(!((G=D?.tag)===null||G===void 0)&&G.link){x();const ue=C?.rec;A(ue,(ie=ue?.video)===null||ie===void 0?void 0:ie.bindProduct,(J=ue?.video)===null||J===void 0?void 0:J.bindCta,c,(K=ue?.video)===null||K===void 0?void 0:K.traceInfo),window.location.href=window.getJointUtmLink((V=D?.tag)===null||V===void 0?void 0:V.link)}};return n.createElement(n.Fragment,null,j?n.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},n.createElement("img",{width:64,height:64,src:k,alt:"loading...",style:{objectFit:"contain"}})):n.createElement("div",{className:"list"},n.createElement("div",{className:"list-scroll",ref:N},b&&((e=D?.tag)===null||e===void 0?void 0:e.picture)&&n.createElement("div",{onClick:Z},n.createElement(et,{className:we.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=D?.tag)===null||i===void 0?void 0:i.picture})),n.createElement("div",{className:"list-info",style:(o=E?.textStyles)===null||o===void 0?void 0:o.hashTagDesc,dangerouslySetInnerHTML:{__html:ge((a=D?.tag)===null||a===void 0?void 0:a.info,(l=E?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),n.createElement("div",{hidden:!(!((d=D?.tag)===null||d===void 0)&&d.link),className:"list-collection",onClick:Z,style:Object.assign(Object.assign({},(r=E?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:E?.space}),dangerouslySetInnerHTML:{__html:ge(((s=D?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection",(v=E?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),n.createElement("div",{className:"list-content"},T?.map((G,ie)=>n.createElement(ws,Object.assign({key:ie,index:ie,rec:G,list:T,reportTagsView:x},E)))),n.createElement("div",{hidden:!B,style:{textAlign:"center"}},"loading..."),n.createElement("div",{hidden:!(!((u=D?.tag)===null||u===void 0)&&u.link),style:{height:!((f=D?.tag)===null||f===void 0)&&f.link?((m=E?.buttonBgStyle)===null||m===void 0?void 0:m.height)||((h=E?.buttonStyle)===null||h===void 0?void 0:h.height)||"100px":0}})),n.createElement("div",{className:"list-bottom",hidden:!(!((w=D?.tag)===null||w===void 0)&&w.link),style:E?.buttonBgStyle}),n.createElement("div",{hidden:!(!((y=D?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},E?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},n.createElement("button",{"aria-label":((P=D?.tag)===null||P===void 0?void 0:P.linkTitle)||"Shop the collection",className:"list-btn",style:E?.buttonStyle,onClick:Z,dangerouslySetInnerHTML:{__html:ge(((p=D?.tag)===null||p===void 0?void 0:p.linkTitle)||"Shop the collection",E?.buttonStyle)}}))))}const xs=t=>{var e;const{waterFallData:i,setOpenHashtag:o,openHashtag:a,swiperRef:l,setWaterFallData:d,cacheRtcList:r,setRtcList:s,cacheActiveIndex:v,rtcList:u,setCacheRtcList:f,setIsFromHashtag:m,isFromHashtag:h,bffEventReport:w,themeTag:y,selectTag:P}=Ie(),{backMainFeed:p}=Je();n.useRef(null);const x=n.useRef(null),[b,E]=n.useState();n.useEffect(()=>{const S=document.getElementById("sxp-render"),c=document.getElementById("water-fall");c?x.current=c:(x.current=document.createElement("div"),x.current.setAttribute("id","water-fall"),S?.appendChild(x.current))},[]);const C=()=>{const S=We.isEqual(u,r);!S&&r&&r?.length&&s?.(r),p("branch",P,void 0,i?.hashTag),k(),d?.(void 0),m?.(!1),setTimeout(()=>{var c,A;S||(A=(c=l?.current)===null||c===void 0?void 0:c.swiper)===null||A===void 0||A.slideTo(v,0,!1),o?.(!1)},0)},[g,O]=n.useState();n.useEffect(()=>{i&&O(i)},[i]);const k=n.useCallback(()=>{var S,c,A,T,_,D;const M=g?.rec;if(!M)return;let j="";h?j="hashTagPage":!((S=M?.video)===null||S===void 0)&&S.url?j="videoPage":!((A=(c=M?.video)===null||c===void 0?void 0:c.imgUrls)===null||A===void 0)&&A.length&&(j="imagePage"),w?.({eventInfo:{contentId:(T=M?.video)===null||T===void 0?void 0:T.itemId,position:v+"",contentTags:JSON.stringify((_=M?.video)===null||_===void 0?void 0:_.tags),traceInfo:(D=M?.video)===null||D===void 0?void 0:D.traceInfo,hashTags:JSON.stringify([g?.hashTag]),fromKName:j,fromKPage:location?.href,timeOnSite:Math.floor((new Date-b)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,w,b,h,v]);return n.useEffect(()=>{a&&E(new Date)},[a]),n.useEffect(()=>{const S=()=>{E(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),x.current?_i.createPortal(n.createElement("div",{className:"waterfall",style:{display:a?"block":"none"}},n.createElement(yo,{icon:ys,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:C}),t?.openFixedSize===!0||t?.openFixedSize===void 0?n.createElement(Ss,Object.assign({reportTagsView:k},t)):n.createElement(bs,Object.assign({reportTagsView:k},t))),x.current):null};var So=n.memo(xs);const Ts=t=>n.createElement(So,Object.assign({},t));var Es=n.memo(Ts);const As=Ke(Es,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ds,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000",textAlign:"center"},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 Is=[{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 xo=t=>n.createElement(xo,Object.assign({},t));var Cs=n.memo(xo);const ks=Ke(Cs,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:Is},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var _s=[{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"]},{type:"TextMargin",name:["style"],label:"\u4E0A\u4E0B\u8FB9\u8DDD",direction:"vertical"},{type:"TextPadding",name:["style"],label:"\u5185\u8FB9\u8DDD",direction:"horizontal"}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{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"]},{type:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]}]}],To={"animated-button":"index-module_animated-button__lqTbg",gradientCover:"index-module_gradientCover__5iUag","one-line-ellipsis":"index-module_one-line-ellipsis__HutE0","two-line-ellipsis":"index-module_two-line-ellipsis__c8gRJ"};const Ps=t=>{var e,i,o,a,l,d,r,s,v,u,{style:f,recData:m,ctaTempStyles:h,index:w,event:y,onClick:P,isExternalLink:p=!1}=t,x=Ye(t,["style","recData","ctaTempStyles","index","event","onClick","isExternalLink"]);const{ctaEvent:b,setPopupDetailData:E}=Ie(),{jumpToWeb:C}=Je(),[g,O]=n.useState(!1),k=n.useRef(null),S=go(k),c=((o=(i=(e=m?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||o===void 0?void 0:o.bindCta)||((l=(a=m?.video)===null||a===void 0?void 0:a.bindProduct)===null||l===void 0?void 0:l.bindCta)||((d=m?.video)===null||d===void 0?void 0:d.bindCta),A=((s=(r=m?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0?void 0:s[0])||((v=m?.video)===null||v===void 0?void 0:v.bindProduct),T=()=>{var j,H,N,B;const L=((H=(j=m?.video)===null||j===void 0?void 0:j.bindProducts)===null||H===void 0?void 0:H[0])||((N=m?.video)===null||N===void 0?void 0:N.bindProduct)||m?.video;if(b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},m,L,w),E?.(Object.assign(Object.assign({},m),{index:w})),p){const Z=A?.link||((B=L?.bindCta)===null||B===void 0?void 0:B.link);Z&&(C(m,A,c,w),window.location.href=window.getJointUtmLink(Z))}else P?.()},_=c?.enTitle||"\u67E5\u770B\u8BE6\u60C5",D=n.useMemo(()=>{var j,H;const N=y?.animation;if(N){const{delay:B,duration:L,backgroundColor:Z}=N;return{":after":{animationDelay:`${(j=B/1e3)!==null&&j!==void 0?j:0}s`,animationDuration:`${(H=L/1e3)!==null&&H!==void 0?H:0}s`,backgroundColor:`${Z??"transparent"}`}}}},[y?.animation]);n.useEffect(()=>{var j,H,N;S&&k?.current&&b?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},m,((H=(j=m?.video)===null||j===void 0?void 0:j.bindProducts)===null||H===void 0?void 0:H[0])||((N=m?.video)===null||N===void 0?void 0:N.bindProduct)||m?.video,w)},[S]),n.useEffect(()=>{O(!!S)},[S]);const M=n.useMemo(()=>g?To["animated-button"]:null,[g]);return n.createElement("div",Object.assign({ref:k,style:Object.assign(Object.assign(Object.assign({},f),h?.ctaTitle),{lineHeight:`${(u=f?.height)!==null&&u!==void 0?u:0}px`})},x,{className:`${M} ${we.css(D)} ${To["one-line-ellipsis"]}`,onClick:T,dangerouslySetInnerHTML:{__html:ge(_,h?.ctaTitle)}}))};var Ds=n.memo(Ps),Ms=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]},{title:"\u52A8\u753B\u6548\u679C",child:[{type:"Color",name:["animation","backgroundColor"],label:"\u52A8\u753B\u989C\u8272"},{type:"Select",name:["animation","name"],label:"\u52A8\u753B",options:[{label:"\u9ED8\u8BA4",value:1}],fieldProps:{style:{width:"100%"}}},{type:"Number",label:"\u52A8\u753B\u542F\u52A8\u65F6\u95F4",name:["animation","delay"],addonAfter:"ms"},{type:"Number",label:"\u52A8\u753B\u6301\u7EED\u65F6\u95F4",name:["animation","duration"],addonAfter:"ms"}]}];const Os=Ke(Ds,{displayName:"\u7EAF\u8272\u52A8\u6548CTA",icon:"",category:"cta",type:"AniLink",related:{settingRender:_s,bindableProps:[],interactionRender:Ms},defaulSetting:{props:{ctaTempStyles:{ctaTitle:{fontSize:15,color:"#fff",textAlign:"center"}},event:{animation:{backgroundColor:"#F40082",name:1,delay:1e3,duration:2e3}}},style:{width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",paddingLeft:7,paddingRight:7}},w:100,h:40,sort:1});var Rs=[{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:"\u5916\u8FB9\u8DDD",type:"Number",name:["style","margin"],addonAfter:"px"},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],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\u4E0B\u8FB9\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginBottom"]},{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:"Select",name:["props","ctaTempStyles","title","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","title","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{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:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{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"]}]}],Pt={aniLinkPopup:"index-module_aniLinkPopup__YT7kj","animated-fadeIn":"index-module_animated-fadeIn__8ZCbq",fadeIn:"index-module_fadeIn__2E-dk","animated-fadeOut":"index-module_animated-fadeOut__iK4oc",fadeOut:"index-module_fadeOut__MgevT","one-line-ellipsis":"index-module_one-line-ellipsis__NRiVV","two-line-ellipsis":"index-module_two-line-ellipsis__k-YGB","modal-icon-wrapper":"index-module_modal-icon-wrapper__tu3BY","modal-icon-wrapper-img":"index-module_modal-icon-wrapper-img__4b7qZ"};const Ls="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Bs=t=>{var e,i,o,a,l,d,r,s,v,u,f,m,h,w,y,P,p,x,b,E,C,g,O,k,{style:S,recData:c,ctaTempStyles:A,index:T,event:_,bottom_image:D,translateY:M,isTel:j,onClick:H,isExternalLink:N=!1,isActive:B}=t,L=Ye(t,["style","recData","ctaTempStyles","index","event","bottom_image","translateY","isTel","onClick","isExternalLink","isActive"]);S==null||delete S.transform;const{sxpParameter:Z,globalConfig:G,ctaEvent:ie,setPopupDetailData:J}=Ie(),{jumpToWeb:K}=Je(),[V,ue]=n.useState(!0),ve=((o=(i=(e=c?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||o===void 0?void 0:o.bindCta)||((l=(a=c?.video)===null||a===void 0?void 0:a.bindProduct)===null||l===void 0?void 0:l.bindCta)||((d=c?.video)===null||d===void 0?void 0:d.bindCta),X=((s=(r=c?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0?void 0:s[0])||((v=c?.video)===null||v===void 0?void 0:v.bindProduct),Q=()=>{var oe,be,Se,Pe;const Te=((be=(oe=c?.video)===null||oe===void 0?void 0:oe.bindProducts)===null||be===void 0?void 0:be[0])||((Se=c?.video)===null||Se===void 0?void 0:Se.bindProduct)||c?.video;if(ie?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},c,Te,T),J?.(Object.assign(Object.assign({},c),{index:T})),N){const Be=X?.link||((Pe=Te?.bindCta)===null||Pe===void 0?void 0:Pe.link);Be&&(K(c,X,ve,T),window.location.href=window.getJointUtmLink(Be))}else H?.()},ne=ve?.enTitle||"\u67E5\u770B\u8BE6\u60C5",te=n.useMemo(()=>{const oe=_?.animation;if(oe){const{delay:be,duration:Se}=oe;return{animationDelay:`${be?be/1e3:0}s`,animationDuration:`${Se?Se/1e3:0}s`}}},[_?.animation]),le=(w=(h=(m=(u=X?.cover)!==null&&u!==void 0?u:(f=X?.homePage)===null||f===void 0?void 0:f[0])!==null&&m!==void 0?m:ve?.icon)!==null&&h!==void 0?h:Z?.bottom_image)!==null&&w!==void 0?w:D,se=oe=>{oe.stopPropagation(),ue(!1)};n.useEffect(()=>{ue(!0)},[B]);const ae=n.useMemo(()=>B&&V?Pt["animated-fadeIn"]:null,[B,V]);return n.createElement(n.Fragment,null,j?n.createElement("div",{style:{height:"40px",lineHeight:"40px",paddingLeft:"6px"}},"Cta Title"):n.createElement("div",Object.assign({},L,{className:`${we.css(Object.assign(Object.assign({},S),{"--transY":`translateY(calc(100% + ${(y=S?.margin)!==null&&y!==void 0?y:0}px))`}))} ${Pt.aniLinkPopup} ${ae} ${we.css(te)}`,onClick:Q}),n.createElement("div",{onClick:se,className:Pt["modal-icon-wrapper"],style:{padding:(P=S?.padding)!==null&&P!==void 0?P:0}},n.createElement("img",{src:(p=G?.popupCloseIcon)!==null&&p!==void 0?p:Ls,alt:"close",className:Pt["modal-icon-wrapper-img"]})),n.createElement(ht,{src:le,rec:c,item:(g=(E=(b=(x=c?.video)===null||x===void 0?void 0:x.bindProducts)===null||b===void 0?void 0:b[0])!==null&&E!==void 0?E:(C=c?.video)===null||C===void 0?void 0:C.bindProduct)!==null&&g!==void 0?g:c?.video,index:T,translateY:M,imgStyle:A?.img}),(!c||X?.title)&&n.createElement("div",{className:Pt["one-line-ellipsis"],style:A?.title,dangerouslySetInnerHTML:{__html:ge((O=X?.title)!==null&&O!==void 0?O:"Product Name",A?.title)}}),n.createElement("div",{className:Pt["one-line-ellipsis"],style:Object.assign(Object.assign({},A?.ctaTitle),{lineHeight:((k=A?.ctaTitle)===null||k===void 0?void 0:k.height)+"px"}),dangerouslySetInnerHTML:{__html:ge(ne,A?.ctaTitle)}})))};var Ns=n.memo(Bs),Fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]},{title:"\u52A8\u753B\u6548\u679C",child:[{type:"Select",name:["animation","name"],label:"\u52A8\u753B",options:[{label:"\u9ED8\u8BA4",value:1}],fieldProps:{style:{width:"100%"}}},{type:"Number",label:"\u52A8\u753B\u542F\u52A8\u65F6\u95F4",name:["animation","delay"],addonAfter:"ms"},{type:"Number",label:"\u52A8\u753B\u6301\u7EED\u65F6\u95F4",name:["animation","duration"],addonAfter:"ms"}]}];const js=Ke(Ns,{displayName:"\u7AD6\u7248\u5F39\u7A97CTA",icon:"",category:"cta",type:"AniLinkPopup",related:{settingRender:Rs,bindableProps:[],interactionRender:Fs},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:108,height:108,marginBottom:0},title:{fontSize:14,color:"#000",textAlign:"left",lineHeight:2.6},ctaTitle:{width:108,height:22,fontSize:12,color:"#fff",textAlign:"center",backgroundColor:"rgba(0,0,0,1)"}},event:{animation:{name:1,delay:1e3,duration:2e3}}},style:{width:120,height:185,borderRadius:3,backgroundColor:"rgba(255,255,255,1)",padding:7,margin:15}},w:100,h:40,sort:2});var Ti=Object.freeze({__proto__:null,AniLink:Os,AniLinkPopup:js,Appoint:Da,AppointForm:vn,Commodity:Ca,CommodityDetail:ea,CommodityDetailDiroNew:ua,CommodityDiro:za,CommodityDiroNew:Ya,CommodityList:ga,Consent:ks,HashTag:As,Iframe:Sa,Link:Ba,MultiCommodity:is,MultiCommodityDiro:Za,MultiCommodityDiroNew:ss,Prompt:aa});const Vs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",zs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Hs=t=>{var e,{active:i,activeIcon:o,unActicveIcon:a,recData:l,position:d}=t,r=Ye(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:v,bffEventReport:u,setCacheRtcList:f,cacheRtcList:m}=Ie(),[h,w]=n.useState((e=m?.[d])===null||e===void 0?void 0:e.isCollected),y=lt(zs),P=lt(Vs),p=We.debounce(()=>Ze(void 0,void 0,void 0,function*(){var x,b,E,C,g,O,k,S,c,A,T,_,D,M,j,H,N,B,L,Z,G,ie;if(h){w(!1);const J=(E=yield v?.({videoItemId:(b=(x=l?.video)===null||x===void 0?void 0:x.itemId)!==null&&b!==void 0?b:""}))!==null&&E!==void 0?E:!1;if(u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(g=(C=l?.video)===null||C===void 0?void 0:C.itemId)!==null&&g!==void 0?g:"",contentName:(k=(O=l?.video)===null||O===void 0?void 0:O.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((c=(S=l?.video)===null||S===void 0?void 0:S.tags)!==null&&c!==void 0?c:[]),position:d+"",contentFormat:!((A=l?.video)===null||A===void 0)&&A.url?"video":"image",traceInfo:(T=l?.video)===null||T===void 0?void 0:T.traceInfo}}),!J)w(!0);else{const K=(_=m?.map((V,ue)=>(ue===d&&(V.isCollected=!1),V)))!==null&&_!==void 0?_:[];f?.(K)}}else{w(!0);const J=(D=yield s?.({content:JSON.stringify(l)}))!==null&&D!==void 0?D:!1;if(u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(j=(M=l?.video)===null||M===void 0?void 0:M.itemId)!==null&&j!==void 0?j:"",contentName:(N=(H=l?.video)===null||H===void 0?void 0:H.title)!==null&&N!==void 0?N:"",contentTags:JSON.stringify((L=(B=l?.video)===null||B===void 0?void 0:B.tags)!==null&&L!==void 0?L:[]),position:d+"",contentFormat:!((Z=l?.video)===null||Z===void 0)&&Z.url?"video":"image",traceInfo:(G=l?.video)===null||G===void 0?void 0:G.traceInfo}}),!J)w(!1);else{const K=(ie=m?.map((V,ue)=>(ue===d&&(V.isCollected=!0),V)))!==null&&ie!==void 0?ie:[];f?.(K)}}}),200);return n.createElement("button",Object.assign({},r,{"aria-label":"like",onClick:p}),n.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:h?o||y:a||P,alt:"icon"}))};var Eo=n.memo(Hs),Us="data:image/gif;base64,R0lGODlhlgCWAPf/AAAAAICAgMzMzMzMzNXV1dXV1dXV1dfX19jOztjY2NvOztvb29zc3N/Pz9/V1d/f3+Pj4+bm5ubm5ujR0ejg4Ojo6Onp6erj4+rj4+rl5evr6+vr6+3k5O3t7e3t7e7u7u7u7u/v7/Dw8PDw8PHx8fHx8fHx8fLs7PLu7vLu7vLy8vPu7vPz8/Tp6fTx8fTx8fT09PT09PT09PXw8Pbx8fbz8/b29vb29vb29vb29vb29vf09Pf39/f39/f39/f39/f39/f39/f39/f39/f39/j09Pj09Pj19fj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pn29vn39/n5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fr09Pr4+Pr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vr6+vv39/v39/v4+Pv5+fv5+fv6+vv7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/z4+Pz5+fz5+fz5+fz6+vz6+vz6+vz6+vz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8/P36+v36+v36+v37+/37+/37+/37+/38/P38/P38/P38/P39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f78/P78/P78/P78/P7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v/V1f/39//4+P/6+v/7+//8/P/8/P/9/f/9/f/9/f/9/f/+/v/+/v/+/v/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wD/ACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAwBLACxFABcADwAMAIYAAACAgIDMzMzV1dXX19fYzs7Y2Njbzs7b29vc3Nzfz8/f1dXf39/j4+Pm5ubo0dHo4ODo6Ojp6enq4+Pq5eXr6+vt5OTt7e3u7u7v7+/w8PDx8fHy7Ozy7u7y8vLz7u7z8/P06en08fH09PT18PD28fH28/P29vb39PT39/f49PT49fX4+Pj59vb59/f5+fn69PT6+Pj6+vr79/f7+Pj7+fn7+vr7+/v8+Pj8+fn8+vr8/Pz9+vr9+/v9/Pz9/f3+/Pz+/v7/1dX/9/f/+Pj/+vr/+/v//Pz//f3//v7///8A/wD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8IUgCXCNzxI8gOJQV3CFy4RIkMJTccQnQYZCGShAgNZiS45MfDiB8lglzSQyPGk0FCqpwY8iBKlyZFyly5xKRNmAJrzGQJcWFJmDB1MBQ4MwnDgAAAIfkECQQA/wAsRwAXAA8ADAAACFMA/wkslAhcqWKJsLkRyPAfODfgujyM+LAYQ4QGMR4sWGrhRIkQQVJcyFGjyYJrRqoU2aXYxowlS7L8SBNiIZg4XwqcGfIjw5g5G/6zUROcDYYBAQAh+QQJAwD/ACxIABcAEAAMAAAIWwD/CfzXqVSxRNgSlRrIEAm4LuDcPIz4sBNDcAYTYTy4MVEigRMlQhRJsYvAjB1TGuxio6RLkhJDaURJk+PCkDhHTvxXc6bNgzxh5ow40E3Pjm4Y/lszNKnAgAAAIfkECQMA/wAsSgAXABEADQAACGUA/wn856YLtkSlBioceAScG3BdHEJ0uLBLsUTgSl3MuLFUooESIz4UOfHhvzYYNabs2PFflJIwSUZcU0olx5U4SyEJyXNkyH84bwotFepfzJ4TB7IMqrGLwlIyeUZZuNAjR4UBAQAh+QQJBAD/ACxMABcAEgAOAAAIaAD/CRTYpdTAgwgFgusCzs1CcGvAJfwXBVypYoksYtSYqNjBhw4Zhmy4kJvAUhczpuTIEds/kSBjwiy4caXNmhhH6pRJEiVOlT8t/iM5kyhRk0NvAgX6cWfRKBNLLdXYZiLCiEhCHQwIACH5BAkDAP8ALE4AGAATAA4AAAhkAP8JBOcGXBeCxQQqXCiwWCJwpRxClMhwYMGDFwka1Kgw1MOIHyWCnBjlX8aTG1H+mxiyJUuIwTCmnCkTo8ibLkeurKmR58V/I4PinCgQpc+UC0vlxFlR4RqaBJtWLBixjcKAAAAh+QQJAwD/ACxQABgAFQAQAAAIcwD/CfyHBJwbcAMTKhwIrlSxRA0fIlyYEFwXgxYxXjxI0Y1DiB8jgnyocGPGgyZTTvwn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APAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/IcEJMWFAQEAOw==";const Ei=(()=>{if(typeof document>"u")return;const t=document.createElement("div"),e=ki.render(n.createElement("video",{id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",preload:"auto",controls:!1,muted:!0,style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),t);return i=>i?(i.innerHTML="",i.appendChild(e),document.querySelector("#player-container-id")):void 0})(),Gs=({rec:t,index:e,height:i,data:o,muted:a,activeIndex:l,videoPostConfig:d,videoPlayIcon:r})=>{const[s,v]=n.useState(!1),{bffEventReport:u,sxpParameter:f,waterFallData:m,openHashtag:h,bffFbReport:w}=Ie(),y=n.useRef(0),[P,p]=n.useState(!1),[x,b]=n.useState(!0),{isActive:E}=mo(),C=n.useRef(null),[g,O]=n.useState(""),[k,S]=n.useState(!1),c=n.useRef(),A=`pb-cache-video-${e}`,T=n.useRef(null),_=n.useMemo(()=>d?.mode==="2",[d]),D=n.useMemo(()=>{var Q;return d?.mode==="2"?`translateY(-${50+((Q=d?.offsetTop)!==null&&Q!==void 0?Q:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[d]),M=n.useMemo(()=>{var Q;return((Q=t?.video)===null||Q===void 0?void 0:Q.cover)||g},[g,t]),j=n.useMemo(()=>_?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[_]),H=n.useMemo(()=>d?.bgWay==="1",[d]),N=n.useMemo(()=>H&&d?.bgColor?{backgroundColor:d?.bgColor}:{},[d,H]);n.useEffect(()=>{c?.current&&(c.current.muted=a)},[a,c?.current]);const B=n.useCallback(()=>{var Q;c?.current&&((Q=c?.current)===null||Q===void 0||Q.play())},[c?.current]),L=lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),Z=n.useCallback(()=>{c?.current&&(S(!1),p(!0))},[]),G=n.useCallback(()=>{var Q,ne,te,le,se,ae,oe,be,Se,Pe,Te,Be,Re;if(!c?.current)return;v(!1);const U=o[e];if(U&&(!((Q=c?.current)===null||Q===void 0)&&Q.duration)){y.current=((ne=c?.current)===null||ne===void 0?void 0:ne.currentTime)||0;const fe=((le=(te=c?.current)===null||te===void 0?void 0:te.duration)!==null&&le!==void 0?le:0).toFixed(2),Ee=((ae=(se=c?.current)===null||se===void 0?void 0:se.currentTime)!==null&&ae!==void 0?ae:0).toFixed(2),pe=x?"0":"1";u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(be=(oe=U?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&be!==void 0?be:"",contentName:(Pe=(Se=U?.video)===null||Se===void 0?void 0:Se.title)!==null&&Pe!==void 0?Pe:"",playType:pe,startTime:Ee,videoDuration:fe,contentTags:JSON.stringify((Be=(Te=U?.video)===null||Te===void 0?void 0:Te.tags)!==null&&Be!==void 0?Be:[]),position:e+"",contentFormat:"video",traceInfo:(Re=U?.video)===null||Re===void 0?void 0:Re.traceInfo}}),b(!1)}},[u,o,e,x,c?.current]),ie=n.useCallback(()=>{var Q;if(!c?.current||g||!_||(c.current.style.objectFit="contain",!((Q=t?.video)===null||Q===void 0)&&Q.cover||!C||!C.current||H))return;const ne=()=>{const te=C?.current,le=te.getContext("2d"),se=window?.innerWidth,ae=window?.innerHeight;te.height=ae,te.width=se,le?.drawImage(c.current,0,0,te.width,te.height),O(te.toDataURL())};ne(),setTimeout(()=>{ne()},500)},[c.current,H,t,g,_]),J=n.useCallback(()=>{c.current&&(G(),ie())},[c.current,ie,G]),K=n.useCallback(Q=>()=>{var ne,te,le,se,ae;if(!c.current||!P)return;const oe=(ne=c?.current)===null||ne===void 0?void 0:ne.paused;switch(Q){case"start":if(!oe)return;(te=c?.current)===null||te===void 0||te.play(),v(!1);break;case"pause":if(oe)return;(le=c?.current)===null||le===void 0||le.pause(),v(!0);break;default:oe?(se=c?.current)===null||se===void 0||se.play():(ae=c?.current)===null||ae===void 0||ae.pause(),v(!oe);break}},[P,c?.current]),V=n.useCallback(()=>{var Q,ne,te,le,se,ae,oe,be,Se,Pe,Te,Be,Re;if(!c?.current||l!==e)return;const U=o[e],fe=((ne=(Q=c?.current)===null||Q===void 0?void 0:Q.duration)!==null&&ne!==void 0?ne:0).toFixed(2),Ee=((le=(te=c?.current)===null||te===void 0?void 0:te.currentTime)!==null&&le!==void 0?le:0).toFixed(2);if(!((se=c?.current)===null||se===void 0)&&se.duration){const pe=(((ae=c?.current)===null||ae===void 0?void 0:ae.currentTime)-y.current).toFixed(2);u?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(be=(oe=U?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&be!==void 0?be:"",contentName:(Pe=(Se=U?.video)===null||Se===void 0?void 0:Se.title)!==null&&Pe!==void 0?Pe:"",endTime:Ee,videoDuration:fe,playDuration:pe,contentTags:JSON.stringify((Be=(Te=U?.video)===null||Te===void 0?void 0:Te.tags)!==null&&Be!==void 0?Be:[]),position:e+"",contentFormat:"video",traceInfo:(Re=U?.video)===null||Re===void 0?void 0:Re.traceInfo}})}},[o,e,u,c?.current,l]),ue=n.useCallback(()=>{S(!0)},[]);n.useEffect(()=>{var Q,ne,te,le,se,ae,oe,be,Se,Pe;if(!E)return;const Te=t?.video.url;if(!Te)return;const Be=document.querySelector(`#${A}`);if(!Be||(c.current=Ei?.(Be),!c?.current))return;const Re=window?.Hls;let U=null;return Te.includes(".m3u8")&&Re&&Re.isSupported()?(U=new Re,U.loadSource(Te),U.attachMedia(c?.current),U.on(Re.Events.MANIFEST_PARSED,function(){var fe;(fe=c?.current)===null||fe===void 0||fe.play()})):c.current.src=Te,(Q=c?.current)===null||Q===void 0||Q.setAttribute("x5-playsinline","true"),(ne=c?.current)===null||ne===void 0||ne.setAttribute("webkit-playsinline","true"),(te=c?.current)===null||te===void 0||te.addEventListener("loadedmetadata",J),(le=c?.current)===null||le===void 0||le.addEventListener("loadeddata",ie),(se=c?.current)===null||se===void 0||se.addEventListener("play",G),(ae=c?.current)===null||ae===void 0||ae.addEventListener("playing",Z),(oe=c?.current)===null||oe===void 0||oe.addEventListener("pause",V),(be=c?.current)===null||be===void 0||be.addEventListener("ended",B),(Se=c?.current)===null||Se===void 0||Se.addEventListener("canplay",B),(Pe=c?.current)===null||Pe===void 0||Pe.addEventListener("waiting",ue),()=>{var fe,Ee,pe,Me,Oe,ye,z,R,De;((fe=c?.current)===null||fe===void 0?void 0:fe.paused)||V(),U&&U?.destroy(),p(!1),(Ee=c?.current)===null||Ee===void 0||Ee.removeEventListener("loadedmetadata",J),(pe=c?.current)===null||pe===void 0||pe.removeEventListener("loadeddata",ie),(Me=c?.current)===null||Me===void 0||Me.removeEventListener("play",G),(Oe=c?.current)===null||Oe===void 0||Oe.removeEventListener("playing",Z),(ye=c?.current)===null||ye===void 0||ye.removeEventListener("pause",V),(z=c?.current)===null||z===void 0||z.removeEventListener("ended",B),(R=c?.current)===null||R===void 0||R.removeEventListener("canplay",B),(De=c?.current)===null||De===void 0||De.removeEventListener("waiting",ue)}},[E,A,t,V]),n.useEffect(()=>{var Q,ne;!c?.current||!P||(E?(w?.({eventName:"ViewContent"}),(Q=c?.current)===null||Q===void 0||Q.play()):(ne=c?.current)===null||ne===void 0||ne.pause())},[E,P,c?.current]),n.useEffect(()=>{var Q,ne,te;if(!E||!c?.current)return;!((Q=c?.current)===null||Q===void 0?void 0:Q.paused)&&h?(ne=c?.current)===null||ne===void 0||ne.pause():h||(te=c?.current)===null||te===void 0||te.play()},[h,E,c?.current]),n.useEffect(()=>{if(!E)return;const Q=()=>{K("start")(),w?.({eventName:"ViewContent"})},ne=K("pause");return ut.on(it.PAGE_DID_SHOW,Q),ut.on(it.PAGE_DID_HIDE,ne),()=>{ut.off(it.PAGE_DID_SHOW,Q),ut.off(it.PAGE_DID_HIDE,ne)}},[K,E]);const ve=n.useMemo(()=>!f?.placeholder_image||P?null:n.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:f?.placeholder_image,alt:"placeholder image"}),[P,f?.placeholder_image]),X=n.useMemo(()=>{if(!(!k||!P))return n.createElement("img",{style:{position:"absolute",top:"50%",left:0,right:0,transform:"translateY(-100%)",margin:"auto",width:"50px",height:"50px",objectFit:"contain"},src:Us,alt:"placeholder image"})},[k,P]);return n.useEffect(()=>{if(!c?.current)return;const Q=()=>{var ne;l===e&&(!((ne=t?.video)===null||ne===void 0)&&ne.url)&&c?.current&&!s&&K("pause")()};return window.addEventListener("beforeunload",Q),()=>{window.removeEventListener("beforeunload",Q)}},[l,e,t,c?.current,K,s]),t?.video?n.createElement(n.Fragment,null,_?n.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:K(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},N)},!H&&P&&M&&n.createElement(et,{src:M,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},j)}),n.createElement("canvas",{ref:C,style:{display:"none"}}),n.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},n.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},n.createElement("div",{className:"n-full-screen",ref:T,id:A,style:{width:"100%",height:"100%"}}),s&&n.createElement(et,{className:"clc-pb-video-pause",src:r??L,alt:"pause"}))),ve,X):n.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:K()},n.createElement("div",{className:"n-full-screen",ref:T,id:A,style:{width:"100%",height:"100%"}}),ve,X,s&&n.createElement(et,{className:"clc-pb-video-pause",src:r??L,alt:"pause"}))):null};var Ws=n.memo(Gs);const Ys=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:o,style:a})=>{const[l,d]=n.useState(t),r=s=>{s.stopPropagation();const v=!l;d(v),o?.(v)};return n.useEffect(()=>{d(t)},[t]),n.createElement("button",{style:a,"aria-label":"toggle button",className:"pb-toggle-button",onClick:r},n.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var Ao=n.memo(Ys);const Xs=({imageUrl:t,style:e,duration:i=2e3})=>{const[o,a]=n.useState(!0);ct(),n.useEffect(()=>{setTimeout(()=>{a(!1)},i)},[]);const l=lt("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),d=n.useMemo(()=>o?"pb-fadeIn":"pb-fadeOut",[o]);return n.createElement("div",{hidden:!o,className:`pb-finger-wrap ${d}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},n.createElement("img",{src:t||l,alt:"finger swiper"}))},Io=t=>{const{src:e,height:i,imgUrlsPostConfig:o,onShowFirstImage:a}=t,l=n.useMemo(()=>o?.mode==="2",[o]),d=n.useMemo(()=>{var u;return o?.mode==="2"?`translateY(-${50+((u=o?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[o]),r=n.useMemo(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),s=n.useMemo(()=>o?.bgWay==="1",[o]),v=n.useMemo(()=>s&&o?.bgColor?{backgroundColor:o?.bgColor}:{},[o,s]);return n.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},v)},(!l||!s)&&n.createElement(et,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r),onLoad:a}),l&&n.createElement(et,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:d,left:0,right:0},onLoad:a}))},qs=({imgUrls:t,width:e,height:i,rec:o,index:a,onReportViewImageEnd:l,onViewImageStartEvent:d,imgUrlsPostConfig:r})=>{var s,v;const u=n.useRef(),{isActive:f}=mo(),{sxpParameter:m,openHashtag:h}=Ie(),[w,y]=n.useState(!1);n.useEffect(()=>{w&&f?(u?.current&&u.current.swiper.autoplay.start(),h?l(o):d(a)):u?.current&&u.current.swiper.autoplay.stop()},[o,f,l,h,a,d,w]);const P=n.useCallback(()=>{w||y(!0)},[w]);return n.createElement(At,{ref:u,defaultValue:0,direction:"horizontal",modules:[Ut,Gt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},className:we.css(Object.assign({},r?.marginBottom&&{".swiper-pagination":{bottom:(s=r?.marginBottom)!==null&&s!==void 0?s:0}})),height:i,loop:!0,autoplay:{delay:((v=r?.delay)!==null&&v!==void 0?v:3)*1e3}},t?.map((p,x)=>n.createElement(pt,{key:x},n.createElement(Io,{src:!w&&x>0?"":p,height:i,imgUrlsPostConfig:r,onShowFirstImage:P}))))};var Js=n.memo(qs);const Ks=({tags:t,itemId:e,itemType:i,index:o,rec:a,hashTagStyle:l})=>{var d;const[r,s]=n.useState(!1),{setWaterFallData:v,setOpenHashtag:u,setCacheActiveIndex:f,waterFallData:m,setIsFromHashtag:h}=Ie(),w=y=>{m?h?.(!0):f?.(o),v?.(i?{hashTag:y,itemId:e,itemType:i,rec:a}:{hashTag:y,rec:a}),u?.(!0)};return n.useMemo(()=>t.length<=6?null:n.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),n.createElement("div",{className:"clc-sxp-bottom-hashtag",style:{marginTop:`${(d=l?.marginTop)!==null&&d!==void 0?d:16}px`}},n.createElement(Ot,null,t?.map((y,P)=>n.createElement(pt,{key:P,hidden:r?!1:P>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>w(y)},n.createElement("div",{dangerouslySetInnerHTML:{__html:ge(`#${y}`,l)}})))))};var Co=n.memo(Ks),Zs="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 qt(t){return n.memo(function(e){const{$store:i}=Xo(),o=l=>{let d=l;const r=l.match(/{{.*?}}/g);return r?.length&&r.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(v,u)=>{if(u){const f=We.get(i,u);return d=d.replace(s,f),f}})}),d},a=n.useMemo(()=>{var l,d,r;const{bindDatas:s}=e,v=Ye(e,["bindDatas"]);if((l=s?.forEach)===null||l===void 0||l.call(s,u=>{if(u?.propKey&&u?.dataPath){const{propKey:f,dataPath:m}=u;m.replace(/{{\s*([\w.]+)\s*}}/g,(h,w)=>{var y,P;if(w){const p=(P=(y=We.get(i,w))!==null&&y!==void 0?y:e[f])!==null&&P!==void 0?P:"";return v[f]=p,p}})}}),v){v.eventMap={};const u=We.cloneDeep(v.event)||{};for(const f in u)if(Object.prototype.hasOwnProperty.call(u,f))try{u[f].value=o(u[f].value),v.eventMap[f]=new Function(u[f].value)}catch{}}return!((r=(d=v?.event)===null||d===void 0?void 0:d.onClick)===null||r===void 0)&&r.linkType&&(v.style.cursor="pointer"),v},[i,e]);return n.createElement(t,Object.assign({},a,a.eventMap))})}const Qs=({rec:t,index:e,tempMap:i,resolver:o,includesCtaType:a,isActive:l})=>{var d,r,s,v,u;const{schema:f}=ct();if(!t?.video)return null;let m=null;!((r=(d=t?.video)===null||d===void 0?void 0:d.bindProducts)===null||r===void 0)&&r.length?m="\u591A\u5546\u54C1CTA":!((s=t?.video)===null||s===void 0)&&s.bindProduct?m="\u5546\u54C1CTA":m=(u=(v=t?.video)===null||v===void 0?void 0:v.bindCta)===null||u===void 0?void 0:u.itemId;const h=i?.[m],w=n.useMemo(()=>{var y,P,p,x,b,E,C,g,O,k,S,c,A,T,_,D,M,j,H,N,B,L,Z,G,ie,J,K,V,ue,ve,X,Q,ne;if(!t?.video)return null;if(!((P=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||P===void 0)&&P.length||!((p=t?.video)===null||p===void 0)&&p.bindProduct||(b=(x=t?.video)===null||x===void 0?void 0:x.bindCta)===null||b===void 0||b.itemId,!(a&&!a?.includes((E=h?.item)===null||E===void 0?void 0:E.type))&&!(!a&&((C=h?.item)===null||C===void 0?void 0:C.category)==="cta")){if(((g=h?.item)===null||g===void 0?void 0:g.type)==="CommodityDiro"&&!(!((O=t?.video)===null||O===void 0)&&O.bindProduct)||((k=h?.item)===null||k===void 0?void 0:k.type)==="Commodity"&&!(!((S=t?.video)===null||S===void 0)&&S.bindProduct)||((c=h?.item)===null||c===void 0?void 0:c.type)==="CommodityDiroNew"&&!(!((A=t?.video)===null||A===void 0)&&A.bindProduct)||((T=h?.item)===null||T===void 0?void 0:T.type)==="MultiCommodity"&&!(!((D=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||D===void 0)&&D.length)||((M=h?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiro"&&!(!((H=(j=t?.video)===null||j===void 0?void 0:j.bindProducts)===null||H===void 0)&&H.length)||((N=h?.item)===null||N===void 0?void 0:N.type)==="MultiCommodityDiroNew"&&!(!((L=(B=t?.video)===null||B===void 0?void 0:B.bindProducts)===null||L===void 0)&&L.length))return null;if(h&&o){const te=o[(Z=h?.item)===null||Z===void 0?void 0:Z.type],le=qt(te),se=(G=te?.extend)===null||G===void 0?void 0:G.defaulSetting,ae=((K=(J=(ie=h?.item)===null||ie===void 0?void 0:ie.event)===null||J===void 0?void 0:J.onClick)===null||K===void 0?void 0:K.linkType)==="externalLink";return n.createElement(le,Object.assign({style:Object.assign(Object.assign(Object.assign({},se?.style),(V=h?.item)===null||V===void 0?void 0:V.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},se?.textStyle),(ue=h?.item)===null||ue===void 0?void 0:ue.textStyle),bindDatas:(X=(ve=h?.item)===null||ve===void 0?void 0:ve.bindDatas)!==null&&X!==void 0?X:[]},se?.props,(Q=h?.item)===null||Q===void 0?void 0:Q.props,{event:((ne=h?.item)===null||ne===void 0?void 0:ne.event)||{},schema:f,id:h?.id,key:h?.id,recData:t,isExternalLink:ae,index:e,isActive:l}))}else return null}},[t,o,i,f,h?.id,l]);return n.createElement(n.Fragment,null,w)};var Jt=n.memo(Qs);const ko=({nudge:t})=>{var e,i,o,a,l,d;return n.createElement(n.Fragment,null,t?.isOpen&&n.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(o=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&o!==void 0?o:212,height:(l=(a=t?.size)===null||a===void 0?void 0:a.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(d=t?.borderRadius)!==null&&d!==void 0?d:4}},t?.icon?n.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,n.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0,marginTop:0}),dangerouslySetInnerHTML:{__html:ge(t?.content,t?.textStyle)}})))},$s=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:o,setRtcList:a,setCacheRtcList:l,setCacheActiveIndex:d,setLoading:r,swiperRef:s,waterFallData:v,bffEventReport:u,selectTag:f,setSelectTag:m}=Ie(),{backMainFeed:h}=Je(),w=n.useMemo(()=>[Nt,...t],[t]),y=P=>()=>{if(P===f)return;P!=="FOR U"?u?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${P}']`}}):h("theme",P,f);let p;P!==Nt&&(p=P),r?.(!0),o?.({themeTag:p}).then(x=>{var b,E,C,g;ut.emit(it.CHANGE_THEME_TAG,p),a?.((b=x?.recList)!==null&&b!==void 0?b:[]),l?.((E=x?.recList)!==null&&E!==void 0?E:[]),e?.(0),d?.(0),(g=(C=s?.current)===null||C===void 0?void 0:C.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{r?.(!1)}),m?.(P)};return v||t.length<=0?null:n.createElement("div",{className:"clc-sxp-tagbar",style:i},n.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},w.map(P=>n.createElement("li",{className:`clc-sxp-tagbar-list-item ${P===f?"clc-sxp-tagbar-list-item-active":""}`,key:P,onClick:y(P)},P))))};var _o=n.memo($s);const Po=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:o=window.innerWidth,tempMap:a,resolver:l,data:d=[],ctaType:r,tipText:s,nudge:v,_schema:u,hashTagStyle:f,tagList:m=[],licenseUrl:h})=>{var w,y,P,p,x,b,E,C,g;const O=lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),k=lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png"),{schema:S}=ct(),[c,A]=n.useState(0),T=n.useRef(0),[_,D]=n.useState(!0),M=n.useRef(),[j,H]=n.useState(!1),[N,B]=n.useState(!1),[L,Z]=n.useState(new Date().getTime()),G=n.useRef(!1),{loadVideos:ie,bffEventReport:J,loading:K,setPopupDetailData:V,ctaEvent:ue,swiperRef:ve,waterFallData:X,setOpenHashtag:Q,appDomain:ne,openHashtag:te,loadingImage:le,isFromHashtag:se,popupDetailData:ae,bffFbReport:oe,curTime:be,h5EnterLink:Se,isShowConsent:Pe,selectTag:Te,isPreview:Be}=Ie(),{backMainFeed:Re,productView:U,jumpToWeb:fe}=Je(),Ee=n.useMemo(()=>d.length>0&&!K&&(Ko()||t?.enableSwiperTip),[d,K,t?.enableSwiperTip]);n.useEffect(()=>{Li()},[]),n.useEffect(()=>{if(d?.length>0){const I=new Date;M.current=I,oe?.({eventName:"PageView"})}},[d?.length]);const pe=n.useCallback(()=>{if(Li(),Se?.(),d.length>0){const I=new Date;M.current=I,oe?.({eventName:"PageView"})}},[d.length,oe,Se]);n.useEffect(()=>{var I;const F=d?.findIndex(Y=>{var ee,ce,me,$,re,xe,Ce,Ve,He;const Ue=r?.[0];return Ue==="\u591A\u5546\u54C1CTA"?((ee=Y?.video)===null||ee===void 0?void 0:ee.bindProducts)&&((me=(ce=Y?.video)===null||ce===void 0?void 0:ce.bindProducts)===null||me===void 0?void 0:me.length)>0:Ue==="\u5546\u54C1CTA"?($=Y?.video)===null||$===void 0?void 0:$.bindProduct:((xe=(re=Y?.video)===null||re===void 0?void 0:re.bindCta)===null||xe===void 0?void 0:xe.itemId)===Ue&&(((Ce=Y?.video)===null||Ce===void 0?void 0:Ce.url)||((He=(Ve=Y?.video)===null||Ve===void 0?void 0:Ve.imgUrls)===null||He===void 0?void 0:He.length))})||0;(I=ve?.current)===null||I===void 0||I.swiper.slideTo(F)},[r,ve]),n.useEffect(()=>{const I=d?.[c],F=()=>{var Y,ee,ce,me,$,re,xe,Ce,Ve,He,Ue,Xe,qe,ke,ze,tt,Ge,dt,rt,gt;const bt=!te&&!Pe;if(document.visibilityState==="hidden"){bt&&(ut.emit(it.PAGE_DID_HIDE,I),he(I),_e(I));let Le="";ae&&(!((ee=(Y=I?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||ee===void 0)&&ee.length||!((ce=I?.video)===null||ce===void 0)&&ce.bindProduct)?Le="pdpPage":ae&&((xe=a?.[(re=($=(me=I?.video)===null||me===void 0?void 0:me.bindCta)===null||$===void 0?void 0:$.itemId)!==null&&re!==void 0?re:""].item)===null||xe===void 0?void 0:xe.type)==="Appoint"?Le="formPage":se?Le="hashTagPage":!((Ce=I?.video)===null||Ce===void 0)&&Ce.url?Le="videoPage":!((Ve=I?.video)===null||Ve===void 0)&&Ve.imgUrls&&(!((Ue=(He=I?.video)===null||He===void 0?void 0:He.imgUrls)===null||Ue===void 0)&&Ue.length)?Le="imagePage":I?.product&&(Le="productPage"),J?.({eventInfo:{sessionDuration:Math.floor((new Date-be.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Xe=I?.video)===null||Xe===void 0?void 0:Xe.itemId,productId:(qe=I?.product)===null||qe===void 0?void 0:qe.itemId,position:c+"",fromKName:Le,fromKPage:location?.href,ctatId:(tt=(ze=(ke=I?.video)===null||ke===void 0?void 0:ke.bindCta)===null||ze===void 0?void 0:ze.itemId)!==null&&tt!==void 0?tt:"",traceInfo:(gt=(dt=(Ge=I?.video)===null||Ge===void 0?void 0:Ge.traceInfo)!==null&&dt!==void 0?dt:(rt=I?.product)===null||rt===void 0?void 0:rt.traceInfo)!==null&&gt!==void 0?gt:""}})}else document.visibilityState==="visible"&&(G.current===!0&&(Z(new Date().getTime()),G.current=!1),pe(),bt&&(Ne(c),ut.emit(it.PAGE_DID_SHOW,I),Re("external",Te)))};return document.addEventListener("visibilitychange",F),()=>{document.removeEventListener("visibilitychange",F)}},[c,J,d,pe,ae,se,a,be,Re,te,Pe,Te]);const Me=n.useMemo(()=>{let I=0;return m.length>0&&(I+=45,X&&(I-=45)),I},[m,X]),Oe=n.useMemo(()=>{let I=0;return t?.logoUrl&&t?.isShowLogo&&(I+=56),I},[]),ye=n.useMemo(()=>i-Oe-Me,[t,i,Me]),z=n.useMemo(()=>{var I;const F=c===0&&!X?[(I=d?.[0])!==null&&I!==void 0?I:null]:d?.map((Y,ee)=>c===ee||ee-1===c||ee+1===c?Y:null);return X?F:F.concat([{loading:!0}])},[d,c,X]),R=n.useMemo(()=>{var I,F,Y,ee;if(t?.logoUrl&&t?.isShowLogo){const ce=(F=(I=t?.logoBar)===null||I===void 0?void 0:I.onClick)===null||F===void 0?void 0:F.value,me=((ee=(Y=t?.logoBar)===null||Y===void 0?void 0:Y.onClick)===null||ee===void 0?void 0:ee.linkType)==="externalLink",$=z[c];return n.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},ce&&{onClick:()=>{var re,xe,Ce,Ve;me&&fe($,(re=$?.video)===null||re===void 0?void 0:re.bindProduct,(xe=$?.video)===null||xe===void 0?void 0:xe.bindCta,c,((Ce=$?.product)===null||Ce===void 0?void 0:Ce.traceInfo)||((Ve=$?.video)===null||Ve===void 0?void 0:Ve.traceInfo)),new Function(ce)()}}),n.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t,c,z]),De=n.useCallback((I,F)=>{var Y,ee,ce,me;return!((Y=I?.video)===null||Y===void 0)&&Y.url?n.createElement(Ws,{key:L,rec:I,index:F,muted:_,data:d,height:ye,activeIndex:c,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon}):!((ee=I?.video)===null||ee===void 0)&&ee.imgUrls?n.createElement(Js,{key:I?.video.itemId,imgUrls:I?.video.imgUrls,width:o,height:ye,rec:I,index:F,onReportViewImageEnd:he,onViewImageStartEvent:Ne,imgUrlsPostConfig:t?.imgUrlsPost}):I.product&&Array.isArray(t?.productPost)&&((ce=t?.productPost)===null||ce===void 0?void 0:ce.length)>0?(me=t?.productPost)===null||me===void 0?void 0:me.map(($,re)=>{var xe,Ce,Ve,He,Ue,Xe,qe,ke;const ze=l[(xe=$?.item)===null||xe===void 0?void 0:xe.type],tt=qt(ze),Ge=(Ce=ze?.extend)===null||Ce===void 0?void 0:Ce.defaulSetting;return n.createElement(tt,Object.assign({key:`${F}${re}`,textStyle:Object.assign(Object.assign({},Ge?.textStyle),(Ve=$?.item)===null||Ve===void 0?void 0:Ve.textStyle),bindDatas:(Ue=(He=$?.item)===null||He===void 0?void 0:He.bindDatas)!==null&&Ue!==void 0?Ue:[]},Ge?.props,(Xe=$?.item)===null||Xe===void 0?void 0:Xe.props,{event:((qe=$?.item)===null||qe===void 0?void 0:qe.event)||{},schema:S,id:$?.id,viewTime:M.current,rec:I,isPost:!0,tipText:s,style:Object.assign(Object.assign(Object.assign({},Ge?.style),(ke=$?.item)===null||ke===void 0?void 0:ke.style),{height:"100%",overflow:"auto"}),index:F}))}):null},[o,d,ye,_,c,t?.productPost,t?.videoPlayIcon,M,s,l,S,L]),nt=n.useCallback(I=>{B(I)},[]),Tt=n.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]),q=n.useCallback((I,F)=>{var Y,ee,ce,me,$,re,xe,Ce;return I?.video?n.createElement(n.Fragment,null,((Y=I?.video)===null||Y===void 0?void 0:Y.title)&&!N&&n.createElement("div",{className:"clc-sxp-bottom-shadow"}),n.createElement("div",{className:"clc-sxp-bottom",style:{paddingBottom:`${(ee=t?.bottomInfoDist)!==null&&ee!==void 0?ee:40}px`}},n.createElement(ko,{nudge:v}),t?.isShowCTA===void 0||t?.isShowCTA?n.createElement("div",{className:"clc-sxp-bottom-card"},n.createElement(Jt,{rec:I,index:F,tempMap:a,resolver:l})):null,n.createElement("div",null,n.createElement(Xt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:s?.foldText,unfoldText:s?.unfoldText,text:(me=(ce=I?.video)===null||ce===void 0?void 0:ce.title)!==null&&me!==void 0?me:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:nt}),n.createElement(Jt,{rec:I,index:F,tempMap:a,resolver:l,includesCtaType:["AniLink"]}),n.createElement(Co,{index:c,tags:(re=($=I?.video)===null||$===void 0?void 0:$.hashTags)!==null&&re!==void 0?re:[],itemId:(xe=I?.video)===null||xe===void 0?void 0:xe.itemId,itemType:!((Ce=I?.video)===null||Ce===void 0)&&Ce.itemId?"VIDEO":null,rec:I,hashTagStyle:f}))),n.createElement(Jt,{rec:I,index:F,tempMap:a,resolver:l,includesCtaType:["AniLinkPopup"],isActive:F===c})):null},[e,c,a,l,s,v,f,t,nt,N,Tt]),W=n.useCallback((I,F,Y)=>{var ee,ce,me,$;if(!t?.isShowLike||!Y)return;let re=(ee=t?.likeIconY)!==null&&ee!==void 0?ee:400;return X&&re<40&&(re+=40),I?.video?n.createElement(Eo,{key:I.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:I.isCollected,recData:I,className:"clc-sxp-like-button",style:{position:t?.likeIconFixed?"fixed":"absolute",[(ce=t.likeIconXPosit)!==null&&ce!==void 0?ce:"right"]:(me=t.likeIconX)!==null&&me!==void 0?me:0,[($=t.likeIconYPosit)!==null&&$!==void 0?$:"bottom"]:re},position:F}):null},[t,X]),he=I=>{var F,Y,ee,ce,me,$;if(!(!((F=I?.video)===null||F===void 0)&&F.url)&&(!((Y=I?.video)===null||Y===void 0)&&Y.imgUrls)){const re=Date.now(),xe=(re-T.current)/1e3;J?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ce=(ee=I?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&ce!==void 0?ce:"",contentName:(me=I?.video.title)!==null&&me!==void 0?me:"",imageEndTime:`${re}`,playDuration:`${xe}`,contentTags:JSON.stringify(($=I?.video.tags)!==null&&$!==void 0?$:[]),position:c+"",contentFormat:"image",traceInfo:I?.video.traceInfo}})}},Ae=(I,F)=>{var Y,ee,ce,me,$,re,xe,Ce,Ve,He,Ue,Xe,qe,ke,ze,tt,Ge,dt,rt;if(Be||X)return;const gt=new Date-be.current;if(t?.openSlideSkip&&gt>=((Y=t?.slideSkipStartTime)!==null&&Y!==void 0?Y:0)&&Zo()&&I){const bt=((me=(ce=(ee=I?.video)===null||ee===void 0?void 0:ee.bindProducts)===null||ce===void 0?void 0:ce[0])===null||me===void 0?void 0:me.link)||((re=($=I?.video)===null||$===void 0?void 0:$.bindProduct)===null||re===void 0?void 0:re.link)||((xe=I?.product)===null||xe===void 0?void 0:xe.link),Le=I?.product||((Ce=I?.video)===null||Ce===void 0?void 0:Ce.bindProduct)||((He=(Ve=I?.video)===null||Ve===void 0?void 0:Ve.bindProducts)===null||He===void 0?void 0:He[0]);bt&&(J?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(Ue=Le?.itemId)!==null&&Ue!==void 0?Ue:"",productName:(Xe=Le?.title)!==null&&Xe!==void 0?Xe:"",price:Le?.price?Le?.price+"":"0",productCollection:(qe=Le?.collection)!==null&&qe!==void 0?qe:"",contentTags:Le?.tags?JSON.stringify(Le?.tags):"",position:F+"",contentId:(ze=(ke=I?.video)===null||ke===void 0?void 0:ke.itemId)!==null&&ze!==void 0?ze:"",traceInfo:(rt=(Ge=(tt=I?.video)===null||tt===void 0?void 0:tt.traceInfo)!==null&&Ge!==void 0?Ge:(dt=I?.product)===null||dt===void 0?void 0:dt.traceInfo)!==null&&rt!==void 0?rt:""}}),G.current=!0,window.location.href=window.getJointUtmLink(bt))}},de=I=>{var F,Y,ee,ce,me,$,re,xe,Ce,Ve,He,Ue,Xe,qe;M.current=new Date;const ke=d[I.previousIndex];if(!ke)return;I.previousIndex-I.activeIndex<0?(J?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Y=(F=ke?.video)===null||F===void 0?void 0:F.itemId)!==null&&Y!==void 0?Y:"",productId:(ce=(ee=ke?.product)===null||ee===void 0?void 0:ee.itemId)!==null&&ce!==void 0?ce:"",requestId:null,traceInfo:($=(me=ke?.video)===null||me===void 0?void 0:me.traceInfo)!==null&&$!==void 0?$:""}}),he(ke),Ae(ke,I.previousIndex)):(J?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(xe=(re=ke?.video)===null||re===void 0?void 0:re.itemId)!==null&&xe!==void 0?xe:"",productId:(Ve=(Ce=ke.product)===null||Ce===void 0?void 0:Ce.itemId)!==null&&Ve!==void 0?Ve:"",requestId:null,traceInfo:(Ue=(He=ke?.video)===null||He===void 0?void 0:He.traceInfo)!==null&&Ue!==void 0?Ue:""}}),he(ke)),_e(ke);const ze=d[I.activeIndex];!(!((Xe=ze?.video)===null||Xe===void 0)&&Xe.url)&&!(!((qe=ze?.video)===null||qe===void 0)&&qe.imgUrls)&&ze?.product&&oe?.({eventName:"ProductView"})},_e=I=>{var F,Y,ee;!(!((F=I?.video)===null||F===void 0)&&F.url)&&!(!((Y=I?.video)===null||Y===void 0)&&Y.imgUrls)&&I?.product&&U(I,I.product,(ee=I?.product)===null||ee===void 0?void 0:ee.bindCta,M.current,c)};n.useEffect(()=>{const I=d[c];te&&_e(I)},[te,d,c]);const Ne=I=>{var F,Y,ee,ce,me,$;const re=d[I];if(!(!((F=re?.video)===null||F===void 0)&&F.url)&&(!((Y=re?.video)===null||Y===void 0)&&Y.imgUrls)){const xe=Date.now();T.current=xe,J?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ce=(ee=re?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&ce!==void 0?ce:"",contentName:(me=re?.video.title)!==null&&me!==void 0?me:"",imageStartTime:`${xe}`,contentTags:JSON.stringify(($=re?.video.tags)!==null&&$!==void 0?$:[]),position:I+"",contentFormat:"image",traceInfo:re?.video.traceInfo}}),oe?.({eventName:"ViewContent"})}},Fe=n.useCallback(I=>{var F,Y,ee,ce,me,$;if(I)return(t?.isShowMute===void 0||t?.isShowMute===!0)&&n.createElement(Ao,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((Y=(F=z?.[c])===null||F===void 0?void 0:F.video)===null||Y===void 0)&&Y.url?"visible":"hidden",zIndex:999,[(ee=t?.muteIconXPosit)!==null&&ee!==void 0?ee:"right"]:(ce=t?.muteIconX)!==null&&ce!==void 0?ce:0,[(me=t?.muteIconYPosit)!==null&&me!==void 0?me:"bottom"]:($=t?.muteIconY)!==null&&$!==void 0?$:23},defaultValue:_,activeIcon:t?.unMuteIcon?t?.unMuteIcon:O,unactiveIcon:t?.muteIcon?t?.muteIcon:k,onChange:D})},[t,z,c,_]),je=n.useMemo(()=>K?n.createElement("div",{style:{height:ye,width:o,display:"flex",justifyContent:"center",alignItems:"center"}},n.createElement("img",{width:64,height:64,src:le,alt:"loading...",style:{objectFit:"contain"}})):z?.map((I,F)=>n.createElement(pt,{key:F,virtualIndex:F,style:{overflow:"hidden"}},I&&n.createElement(n.Fragment,null,I?.loading?n.createElement("div",{style:{height:ye,width:o,display:"flex",justifyContent:"center",alignItems:"center"}},n.createElement("img",{width:64,height:64,src:le,alt:"loading...",style:{objectFit:"contain"}})):n.createElement(n.Fragment,null,De(I,F),q(I,F),W(I,F,!t?.likeIconFixed),Fe(!t?.muteIconFixed))))),[o,d,ye,K,q,De,z,le,L,Fe]);return n.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},X&&n.createElement(yo,{icon:Zs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},textStyle:Object.assign(Object.assign({},(x=(p=(P=(y=(w=t?.hashTag)===null||w===void 0?void 0:w[0])===null||y===void 0?void 0:y.item)===null||P===void 0?void 0:P.props)===null||p===void 0?void 0:p.textStyles)===null||x===void 0?void 0:x.hashTagTitle),{color:"#fff"}),onClose:()=>{Q?.(!0)}}),R,n.createElement(_o,{tagList:m,setActiveIndex:A,style:{top:Oe}}),Ee?n.createElement(Xs,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((b=t?.swipeTipOffset)!==null&&b!==void 0?b:0)}%`},duration:t?.swiperTipAniDur}):null,n.createElement(At,{style:{marginTop:Me},ref:ve,onSlideChange:()=>{ve.current.swiper.allowTouchMove=!1,setTimeout(()=>{ve.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:I=>{A(I.activeIndex),!te&&(de(I),!X&&I?.activeIndex+2>=d?.length&&(j||(H(!0),ie?.(Math.ceil(c/10)+1).then(()=>{H(!1)}))))},direction:"vertical",height:ye},W(z[c],c,!!t?.likeIconFixed),Fe(!!t?.muteIconFixed),je),n.createElement(So,Object.assign({},(g=(C=(E=t?.hashTag)===null||E===void 0?void 0:E[0])===null||C===void 0?void 0:C.item)===null||g===void 0?void 0:g.props)))},ed=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:o,rec:a,index:l})=>n.createElement(At,{defaultValue:0,direction:"horizontal",modules:[Ut,Gt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(d=>n.createElement(pt,{key:d},n.createElement(Io,{src:d,height:i,imgUrlsPostConfig:o}))));var td=n.memo(ed);const id=({rec:t,index:e,height:i,data:o,muted:a,activeIndex:l,videoPostConfig:d,width:r})=>{const[s,v]=n.useState(!1),u=n.useRef(null),{bffEventReport:f,sxpParameter:m,waterFallData:h,openHashtag:w}=Ie(),y=n.useRef(0),[P,p]=n.useState(!1),[x,b]=n.useState(!0),E=n.useRef(null),[C,g]=n.useState("");n.useEffect(()=>{u.current&&(u.current.muted=a)},[a]);const O=n.useCallback(()=>{var B;(B=u.current)===null||B===void 0||B.play()},[]),k=lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=n.useCallback(()=>{var B,L,Z,G,ie,J,K,V,ue,ve,X,Q,ne;v(!1);const te=o[e];if(te&&(!((B=u?.current)===null||B===void 0)&&B.duration)){y.current=((L=u?.current)===null||L===void 0?void 0:L.currentTime)||0;const le=((G=(Z=u.current)===null||Z===void 0?void 0:Z.duration)!==null&&G!==void 0?G:0).toFixed(2),se=((J=(ie=u.current)===null||ie===void 0?void 0:ie.currentTime)!==null&&J!==void 0?J:0).toFixed(2),ae=x?"0":"1";f?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(V=(K=te?.video)===null||K===void 0?void 0:K.itemId)!==null&&V!==void 0?V:"",contentName:(ve=(ue=te?.video)===null||ue===void 0?void 0:ue.title)!==null&&ve!==void 0?ve:"",playType:ae,startTime:se,videoDuration:le,contentTags:JSON.stringify((Q=(X=te?.video)===null||X===void 0?void 0:X.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(ne=te?.video)===null||ne===void 0?void 0:ne.traceInfo}}),b(!1)}},[f,o,e,x]),c=n.useCallback(()=>{p(!0)},[]),A=n.useCallback(B=>()=>{var L,Z,G,ie,J;if(!P)return;const K=(L=u.current)===null||L===void 0?void 0:L.paused;switch(B){case"start":if(!K)return;(Z=u.current)===null||Z===void 0||Z.play(),v(!1);break;case"pause":if(K)return;(G=u.current)===null||G===void 0||G.pause(),v(!0);break;default:K?(ie=u.current)===null||ie===void 0||ie.play():(J=u.current)===null||J===void 0||J.pause(),v(!K);break}},[P]),T=n.useCallback(()=>{var B,L,Z,G,ie,J,K,V,ue,ve,X,Q,ne;const te=o[e],le=((L=(B=u.current)===null||B===void 0?void 0:B.duration)!==null&&L!==void 0?L:0).toFixed(2),se=((G=(Z=u.current)===null||Z===void 0?void 0:Z.currentTime)!==null&&G!==void 0?G:0).toFixed(2);if(!((ie=u?.current)===null||ie===void 0)&&ie.duration){const ae=(((J=u?.current)===null||J===void 0?void 0:J.currentTime)-y.current).toFixed(2);f?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(V=(K=te?.video)===null||K===void 0?void 0:K.itemId)!==null&&V!==void 0?V:"",contentName:(ve=(ue=te?.video)===null||ue===void 0?void 0:ue.title)!==null&&ve!==void 0?ve:"",endTime:se,videoDuration:le,playDuration:ae,contentTags:JSON.stringify((Q=(X=te?.video)===null||X===void 0?void 0:X.tags)!==null&&Q!==void 0?Q:[]),position:e+"",contentFormat:"video",traceInfo:(ne=te?.video)===null||ne===void 0?void 0:ne.traceInfo}})}},[o,e,f]),_=n.useMemo(()=>d?.mode==="2",[d]),D=n.useMemo(()=>{var B;return d?.mode==="2"?`translateY(-${50+((B=d?.offsetTop)!==null&&B!==void 0?B:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[d]),M=n.useMemo(()=>{var B;return((B=t?.video)===null||B===void 0?void 0:B.cover)||C},[C,t]),j=n.useCallback(()=>{if(!E||!u||!u.current||!E.current)return;const B=u?.current,L=E?.current,Z=L.getContext("2d"),G=window?.innerWidth,ie=window?.innerHeight;L.height=ie,L.width=G,Z?.drawImage(B,0,0,L.width,L.height),g(L.toDataURL())},[]);n.useEffect(()=>{var B,L,Z,G;if(u.current){if(v(!1),!u.current.src){const ie=t?.video.url;if(ie.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const J=new window.Hls;J.loadSource(ie),J.attachMedia(u.current)}else u.current.canPlayType("application/vnd.apple.mpegurl"),u.current.src=ie;else u.current.src=ie;u.current.setAttribute("x5-playsinline","true"),u.current.setAttribute("webkit-playsinline","true")}return(B=u.current)===null||B===void 0||B.addEventListener("loadedmetadata",c),(L=u.current)===null||L===void 0||L.addEventListener("canplay",c),(Z=u.current)===null||Z===void 0||Z.addEventListener("playing",S),(G=u.current)===null||G===void 0||G.addEventListener("loadeddata",j),()=>{var ie,J,K,V;(ie=u.current)===null||ie===void 0||ie.removeEventListener("loadedmetadata",c),(J=u.current)===null||J===void 0||J.removeEventListener("canplay",c),(K=u.current)===null||K===void 0||K.removeEventListener("playing",S),(V=u.current)===null||V===void 0||V.removeEventListener("loadeddata",j)}}},[c,S,t?.video,j]);const H=n.useMemo(()=>!m?.placeholder_image||P?null:n.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[P,m?.placeholder_image]);n.useEffect(()=>{const B=()=>{var L,Z;l===e&&(!((L=t?.video)===null||L===void 0)&&L.url)&&(!((Z=u?.current)===null||Z===void 0)&&Z.src)&&!s&&A("pause")()};return window.addEventListener("beforeunload",B),()=>{window.removeEventListener("beforeunload",B)}},[l,e,t,u,A,s]);const N=n.useMemo(()=>_?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[_]);return t?.video?n.createElement(n.Fragment,null,_?n.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:r,height:i,overflow:"hidden"}},n.createElement(et,{src:M,style:Object.assign({height:i,width:r,objectFit:"cover"},N)}),n.createElement("canvas",{ref:E,style:{display:"none"}}),n.createElement("div",{style:{position:"absolute",width:r,height:i,top:"50%",transform:D,left:0,right:0}},n.createElement("div",{style:{position:"relative",width:r,height:"100%"}},n.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:u,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),n.createElement("img",{hidden:!s,className:"clc-pb-video-pause",src:k,alt:"video pause image"}))),H):n.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:r,height:i,overflow:"hidden"}},n.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:u,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:O}),H,n.createElement("img",{hidden:!s,className:"clc-pb-video-pause",src:k,alt:"video pause image"}))):null};var od=n.memo(id);const Ai={};Object.values(Ti).forEach(t=>{Ai[t.extend.type]=t});const nd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ld="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ad=({data:t=[],globalConfig:e,tipText:i,nudge:o,tempMap:a,descStyle:l,hashTagStyle:d,containerHeight:r=664,containerWidth:s=375,appDomain:v,tagList:u=[]})=>{const f=n.useMemo(()=>{let g=0;return e?.logoUrl&&e?.isShowLogo&&(g+=45),u.length>0&&(g+=45),r-g},[e,r,u]),m=(g,O)=>{var k,S,c,A;if(!((k=g?.video)===null||k===void 0)&&k.url)return n.createElement(od,{rec:g,index:O,muted:!0,width:s,data:t??[],height:f,activeIndex:O,videoPostConfig:e?.videoPost});if(!((S=g?.video)===null||S===void 0)&&S.imgUrls)return n.createElement(td,{key:g?.video.itemId,imgUrls:g?.video.imgUrls,width:s,height:f,rec:g,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(g.product&&g.product&&Array.isArray(e?.productPost)&&((c=e?.productPost)===null||c===void 0?void 0:c.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((T,_)=>{var D,M,j,H,N,B,L,Z;const G=Ai[(D=T?.item)===null||D===void 0?void 0:D.type],ie=qt(G),J=(M=G?.extend)===null||M===void 0?void 0:M.defaulSetting;return n.createElement(ie,Object.assign({key:`${O}${_}`,textStyle:Object.assign(Object.assign({},J?.textStyle),(j=T?.item)===null||j===void 0?void 0:j.textStyle),bindDatas:(N=(H=T?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&N!==void 0?N:[]},J?.props,(B=T?.item)===null||B===void 0?void 0:B.props,{event:((L=T?.item)===null||L===void 0?void 0:L.event)||{},id:T?.id,rec:g,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},J?.style),(Z=T?.item)===null||Z===void 0?void 0:Z.style),{width:s,height:f,overflow:"auto"}),index:O}))})},h=n.useMemo(()=>e?.logoUrl&&e?.isShowLogo?n.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},n.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),w=(g,O)=>e?.isShowCTA===void 0||e?.isShowCTA?n.createElement("div",{className:"clc-sxp-bottom-card"},n.createElement(Jt,{rec:g,index:O,tempMap:a,resolver:Ai})):null,y=(g,O)=>{var k,S,c,A,T,_,D;return g?.video?n.createElement(n.Fragment,null,((k=g?.video)===null||k===void 0?void 0:k.title)&&n.createElement("div",{className:"clc-sxp-bottom-shadow"}),n.createElement("div",{className:"clc-sxp-bottom"},n.createElement(ko,{nudge:o}),w(g,O),n.createElement("div",null,n.createElement(Xt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(c=(S=g?.video)===null||S===void 0?void 0:S.title)!==null&&c!==void 0?c:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),n.createElement(Co,{index:O,tags:(T=(A=g?.video)===null||A===void 0?void 0:A.hashTags)!==null&&T!==void 0?T:[],itemId:(_=g?.video)===null||_===void 0?void 0:_.itemId,itemType:!((D=g?.video)===null||D===void 0)&&D.itemId?"VIDEO":null,rec:g,hashTagStyle:d}))):null},P=lt(ld,v),p=lt(nd,v),x=(g,O)=>{var k,S,c,A;if(!e?.isShowLike)return;let T=(k=e?.likeIconY)!==null&&k!==void 0?k:400;return T<40&&(T+=40),g?.video?n.createElement(Eo,{key:g.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:P,unActicveIcon:(c=e?.unlikeIcon)!==null&&c!==void 0?c:p,position:O,active:g.isCollected,recData:g,className:"clc-sxp-like-button",style:{top:T,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},b=lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",v),E=lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",v),C=(g,O)=>{var k,S,c,A;return n.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},h,n.createElement(_o,{tagList:u}),n.createElement(Ao,{style:{position:"absolute",right:(k=e?.muteIconX)!==null&&k!==void 0?k:0,visibility:!((c=(S=t?.[O])===null||S===void 0?void 0:S.video)===null||c===void 0)&&c.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:b,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(g,O),y(g,O),x(g,O))};return n.createElement("div",{className:we.css({width:"100%",height:r,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((g,O)=>C(g,O)))};var sd=n.memo(ad);const dd=()=>{const{schema:t,resolver:e,popup:i}=ct(),{setPopupDetailData:o,popupDetailData:a,popupCurTimeRef:l,checkCommodityIndexRef:d}=Ie(),{productView:r}=Je(),[s,v]=n.useState();n.useEffect(()=>{const m=()=>{l.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),n.useEffect(()=>{i&&i?.id&&i?.id!==""&&(l.current=new Date,v(i))},[i]);const u=()=>{var m,h,w,y,P,p,x,b,E,C,g,O,k,S,c,A,T,_;if(!i||i?.id===""||!s||new Date-l.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;v(Object.assign(Object.assign({},i),{id:""}));const D=(y=(w=(h=t?.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||w===void 0?void 0:w.popupList)===null||y===void 0?void 0:y.find(M=>M?.id===i?.id);if(((P=D?.item)===null||P===void 0?void 0:P.type)==="CommodityDetail"||((p=D?.item)===null||p===void 0?void 0:p.type)==="CommodityDetailDiroNew"){const M=a;let j=(b=(x=M?.video)===null||x===void 0?void 0:x.bindProduct)!==null&&b!==void 0?b:(C=(E=M?.video)===null||E===void 0?void 0:E.bindProducts)===null||C===void 0?void 0:C[0],H=(k=(O=(g=M?.video)===null||g===void 0?void 0:g.bindProduct)===null||O===void 0?void 0:O.bindCta)!==null&&k!==void 0?k:(A=(c=(S=M?.video)===null||S===void 0?void 0:S.bindProducts)===null||c===void 0?void 0:c[0])===null||A===void 0?void 0:A.bindCta;if(d?.current>=0){const N=(_=(T=M?.video)===null||T===void 0?void 0:T.bindProducts)===null||_===void 0?void 0:_[d?.current];N&&(j=N,H=N?.bindCta)}j&&H&&r(M,j,H,l.current,a?.index)}setTimeout(()=>{window?.sxpPopup(""),o?.(null),d.current=-1},i?.duration)},f=n.useMemo(()=>{var m,h,w;return(w=(h=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||h===void 0?void 0:h.popupList)===null||w===void 0?void 0:w.map((y,P)=>{var p,x,b,E,C,g,O,k,S,c,A,T,_,D;if(y?.id===i?.id){const M=e[(p=y?.item)===null||p===void 0?void 0:p.type],j=qt(M),H=((E=(b=(x=y?.item)===null||x===void 0?void 0:x.event)===null||b===void 0?void 0:b.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",N=((O=(g=(C=y?.item)===null||C===void 0?void 0:C.event)===null||g===void 0?void 0:g.onClick)===null||O===void 0?void 0:O.linkType)==="popup",B=(k=M?.extend)===null||k===void 0?void 0:k.defaulSetting;return n.createElement(j,Object.assign({key:P,style:Object.assign(Object.assign(Object.assign({},B?.style),(S=y?.item)===null||S===void 0?void 0:S.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},B?.textStyle),(c=y?.item)===null||c===void 0?void 0:c.textStyle),bindDatas:(T=(A=y?.item)===null||A===void 0?void 0:A.bindDatas)!==null&&T!==void 0?T:[]},B?.props,(_=y?.item)===null||_===void 0?void 0:_.props,{event:((D=y?.item)===null||D===void 0?void 0:D.event)||{},schema:t,id:y?.id,isExternalLink:H,isPopup:N,onClose:u}))}else return n.createElement(n.Fragment,null)})},[t,i,e,u]);return n.createElement(_t,{popup:s,onClose:u,padding:0,modalStyle:{position:"fixed"}},f)},Ii={};Object.values(Ti).forEach(t=>{Ii[t.extend.type]=t});const rd=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:o=20,loadingImage:a,appDomain:l,licenseUrl:d,enabledMetaConversionApi:r})=>{var s,v,u,f,m,h,w,y,P,p,x;const b=n.useMemo(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return n.createElement(Yi,{resolver:Ii,enableDataSource:!1,schema:t?.data,utmVal:b},n.createElement(Hi,{utmVal:b,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(v=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend)!==null&&v!==void 0?v:e,defaultSize:(f=(u=t?.sxp_parameter)===null||u===void 0?void 0:u.default_recommend)!==null&&f!==void 0?f:i,hashTagSize:(h=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&h!==void 0?h:o,loadingImage:a,appDomain:l,enabledMetaConversionApi:r,isShowTag:(P=(y=(w=t?.data)===null||w===void 0?void 0:w.sxpPageConf)===null||y===void 0?void 0:y.globalConfig)===null||P===void 0?void 0:P.isShowTag,globalConfig:(x=(p=t?.data)===null||p===void 0?void 0:p.sxpPageConf)===null||x===void 0?void 0:x.globalConfig,utmParameter:t?.utm_parameter,render:({rtcList:E,tagList:C})=>{var g;return n.createElement(n.Fragment,null,n.createElement(Po,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{tagList:C,data:E,resolver:Ii,licenseUrl:d})),n.createElement(dd,null))}}))};var cd=n.memo(rd);const Do=n.createContext({}),ud=({children:t,data:e})=>{var i,o,a,l,d,r,s,v,u,f,m,h,w;const[y,P]=n.useState(!1),[p,x]=n.useState(!1);return n.createElement(Do.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.default_recommend,personalizedRecommend:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.hash_tag_size,loadingImage:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.loading_image,privacyContent:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.privacy_context,privacyNecessity:(v=e?.sxp_parameter)===null||v===void 0?void 0:v.privacy_necessity,privacyPolicyTitle:(u=e?.sxp_parameter)===null||u===void 0?void 0:u.privacy_policy_title,privacyPolicyUrl:(f=e?.sxp_parameter)===null||f===void 0?void 0:f.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(h=e?.sxp_parameter)===null||h===void 0?void 0:h.template,industry:(w=e?.sxp_parameter)===null||w===void 0?void 0:w.industry},appDomain:e?.appDomain,openHashtag:y,setOpenHashtag:P,openConsent:p,setOpenConsent:x,sxpFontLinks:e?.sxpFontLinks}},t)};function vd(){return n.useContext(Do)}exports.DiyPortalPreview=sd,exports.EditorDataProvider=ud,exports.Modal=_t,exports.SxpDataSourceProvider=Hi,exports.SxpPageCore=cd,exports.SxpPageRender=Po,exports.core=ln,exports.default=Yo,exports.materials=Ti,exports.useEditorDataProvider=vd;
7
7
  //# sourceMappingURL=index.min.cjs.map