pb-sxp-ui 1.3.1 → 1.3.3

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 (64) hide show
  1. package/dist/index.cjs +238 -184
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.js +238 -184
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +3 -3
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +3 -3
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +238 -184
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +3 -3
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/components/SxpPageRender/Modal/index.js +3 -3
  15. package/es/core/components/SxpPageRender/RenderCard.d.ts +3 -3
  16. package/es/core/components/SxpPageRender/RenderCard.js +17 -27
  17. package/es/core/components/SxpPageRender/WaterFall/List.js +20 -11
  18. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +20 -11
  19. package/es/core/components/SxpPageRender/index.js +21 -13
  20. package/es/core/context/EditorDataProvider.d.ts +3 -0
  21. package/es/core/context/EditorDataProvider.js +2 -1
  22. package/es/core/context/SxpDataSourceProvider.d.ts +1 -0
  23. package/es/core/context/SxpDataSourceProvider.js +53 -35
  24. package/es/core/utils/tool.d.ts +3 -3
  25. package/es/core/utils/tool.js +6 -6
  26. package/es/materials/sxp/HashTag/index.d.ts +3 -1
  27. package/es/materials/sxp/HashTag/settingRender.d.ts +7 -0
  28. package/es/materials/sxp/HashTag/settingRender.js +6 -0
  29. package/es/materials/sxp/popup/CommodityDetail/index.d.ts +1 -0
  30. package/es/materials/sxp/popup/CommodityDetail/index.js +26 -27
  31. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +1 -0
  32. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +30 -31
  33. package/es/materials/sxp/popup/CommodityList/index.d.ts +3 -1
  34. package/es/materials/sxp/popup/CommodityList/index.js +11 -7
  35. package/es/materials/sxp/popup/CommodityList/settingRender.d.ts +7 -0
  36. package/es/materials/sxp/popup/CommodityList/settingRender.js +6 -0
  37. package/es/materials/sxp/popup/Iframe/index.d.ts +1 -0
  38. package/es/materials/sxp/popup/Iframe/index.js +8 -7
  39. package/lib/core/components/SxpPageRender/Modal/index.js +3 -3
  40. package/lib/core/components/SxpPageRender/RenderCard.d.ts +3 -3
  41. package/lib/core/components/SxpPageRender/RenderCard.js +16 -26
  42. package/lib/core/components/SxpPageRender/WaterFall/List.js +20 -11
  43. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +20 -11
  44. package/lib/core/components/SxpPageRender/index.js +21 -13
  45. package/lib/core/context/EditorDataProvider.d.ts +3 -0
  46. package/lib/core/context/EditorDataProvider.js +2 -1
  47. package/lib/core/context/SxpDataSourceProvider.d.ts +1 -0
  48. package/lib/core/context/SxpDataSourceProvider.js +53 -35
  49. package/lib/core/utils/tool.d.ts +3 -3
  50. package/lib/core/utils/tool.js +6 -6
  51. package/lib/materials/sxp/HashTag/index.d.ts +3 -1
  52. package/lib/materials/sxp/HashTag/settingRender.d.ts +7 -0
  53. package/lib/materials/sxp/HashTag/settingRender.js +6 -0
  54. package/lib/materials/sxp/popup/CommodityDetail/index.d.ts +1 -0
  55. package/lib/materials/sxp/popup/CommodityDetail/index.js +26 -27
  56. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +1 -0
  57. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +30 -31
  58. package/lib/materials/sxp/popup/CommodityList/index.d.ts +3 -1
  59. package/lib/materials/sxp/popup/CommodityList/index.js +11 -7
  60. package/lib/materials/sxp/popup/CommodityList/settingRender.d.ts +7 -0
  61. package/lib/materials/sxp/popup/CommodityList/settingRender.js +6 -0
  62. package/lib/materials/sxp/popup/Iframe/index.d.ts +1 -0
  63. package/lib/materials/sxp/popup/Iframe/index.js +8 -7
  64. package/package.json +1 -1
@@ -1,7 +1,7 @@
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
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Xe=require("lodash"),No=require("uuid"),Bo=require("pako"),n=require("react"),oi=require("qs"),Fo=require("eventemitter3"),xe=require("@emotion/css"),ki=require("react-dom");function jo(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=jo(ki);function Je(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(s){s(l)})}return new(i||(i=Promise))(function(l,s){function d(c){try{v(o.next(c))}catch(h){s(h)}}function r(c){try{v(o.throw(c))}catch(h){s(h)}}function v(c){c.done?l(c.value):a(c.value).then(d,r)}v((o=o.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Vo=/:\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:s,url:d,urlParams:r,name:v,queryString:c,headers:h,body:m}=e[a];let f=d;r&&Object.entries(r).forEach(([x,w])=>{f=f.replace(Vo,C=>C===x?w:C)}),c&&(f+=c),o[l]=v;try{const x=yield fetch(f,{method:s,headers:Object.assign({"Content-Type":"application/json"},h),body:JSON.stringify(m)}).then(w=>w.json());i[l]=x}catch(x){console.error("DataSource request error: ",x),i[l]={}}}return{$store:i,idMapName:o}});const Di="SXP_TOKEN_INFO",zo=(t,e)=>Ze(void 0,void 0,void 0,function*(){var i;const o=t.getTenantId(),a=t.getAppId(),l=t.getApiUrl(),s=window.localStorage.getItem(Di);let d=JSON.parse(s||"{}");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":o||"","x-app-id":a||""}}).then(c=>c.json());if(v.success){const c=v.data;d=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(Di,JSON.stringify(d))}}return d});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 Ho=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},Go=()=>{const t=No.v4();return t?.replaceAll?t.replaceAll("-",""):Ho(32)},he=(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 s=/[\u4e00-\u9fa5]/g,d=/[^\u4e00-\u9fa5]/g,r=`font-family:${o??"inherit"}`,v=`font-family:${a??"inherit"}`,c=m=>{let f=m.search(s),x=m.search(d);return f!==-1&&x!==-1&&f<x&&(i+=`<span style="${r}">${m.substring(f,x)}</span>`,l=m.substring(x,m?.length)),f!==-1&&x!==-1&&f>x&&(i+=`<span style="${v}">${m.substring(x,f)}</span>`,l=m.substring(f,m?.length)),f===-1?(i+=`<span style="${v}">${m.substring(x,m?.length)}</span>`,l="",!1):x===-1?(i+=`<span style="${r}">${m.substring(f,m?.length)}</span>`,l="",!1):!0};let h=!0;for(;h;)h=c(l);return i};function Mi(){var t,e,i,o,a,l,s;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 ${(o=/rv:([\d\.]+)/i.exec(d))===null||o===void 0?void 0:o[1]}`:/chrome/i.test(d)?`Chrome ${(a=/chrome\/([\d\.]+)/i.exec(d))===null||a===void 0?void 0:a[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 ${(s=/version\/([\d\.]+)/i.exec(d))===null||s===void 0?void 0:s[1]}`:null:null}function Oi(){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":null:null}function Ri(){let t=self.navigator.userAgent;if(!t)return null;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":null}function Li(t){const i=document.cookie.split(";");let o=null;return i.forEach(a=>{const[l,s]=a.trim().split("=");l===t&&(o=s)}),o??""}function Ni(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),o=new Uint8Array(i),a=Bo.inflate(o,{to:"string"});return JSON.parse(a)}let ni=null;const Uo={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?Uo[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,s;const d=yield a.json(),r=Ni((l=d?.data)===null||l===void 0?void 0:l.data);if(r){const{$store:v}=yield Pi(o,(s=r?.dataSource)!==null&&s!==void 0?s:[]);d.data.data=r,Object.assign(d.data.data,{__STORE__:v})}return d}))},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 s=yield a.json();if(!s.success)return;const d=Ni((l=s?.data)===null||l===void 0?void 0:l.data);return s.data.data=d,s.data}))}),getSxpRecommendVideoData:t=>Ze(void 0,void 0,void 0,function*(){if(!Qe)return;const e=yield zo(Qe,t),i=Bt(0,0);let o=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Xe.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 ut(){return n.useContext(Ji)}function Xo(){return n.useContext(Xi)}const li="feRealSessionIdKey",Bi=()=>{const t=Go();return`${Date.now()}${t}`},Jo=()=>{let t=qo();return t||(t=Bi(),window.sessionStorage.setItem(li,t)),t},Fi=()=>{const t=Bi();window.sessionStorage.setItem(li,t)},qo=()=>window.sessionStorage.getItem(li),ji="SXP_FAKE_USER_ID",Vi="FAKE_USER_STATE",zi="AGREE_POLICY",Hi="SLIDE_SKIP_STATE",Gi=()=>{let t=window.localStorage.getItem(ji);return Xe.isEmpty(t)&&(t=Bt(36,62),window.localStorage.setItem(ji,t)),t},Ko=()=>{const t=window.localStorage.getItem(Vi);return Xe.isEmpty(t)&&window.localStorage.setItem(Vi,"true"),Xe.isEmpty(t)},Zo=()=>{const t=window.localStorage.getItem(Hi);return Xe.isEmpty(t)},Qo=()=>{window.localStorage.setItem(Hi,"true")};function lt(t,e){const{appDomain:i}=De();return n.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const vt=new Fo;var ot;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(ot||(ot={}));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:s,bffEventReport:d}=De(),r=n.useMemo(()=>{const h=location.search.slice(1),m=oi.parse(h.replace(/\+/g,"%2B"));for(const f in m)m[f]=m[f].replace(/%2B/g,"+");return m},[]),v=h=>{var m;return(m=r[h])!==null&&m!==void 0?m:null};n.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 c=()=>{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}}),s?.(!0),window.localStorage.setItem(zi,"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:c},"Agree"),n.createElement("a",{className:"consent-policy",target:"_blank",href:a?`https://${a}`:void 0},l??"More information"))))};var en=n.memo($o);const Ui=n.createContext({rtcList:[],tagList:[]});var ai;(function(t){t[t.BFF=5]="BFF"})(ai||(ai={}));const Ft="FOR U",tn=({render:t,dataSources:e,utmVal:i,enableReportEvent:o=!0,maxSize:a,defaultSize:l,isPreview:s=!1,sxpParameter:d,appDomain:r,hashTagSize:v,loadingImage:c,isOpenHashTag:h=!1,enabledMetaConversionApi:m=!1,consentHeight:f,consentWidth:x,isShowTag:w=!0,isOpenConsent:C=!1,globalConfig:p,isEditor:T=!1,utmParameter:y,channelQueryList:E})=>{var _,g,M;const[P,S]=n.useState([]),[u,D]=n.useState([]),[b,A]=n.useState(!1),[I,O]=n.useState({rtc:"",requestId:""}),j=n.useRef(null),z=n.useRef(!1),[B,R]=n.useState(()=>!!window.localStorage.getItem(zi)),[N,W]=n.useState(),[V,F]=n.useState(),[X,te]=n.useState(h),[re,ue]=n.useState([]),[ye,Q]=n.useState(0),[J,se]=n.useState(!1),[K,ee]=n.useState(null),we=n.useRef(),Ie=n.useRef(),[$,me]=n.useState(Ft),Ee=n.useRef(-1),Be=n.useRef(null),Ae=n.useMemo(()=>{var H,Y,be,Te;return((Te=(be=(Y=(H=p?.consent)===null||H===void 0?void 0:H[0])===null||Y===void 0?void 0:Y.item)===null||be===void 0?void 0:be.props)===null||Te===void 0?void 0:Te.privacy_necessity)&&!B&&!T||C},[B,p,C,T]),Re=n.useCallback(H=>{var Y;const be=H?.recList;return(Y=be?.map(fe=>{var ke,Oe,le,ie,Se,k;if(!((ke=fe?.video)===null||ke===void 0)&&ke.bindProducts&&((le=(Oe=fe?.video)===null||Oe===void 0?void 0:Oe.bindProducts)===null||le===void 0?void 0:le.length)>0){const ne=(k=(Se=(ie=fe?.video)===null||ie===void 0?void 0:ie.bindProducts)===null||Se===void 0?void 0:Se.filter(Z=>!!Z?.bindCta))!==null&&k!==void 0?k:[];return Object.assign(Object.assign({},fe),{video:Object.assign(Object.assign({},fe?.video),{bindProducts:ne})})}return fe}))!==null&&Y!==void 0?Y:[]},[]);n.useEffect(()=>{const H=Y=>{we.current=Y};return vt.on(ot.CHANGE_THEME_TAG,H),()=>{vt.off(ot.CHANGE_THEME_TAG,H)}},[]),n.useEffect(()=>{te(h)},[h]);const Le=n.useMemo(()=>e?.find(H=>H.type===ai.BFF),[e]),G=n.useCallback((H,Y)=>{if(!Le)return;const be=Le.url,Te=Gi();if(Y?.query){const fe=oi.stringify(Y.query);H=`${H}?${fe}`}return Y.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${be}/api/v1${H}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Le.headers),{"x-user-id":Te}),Y.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${be}/api/v1${H}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Te},Le.headers),method:Y.method,body:JSON.stringify(Y.body)}).then(fe=>fe.json()).catch(fe=>Promise.reject(fe))},[Le]),pe=n.useCallback(H=>Ze(void 0,void 0,void 0,function*(){var Y,be,Te,fe,ke,Oe,le,ie,Se,k,ne,Z;if(H=Object.assign(Object.assign(Object.assign({maxSize:(Y=H?.maxSize)!==null&&Y!==void 0?Y:a,defaultSize:(be=H?.defaultSize)!==null&&be!==void 0?be:l,hashTag:H?.hashTag,traceInfo:H?.traceInfo,themeTag:H?.themeTag},H?.contentFilter&&{contentFilter:`[${H?.contentFilter}]`}),H?.productFilter&&{productFilter:`[${H?.productFilter}]`}),{pageNum:H?.pageNum}),i){const de=(ke=(fe=(Te=i?.split("&"))===null||Te===void 0?void 0:Te.filter(ve=>{var q,ce;const Ce=ve.split("=")[0];return(ce=(q=y?.channels)!==null&&q!==void 0?q:[])===null||ce===void 0?void 0:ce.includes(Ce)}))===null||fe===void 0?void 0:fe.join("&"))!==null&&ke!==void 0?ke:"";H=Object.assign(Object.assign({},H),{channel:decodeURIComponent(de)})}if(p?.enablePreview&&(H=Object.assign(Object.assign({},H),{directPage:!0,level:1,pageNum:(Oe=H?.pageNum)!==null&&Oe!==void 0?Oe:1})),T){let de=1;if(H=Object.assign(Object.assign(Object.assign({},H),{directPage:!0,level:1}),!i&&E&&E?.length>0&&{channel:E?.[0]}),!H?.channel||z.current)return;z.current=!0;let ve=[],q=null;const ce=Ce=>Ze(void 0,void 0,void 0,function*(){var Ne,ze,Ge,He,Ue,We;if(Ce.pageNum=de,q=yield G?.("/recommend/list",{method:"GET",query:Ce}),!q?.success)return;A(!1);const Pe=(ze=(Ne=q?.data)===null||Ne===void 0?void 0:Ne.recList)===null||ze===void 0?void 0:ze.every(_e=>_e?.product||_e?.video);ve=ve.concat((We=(Ue=(He=(Ge=q?.data)===null||Ge===void 0?void 0:Ge.recList)===null||He===void 0?void 0:He.filter)===null||Ue===void 0?void 0:Ue.call(He,_e=>_e?.product||_e?.video))!==null&&We!==void 0?We:[]),Pe&&(de=de+1,yield ce(Ce))});return yield ce(H),!H?.hashTag&&q&&O({rtc:(le=q?.data)===null||le===void 0?void 0:le.rtc,requestId:(ie=q?.data)===null||ie===void 0?void 0:ie.requestId}),Object.assign(Object.assign({},q.data),{recList:ve})}const oe=yield G?.("/recommend/list",{method:"GET",query:H});if(oe?.success){if(H?.hashTag||O({rtc:oe.data.rtc,requestId:oe.data.requestId}),p?.enablePreview&&!T){let de=[];return de=de.concat((Z=(ne=(k=(Se=oe?.data)===null||Se===void 0?void 0:Se.recList)===null||k===void 0?void 0:k.filter)===null||ne===void 0?void 0:ne.call(k,ve=>ve?.product||ve?.video))!==null&&Z!==void 0?Z:[]),Object.assign(Object.assign({},oe.data),{recList:de})}return oe?.data}}),[G,i,a,l,E]),ge=n.useCallback(H=>Ze(void 0,void 0,void 0,function*(){var Y,be,Te,fe;if(P.length<=0)return;const ke=P?.[P?.length-1],Oe=yield pe(Object.assign(Object.assign(Object.assign(Object.assign({hashTag:V?.hashTag},((Y=ke?.product)===null||Y===void 0?void 0:Y.itemId)&&{productFilter:(be=ke?.product)===null||be===void 0?void 0:be.itemId}),((Te=ke?.video)===null||Te===void 0?void 0:Te.itemId)&&{contentFilter:(fe=ke?.video)===null||fe===void 0?void 0:fe.itemId}),{themeTag:we.current}),p?.enablePreview&&!T&&{pageNum:H}));S(P.concat(Re(Oe))),ue(re.concat(Re(Oe)))}),[pe,P,V,re]),ae=n.useCallback(({userInfo:H,eventInfo:Y})=>{if(!o||p?.enablePreview)return;H||(H={});const be=Jo(),Te=Object.assign(Object.assign(Object.assign(Object.assign({sessionID:be,rtc:I.rtc,requestId:I.requestId},Y),Ri()&&{sxpDevice:Ri()}),Oi()&&{sxpSystem:Oi()}),Mi()&&{sxpBrowser:Mi()}),fe=Object.entries(H).map(([Oe,le])=>({name:Oe,value:le})),ke=Object.entries(Te).map(([Oe,le])=>le&&{name:Oe,value:le}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",H),console.log("eventInfo:",Te),console.log("========= \u7ED3\u675F ========="),G?.("/event/report",{method:"POST",body:{userInfo:fe,eventInfo:ke},type:"beacon"})},[G,I,o,p?.enablePreview]),Fe=n.useCallback(H=>{var Y,be,Te,{eventName:fe,actionSource:ke="website",eventSourceUrl:Oe=(Y=window?.location)===null||Y===void 0?void 0:Y.href,externalId:le}=H;if(!o||!m||p?.enablePreview)return;const ie=Gi(),k=new URLSearchParams(window.location.search).get("fbclid");return G?.("/fb/events",{method:"POST",body:{eventName:fe,actionSource:ke,eventSourceUrl:Oe,userData:Object.assign(Object.assign(Object.assign({externalId:ie},k&&{fbc:`fb.2.${new Date().getTime()}.${k}`}),Li("_fbp")&&{fbp:`fb.2.${new Date().getTime()}.${Li("_fbp")}`}),{client_user_agent:(Te=(be=window?.navigator)===null||be===void 0?void 0:be.userAgent)!==null&&Te!==void 0?Te:""})},type:"beacon"})},[G,o,m,p?.enablePreview]),U=n.useCallback(H=>Ze(void 0,void 0,void 0,function*(){const Y=yield G?.("/recommend/like",{method:"POST",body:H});return Y?.success}),[G]),L=n.useCallback(H=>Ze(void 0,void 0,void 0,function*(){const Y=yield G?.("/recommend/unlike",{method:"POST",body:H});return Y?.success}),[G]),Me=n.useCallback(H=>Ze(void 0,void 0,void 0,function*(){const Y=yield G?.("/customform",{method:"POST",body:H});return Y?.success}),[G]),je=n.useCallback(()=>Ze(void 0,void 0,void 0,function*(){var H,Y,be,Te,fe;if(!(!i||!w))try{const ke=(be=(Y=(H=i?.split("&"))===null||H===void 0?void 0:H.filter(le=>{var ie,Se;const k=le.split("=")[0];return(Se=(ie=y?.channels)!==null&&ie!==void 0?ie:[])===null||Se===void 0?void 0:Se.includes(k)}))===null||Y===void 0?void 0:Y.join("&"))!==null&&be!==void 0?be:"",Oe=yield G?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});D((fe=(Te=Oe?.data)===null||Te===void 0?void 0:Te.tags)!==null&&fe!==void 0?fe:[])}catch(ke){console.log("e",ke)}}),[G,i,w]),rt=n.useCallback((H,Y,be,Te)=>{var fe,ke,Oe,le,ie,Se,k,ne,Z,oe,de,ve,q,ce,Ce,Ne,ze,Ge,He,Ue,We,Pe,_e,it,Ye,dt,ct,yt,wt,Ve,Zt,Qt,$t,ei,ti,ii;const St=be?.bindCta,Lo=((fe=Y?.video)===null||fe===void 0?void 0:fe.bindProduct)||((ke=Y?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((le=(Oe=Y?.video)===null||Oe===void 0?void 0:Oe.bindProducts)===null||le===void 0?void 0:le.length)>0;let Nt="";J?Nt="hashTagPage":!((ie=Y?.video)===null||ie===void 0)&&ie.url?Nt="videoPage":!((k=(Se=Y?.video)===null||Se===void 0?void 0:Se.imgUrls)===null||k===void 0)&&k.length&&(Nt="imagePage");const Ii=(ce=(ve=(ne=be?.tags)!==null&&ne!==void 0?ne:(de=(oe=(Z=Y?.video)===null||Z===void 0?void 0:Z.bindProducts)===null||oe===void 0?void 0:oe[0])===null||de===void 0?void 0:de.tags)!==null&&ve!==void 0?ve:(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&ce!==void 0?ce:(Ce=Y?.product)===null||Ce===void 0?void 0:Ce.tags;ae?.({eventInfo:Object.assign(Object.assign({},H),{ctaId:(Ne=St?.itemId)!==null&&Ne!==void 0?Ne:"",ctaName:(ze=St?.title)!==null&&ze!==void 0?ze:"",contentTags:Ii?JSON.stringify(Ii):"",position:Te+"",contentId:(He=(Ge=Y?.video)===null||Ge===void 0?void 0:Ge.itemId)!==null&&He!==void 0?He:"",productId:Lo?be?.itemId:"",traceInfo:(ti=(Qt=(ct=(_e=(Ue=St?.traceInfo)!==null&&Ue!==void 0?Ue:(Pe=(We=Y?.video)===null||We===void 0?void 0:We.bindCta)===null||Pe===void 0?void 0:Pe.traceInfo)!==null&&_e!==void 0?_e:(dt=(Ye=(it=Y?.video)===null||it===void 0?void 0:it.bindProduct)===null||Ye===void 0?void 0:Ye.bindCta)===null||dt===void 0?void 0:dt.traceInfo)!==null&&ct!==void 0?ct:(Zt=(Ve=(wt=(yt=Y?.video)===null||yt===void 0?void 0:yt.bindProducts)===null||wt===void 0?void 0:wt[0])===null||Ve===void 0?void 0:Ve.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:Nt,fromKPage:(ii=location?.href)!==null&&ii!==void 0?ii:""})})},[ae,J]),ft=n.useCallback(()=>{var H,Y;const be=location.search.slice(1),Te=oi.parse(be.replace(/\+/g,"%2B"));for(const Oe in Te)Te[Oe]=Te[Oe].replace(/%2B/g,"+");const fe=Oe=>{var le;return(le=Te[Oe])!==null&&le!==void 0?le:""},ke=new Date;Ie.current=ke,ae?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:fe("utm_source"),utmMedium:fe("utm_medium"),utmCampaign:fe("utm_campaign"),utmId:fe("utm_id"),utmContent:fe("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:(Y=(H=window?.location)===null||H===void 0?void 0:H.href)!==null&&Y!==void 0?Y:"",clSource:fe("cl_source")}})},[ae]);n.useEffect(()=>{Ae||ft()},[Ae]),n.useEffect(()=>{Ae||(A(!0),je(),pe().then(H=>{H&&(S(Re(H)),ue(Re(H)))}).finally(()=>{ae({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),A(!1)}))},[Ae]),n.useEffect(()=>{s&&(A(!0),je(),pe().then(H=>{H&&(S(Re(H)),ue(Re(H)))}).finally(()=>{ae({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),A(!1)}))},[pe,je]);const et=lt("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",r);return n.createElement(Ui.Provider,{value:{rtcList:P,setRtcList:S,mutateLike:U,mutateUnlike:L,submitForm:Me,popupDetailData:N,loadVideos:ge,setPopupDetailData:W,getRecommendVideos:pe,bffEventReport:ae,utmVal:i,isPreview:s,loading:b,sxpParameter:d,waterFallData:V,setWaterFallData:F,ctaEvent:rt,swiperRef:j,openHashtag:X,setOpenHashtag:te,cacheRtcList:re,setCacheRtcList:ue,cacheActiveIndex:ye,setCacheActiveIndex:Q,isFromHashtag:J,setIsFromHashtag:se,appDomain:r,hashTagSize:v,loadingImage:c??et,isOpenHashTag:h,tagList:u,setLoading:A,videoRef:K,setVideoRef:ee,bffFbReport:Fe,isAgreePolicy:B,setIsAgreePolicy:R,curTime:Ie,h5EnterLink:ft,themeTag:we,isShowConsent:Ae,selectTag:$,setSelectTag:me,globalConfig:p,popupCurTimeRef:Be,checkCommodityIndexRef:Ee,isEditor:T}},Ae?n.createElement(en,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:U,mutateUnlike:L,submitForm:Me,tagList:u}))};var Wi=n.memo(tn);function De(){return n.useContext(Ui)}var Yi;(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"})(Yi||(Yi={}));const Xi=n.createContext({$store:{},options:[],configs:[]}),on=({children:t,isSsr:e,enable:i})=>{const[o,a]=n.useState([]),{schema:l}=ut(),[s,d]=n.useState(l.__STORE__||{}),[r,v]=n.useState([]);n.useEffect(()=>{var m;e||Xe.isEqual(r,l?.dataSource)||v((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=n.useCallback(()=>Ze(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield Pi("",r);d(m),h(m,f)}),[r]),h=(m,f)=>{const x=[];Object.entries(m).forEach(([w,C])=>{Object.keys(C).forEach(p=>{const T={label:`${f[w]} - ${p}`,value:`{{ ${w}.${p} }}`};x.push(T)})}),a(x)};return n.useEffect(()=>{e||c()},[c,e,l]),i?n.createElement(Xi.Provider,{value:{$store:l.__STORE__||s,options:o,configs:r}},t):t};var nn=n.memo(on);const jt={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"},Ji=n.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[jt],redoStack:[],popup:si,setPopup:()=>{}}),qi=n.forwardRef(({children:t,resolver:e,isSsr:i,schema:o,enableDataSource:a=!0,utmVal:l},s)=>{const[d,r]=n.useState(null),[v,c]=n.useState(o||{pointData:[jt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[h,m]=n.useState([jt]),[f,x]=n.useState([[jt]]),[w,C]=n.useState([]),[p,T]=n.useState(si);typeof window<"u"&&(window.sxpPopup=(M,P)=>{T(Object.assign(Object.assign(Object.assign({},si),{id:M}),P))}),typeof window<"u"&&(window.getJointUtmLink=M=>(Qo(),M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:""))),n.useEffect(()=>{x([v.pointData]),C([])},[v.type]);const y=n.useCallback(M=>{const P=Xe.cloneDeep(v);P&&(P.dataSource=M,c?.(P))},[v]),[E,_]=n.useState();n.useImperativeHandle(s,()=>({loadSchema(M){M&&(x([M.pointData]),c(M))},exportSchema(){return Xe.cloneDeep(v)},getPageInfoData(){return E},initPageInfoData(M){M&&_(M)}}));const g=n.useMemo(()=>{if(v)return v.type==="PC"?v.pcPageConf:v.mobilePageConf},[v]);return n.createElement(Ji.Provider,{value:{resolver:e,currentNode:d,schema:v,setCurrentNode:r,setSchema:c,saveDataSource:y,prePiontData:h,setPrePiontData:m,pageInfoData:E,setPageInfoData:M=>_(Object.assign(Object.assign({},E),M)),undoStack:f,redoStack:w,setRedoStack:C,setUndoStack:x,getCurPageConf:g,popup:p,setPopup:T}},n.createElement(nn,{isSsr:i,enable:a},t))});var ln=Object.freeze({__proto__:null,EditorCore:qi}),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 qe(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:o}=De(),a=n.useCallback((d,r,v,c,h)=>{var m,f,x,w,C,p,T,y,E,_,g,M,P,S,u,D,b,A,I,O,j,z,B,R,N,W,V,F,X,te,re,ue,ye,Q;let J="";e&&(!((f=(m=d?.video)===null||m===void 0?void 0:m.bindProducts)===null||f===void 0)&&f.length||!((x=d?.video)===null||x===void 0)&&x.bindProduct)?J="pdpPage":o?J="hashTagPage":!((w=d?.video)===null||w===void 0)&&w.url?J="videoPage":!((C=d?.video)===null||C===void 0)&&C.imgUrls&&(!((T=(p=d?.video)===null||p===void 0?void 0:p.imgUrls)===null||T===void 0)&&T.length)?J="imagePage":d?.product&&(J="productPage");const se=(S=(M=(y=r?.tags)!==null&&y!==void 0?y:(g=(_=(E=d?.video)===null||E===void 0?void 0:E.bindProducts)===null||_===void 0?void 0:_[0])===null||g===void 0?void 0:g.tags)!==null&&M!==void 0?M:(P=d?.video)===null||P===void 0?void 0:P.tags)!==null&&S!==void 0?S:(u=d?.product)===null||u===void 0?void 0:u.tags;t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(D=r?.itemId)!==null&&D!==void 0?D:"",productName:(b=r?.title)!==null&&b!==void 0?b:"",price:r?.price?r?.price+"":"0",productCollection:(A=r?.collection)!==null&&A!==void 0?A:"",fromKName:J,fromKPage:location?.href,contentTags:se?JSON.stringify(se):"",position:c+"",contentId:(O=(I=d?.video)===null||I===void 0?void 0:I.itemId)!==null&&O!==void 0?O:"",ctatId:(j=v?.itemId)!==null&&j!==void 0?j:"",traceInfo:(Q=(re=(X=(N=(z=h??r?.traceInfo)!==null&&z!==void 0?z:(R=(B=d?.video)===null||B===void 0?void 0:B.bindProduct)===null||R===void 0?void 0:R.traceInfo)!==null&&N!==void 0?N:(F=(V=(W=d?.video)===null||W===void 0?void 0:W.bindProducts)===null||V===void 0?void 0:V[0])===null||F===void 0?void 0:F.traceInfo)!==null&&X!==void 0?X:(te=d?.product)===null||te===void 0?void 0:te.traceInfo)!==null&&re!==void 0?re:(ye=(ue=d?.video)===null||ue===void 0?void 0:ue.bindCta)===null||ye===void 0?void 0:ye.traceInfo)!==null&&Q!==void 0?Q:""}})},[t,e,o]),l=n.useCallback((d,r,v,c,h)=>{var m,f,x,w,C,p,T,y,E,_,g,M,P,S;let u="";e&&(!((f=(m=d?.video)===null||m===void 0?void 0:m.bindProducts)===null||f===void 0)&&f.length||!((x=d?.video)===null||x===void 0)&&x.bindProduct)?u="pdpPage":d?.product&&(u="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price?r?.price+"":"0",productCollection:r?.collection,fromKName:u,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:h+"",contentId:(w=d?.video)===null||w===void 0?void 0:w.itemId,ctatId:v?.itemId,traceInfo:(S=(M=(y=(C=r?.traceInfo)!==null&&C!==void 0?C:(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=(_=(E=d?.video)===null||E===void 0?void 0:E.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&&S!==void 0?S:"",timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),s=n.useCallback((d,r,v,c)=>{r&&r===Ft&&t?.({eventInfo:{lastFeed:d,themeTags:v?`['${v}']`:"",hashTags:c?`['${c}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:a,productView:l,backMainFeed:s}}const rn=({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 dn=n.memo(rn);const cn=t=>{var{columns:e,style:i,title:o,textStyle:a,submitBgColor:l,submitColor:s,submitText:d,layoutType:r="inline",isExternalLink:v,isPopup:c,onClick:h,onClose:m,submitButtonStyle:f}=t,x=Je(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:w,popupDetailData:C}=De(),{jumpToWeb:p}=qe(),[T,y]=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"}],[]),[_,g]=n.useState({}),M=n.useMemo(()=>Xe.cloneDeep(e)||E,[e,E]),P=n.useCallback(u=>{const{name:D,value:b}=u.target;g(Object.assign(Object.assign({},_),{[D]:b}))},[_]),S=Xe.debounce(()=>Ze(void 0,void 0,void 0,function*(){var u,D,b,A,I;const O=_;if(!O)return;const j=(D=(u=Object.keys(O))===null||u===void 0?void 0:u.map(B=>{var R;return{name:B,value:(R=O[B])!==null&&R!==void 0?R:""}}))===null||D===void 0?void 0:D.filter(B=>B?.value);if(!j||!j?.length)return;y(!0);const z=yield w?.({attributes:j});if(y(!1),z){if(v){const B=C,R=(b=B?.video)===null||b===void 0?void 0:b.bindProduct,N=(I=(A=B?.video)===null||A===void 0?void 0:A.bindProduct)===null||I===void 0?void 0:I.bindCta,W=C?.index;p(B,R,N,W)}c||m?.(),h?.()}}),1e3);return n.createElement("div",{className:"pb-appoint-form"},n.createElement("div",{className:`pb-appoint-form-title ${xe.css(Object.assign({},a))}`,dangerouslySetInnerHTML:{__html:he(o,a)}}),n.createElement("div",Object.assign({className:xe.css(Object.assign({},i))},x),n.createElement("div",{className:"pb-appoint-form-container"},n.createElement(dn,{columns:M,layout:r,onChange:P}))),n.createElement("div",{className:"pb-appoint-form-btn-wrapper"},n.createElement("button",{"aria-label":d,onClick:S,className:"pb-appoint-form-btn",style:Object.assign({color:s,background:l},f),dangerouslySetInnerHTML:{__html:he(T?"loading...":d,f)}})))};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 Ki(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]:Ki(e[i])&&Ki(t[i])&&Object.keys(e[i]).length>0&&ri(t[i],e[i])})}const Zi={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 pt(){const t=typeof document<"u"?document:{};return ri(t,Zi),t}const mn={document:Zi,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 ri(t,mn),t}function Tt(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 s=hn(t);return i.WebKitCSSMatrix?(a=s.transform||s.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(d=>d.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(a==="none"?"":a)):(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.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 Vt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function bn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function nt(){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,s=a.length;l<s;l+=1){const d=a[l],r=Object.getOwnPropertyDescriptor(o,d);r!==void 0&&r.enumerable&&(Vt(t[d])&&Vt(o[d])?o[d].__swiper__?t[d]=o[d]:nt(t[d],o[d]):!Vt(t[d])&&Vt(o[d])?(t[d]={},o[d].__swiper__?t[d]=o[d]:nt(t[d],o[d])):t[d]=o[d])}}}return t}function zt(t,e,i){t.style.setProperty(e,i)}function Qi(t){let{swiper:e,targetPosition:i,side:o}=t;const a=$e(),l=-e.translate;let s=null,d;const r=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const v=i>l?"next":"prev",c=(m,f)=>v==="next"&&m>=f||v==="prev"&&m<=f,h=()=>{d=new Date().getTime(),s===null&&(s=d);const m=Math.max(Math.min((d-s)/r,1),0),f=.5-Math.cos(m*Math.PI)/2;let x=l+f*(i-l);if(c(x,i)&&(x=i),e.wrapperEl.scrollTo({[o]:x}),c(x,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[o]:x})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(h)};h()}function ht(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Ht(t){try{console.warn(t);return}catch{}}function Mt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Tt(e)),i}function yn(t){const e=$e(),i=pt(),o=t.getBoundingClientRect(),a=i.body,l=t.clientTop||a.clientTop||0,s=t.clientLeft||a.clientLeft||0,d=t===e?e.scrollY:t.scrollTop,r=t===e?e.scrollX:t.scrollLeft;return{top:o.top+d-l,left:o.left+r-s}}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 Et(t,e){return $e().getComputedStyle(t,null).getPropertyValue(e)}function Gt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function $i(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 di(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 gt(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 s,d=at(),r;const v=[];function c(y){let M=0,P=0,S=0,u=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),S=M*10,u=P*10,"deltaY"in y&&(u=y.deltaY),"deltaX"in y&&(S=y.deltaX),y.shiftKey&&!S&&(S=u,u=0),(S||u)&&y.deltaMode&&(y.deltaMode===1?(S*=40,u*=40):(S*=800,u*=800)),S&&!M&&(M=S<1?-1:1),u&&!P&&(P=u<1?-1:1),{spinX:M,spinY:P,pixelX:S,pixelY:u}}function h(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(y){return e.params.mousewheel.thresholdDelta&&y.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&at()-d<e.params.mousewheel.thresholdTime?!1:y.delta>=6&&at()-d<60?!0:(y.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),a("scroll",y.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),a("scroll",y.raw)),d=new l.Date().getTime(),!1)}function x(y){const E=e.params.mousewheel;if(y.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function w(y){let E=y,_=!0;if(!e.enabled||y.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const g=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const P=M&&M.contains(E.target);if(!e.mouseEntered&&!P&&!g.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let S=0;const u=e.rtlTranslate?-1:1,D=c(E);if(g.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))S=-D.pixelX*u;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))S=-D.pixelY;else return!0;else S=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*u:-D.pixelY;if(S===0)return!0;g.invert&&(S=-S);let b=e.getTranslate()+S*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&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const A={time:at(),delta:Math.abs(S),direction:Math.sign(S),raw:y};v.length>=2&&v.shift();const I=v.length?v[v.length-1]:void 0;if(v.push(A),I?(A.direction!==I.direction||A.delta>I.delta||A.time>I.time+150)&&f(A):f(A),x(A))return!0}else{const A={time:at(),delta:Math.abs(S),direction:Math.sign(S)},I=r&&A.time<r.time+500&&A.delta<=r.delta&&A.direction===r.direction;if(!I){r=void 0;let O=e.getTranslate()+S*g.sensitivity;const j=e.isBeginning,z=e.isEnd;if(O>=e.minTranslate()&&(O=e.minTranslate()),O<=e.maxTranslate()&&(O=e.maxTranslate()),e.setTransition(0),e.setTranslate(O),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!j&&e.isBeginning||!z&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:A.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,v.length>=15&&v.shift();const B=v.length?v[v.length-1]:void 0,R=v[0];if(v.push(A),B&&(A.delta>B.delta||A.direction!==B.direction))v.splice(0);else if(v.length>=15&&A.time-R.time<500&&R.delta-A.delta>=1&&A.delta<=6){const N=S>0?.8:.2;r=A,v.splice(0),s=It(()=>{e.slideToClosest(e.params.speed,!0,void 0,N)},0)}s||(s=It(()=>{r=A,v.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(I||a("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),g.releaseOnEdges&&(O===e.minTranslate()||O===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function C(y){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[y]("mouseenter",h),E[y]("mouseleave",m),E[y]("wheel",w)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",w),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function T(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,w),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}o("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&T(),e.params.mousewheel.enabled&&p()}),o("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&T()}),Object.assign(e.mousewheel,{enable:p,disable:T})}function eo(t,e,i,o){return t.params.createElements&&Object.keys(o).forEach(a=>{if(!i[a]&&i.auto===!0){let l=ht(t.el,`.${o[a]}`)[0];l||(l=Mt("div",o[a]),l.className=o[a],t.el.append(l)),i[a]=l,e[a]=l}}),i}function kt(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 s,d=0;function r(){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 c(p){const T=p.target.closest(kt(e.params.pagination.bulletClass));if(!T)return;p.preventDefault();const y=Gt(T)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;e.slideToLoop(y)}else e.slideTo(y)}function h(){const p=e.rtl,T=e.params.pagination;if(r())return;let y=e.pagination.el;y=gt(y);let E,_;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,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,_=e.previousSnapIndex):(_=e.previousIndex||0,E=e.activeIndex||0),T.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const P=e.pagination.bullets;let S,u,D;if(T.dynamicBullets&&(s=ci(P[0],e.isHorizontal()?"width":"height",!0),y.forEach(b=>{b.style[e.isHorizontal()?"width":"height"]=`${s*(T.dynamicMainBullets+4)}px`}),T.dynamicMainBullets>1&&_!==void 0&&(d+=E-(_||0),d>T.dynamicMainBullets-1?d=T.dynamicMainBullets-1:d<0&&(d=0)),S=Math.max(E-d,0),u=S+(Math.min(P.length,T.dynamicMainBullets)-1),D=(u+S)/2),P.forEach(b=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${T.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();b.classList.remove(...A)}),y.length>1)P.forEach(b=>{const A=Gt(b);A===E?b.classList.add(...T.bulletActiveClass.split(" ")):e.isElement&&b.setAttribute("part","bullet"),T.dynamicBullets&&(A>=S&&A<=u&&b.classList.add(...`${T.bulletActiveClass}-main`.split(" ")),A===S&&v(b,"prev"),A===u&&v(b,"next"))});else{const b=P[E];if(b&&b.classList.add(...T.bulletActiveClass.split(" ")),e.isElement&&P.forEach((A,I)=>{A.setAttribute("part",I===E?"bullet-active":"bullet")}),T.dynamicBullets){const A=P[S],I=P[u];for(let O=S;O<=u;O+=1)P[O]&&P[O].classList.add(...`${T.bulletActiveClass}-main`.split(" "));v(A,"prev"),v(I,"next")}}if(T.dynamicBullets){const b=Math.min(P.length,T.dynamicMainBullets+4),A=(s*b-s)/2-D*s,I=p?"right":"left";P.forEach(O=>{O.style[e.isHorizontal()?I:"top"]=`${A}px`})}}y.forEach((P,S)=>{if(T.type==="fraction"&&(P.querySelectorAll(kt(T.currentClass)).forEach(u=>{u.textContent=T.formatFractionCurrent(E+1)}),P.querySelectorAll(kt(T.totalClass)).forEach(u=>{u.textContent=T.formatFractionTotal(M)})),T.type==="progressbar"){let u;T.progressbarOpposite?u=e.isHorizontal()?"vertical":"horizontal":u=e.isHorizontal()?"horizontal":"vertical";const D=(E+1)/M;let b=1,A=1;u==="horizontal"?b=D:A=D,P.querySelectorAll(kt(T.progressbarFillClass)).forEach(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${b}) scaleY(${A})`,I.style.transitionDuration=`${e.params.speed}ms`})}T.type==="custom"&&T.renderCustom?(P.innerHTML=T.renderCustom(e,E+1,M),S===0&&a("paginationRender",P)):(S===0&&a("paginationRender",P),a("paginationUpdate",P)),e.params.watchOverflow&&e.enabled&&P.classList[e.isLocked?"add":"remove"](T.lockClass)})}function m(){const p=e.params.pagination;if(r())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=gt(y);let E="";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?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=[],y.forEach(_=>{p.type!=="custom"&&(_.innerHTML=E||""),p.type==="bullets"&&e.pagination.bullets.push(..._.querySelectorAll(kt(p.bulletClass)))}),p.type!=="custom"&&a("paginationRender",y[0])}function f(){e.params.pagination=eo(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=>$i(y,".swiper")[0]===e.el)[0])),Array.isArray(T)&&T.length===1&&(T=T[0]),Object.assign(e.pagination,{el:T}),T=gt(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",c),e.enabled||y.classList.add(p.lockClass)}))}function x(){const p=e.params.pagination;if(r())return;let T=e.pagination.el;T&&(T=gt(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",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...p.bulletActiveClass.split(" ")))}o("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:T}=e.pagination;T=gt(T),T.forEach(y=>{y.classList.remove(p.horizontalClass,p.verticalClass),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),o("init",()=>{e.params.pagination.enabled===!1?C():(f(),m(),h())}),o("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),o("snapIndexChange",()=>{h()}),o("snapGridLengthChange",()=>{m(),h()}),o("destroy",()=>{x()}),o("enable disable",()=>{let{el:p}=e.pagination;p&&(p=gt(p),p.forEach(T=>T.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),o("lock unlock",()=>{h()}),o("click",(p,T)=>{const y=T.target,E=gt(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const _=E[0].classList.contains(e.params.pagination.hiddenClass);a(_===!0?"paginationShow":"paginationHide"),E.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=gt(p),p.forEach(T=>T.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),h()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=gt(p),p.forEach(T=>T.classList.add(e.params.pagination.paginationDisabledClass))),x()};Object.assign(e.pagination,{enable:w,disable:C,render:m,update:h,init:f,destroy:x})}function Tn(t){let{swiper:e,extendParams:i,on:o,emit:a}=t;const l=pt();let s=!1,d=null,r=null,v,c,h,m;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:b,rtlTranslate:A}=e,{dragEl:I,el:O}=b,j=e.params.scrollbar,z=e.params.loop?e.progressLoop:e.progress;let B=c,R=(h-c)*z;A?(R=-R,R>0?(B=c-R,R=0):-R+c>h&&(B=h+R)):R<0?(B=c+R,R=0):R+c>h&&(B=h-R),e.isHorizontal()?(I.style.transform=`translate3d(${R}px, 0, 0)`,I.style.width=`${B}px`):(I.style.transform=`translate3d(0px, ${R}px, 0)`,I.style.height=`${B}px`),j.hide&&(clearTimeout(d),O.style.opacity=1,d=setTimeout(()=>{O.style.opacity=0,O.style.transitionDuration="400ms"},1e3))}function x(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:A,el:I}=b;A.style.width="",A.style.height="",h=e.isHorizontal()?I.offsetWidth:I.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=h*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?A.style.width=`${c}px`:A.style.height=`${c}px`,m>=1?I.style.display="none":I.style.display="",e.params.scrollbar.hide&&(I.style.opacity=0),e.params.watchOverflow&&e.enabled&&b.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(b){return e.isHorizontal()?b.clientX:b.clientY}function p(b){const{scrollbar:A,rtlTranslate:I}=e,{el:O}=A;let j;j=(C(b)-yn(O)[e.isHorizontal()?"left":"top"]-(v!==null?v:c/2))/(h-c),j=Math.max(Math.min(j,1),0),I&&(j=1-j);const z=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*j;e.updateProgress(z),e.setTranslate(z),e.updateActiveIndex(),e.updateSlidesClasses()}function T(b){const A=e.params.scrollbar,{scrollbar:I,wrapperEl:O}=e,{el:j,dragEl:z}=I;s=!0,v=b.target===z?C(b)-b.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,b.preventDefault(),b.stopPropagation(),O.style.transitionDuration="100ms",z.style.transitionDuration="100ms",p(b),clearTimeout(r),j.style.transitionDuration="0ms",A.hide&&(j.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",b)}function y(b){const{scrollbar:A,wrapperEl:I}=e,{el:O,dragEl:j}=A;s&&(b.preventDefault&&b.cancelable?b.preventDefault():b.returnValue=!1,p(b),I.style.transitionDuration="0ms",O.style.transitionDuration="0ms",j.style.transitionDuration="0ms",a("scrollbarDragMove",b))}function E(b){const A=e.params.scrollbar,{scrollbar:I,wrapperEl:O}=e,{el:j}=I;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",O.style.transitionDuration=""),A.hide&&(clearTimeout(r),r=It(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3)),a("scrollbarDragEnd",b),A.snapOnRelease&&e.slideToClosest())}function _(b){const{scrollbar:A,params:I}=e,O=A.el;if(!O)return;const j=O,z=I.passiveListeners?{passive:!1,capture:!1}:!1,B=I.passiveListeners?{passive:!0,capture:!1}:!1;if(!j)return;const R=b==="on"?"addEventListener":"removeEventListener";j[R]("pointerdown",T,z),l[R]("pointermove",y,z),l[R]("pointerup",E,B)}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:A}=e;e.params.scrollbar=eo(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const I=e.params.scrollbar;if(!I.el)return;let O;if(typeof I.el=="string"&&e.isElement&&(O=e.el.querySelector(I.el)),!O&&typeof I.el=="string"){if(O=l.querySelectorAll(I.el),!O.length)return}else O||(O=I.el);e.params.uniqueNavElements&&typeof I.el=="string"&&O.length>1&&A.querySelectorAll(I.el).length===1&&(O=A.querySelector(I.el)),O.length>0&&(O=O[0]),O.classList.add(e.isHorizontal()?I.horizontalClass:I.verticalClass);let j;O&&(j=O.querySelector(kt(e.params.scrollbar.dragClass)),j||(j=Mt("div",e.params.scrollbar.dragClass),O.append(j))),Object.assign(b,{el:O,dragEl:j}),I.draggable&&g(),O&&O.classList[e.enabled?"remove":"add"](...Tt(e.params.scrollbar.lockClass))}function S(){const b=e.params.scrollbar,A=e.scrollbar.el;A&&A.classList.remove(...Tt(e.isHorizontal()?b.horizontalClass:b.verticalClass)),M()}o("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const b=e.params.scrollbar;let{el:A}=e.scrollbar;A=gt(A),A.forEach(I=>{I.classList.remove(b.horizontalClass,b.verticalClass),I.classList.add(e.isHorizontal()?b.horizontalClass:b.verticalClass)})}),o("init",()=>{e.params.scrollbar.enabled===!1?D():(P(),w(),f())}),o("update resize observerUpdate lock unlock changeDirection",()=>{w()}),o("setTranslate",()=>{f()}),o("setTransition",(b,A)=>{x(A)}),o("enable disable",()=>{const{el:b}=e.scrollbar;b&&b.classList[e.enabled?"remove":"add"](...Tt(e.params.scrollbar.lockClass))}),o("destroy",()=>{S()});const u=()=>{e.el.classList.remove(...Tt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Tt(e.params.scrollbar.scrollbarDisabledClass)),P(),w(),f()},D=()=>{e.el.classList.add(...Tt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Tt(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:u,disable:D,updateSize:w,setTranslate:f,init:P,destroy:S})}function Wt(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 s,d,r=l&&l.autoplay?l.autoplay.delay:3e3,v=l&&l.autoplay?l.autoplay.delay:3e3,c,h=new Date().getTime(),m,f,x,w,C,p,T;function y(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",y),!(T||B.detail&&B.detail.bySwiperTouchMove)&&u())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(v=c,m=!1);const B=e.autoplay.paused?c:h+v-new Date().getTime();e.autoplay.timeLeft=B,a("autoplayTimeLeft",B,B/r),d=requestAnimationFrame(()=>{E()})},_=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.filter(N=>N.classList.contains("swiper-slide-active"))[0]:B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},g=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),E();let R=typeof B>"u"?e.params.autoplay.delay:B;r=e.params.autoplay.delay,v=e.params.autoplay.delay;const N=_();!Number.isNaN(N)&&N>0&&typeof B>"u"&&(R=N,r=N,v=N),c=R;const W=e.params.speed,V=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(W,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,W,!0,!0),a("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(W,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,W,!0,!0),a("autoplay")),e.params.cssMode&&(h=new Date().getTime(),requestAnimationFrame(()=>{g()})))};return R>0?(clearTimeout(s),s=setTimeout(()=>{V()},R)):requestAnimationFrame(()=>{V()}),R},M=()=>{h=new Date().getTime(),e.autoplay.running=!0,g(),a("autoplayStart")},P=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(d),a("autoplayStop")},S=(B,R)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),B||(p=!0);const N=()=>{a("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):u()};if(e.autoplay.paused=!0,R){C&&(c=e.params.autoplay.delay),C=!1,N();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-h),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),N())},u=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(h=new Date().getTime(),p?(p=!1,g(c)):g(),e.autoplay.paused=!1,a("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const B=pt();B.visibilityState==="hidden"&&(p=!0,S(!0)),B.visibilityState==="visible"&&u()},b=B=>{B.pointerType==="mouse"&&(p=!0,T=!0,!(e.animating||e.autoplay.paused)&&S(!0))},A=B=>{B.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&u())},I=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",b),e.el.addEventListener("pointerleave",A))},O=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",b),e.el.removeEventListener("pointerleave",A))},j=()=>{pt().addEventListener("visibilitychange",D)},z=()=>{pt().removeEventListener("visibilitychange",D)};o("init",()=>{e.params.autoplay.enabled&&(I(),j(),M())}),o("destroy",()=>{O(),z(),e.autoplay.running&&P()}),o("_freeModeStaticRelease",()=>{(x||p)&&u()}),o("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?P():S(!0,!0)}),o("beforeTransitionStart",(B,R,N)=>{e.destroyed||!e.autoplay.running||(N||!e.params.autoplay.disableOnInteraction?S(!0,!0):P())}),o("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){P();return}f=!0,x=!1,p=!1,w=setTimeout(()=>{p=!0,x=!0,S(!0)},200)}}),o("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(w),clearTimeout(s),e.params.autoplay.disableOnInteraction){x=!1,f=!1;return}x&&e.params.cssMode&&u(),x=!1,f=!1}}),o("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:P,pause:S,resume:u})}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 r=e.getTranslate();e.setTranslate(r),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function s(){if(e.params.cssMode)return;const{touchEventsData:r,touches:v}=e;r.velocities.length===0&&r.velocities.push({position:v[e.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:v[e.isHorizontal()?"currentX":"currentY"],time:at()})}function d(r){let{currentPos:v}=r;if(e.params.cssMode)return;const{params:c,wrapperEl:h,rtlTranslate:m,snapGrid:f,touchEventsData:x}=e,C=at()-x.touchStartTime;if(v<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(v>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(x.velocities.length>1){const P=x.velocities.pop(),S=x.velocities.pop(),u=P.position-S.position,D=P.time-S.time;e.velocity=u/D,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(D>150||at()-P.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,x.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const T=e.velocity*p;let y=e.translate+T;m&&(y=-y);let E=!1,_;const g=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(y<e.maxTranslate())c.freeMode.momentumBounce?(y+e.maxTranslate()<-g&&(y=e.maxTranslate()-g),_=e.maxTranslate(),E=!0,x.allowMomentumBounce=!0):y=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(y>e.minTranslate())c.freeMode.momentumBounce?(y-e.minTranslate()>g&&(y=e.minTranslate()+g),_=e.minTranslate(),E=!0,x.allowMomentumBounce=!0):y=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let P;for(let S=0;S<f.length;S+=1)if(f[S]>-y){P=S;break}Math.abs(f[P]-y)<Math.abs(f[P-1]-y)||e.swipeDirection==="next"?y=f[P]:y=f[P-1],y=-y}if(M&&a("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-y-e.translate)/e.velocity):p=Math.abs((y-e.translate)/e.velocity),c.freeMode.sticky){const P=Math.abs((m?-y:y)-e.translate),S=e.slidesSizesGrid[e.activeIndex];P<S?p=c.speed:P<2*S?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&E?(e.updateProgress(_),e.setTransition(p),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,di(h,()=>{!e||e.destroyed||!x.allowMomentumBounce||(o("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(_),di(h,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(o("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(p),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,di(h,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&o("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(o("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:s,onTouchEnd:d}})}let ui;function An(){const t=$e(),e=pt();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function to(){return ui||(ui=An()),ui}let vi;function Cn(t){let{userAgent:e}=t===void 0?{}:t;const i=to(),o=$e(),a=o.navigator.platform,l=e||o.navigator.userAgent,s={ios:!1,android:!1},d=o.screen.width,r=o.screen.height,v=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const h=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=a==="Win32";let x=a==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&x&&i.touch&&w.indexOf(`${d}x${r}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),x=!1),v&&!f&&(s.os="android",s.android=!0),(c||m||h)&&(s.os="ios",s.ios=!0),s}function io(t){return t===void 0&&(t={}),vi||(vi=Cn(t)),vi}let pi;function In(){const t=$e(),e=io();let i=!1;function o(){const d=t.navigator.userAgent.toLowerCase();return d.indexOf("safari")>=0&&d.indexOf("chrome")<0&&d.indexOf("android")<0}if(o()){const d=String(t.navigator.userAgent);if(d.includes("Version/")){const[r,v]=d.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=r<16||r===16&&v<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=o(),s=l||a&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:s,isWebView:a}}function kn(){return pi||(pi=In()),pi}function _n(t){let{swiper:e,on:i,emit:o}=t;const a=$e();let l=null,s=null;const d=()=>{!e||e.destroyed||!e.initialized||(o("beforeResize"),o("resize"))},r=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(h=>{s=a.requestAnimationFrame(()=>{const{width:m,height:f}=e;let x=m,w=f;h.forEach(C=>{let{contentBoxSize:p,contentRect:T,target:y}=C;y&&y!==e.el||(x=T?T.width:(p[0]||p).inlineSize,w=T?T.height:(p[0]||p).blockSize)}),(x!==m||w!==f)&&d()})}),l.observe(e.el))},v=()=>{s&&a.cancelAnimationFrame(s),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||o("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof a.ResizeObserver<"u"){r();return}a.addEventListener("resize",d),a.addEventListener("orientationchange",c)}),i("destroy",()=>{v(),a.removeEventListener("resize",d),a.removeEventListener("orientationchange",c)})}function Pn(t){let{swiper:e,extendParams:i,on:o,emit:a}=t;const l=[],s=$e(),d=function(c,h){h===void 0&&(h={});const m=s.MutationObserver||s.WebkitMutationObserver,f=new m(x=>{if(e.__preventObserver__)return;if(x.length===1){a("observerUpdate",x[0]);return}const w=function(){a("observerUpdate",x[0])};s.requestAnimationFrame?s.requestAnimationFrame(w):s.setTimeout(w,0)});f.observe(c,{attributes:typeof h.attributes>"u"?!0:h.attributes,childList:typeof h.childList>"u"?!0:h.childList,characterData:typeof h.characterData>"u"?!0:h.characterData}),l.push(f)},r=()=>{if(e.params.observer){if(e.params.observeParents){const c=$i(e.hostEl);for(let h=0;h<c.length;h+=1)d(c[h])}d(e.hostEl,{childList:e.params.observeSlideChildren}),d(e.wrapperEl,{attributes:!1})}},v=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),o("init",r),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,s=new Array(l),d=0;d<l;d++)s[d]=arguments[d];e.apply(o,s)}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),s=0;s<a;s++)l[s]=arguments[s];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(r=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(v=>{v.apply(o,[r,...i])}),t.eventsListeners&&t.eventsListeners[r]&&t.eventsListeners[r].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(Et(o,"padding-left")||0,10)-parseInt(Et(o,"padding-right")||0,10),i=i-parseInt(Et(o,"padding-top")||0,10)-parseInt(Et(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(u,D){return parseFloat(u.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:o,slidesEl:a,size:l,rtlTranslate:s,wrongRTL:d}=t,r=t.virtual&&i.virtual.enabled,v=r?t.virtual.slides.length:t.slides.length,c=ht(a,`.${t.params.slideClass}, swiper-slide`),h=r?t.virtual.slides.length:c.length;let m=[];const f=[],x=[];let w=i.slidesOffsetBefore;typeof w=="function"&&(w=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,T=t.slidesGrid.length;let y=i.spaceBetween,E=-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,c.forEach(u=>{s?u.style.marginLeft="":u.style.marginRight="",u.style.marginBottom="",u.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(zt(o,"--swiper-centered-offset-before",""),zt(o,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let P;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(u=>typeof i.breakpoints[u].slidesPerView<"u").length>0;for(let u=0;u<h;u+=1){P=0;let D;if(c[u]&&(D=c[u]),M&&t.grid.updateSlide(u,D,c),!(c[u]&&Et(D,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[u].style[t.getDirectionLabel("width")]="");const b=getComputedStyle(D),A=D.style.transform,I=D.style.webkitTransform;if(A&&(D.style.transform="none"),I&&(D.style.webkitTransform="none"),i.roundLengths)P=t.isHorizontal()?ci(D,"width",!0):ci(D,"height",!0);else{const O=e(b,"width"),j=e(b,"padding-left"),z=e(b,"padding-right"),B=e(b,"margin-left"),R=e(b,"margin-right"),N=b.getPropertyValue("box-sizing");if(N&&N==="border-box")P=O+B+R;else{const{clientWidth:W,offsetWidth:V}=D;P=O+j+z+B+R+(V-W)}}A&&(D.style.transform=A),I&&(D.style.webkitTransform=I),i.roundLengths&&(P=Math.floor(P))}else P=(l-(i.slidesPerView-1)*y)/i.slidesPerView,i.roundLengths&&(P=Math.floor(P)),c[u]&&(c[u].style[t.getDirectionLabel("width")]=`${P}px`);c[u]&&(c[u].swiperSlideSize=P),x.push(P),i.centeredSlides?(E=E+P/2+_/2+y,_===0&&u!==0&&(E=E-l/2-y),u===0&&(E=E-l/2-y),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),g%i.slidesPerGroup===0&&m.push(E),f.push(E)):(i.roundLengths&&(E=Math.floor(E)),(g-Math.min(t.params.slidesPerGroupSkip,g))%t.params.slidesPerGroup===0&&m.push(E),f.push(E),E=E+P+y),t.virtualSize+=P+y,_=P,g+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,s&&d&&(i.effect==="slide"||i.effect==="coverflow")&&(o.style.width=`${t.virtualSize+y}px`),i.setWrapperSize&&(o.style[t.getDirectionLabel("width")]=`${t.virtualSize+y}px`),M&&t.grid.updateWrapperSize(P,m),!i.centeredSlides){const u=[];for(let D=0;D<m.length;D+=1){let b=m[D];i.roundLengths&&(b=Math.floor(b)),m[D]<=t.virtualSize-l&&u.push(b)}m=u,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(r&&i.loop){const u=x[0]+y;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),b=u*i.slidesPerGroup;for(let A=0;A<D;A+=1)m.push(m[m.length-1]+b)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+u),f.push(f[f.length-1]+u),t.virtualSize+=u}if(m.length===0&&(m=[0]),y!==0){const u=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");c.filter((D,b)=>!i.cssMode||i.loop?!0:b!==c.length-1).forEach(D=>{D.style[u]=`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let u=0;x.forEach(b=>{u+=b+(y||0)}),u-=y;const D=u-l;m=m.map(b=>b<=0?-w:b>D?D+C:b)}if(i.centerInsufficientSlides){let u=0;x.forEach(b=>{u+=b+(y||0)}),u-=y;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(u+D<l){const b=(l-u-D)/2;m.forEach((A,I)=>{m[I]=A-b}),f.forEach((A,I)=>{f[I]=A+b})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:x}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){zt(o,"--swiper-centered-offset-before",`${-m[0]}px`),zt(o,"--swiper-centered-offset-after",`${t.size/2-x[x.length-1]/2}px`);const u=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(b=>b+u),t.slidesGrid=t.slidesGrid.map(b=>b+D)}if(h!==v&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==T&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!r&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const u=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(u);h<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(u):D&&t.el.classList.remove(u)}}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 s=d=>o?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&&!o)break;i.push(s(d))}else i.push(s(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const d=i[l].offsetHeight;a=d>a?d: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 oo=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Nn(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 s=-t;a&&(s=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 r=0;r<o.length;r+=1){const v=o[r];let c=v.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=o[0].swiperSlideOffset);const h=(s+(i.centeredSlides?e.minTranslate():0)-c)/(v.swiperSlideSize+d),m=(s-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(v.swiperSlideSize+d),f=-(s-c),x=f+e.slidesSizesGrid[r],w=f>=0&&f<=e.size-e.slidesSizesGrid[r],C=f>=0&&f<e.size-1||x>1&&x<=e.size||f<=0&&x>=e.size;C&&(e.visibleSlides.push(v),e.visibleSlidesIndexes.push(r)),oo(v,C,i.slideVisibleClass),oo(v,w,i.slideFullyVisibleClass),v.progress=a?-h:h,v.originalProgress=a?-m:m}}function Bn(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,o=e.maxTranslate()-e.minTranslate();let{progress:a,isBeginning:l,isEnd:s,progressLoop:d}=e;const r=l,v=s;if(o===0)a=0,l=!0,s=!0;else{a=(t-e.minTranslate())/o;const c=Math.abs(t-e.minTranslate())<1,h=Math.abs(t-e.maxTranslate())<1;l=c||a<=0,s=h||a>=1,c&&(a=0),h&&(a=1)}if(i.loop){const c=e.getSlideIndexByData(0),h=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],f=e.slidesGrid[h],x=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=m?d=(w-m)/x:d=(w+x-f)/x,d>1&&(d-=1)}Object.assign(e,{progress:a,progressLoop:d,isBeginning:l,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!r&&e.emit("reachBeginning toEdge"),s&&!v&&e.emit("reachEnd toEdge"),(r&&!l||v&&!s)&&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,s=t.grid&&i.grid&&i.grid.rows>1,d=h=>ht(o,`.${i.slideClass}${h}, swiper-slide${h}`)[0];let r,v,c;if(l)if(i.loop){let h=a-t.virtual.slidesBefore;h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),r=d(`[data-swiper-slide-index="${h}"]`)}else r=d(`[data-swiper-slide-index="${a}"]`);else s?(r=e.filter(h=>h.column===a)[0],c=e.filter(h=>h.column===a+1)[0],v=e.filter(h=>h.column===a-1)[0]):r=e[a];r&&(s||(c=Sn(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),v=wn(r,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!v===0&&(v=e[e.length-1]))),e.forEach(h=>{mi(h,h===r,i.slideActiveClass),mi(h,h===c,i.slideNextClass),mi(h,h===v,i.slidePrevClass)}),t.emitSlidesClasses()}const Yt=(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 s=a,d=[s-e];d.push(...Array.from({length:e}).map((r,v)=>s+o+v)),t.slides.forEach((r,v)=>{d.includes(r.column)&&fi(t,v)});return}const l=a+o-1;if(t.params.rewind||t.params.loop)for(let s=a-e;s<=l+e;s+=1){const d=(s%i+i)%i;(d<a||d>l)&&fi(t,d)}else for(let s=Math.max(a-e,0);s<=Math.min(l+e,i-1);s+=1)s!==a&&(s>l||s<a)&&fi(t,s)};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:s,snapIndex:d}=e;let r=t,v;const c=f=>{let x=f-e.virtual.slidesBefore;return x<0&&(x=e.virtual.slides.length+x),x>=e.virtual.slides.length&&(x-=e.virtual.slides.length),x};if(typeof r>"u"&&(r=jn(e)),o.indexOf(i)>=0)v=o.indexOf(i);else{const f=Math.min(a.slidesPerGroupSkip,r);v=f+Math.floor((r-f)/a.slidesPerGroup)}if(v>=o.length&&(v=o.length-1),r===l&&!e.params.loop){v!==d&&(e.snapIndex=v,e.emit("snapIndexChange"));return}if(r===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(r);return}const h=e.grid&&a.grid&&a.grid.rows>1;let m;if(e.virtual&&a.virtual.enabled&&a.loop)m=c(r);else if(h){const f=e.slides.filter(w=>w.column===r)[0];let x=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(x)&&(x=Math.max(e.slides.indexOf(f),0)),m=Math.floor(x/a.grid.rows)}else if(e.slides[r]){const f=e.slides[r].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=r}else m=r;Object.assign(e,{previousSnapIndex:d,snapIndex:v,previousRealIndex:s,realIndex:m,previousIndex:l,activeIndex:r}),e.initialized&&hi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==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(d=>{!a&&d.matches&&d.matches(`.${o.slideClass}, swiper-slide`)&&(a=d)});let l=!1,s;if(a){for(let d=0;d<i.slides.length;d+=1)if(i.slides[d]===a){l=!0,s=d;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=s;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:Nn,updateProgress:Bn,updateSlidesClasses:Fn,updateActiveIndex:Vn,updateClickedSlide:zn};function Gn(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 s=gn(l,t);return s+=e.cssOverflowAdjustment(),o&&(s=-s),s||0}function Un(t,e){const i=this,{rtlTranslate:o,params:a,wrapperEl:l,progress:s}=i;let d=0,r=0;const v=0;i.isHorizontal()?d=o?-t:t:r=t,a.roundLengths&&(d=Math.floor(d),r=Math.floor(r)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?d:r,a.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-d:-r:a.virtualTranslate||(i.isHorizontal()?d-=i.cssOverflowAdjustment():r-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${d}px, ${r}px, ${v}px)`);let c;const h=i.maxTranslate()-i.minTranslate();h===0?c=0:c=(t-i.minTranslate())/h,c!==s&&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:s,wrapperEl:d}=l;if(l.animating&&s.preventInteractionOnTransition)return!1;const r=l.minTranslate(),v=l.maxTranslate();let c;if(o&&t>r?c=r:o&&t<v?c=v:c=t,l.updateProgress(c),s.cssMode){const h=l.isHorizontal();if(e===0)d[h?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Qi({swiper:l,targetPosition:-c,side:h?"left":"top"}),!0;d.scrollTo({[h?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,a),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),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 Jn={getTranslate:Gn,setTranslate:Un,minTranslate:Wn,maxTranslate:Yn,translateTo:Xn};function qn(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 no(t){let{swiper:e,runCallbacks:i,direction:o,step:a}=t;const{activeIndex:l,previousIndex:s}=e;let d=o;if(d||(l>s?d="next":l<s?d="prev":d="reset"),e.emit(`transition${a}`),i&&l!==s){if(d==="reset"){e.emit(`slideResetTransition${a}`);return}e.emit(`slideChangeTransition${a}`),d==="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(),no({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),no({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Qn={setTransition:qn,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 s=t;s<0&&(s=0);const{params:d,snapGrid:r,slidesGrid:v,previousIndex:c,activeIndex:h,rtlTranslate:m,wrapperEl:f,enabled:x}=l;if(!x&&!o&&!a||l.destroyed||l.animating&&d.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const w=Math.min(l.params.slidesPerGroupSkip,s);let C=w+Math.floor((s-w)/l.params.slidesPerGroup);C>=r.length&&(C=r.length-1);const p=-r[C];if(d.normalizeSlideIndex)for(let y=0;y<v.length;y+=1){const E=-Math.floor(p*100),_=Math.floor(v[y]*100),g=Math.floor(v[y+1]*100);typeof v[y+1]<"u"?E>=_&&E<g-(g-_)/2?s=y:E>=_&&E<g&&(s=y+1):E>=_&&(s=y)}if(l.initialized&&s!==h&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(h||0)!==s))return!1;s!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let T;if(s>h?T="next":s<h?T="prev":T="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(s),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(),E=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(()=>{f[y?"scrollLeft":"scrollTop"]=E})):f[y?"scrollLeft":"scrollTop"]=E,_&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Qi({swiper:l,targetPosition:E,side:y?"left":"top"}),!0;f.scrollTo({[y?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(s),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,o),l.transitionStart(i,T),e===0?l.transitionEnd(i,T):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,T))}),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 s=t;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)s=s+a.virtual.slidesBefore;else{let d;if(l){const m=s*a.params.grid.rows;d=a.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else d=a.getSlideIndexByData(s);const r=l?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:v}=a.params;let c=a.params.slidesPerView;c==="auto"?c=a.slidesPerViewDynamic():(c=Math.ceil(parseFloat(a.params.slidesPerView,10)),v&&c%2===0&&(c=c+1));let h=r-d<c;if(v&&(h=h||d<Math.ceil(c/2)),o&&v&&a.params.slidesPerView!=="auto"&&!l&&(h=!1),h){const m=v?d<a.activeIndex?"prev":"next":d-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?d+1:d-r+1,slideRealIndex:m==="next"?a.realIndex:void 0})}if(l){const m=s*a.params.grid.rows;s=a.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=a.getSlideIndexByData(s)}return requestAnimationFrame(()=>{a.slideTo(s,e,i,o)}),a}function tl(t,e,i){e===void 0&&(e=!0);const o=this,{enabled:a,params:l,animating:s}=o;if(!a||o.destroyed)return o;typeof t>"u"&&(t=o.params.speed);let d=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(d=Math.max(o.slidesPerViewDynamic("current",!0),1));const r=o.activeIndex<l.slidesPerGroupSkip?1:d,v=o.virtual&&l.virtual.enabled;if(l.loop){if(s&&!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+r,t,e,i)}),!0}return l.rewind&&o.isEnd?o.slideTo(0,t,e,i):o.slideTo(o.activeIndex+r,t,e,i)}function il(t,e,i){e===void 0&&(e=!0);const o=this,{params:a,snapGrid:l,slidesGrid:s,rtlTranslate:d,enabled:r,animating:v}=o;if(!r||o.destroyed)return o;typeof t>"u"&&(t=o.params.speed);const c=o.virtual&&a.virtual.enabled;if(a.loop){if(v&&!c&&a.loopPreventsSliding)return!1;o.loopFix({direction:"prev"}),o._clientLeft=o.wrapperEl.clientLeft}const h=d?o.translate:-o.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const f=m(h),x=l.map(p=>m(p));let w=l[x.indexOf(f)-1];if(typeof w>"u"&&a.cssMode){let p;l.forEach((T,y)=>{f>=T&&(p=y)}),typeof p<"u"&&(w=l[p>0?p-1:p])}let C=0;if(typeof w<"u"&&(C=s.indexOf(w),C<0&&(C=o.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(C=C-o.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,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(C,t,e,i)}),!0;return o.slideTo(C,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 s=Math.min(a.params.slidesPerGroupSkip,l),d=s+Math.floor((l-s)/a.params.slidesPerGroup),r=a.rtlTranslate?a.translate:-a.translate;if(r>=a.snapGrid[d]){const v=a.snapGrid[d],c=a.snapGrid[d+1];r-v>(c-v)*o&&(l+=a.params.slidesPerGroup)}else{const v=a.snapGrid[d-1],c=a.snapGrid[d];r-v<=(c-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 s=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(ht(i,`${s}[data-swiper-slide-index="${l}"]`)[0]),It(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=t.getSlideIndex(ht(i,`${s}[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=()=>{ht(o,`.${i.slideClass}, swiper-slide`).forEach((h,m)=>{h.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,s=i.slidesPerGroup*(l?i.grid.rows:1),d=e.slides.length%s!==0,r=l&&e.slides.length%i.grid.rows!==0,v=c=>{for(let h=0;h<c;h+=1){const m=e.isElement?Mt("swiper-slide",[i.slideBlankClass]):Mt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(d){if(i.loopAddBlankSlides){const c=s-e.slides.length%s;v(c),e.recalcSlides(),e.updateSlides()}else Ht("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(r){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;v(c),e.recalcSlides(),e.updateSlides()}else Ht("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function rl(t){let{slideRealIndex:e,slideTo:i=!0,direction:o,setTranslate:a,activeSlideIndex:l,byController:s,byMousewheel:d}=t===void 0?{}:t;const r=this;if(!r.params.loop)return;r.emit("beforeLoopFix");const{slides:v,allowSlidePrev:c,allowSlideNext:h,slidesEl:m,params:f}=r,{centeredSlides:x}=f;if(r.allowSlidePrev=!0,r.allowSlideNext=!0,r.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&r.snapIndex===0?r.slideTo(r.virtual.slides.length,0,!1,!0):f.centeredSlides&&r.snapIndex<f.slidesPerView?r.slideTo(r.virtual.slides.length+r.snapIndex,0,!1,!0):r.snapIndex===r.snapGrid.length-1&&r.slideTo(r.virtual.slidesBefore,0,!1,!0)),r.allowSlidePrev=c,r.allowSlideNext=h,r.emit("loopFix");return}let w=f.slidesPerView;w==="auto"?w=r.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),x&&w%2===0&&(w=w+1));const C=f.slidesPerGroupAuto?w:f.slidesPerGroup;let p=C;p%C!==0&&(p+=C-p%C),p+=f.loopAdditionalSlides,r.loopedSlides=p;const T=r.grid&&f.grid&&f.grid.rows>1;v.length<w+p?Ht("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):T&&f.grid.fill==="row"&&Ht("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],E=[];let _=r.activeIndex;typeof l>"u"?l=r.getSlideIndex(v.filter(A=>A.classList.contains(f.slideActiveClass))[0]):_=l;const g=o==="next"||!o,M=o==="prev"||!o;let P=0,S=0;const u=T?Math.ceil(v.length/f.grid.rows):v.length,b=(T?v[l].column:l)+(x&&typeof a>"u"?-w/2+.5:0);if(b<p){P=Math.max(p-b,C);for(let A=0;A<p-b;A+=1){const I=A-Math.floor(A/u)*u;if(T){const O=u-I-1;for(let j=v.length-1;j>=0;j-=1)v[j].column===O&&y.push(j)}else y.push(u-I-1)}}else if(b+w>u-p){S=Math.max(b-(u-p*2),C);for(let A=0;A<S;A+=1){const I=A-Math.floor(A/u)*u;T?v.forEach((O,j)=>{O.column===I&&E.push(j)}):E.push(I)}}if(r.__preventObserver__=!0,requestAnimationFrame(()=>{r.__preventObserver__=!1}),M&&y.forEach(A=>{v[A].swiperLoopMoveDOM=!0,m.prepend(v[A]),v[A].swiperLoopMoveDOM=!1}),g&&E.forEach(A=>{v[A].swiperLoopMoveDOM=!0,m.append(v[A]),v[A].swiperLoopMoveDOM=!1}),r.recalcSlides(),f.slidesPerView==="auto"?r.updateSlides():T&&(y.length>0&&M||E.length>0&&g)&&r.slides.forEach((A,I)=>{r.grid.updateSlide(I,A,r.slides)}),f.watchSlidesProgress&&r.updateSlidesOffset(),i){if(y.length>0&&M){if(typeof e>"u"){const A=r.slidesGrid[_],O=r.slidesGrid[_+P]-A;d?r.setTranslate(r.translate-O):(r.slideTo(_+Math.ceil(P),0,!1,!0),a&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-O,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-O))}else if(a){const A=T?y.length/f.grid.rows:y.length;r.slideTo(r.activeIndex+A,0,!1,!0),r.touchEventsData.currentTranslate=r.translate}}else if(E.length>0&&g)if(typeof e>"u"){const A=r.slidesGrid[_],O=r.slidesGrid[_-S]-A;d?r.setTranslate(r.translate-O):(r.slideTo(_-S,0,!1,!0),a&&(r.touchEventsData.startTranslate=r.touchEventsData.startTranslate-O,r.touchEventsData.currentTranslate=r.touchEventsData.currentTranslate-O))}else{const A=T?E.length/f.grid.rows:E.length;r.slideTo(r.activeIndex-A,0,!1,!0)}}if(r.allowSlidePrev=c,r.allowSlideNext=h,r.controller&&r.controller.control&&!s){const A={slideRealIndex:e,direction:o,setTranslate:a,activeSlideIndex:l,byController:!0};Array.isArray(r.controller.control)?r.controller.control.forEach(I=>{!I.destroyed&&I.params.loop&&I.loopFix({...A,slideTo:I.params.slidesPerView===f.slidesPerView?i:!1})}):r.controller.control instanceof r.constructor&&r.controller.control.params.loop&&r.controller.control.loopFix({...A,slideTo:r.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}r.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 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: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(o){if(!o||o===pt()||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 lo(t,e,i){const o=$e(),{params:a}=t,l=a.edgeSwipeDetection,s=a.edgeSwipeThreshold;return l&&(i<=s||i>=o.innerWidth-s)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function fl(t){const e=this,i=pt();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"){lo(e,o,o.targetTouches[0].pageX);return}const{params:l,touches:s,enabled:d}=e;if(!d||!l.simulateTouch&&o.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let r=o.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(r)||"which"in o&&o.which===3||"button"in o&&o.button>0||a.isTouched&&a.isMoved)return;const v=!!l.noSwipingClass&&l.noSwipingClass!=="",c=o.composedPath?o.composedPath():o.path;v&&o.target&&o.target.shadowRoot&&c&&(r=c[0]);const h=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(o.target&&o.target.shadowRoot);if(l.noSwiping&&(m?ml(h,r):r.closest(h))){e.allowClick=!0;return}if(l.swipeHandler&&!r.closest(l.swipeHandler))return;s.currentX=o.pageX,s.currentY=o.pageY;const f=s.currentX,x=s.currentY;if(!lo(e,o,f))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=x,a.touchStartTime=at(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(a.allowThresholdMove=!1);let w=!0;r.matches(a.focusableElements)&&(w=!1,r.nodeName==="SELECT"&&(a.isTouched=!1)),i.activeElement&&i.activeElement.matches(a.focusableElements)&&i.activeElement!==r&&i.activeElement.blur();const C=w&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!r.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=pt(),i=this,o=i.touchEventsData,{params:a,touches:l,rtlTranslate:s,enabled:d}=i;if(!d||!a.simulateTouch&&t.pointerType==="mouse")return;let r=t;if(r.originalEvent&&(r=r.originalEvent),r.type==="pointermove"&&(o.touchId!==null||r.pointerId!==o.pointerId))return;let v;if(r.type==="touchmove"){if(v=[...r.changedTouches].filter(g=>g.identifier===o.touchId)[0],!v||v.identifier!==o.touchId)return}else v=r;if(!o.isTouched){o.startMoving&&o.isScrolling&&i.emit("touchMoveOpposite",r);return}const c=v.pageX,h=v.pageY;if(r.preventedByNestedSwiper){l.startX=c,l.startY=h;return}if(!i.allowTouchMove){r.target.matches(o.focusableElements)||(i.allowClick=!1),o.isTouched&&(Object.assign(l,{startX:c,startY:h,currentX:c,currentY:h}),o.touchStartTime=at());return}if(a.touchReleaseOnEdges&&!a.loop){if(i.isVertical()){if(h<l.startY&&i.translate<=i.maxTranslate()||h>l.startY&&i.translate>=i.minTranslate()){o.isTouched=!1,o.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&r.target===e.activeElement&&r.target.matches(o.focusableElements)){o.isMoved=!0,i.allowClick=!1;return}o.allowTouchCallbacks&&i.emit("touchMove",r),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=h;const m=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+f**2)<i.params.threshold)return;if(typeof o.isScrolling>"u"){let g;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?o.isScrolling=!1:m*m+f*f>=25&&(g=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,o.isScrolling=i.isHorizontal()?g>a.touchAngle:90-g>a.touchAngle)}if(o.isScrolling&&i.emit("touchMoveOpposite",r),typeof o.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(o.startMoving=!0),o.isScrolling||r.type==="touchmove"&&o.preventTouchMoveFromPointerMove){o.isTouched=!1;return}if(!o.startMoving)return;i.allowClick=!1,!a.cssMode&&r.cancelable&&r.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&r.stopPropagation();let x=i.isHorizontal()?m:f,w=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;a.oneWayMovement&&(x=Math.abs(x)*(s?1:-1),w=Math.abs(w)*(s?1:-1)),l.diff=x,x*=a.touchRatio,s&&(x=-x,w=-w);const C=i.touchesDirection;i.swipeDirection=x>0?"prev":"next",i.touchesDirection=w>0?"prev":"next";const p=i.params.loop&&!a.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!o.isMoved){if(p&&T&&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",r)}let y;if(new Date().getTime(),o.isMoved&&o.allowThresholdMove&&C!==i.touchesDirection&&p&&T&&Math.abs(x)>=1){Object.assign(l,{startX:c,startY:h,currentX:c,currentY:h,startTranslate:o.currentTranslate}),o.loopSwapReset=!0,o.startTranslate=o.currentTranslate;return}i.emit("sliderMove",r),o.isMoved=!0,o.currentTranslate=x+o.startTranslate;let E=!0,_=a.resistanceRatio;if(a.touchReleaseOnEdges&&(_=0),x>0?(p&&T&&!y&&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+x)**_))):x<0&&(p&&T&&!y&&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-x)**_))),E&&(r.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(x)>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(_=>_.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:s,touches:d,rtlTranslate:r,slidesGrid:v,enabled:c}=e;if(!c||!s.simulateTouch&&o.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",o),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&s.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}s.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const h=at(),m=h-i.touchStartTime;if(e.allowClick){const _=o.path||o.composedPath&&o.composedPath();e.updateClickedSlide(_&&_[0]||o.target,_),e.emit("tap click",o),m<300&&h-i.lastClickTime<300&&e.emit("doubleTap doubleClick",o)}if(i.lastClickTime=at(),It(()=>{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 f;if(s.followFinger?f=r?e.translate:-e.translate:f=-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const x=f>=-e.maxTranslate()&&!e.params.loop;let w=0,C=e.slidesSizesGrid[0];for(let _=0;_<v.length;_+=_<s.slidesPerGroupSkip?1:s.slidesPerGroup){const g=_<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof v[_+g]<"u"?(x||f>=v[_]&&f<v[_+g])&&(w=_,C=v[_+g]-v[_]):(x||f>=v[_])&&(w=_,C=v[v.length-1]-v[v.length-2])}let p=null,T=null;s.rewind&&(e.isBeginning?T=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const y=(f-v[w])/C,E=w<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(m>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?p:w+E):e.slideTo(w)),e.swipeDirection==="prev"&&(y>1-s.longSwipesRatio?e.slideTo(w+E):T!==null&&y<0&&Math.abs(y)>s.longSwipesRatio?e.slideTo(T):e.slideTo(w))}else{if(!s.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(w+E):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:w+E),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:w))}}function ao(){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,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const d=s&&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&&!s?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;Yt(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 so=(t,e)=>{const i=pt(),{params:o,el:a,wrapperEl:l,device:s}=t,d=!!o.nested,r=e==="on"?"addEventListener":"removeEventListener",v=e;!a||typeof a=="string"||(i[r]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:d}),a[r]("touchstart",t.onTouchStart,{passive:!1}),a[r]("pointerdown",t.onTouchStart,{passive:!1}),i[r]("touchmove",t.onTouchMove,{passive:!1,capture:d}),i[r]("pointermove",t.onTouchMove,{passive:!1,capture:d}),i[r]("touchend",t.onTouchEnd,{passive:!0}),i[r]("pointerup",t.onTouchEnd,{passive:!0}),i[r]("pointercancel",t.onTouchEnd,{passive:!0}),i[r]("touchcancel",t.onTouchEnd,{passive:!0}),i[r]("pointerout",t.onTouchEnd,{passive:!0}),i[r]("pointerleave",t.onTouchEnd,{passive:!0}),i[r]("contextmenu",t.onTouchEnd,{passive:!0}),(o.preventClicks||o.preventClicksPropagation)&&a[r]("click",t.onClick,!0),o.cssMode&&l[r]("scroll",t.onScroll),o.updateOnWindowResize?t[v](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ao,!0):t[v]("observerUpdate",ao,!0),a[r]("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),so(t,"on")}function Tl(){so(this,"off")}var El={attachEvents:xl,detachEvents:Tl};const ro=(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 s=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const r=(s in l?l[s]:void 0)||t.originalParams,v=ro(t,o),c=ro(t,r),h=t.params.grabCursor,m=r.grabCursor,f=o.enabled;v&&!c?(a.classList.remove(`${o.containerModifierClass}grid`,`${o.containerModifierClass}grid-column`),t.emitContainerClasses()):!v&&c&&(a.classList.add(`${o.containerModifierClass}grid`),(r.grid.fill&&r.grid.fill==="column"||!r.grid.fill&&o.grid.fill==="column")&&a.classList.add(`${o.containerModifierClass}grid-column`),t.emitContainerClasses()),h&&!m?t.unsetGrabCursor():!h&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(y=>{if(typeof r[y]>"u")return;const E=o[y]&&o[y].enabled,_=r[y]&&r[y].enabled;E&&!_&&t[y].disable(),!E&&_&&t[y].enable()});const x=r.direction&&r.direction!==o.direction,w=o.loop&&(r.slidesPerView!==o.slidesPerView||x),C=o.loop;x&&i&&t.changeDirection(),nt(t.params,r);const p=t.params.enabled,T=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!p?t.disable():!f&&p&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",r),i&&(w?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!C&&T?(t.loopCreate(e),t.updateSlides()):C&&!T&&t.loopDestroy()),t.emit("breakpoint",r)}function Cl(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,s=Object.keys(t).map(d=>{if(typeof d=="string"&&d.indexOf("@")===0){const r=parseFloat(d.substr(1));return{value:l*r,point:d}}return{value:d,point:d}});s.sort((d,r)=>parseInt(d.value,10)-parseInt(r.value,10));for(let d=0;d<s.length;d+=1){const{point:r,value:v}=s[d];e==="window"?a.matchMedia(`(min-width: ${v}px)`).matches&&(o=r):v<=i.clientWidth&&(o=r)}return o||"max"}var Il={setBreakpoint:Al,getBreakpoint:Cl};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,s=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(...s),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){nt(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)){nt(e,o);return}typeof t[a]=="object"&&!("enabled"in t[a])&&(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),nt(e,o)}}const bi={eventsEmitter:Dn,update:Hn,translate:Jn,transition:Qn,slide:al,loop:cl,grabCursor:pl,events:El,breakpoints:Il,checkOverflow:Ol,classes:Dl},yi={};let wi=class xt{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=nt({},i),e&&!i.el&&(i.el=e);const s=pt();if(i.el&&typeof i.el=="string"&&s.querySelectorAll(i.el).length>1){const c=[];return s.querySelectorAll(i.el).forEach(h=>{const m=nt({},i,{el:h});c.push(new xt(m))}),c}const d=this;d.__swiper__=!0,d.support=to(),d.device=io({userAgent:i.userAgent}),d.browser=kn(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],i.modules&&Array.isArray(i.modules)&&d.modules.push(...i.modules);const r={};d.modules.forEach(c=>{c({params:i,swiper:d,extendParams:Rl(i,r),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});const v=nt({},gi,r);return d.params=nt({},v,yi,i),d.originalParams=nt({},d.params),d.passedParams=nt({},i),d.params&&d.params.on&&Object.keys(d.params.on).forEach(c=>{d.on(c,d.params.on[c])}),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:o}=this,a=ht(i,`.${o.slideClass}, swiper-slide`),l=Gt(a[0]);return Gt(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:o}=e;e.slides=ht(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(),s=(o.maxTranslate()-a)*e+a;o.translateTo(s,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:s,slidesSizesGrid:d,size:r,activeIndex:v}=o;let c=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let h=l[v]?Math.ceil(l[v].swiperSlideSize):0,m;for(let f=v+1;f<l.length;f+=1)l[f]&&!m&&(h+=Math.ceil(l[f].swiperSlideSize),c+=1,h>r&&(m=!0));for(let f=v-1;f>=0;f-=1)l[f]&&!m&&(h+=l[f].swiperSlideSize,c+=1,h>r&&(m=!0))}else if(e==="current")for(let h=v+1;h<l.length;h+=1)(i?s[h]+d[h]-s[v]<r:s[h]-s[v]<r)&&(c+=1);else for(let h=v-1;h>=0;h-=1)s[v]-s[h]<r&&(c+=1);return c}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(s=>{s.complete&&Yt(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){const s=e.rtlTranslate?e.translate*-1:e.translate,d=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(d),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 s=e.virtual&&o.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(s.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 s=o&&o.shadowRoot&&o.shadowRoot.querySelector?o.shadowRoot.querySelector(a()):ht(o,a())[0];return!s&&i.params.createElements&&(s=Mt("div",i.params.wrapperClass),o.append(s),ht(o,`.${i.params.slideClass}`).forEach(d=>{s.append(d)})),Object.assign(i,{el:o,wrapperEl:s,slidesEl:i.isElement&&!o.parentNode.host.slideSlots?o.parentNode.host:s,hostEl:i.isElement?o.parentNode.host:o,mounted:!0,rtl:o.dir.toLowerCase()==="rtl"||Et(o,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(o.dir.toLowerCase()==="rtl"||Et(o,"direction")==="rtl"),wrongRTL:Et(s,"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?Yt(i,l):l.addEventListener("load",s=>{Yt(i,s.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:s,slides:d}=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"),s&&s.removeAttribute("style"),d&&d.length&&d.forEach(r=>{r.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),r.removeAttribute("style"),r.removeAttribute("data-swiper-slide-index")})),o.emit("destroy"),Object.keys(o.eventsListeners).forEach(r=>{o.off(r)}),e!==!1&&(o.el&&typeof o.el!="string"&&(o.el.swiper=null),fn(o)),o.destroyed=!0),null}static extendDefaults(e){nt(yi,e)}static get extendedDefaults(){return yi}static get defaults(){return gi}static installModule(e){xt.prototype.__modules__||(xt.prototype.__modules__=[]);const i=xt.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>xt.installModule(i)),xt):(xt.installModule(e),xt)}};Object.keys(bi).forEach(t=>{Object.keys(bi[t]).forEach(e=>{wi.prototype[e]=bi[t][e]})}),wi.use([_n,Pn]);const co=["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 At(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function _t(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]:At(e[o])&&At(t[o])&&Object.keys(e[o]).length>0?e[o].__swiper__?t[o]=e[o]:_t(t[o],e[o]):t[o]=e[o]})}function uo(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function vo(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function po(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function mo(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 Nl(t){let{swiper:e,slides:i,passedParams:o,changedParams:a,nextEl:l,prevEl:s,scrollbarEl:d,paginationEl:r}=t;const v=a.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:h,navigation:m,scrollbar:f,virtual:x,thumbs:w}=e;let C,p,T,y,E,_,g,M;a.includes("thumbs")&&o.thumbs&&o.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),a.includes("controller")&&o.controller&&o.controller.control&&c.controller&&!c.controller.control&&(p=!0),a.includes("pagination")&&o.pagination&&(o.pagination.el||r)&&(c.pagination||c.pagination===!1)&&h&&!h.el&&(T=!0),a.includes("scrollbar")&&o.scrollbar&&(o.scrollbar.el||d)&&(c.scrollbar||c.scrollbar===!1)&&f&&!f.el&&(y=!0),a.includes("navigation")&&o.navigation&&(o.navigation.prevEl||s)&&(o.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const P=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),c[S].prevEl=void 0,c[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),c[S].el=void 0,e[S].el=void 0))};a.includes("loop")&&e.isElement&&(c.loop&&!o.loop?_=!0:!c.loop&&o.loop?g=!0:M=!0),v.forEach(S=>{if(At(c[S])&&At(o[S]))Object.assign(c[S],o[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in o[S]&&!o[S].enabled&&P(S);else{const u=o[S];(u===!0||u===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?u===!1&&P(S):c[S]=o[S]}}),v.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),a.includes("children")&&i&&x&&c.virtual.enabled?(x.slides=i,x.update(!0)):a.includes("virtual")&&x&&c.virtual.enabled&&(i&&(x.slides=i),x.update(!0)),a.includes("children")&&i&&c.loop&&(M=!0),C&&w.init()&&w.update(!0),p&&(e.controller.control=c.controller.control),T&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-pagination"),r.part.add("pagination"),e.el.appendChild(r)),r&&(c.pagination.el=r),h.init(),h.render(),h.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&&(c.scrollbar.el=d),f.init(),f.updateSize(),f.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)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=e.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),e.el.appendChild(s))),l&&(c.navigation.nextEl=l),s&&(c.navigation.prevEl=s),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),(_||M)&&e.loopDestroy(),(g||M)&&e.loopCreate(),e.update()}function Bl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},o={},a={};_t(i,gi),i._emitClasses=!0,i.init=!1;const l={},s=co.map(r=>r.replace(/_/,"")),d=Object.assign({},t);return Object.keys(d).forEach(r=>{typeof t[r]>"u"||(s.indexOf(r)>=0?At(t[r])?(i[r]={},a[r]={},_t(i[r],t[r]),_t(a[r],t[r])):(i[r]=t[r],a[r]=t[r]):r.search(/on[A-Z]/)===0&&typeof t[r]=="function"?e?o[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:i.on[`${r[2].toLowerCase()}${r.substr(3)}`]=t[r]:l[r]=t[r])}),["navigation","pagination","scrollbar"].forEach(r=>{i[r]===!0&&(i[r]={}),i[r]===!1&&delete i[r]}),{params:i,passedParams:a,rest:l,events:o}}function Fl(t,e){let{el:i,nextEl:o,prevEl:a,paginationEl:l,scrollbarEl:s,swiper:d}=t;uo(e)&&o&&a&&(d.params.navigation.nextEl=o,d.originalParams.navigation.nextEl=o,d.params.navigation.prevEl=a,d.originalParams.navigation.prevEl=a),vo(e)&&l&&(d.params.pagination.el=l,d.originalParams.pagination.el=l),po(e)&&s&&(d.params.scrollbar.el=s,d.originalParams.scrollbar.el=s),d.init(i)}function jl(t,e,i,o,a){const l=[];if(!e)return l;const s=r=>{l.indexOf(r)<0&&l.push(r)};if(i&&o){const r=o.map(a),v=i.map(a);r.join("")!==v.join("")&&s("children"),o.length!==i.length&&s("children")}return co.filter(r=>r[0]==="_").map(r=>r.replace(/_/,"")).forEach(r=>{if(r in t&&r in e)if(At(t[r])&&At(e[r])){const v=Object.keys(t[r]),c=Object.keys(e[r]);v.length!==c.length?s(r):(v.forEach(h=>{t[r][h]!==e[r][h]&&s(r)}),c.forEach(h=>{t[r][h]!==e[r][h]&&s(r)}))}else t[r]!==e[r]&&s(r)}),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 Xt(){return Xt=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},Xt.apply(this,arguments)}function fo(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function ho(t){const e=[];return n.Children.toArray(t).forEach(i=>{fo(i)?e.push(i):i.props&&i.props.children&&ho(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(fo(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=ho(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=c=>{let h=c;return c<0?h=e.length+c:h>=e.length&&(h=h-e.length),h},a=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:s}=i,d=t.params.loop?-e.length:0,r=t.params.loop?e.length*2:e.length,v=[];for(let c=d;c<r;c+=1)c>=l&&c<=s&&v.push(e[o(c)]);return v.map((c,h)=>n.cloneElement(c,{swiper:t,style:a,key:c.props.virtualIndex||c.key||`slide-${h}`}))}function Ot(t,e){return typeof window>"u"?n.useEffect(t,e):n.useLayoutEffect(t,e)}const Si=n.createContext(null),go=()=>n.useContext(Si),Gl=n.createContext(null),Ct=n.forwardRef(function(t,e){let{className:i,tag:o="div",wrapperTag:a="div",children:l,onSwiper:s,...d}=t===void 0?{}:t,r=!1;const[v,c]=n.useState("swiper"),[h,m]=n.useState(null),[f,x]=n.useState(!1),w=n.useRef(!1),C=n.useRef(null),p=n.useRef(null),T=n.useRef(null),y=n.useRef(null),E=n.useRef(null),_=n.useRef(null),g=n.useRef(null),M=n.useRef(null),{params:P,passedParams:S,rest:u,events:D}=Bl(d),{slides:b,slots:A}=zl(l),I=()=>{x(!f)};Object.assign(P.on,{_containerClasses(R,N){c(N)}});const O=()=>{Object.assign(P.on,D),r=!0;const R={...P};if(delete R.wrapperClass,p.current=new wi(R),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=b;const N={cache:!1,slides:b,renderExternal:m,renderExternalUpdate:!1};_t(p.current.params.virtual,N),_t(p.current.originalParams.virtual,N)}};C.current||O(),p.current&&p.current.on("_beforeBreakpoint",I);const j=()=>{r||!D||!p.current||Object.keys(D).forEach(R=>{p.current.on(R,D[R])})},z=()=>{!D||!p.current||Object.keys(D).forEach(R=>{p.current.off(R,D[R])})};n.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",I)}),n.useEffect(()=>{!w.current&&p.current&&(p.current.emitSlidesClasses(),w.current=!0)}),Ot(()=>{if(e&&(e.current=C.current),!!C.current)return p.current.destroyed&&O(),Fl({el:C.current,nextEl:E.current,prevEl:_.current,paginationEl:g.current,scrollbarEl:M.current,swiper:p.current},P),s&&!p.current.destroyed&&s(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),Ot(()=>{j();const R=jl(S,T.current,b,y.current,N=>N.key);return T.current=S,y.current=b,R.length&&p.current&&!p.current.destroyed&&Nl({swiper:p.current,slides:b,passedParams:S,changedParams:R,nextEl:E.current,prevEl:_.current,scrollbarEl:M.current,paginationEl:g.current}),()=>{z()}}),Ot(()=>{Vl(p.current)},[h]);function B(){return P.virtual?Hl(p.current,b,h):b.map((R,N)=>n.cloneElement(R,{swiper:p.current,swiperSlideIndex:N}))}return n.createElement(o,Xt({ref:C,className:mo(`${v}${i?` ${i}`:""}`)},u),n.createElement(Gl.Provider,{value:p.current},A["container-start"],n.createElement(a,{className:Ll(P.wrapperClass)},A["wrapper-start"],B(),A["wrapper-end"]),uo(P)&&n.createElement(n.Fragment,null,n.createElement("div",{ref:_,className:"swiper-button-prev"}),n.createElement("div",{ref:E,className:"swiper-button-next"})),po(P)&&n.createElement("div",{ref:M,className:"swiper-scrollbar"}),vo(P)&&n.createElement("div",{ref:g,className:"swiper-pagination"}),A["container-end"]))});Ct.displayName="Swiper";const mt=n.forwardRef(function(t,e){let{tag:i="div",children:o,className:a="",swiper:l,zoom:s,lazy:d,virtualIndex:r,swiperSlideIndex:v,...c}=t===void 0?{}:t;const h=n.useRef(null),[m,f]=n.useState("swiper-slide"),[x,w]=n.useState(!1);function C(E,_,g){_===h.current&&f(g)}Ot(()=>{if(typeof v<"u"&&(h.current.swiperSlideIndex=v),e&&(e.current=h.current),!(!h.current||!l)){if(l.destroyed){m!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),Ot(()=>{l&&h.current&&!l.destroyed&&f(l.getSlideClasses(h.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 o=="function"?o(p):o,y=()=>{w(!0)};return n.createElement(i,Xt({ref:h,className:mo(`${m}${a?` ${a}`:""}`),"data-swiper-slide-index":r,onLoad:y},c),s&&n.createElement(Si.Provider,{value:p},n.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},T(),d&&!x&&n.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&n.createElement(Si.Provider,{value:p},T(),d&&!x&&n.createElement("div",{className:"swiper-lazy-preloader"})))});mt.displayName="SwiperSlide";const Ul="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:s,fullHeight:d=window.innerHeight,isFullScreen:r=!1})=>{var v,c,h,m,f,x,w,C,p,T,y,E,_,g,M,P,S,u,D,b,A,I;const O=n.useRef(null),j=n.useRef(null),z=n.useRef(null),B=n.useRef(null),R=d*.2,N=r?d:d*.8,[W,V]=n.useState(R),[F,X]=n.useState(!1),te=n.useRef(null),{globalConfig:re,popupDetailData:ue}=De(),{schema:ye}=ut();n.useEffect(()=>{const $=document.getElementById("sxp-render"),me=document.getElementById("pb-modal");me?te.current=me:(te.current=document.createElement("div"),te.current.setAttribute("id","pb-modal"),$?.appendChild(te.current))},[]);const Q=n.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]),J=n.useMemo(()=>{var $,me,Ee;const Be=s??ye;return(Ee=(me=($=Be?.sxpPageConf)===null||$===void 0?void 0:$.globalConfig)===null||me===void 0?void 0:me.popupList)===null||Ee===void 0?void 0:Ee.find(Re=>Re?.id===l?.id)},[l,s,ye]),se=n.useMemo(()=>{var $,me;return((me=($=J?.item)===null||$===void 0?void 0:$.event)===null||me===void 0?void 0:me.isScrollFullScreen)||!1},[J]);if(n.useEffect(()=>{Q?X(!0):setTimeout(()=>{X(!1),V(R)},l?.duration)},[Q,l]),!te.current)return null;const K=Xe.debounce(()=>{e?.()},300),ee=$=>{O.current=$.touches[0],j.current=$.touches[0],z.current=!0},we=$=>{requestAnimationFrame(()=>{var me;if(z.current&&((me=B?.current)===null||me===void 0?void 0:me.scrollTop)===0){const Ee=$.touches[0].clientY,Be=$.touches[0].clientX,Ae=O.current.clientY-Ee;O.current=$.touches[0];const Re=Ee-j.current.clientY,Le=Be-j.current.clientX;if(Math.abs(Le)>Math.abs(Re))return;const G=W-Ae;G>0&&V(G)}})},Ie=$=>{var me;if(z.current&&((me=B?.current)===null||me===void 0?void 0:me.scrollTop)===0){const Ee=$.changedTouches[0].clientY-j.current.clientY,Be=$.changedTouches[0].clientX-j.current.clientX;if(Math.abs(Be)>Math.abs(Ee))return;const Ae=j.current.clientY-O.current.clientY;Ae>0?V(0):W<R&&Ae<0?V(R):W>=R&&Ae<0&&e?.()}z.current=!1};return _i.createPortal(n.createElement(n.Fragment,null,F&&n.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:Q?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},o),onClick:K},n.createElement("div",{style:{position:"relative",left:`${(m=(h=(c=(v=J?.item)===null||v===void 0?void 0:v.props)===null||c===void 0?void 0:c.popupBg)===null||h===void 0?void 0:h.horizontalMargin)!==null&&m!==void 0?m:0}px`,right:`${(C=(w=(x=(f=J?.item)===null||f===void 0?void 0:f.props)===null||x===void 0?void 0:x.popupBg)===null||w===void 0?void 0:w.horizontalMargin)!==null&&C!==void 0?C:0}px`,bottom:`${(E=(y=(T=(p=J?.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&&E!==void 0?E:0}px`,overflow:"hidden",width:`calc(100% - ${((P=(M=(g=(_=J?.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%"}},n.createElement("div",Object.assign({className:`modal-container ${Q?"modal-popIn":"modal-popOut"}`,style:Object.assign({padding:a,animationDuration:((S=l?.duration)!==null&&S!==void 0?S:0)/1e3+"s"},se&&{transform:`translateY(${W}px)`}),onClick:$=>{$.stopPropagation(),$.preventDefault()}},se&&{onTouchMove:we,onTouchStart:ee,onTouchEnd:Ie}),n.createElement("div",{onClick:e,className:"modal-icon-wrapper"},n.createElement("img",{src:(u=re?.popupCloseIcon)!==null&&u!==void 0?u:Ul,alt:"close",className:"modal-icon"})),n.createElement("div",{ref:B,style:{height:(I=(se?d:N)-((A=(b=(D=J?.item)===null||D===void 0?void 0:D.props)===null||b===void 0?void 0:b.popupBg)===null||A===void 0?void 0:A.bottomMargin))!==null&&I!==void 0?I:0,overflow:se&&W<=0||!se?"auto":"hidden"}},i))))),te.current)};var Pt=n.memo(Wl);const Yl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const o=t.split(" "),a=[];for(let s=0;s<o.length&&(a.push(o[s]),!(a.join(" ").length>=e));s++);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:s,isPost:d,onChange:r})=>{const[v,c]=n.useState(!1),[h,m]=n.useState(!1),f=Number(i?.lineClamp||2),x=n.useRef(null),w=n.useRef(null),C=n.useCallback(()=>{c(!v)},[v,r]);return n.useMemo(()=>!v&&t.length>e?Yl(t,e)+"...":t,[t,e,v]),n.useEffect(()=>{var p,T;((p=w?.current)===null||p===void 0?void 0:p.offsetHeight)>((T=x?.current)===null||T===void 0?void 0:T.offsetHeight)&&d?m(!0):m(!1),w.current.style.display="none"},[d]),n.createElement("div",{className:o,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},n.createElement("div",{ref:x,style:{overflow:"hidden",WebkitLineClamp:!d||v?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:he(t?.replace(/\n/g,"</br>"),i)}}),n.createElement("div",{ref:w,dangerouslySetInnerHTML:{__html:he(t?.replace(/\n/g,"</br>"),i)}}),t&&d&&h&&n.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:a??C,dangerouslySetInnerHTML:{__html:he(v?s||"show less":l||"show more",i)}}))};var Jt=n.memo(Xl);const Jl=n.forwardRef((t,e)=>{const{src:i,onLoad:o,style:a,className:l,loading:s,alt:d="image"}=t,[r,v]=n.useState(),c=n.useRef(null),[h,m]=n.useState(!1);return n.useImperativeHandle(e,()=>({setSrc:f=>{f&&v(f)}})),n.useEffect(()=>{i&&v(i)},[i]),n.useEffect(()=>{const f=()=>{i&&!h&&c.current&&(c.current.src="",c.current.src=i)};return vt.on(ot.PAGE_DID_SHOW,f),()=>{vt.off(ot.PAGE_DID_SHOW,f)}},[i,h]),n.createElement(n.Fragment,null,!h&&n.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),r?.includes(".avif")?n.createElement("picture",null,n.createElement("source",{type:"image/avif",srcSet:r}),n.createElement("source",{type:"image/webp",srcSet:`${r}?imageMogr2/format/webp`}),n.createElement("source",{type:"image/jpeg",srcSet:`${r}?imageMogr2/format/jpg`}),n.createElement("img",{ref:c,className:l,src:r,style:Object.assign({},a),loading:s,onLoad:f=>{m(!0),o?.(f.target)},alt:d})):n.createElement("img",{ref:c,className:l,src:r,style:Object.assign({},a),loading:s,onLoad:f=>{m(!0),o?.(f.target)},alt:d}))});var tt=n.memo(Jl);const ql=({children:t,isPadding:e=!0,style:i,enableSlideActive:o=!1})=>{const a=n.useRef(),{popupDetailData:l}=De();return n.useEffect(()=>{var s,d;o&&((s=a?.current)===null||s===void 0||s.swiper.slideTo((d=l?.multiCheckIndex)!==null&&d!==void 0?d:0))},[l,o]),n.createElement(Ct,{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 Rt=n.memo(ql);const Kl=({products:t,data:e,defImg:i,style:o,onCLick:a,popupDetailData:l,check:s})=>{var d;const{productView:r}=qe(),{popupCurTimeRef:v}=De(),c=(h,m)=>{if(s===m)return;const f=t?.[s];r(l,f,f?.bindCta,v.current,l?.index),a?.(m)};return n.createElement(n.Fragment,null,e?.open&&(t&&t?.length>1||!l)&&n.createElement(Rt,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},o),e?.style)},(d=l?t:[0,1,2,3])===null||d===void 0?void 0:d.map((h,m)=>{var f,x,w;return n.createElement(n.Fragment,null,h?.bindCta?n.createElement(mt,{className:xe.css({width:"50px",height:"50px",marginRight:"10px"}),onClick:()=>{c(h,m)},key:m},n.createElement(tt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:s===m?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(w=(f=h?.cover)!==null&&f!==void 0?f:(x=h?.homePage)===null||x===void 0?void 0:x[0])!==null&&w!==void 0?w:i})):null)})))};var bo=n.memo(Kl);const Zl=t=>{var e,i,o,a,l,s,d,r,v,c,h,m,f,x,w,C,p,T,y,E,_,g,M,P,S,u,{content:D,style:b,bgImg:A,onClick:I,schema:O,isDefault:j,bottom_image:z,tipText:B,isPost:R,viewTime:N,rec:W,swiper:V,commodityStyles:F,buttonStyle:X,index:te,commodityGroup:re,popupBg:ue,iframeIcon:ye,commodityImgRatio:Q,isTel:J}=t,se=Je(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio","isTel"]);const{sxpParameter:K,popupDetailData:ee,isPreview:we,bffFbReport:Ie,popupCurTimeRef:$,checkCommodityIndexRef:me}=De(),{jumpToWeb:Ee,productView:Be}=qe(),Ae=n.useRef(null),[Re,Le]=n.useState(!1),[G,pe]=n.useState(!1),[ge,ae]=n.useState((e=ee?.multiCheckIndex)!==null&&e!==void 0?e:0),Fe=n.useRef(),U=R?W:ee;let L=R?U?.product:(o=(i=U?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&o!==void 0?o:(l=(a=U?.video)===null||a===void 0?void 0:a.bindProducts)===null||l===void 0?void 0:l[0],Me=R?(s=U?.product)===null||s===void 0?void 0:s.bindCta:(v=(r=(d=U?.video)===null||d===void 0?void 0:d.bindProduct)===null||r===void 0?void 0:r.bindCta)!==null&&v!==void 0?v:(m=(h=(c=U?.video)===null||c===void 0?void 0:c.bindProducts)===null||h===void 0?void 0:h[0])===null||m===void 0?void 0:m.bindCta;const je=R?te:ee?.index;if(!R&&re?.open&&(!((f=U?.video)===null||f===void 0)&&f.bindProducts)&&((w=(x=U?.video)===null||x===void 0?void 0:x.bindProducts)===null||w===void 0?void 0:w.length)>0){me.current=ge;const ie=(C=U?.video)===null||C===void 0?void 0:C.bindProducts[ge];L=ie,Me=ie?.bindCta}const rt=()=>{L?.link&&(Ee(U,L,Me,je),R||Be(U,L,Me,N||Ae.current,je),window.location.href=window.getJointUtmLink(L.link))};n.useEffect(()=>{R||Ie?.({eventName:"ProductView"})},[R,Ie]),n.useEffect(()=>{const ie=()=>{Ae.current=new Date};return ie(),window.addEventListener("pageshow",ie),()=>{window.removeEventListener("pageshow",ie)}},[]);const ft=n.useMemo(()=>{var ie,Se,k,ne,Z,oe,de;const ve=((ie=F?.price)===null||ie===void 0?void 0:ie.enableFormattedPrice)===void 0||((Se=F?.price)===null||Se===void 0?void 0:Se.enableFormattedPrice);return L?.currency&&L?.price?`${(Z=(ne=(k=L?.currency)===null||k===void 0?void 0:k.split("-")[1])===null||ne===void 0?void 0:ne.toUpperCase())!==null&&Z!==void 0?Z:""}${ve?(de=(oe=L?.price)===null||oe===void 0?void 0:oe.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&de!==void 0?de:"":L?.price}`:"$7,000"},[L?.price,L?.currency,(p=F?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),et=(we?375:(T=b?.width)!==null&&T!==void 0?T:window.innerWidth)-((y=ue?.horizontalMargin)!==null&&y!==void 0?y:0)*2,H=Q?et*(Q.h/Q.w):et,Y=({isPost:ie})=>{var Se,k,ne,Z;return n.createElement("div",null,n.createElement("div",{className:"pb-commondity-content-collection",style:Te(F?.collection),hidden:!!L&&(!L?.collection||L?.collection===""),dangerouslySetInnerHTML:{__html:he((Se=L?.collection)!==null&&Se!==void 0?Se:"Tiffany Lock",F?.collection)}}),n.createElement("div",{className:"pb-commondity-content-title",style:Te(F?.title),hidden:!!L&&!L?.title,dangerouslySetInnerHTML:{__html:he((k=L?.title)!==null&&k!==void 0?k:"Pendant in Yellow Gold with Diamonds, Medium",F?.title)}}),n.createElement("div",{className:"pb-commondity-content-price",style:Te(F?.price),hidden:!!L&&!L?.price,dangerouslySetInnerHTML:{__html:he(ft,F?.price)}}),n.createElement("div",{hidden:!!L&&!L?.taxInfo,style:Te(F?.taxInfo),dangerouslySetInnerHTML:{__html:he((ne=L?.taxInfo)!==null&&ne!==void 0?ne:"\u7A0E\u8D39",F?.taxInfo)}}),n.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},n.createElement(Jt,{foldText:B?.foldText,unfoldText:B?.unfoldText,onClick:()=>Le(!0),isPost:ie,text:(Z=L?.info)!==null&&Z!==void 0?Z:`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})))},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/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const 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+PCkDhHTvxXc6bNgz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/CRxIUKCbYl0KKkQCrgs4Nw0fglNYqlgicBUvZsQYbGBEiA5BSgw5EdvGkxYxpiz1sSXJlyo1rpwp86LImy4l1ozJ82ROnC+LdaLZc6bBny6LDXSDUqabRAoFrmkZdWBAACH5BAkDAP8ALDoAFwASAA0AAAhiAP8JHDjQTbFOxRIVIjgQCbgu4Nw8jPiQG8NE4EolzLhRI8aCEyVCFEkR4r9CHDF6TJnyX8iXI1+WWkmzY0eHJHPCBPdPpU2fQF3GHFoyokCDQFl6dAOSKMk1DAXaZBr1X0AAIfkECQMA/wAsPgAXABAADQAACFkA/wkU6KZYp2KJwHVyM1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/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;
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:F?.info})))},be=()=>{var ie,Se;return n.createElement(n.Fragment,null,(j||L?.link)&&n.createElement("button",{"aria-label":(ie=Me?.enTitle)!==null&&ie!==void 0?ie:"Purchase on Website",onClick:rt,className:"pb-commondity-btn",style:X},n.createElement("span",{dangerouslySetInnerHTML:{__html:he((Se=Me?.enTitle)!==null&&Se!==void 0?Se:"Purchase on Website",X)}})))},Te=n.useCallback(ie=>ie?.lineClamp?Object.assign(Object.assign({},ie),{overflow:"hidden",WebkitLineClamp:ie?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):ie,[]),fe=n.useCallback(ie=>{$.current=new Date,ae(ie),me.current=ie,Fe?.current&&(Fe.current.swiper.slideTo(0),Fe.current.swiper.autoplay.start())},[]),ke=n.useCallback(()=>{var ie,Se,k;if(!R)return n.createElement(bo,{products:(ie=U?.video)===null||ie===void 0?void 0:ie.bindProducts,data:re,defImg:(k=(Se=K?.bottom_image)!==null&&Se!==void 0?Se:z)!==null&&k!==void 0?k:"",style:{padding:"0 19px"},onCLick:fe,popupDetailData:ee,check:ge})},[ge]),Oe=n.useMemo(()=>{const ie={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return ie?.[V?.dotsAlign]},[V?.dotsAlign]),le=R?(E=U?.product)===null||E===void 0?void 0:E.remark:(g=(_=U?.video)===null||_===void 0?void 0:_.bindProduct)===null||g===void 0?void 0:g.remark;return n.createElement(n.Fragment,null,n.createElement("div",Object.assign({className:xe.css(Object.assign({},b))},se),n.createElement("div",{style:{position:"relative"}},L&&((M=L?.homePage)===null||M===void 0?void 0:M.length)>0&&n.createElement(Ct,{height:H,modules:[Ut,Wt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:Oe},loop:!0,autoplay:{delay:V?.delay*1e3},ref:Fe},n.createElement(n.Fragment,null,(P=L?.homePage)===null||P===void 0?void 0:P.map(ie=>{var Se;return n.createElement(mt,{key:ie},n.createElement("div",{style:{overflow:"hidden",width:et,height:H}},n.createElement(tt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${V?.translateY?V?.translateY+50:50}%`},src:(Se=ie??K?.bottom_image)!==null&&Se!==void 0?Se:z})))}))),!(!((S=L?.homePage)===null||S===void 0)&&S.length)&&n.createElement("div",{className:xe.css({height:H,width:et})},n.createElement("img",{className:xe.css({objectFit:"cover",width:"100%",height:"100%"}),src:(u=K?.bottom_image)!==null&&u!==void 0?u:z,alt:"pdp image"})),(le||!L)&&ye&&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:ye,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}))),ke(),n.createElement("div",{className:"pb-commondity-content"},Y({isPost:R}))),be(),n.createElement(Pt,{visible:Re,onClose:()=>Le(!1)},n.createElement("div",{style:{paddingBottom:"80px"}},Y({isPost:!1})),be()),n.createElement(Pt,{visible:G,padding:0,isFullScreen:!0,onClose:()=>pe(!1)},n.createElement("div",{style:{height:"100vh"}},n.createElement("iframe",{src:le,style:{width:"100%",height:J?"624px":"calc(100vh - 40px)",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"}]}],yo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const 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:s,onClose:d,onClick:r,submitButtonStyle:v,contentStyle:c}=t,h=Je(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:m}=De(),{jumpToWeb:f}=qe(),x=typeof a=="string"?a:oa(a),w=()=>{var C,p,T;if(s){const y=m,E=(C=y?.video)===null||C===void 0?void 0:C.bindProduct,_=(T=(p=y?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0?void 0:T.bindCta,g=m?.index;f(y,E,_,g)}l||d?.(),r?.()};return n.createElement("div",Object.assign({className:`pb-prompt ${xe.css(Object.assign({},o))}`},h),n.createElement("div",{className:"pb-prompt-icon"},n.createElement("img",{width:"100%",src:x??yo,alt:"success image"})),n.createElement("div",{className:"pb-prompt-content",style:c,dangerouslySetInnerHTML:{__html:he(e,c)}}),n.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:v,onClick:w,dangerouslySetInnerHTML:{__html:he(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:yo,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 ra=t=>{var e,i,o,a,l,s,d,r,v,c,h,m,f,x,w,C,p,T,y,E,_,g,M,P,S,u,D,b,A,I,{style:O,isDefault:j,rec:z,viewTime:B,isPost:R,bottom_image:N,tipText:W,swiper:V,commodityStyles:F,buttonStyle:X,index:te,commodityGroup:re,popupBg:ue,iframeIcon:ye,commodityImgRatio:Q,isTel:J}=t,se=Je(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio","isTel"]);n.useState(!0);const{sxpParameter:K,popupCurTimeRef:ee,popupDetailData:we,isPreview:Ie,bffFbReport:$,checkCommodityIndexRef:me}=De(),{jumpToWeb:Ee,productView:Be}=qe();n.useState(!1),n.useState(!1),n.useState(!0);const[Ae,Re]=n.useState(!1),Le=n.useRef(null),[G,pe]=n.useState(!1),[ge,ae]=n.useState((e=we?.multiCheckIndex)!==null&&e!==void 0?e:0),Fe=n.useRef(),U=R?z:we;let L=R?U?.product:(o=(i=U?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&o!==void 0?o:(l=(a=U?.video)===null||a===void 0?void 0:a.bindProducts)===null||l===void 0?void 0:l[0],Me=R?(s=U?.product)===null||s===void 0?void 0:s.bindCta:(v=(r=(d=U?.video)===null||d===void 0?void 0:d.bindProduct)===null||r===void 0?void 0:r.bindCta)!==null&&v!==void 0?v:(m=(h=(c=U?.video)===null||c===void 0?void 0:c.bindProducts)===null||h===void 0?void 0:h[0])===null||m===void 0?void 0:m.bindCta;const je=R?te:we?.index;if(!R&&re?.open&&(!((f=U?.video)===null||f===void 0)&&f.bindProducts)&&((w=(x=U?.video)===null||x===void 0?void 0:x.bindProducts)===null||w===void 0?void 0:w.length)>0){me.current=ge;const le=(C=U?.video)===null||C===void 0?void 0:C.bindProducts[ge];L=le,Me=le?.bindCta}const rt=()=>{L?.link&&(Ee(U,L,Me,je),R||Be(U,L,Me,B||Le.current,je),window.location.href=window.getJointUtmLink(L.link))};n.useEffect(()=>{R||$?.({eventName:"ProductView"})},[R,$]),n.useEffect(()=>{const le=()=>{Le.current=new Date};return le(),window.addEventListener("pageshow",le),()=>{window.removeEventListener("pageshow",le)}},[]);const ft=n.useMemo(()=>{var le,ie,Se,k,ne,Z,oe;const de=((le=F?.price)===null||le===void 0?void 0:le.enableFormattedPrice)===void 0||((ie=F?.price)===null||ie===void 0?void 0:ie.enableFormattedPrice);return L?.currency&&L?.price?`${(ne=(k=(Se=L?.currency)===null||Se===void 0?void 0:Se.split("-")[1])===null||k===void 0?void 0:k.toUpperCase())!==null&&ne!==void 0?ne:""}${de?(oe=(Z=L?.price)===null||Z===void 0?void 0:Z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&oe!==void 0?oe:"":L?.price}`:"\xA3102,300.00"},[L?.price,L?.currency,(p=F?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),et=(Ie?375:(T=O?.width)!==null&&T!==void 0?T:window.innerWidth)-((y=ue?.horizontalMargin)!==null&&y!==void 0?y:0)*2,H=Q?et*(Q.h/Q.w):et,Y=({isPost:le})=>n.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},n.createElement(Jt,{isPost:le,onClick:()=>Re(!0),className:"pb-commondityDiroNew-info",style:F?.info,foldText:W?.foldText,unfoldText:W?.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=n.useCallback(le=>le?.lineClamp?Object.assign(Object.assign({},le),{overflow:"hidden",WebkitLineClamp:le?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):le,[]),Te=n.useCallback(le=>{ee.current=new Date,ae(le),me.current=le,Fe?.current&&(Fe.current.swiper.slideTo(0),Fe.current.swiper.autoplay.start())},[]),fe=n.useCallback(()=>{var le,ie,Se;if(!R)return n.createElement(bo,{products:(le=U?.video)===null||le===void 0?void 0:le.bindProducts,data:re,defImg:(Se=(ie=K?.bottom_image)!==null&&ie!==void 0?ie:N)!==null&&Se!==void 0?Se:"",style:{padding:"0 19px"},onCLick:Te,popupDetailData:we,check:ge})},[ge]),ke=n.useMemo(()=>{const le={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return le?.[V?.dotsAlign]},[V?.dotsAlign]),Oe=R?(E=U?.product)===null||E===void 0?void 0:E.remark:(g=(_=U?.video)===null||_===void 0?void 0:_.bindProduct)===null||g===void 0?void 0:g.remark;return n.createElement("div",{className:"pb-commondityDiroNew"},n.createElement("div",Object.assign({className:xe.css(Object.assign(Object.assign({},O),{transform:"translate3d(0px, 0px, 0px)"}))},se),n.createElement("div",{style:{position:"relative"}},L&&((M=L?.homePage)===null||M===void 0?void 0:M.length)>0&&n.createElement(Ct,{height:H,modules:[Ut,Wt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:ke},loop:!0,autoplay:{delay:V?.delay*1e3},ref:Fe},(P=L?.homePage)===null||P===void 0?void 0:P.map(le=>{var ie;return n.createElement(mt,{key:le},n.createElement("div",{style:{overflow:"hidden",width:et,height:H}},n.createElement(tt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${V?.translateY?V?.translateY+50:50}%`},src:(ie=le??K?.bottom_image)!==null&&ie!==void 0?ie:N})))})),!(!((S=L?.homePage)===null||S===void 0)&&S.length)&&n.createElement("div",{className:xe.css({height:H,width:et})},n.createElement("img",{className:xe.css({objectFit:"cover",width:"100%",height:"100%"}),src:(u=K?.bottom_image)!==null&&u!==void 0?u:N,alt:"pdp image"})),(Oe||!L)&&ye&&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:ye,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}))),fe(),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:be(F?.title),dangerouslySetInnerHTML:{__html:he((D=L?.title)!==null&&D!==void 0?D:"Large Dior Toujours BagLarge",F?.title)}}),n.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!L&&(!L?.collection||L?.collection===""),style:be(F?.collection),dangerouslySetInnerHTML:{__html:he(L?.collection||"Black Macrocannage CalfskinLarge",F?.collection)}})),n.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},n.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.price,style:be(F?.price),dangerouslySetInnerHTML:{__html:he(ft,F?.price)}}),n.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.taxInfo,style:be(F?.taxInfo),dangerouslySetInnerHTML:{__html:he((b=L?.taxInfo)!==null&&b!==void 0?b:"\u7A0E\u8D39",F?.taxInfo)}}))),(!L||L?.link)&&n.createElement("button",{"aria-label":(A=Me?.enTitle)!==null&&A!==void 0?A:"Shop now",onClick:rt,className:"pb-commondityDiroNew-btn",style:X},n.createElement("span",{dangerouslySetInnerHTML:{__html:he((I=Me?.enTitle)!==null&&I!==void 0?I:"Shop now",X)}})),Y({isPost:R}))),n.createElement(Pt,{visible:Ae,onClose:()=>Re(!1)},Y({isPost:!1})),n.createElement(Pt,{visible:G,padding:0,isFullScreen:!0,onClose:()=>pe(!1)},n.createElement("div",{style:{height:"100vh"}},n.createElement("iframe",{src:Oe,style:{width:"100%",height:J?"624px":"calc(100vh - 40px)",marginTop:"40px",border:"none"}}))))};var da=n.memo(ra),ca=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const ua=Ke(da,{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"},{label:"\u4EF7\u683C\u5343\u5206\u7B26\u5C55\u793A",type:"Switch",name:["enableFormattedPrice"],initialValue:!0}]}]},{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 wo(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:s,enableEventReport:d=!0})=>{const r=n.useRef(null),v=wo(r),{ctaEvent:c}=De();return n.useEffect(()=>{v&&t&&r?.current&&d&&c?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,o)},[v,t,r,e,c,i,o,d]),n.useMemo(()=>t?.includes(".avif")?t:`${t}?imrquality/rquality/20`,[t]),n.createElement("div",{className:xe.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},s))},n.createElement("div",{ref:r,hidden:!t,className:xe.css({width:"100%",height:"100%"})},n.createElement(tt,{className:xe.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?l+50:50}%`},a)),src:t})))};var bt=n.memo(pa);const ma=t=>{var e,i,o,{style:a,isDefault:l,rec:s,viewTime:d,isPost:r,bottom_image:v,commodityStyles:c,buttonStyle:h,translateY:m=0,commodityPicture:f,isExternalLink:x,onClick:w}=t,C=Je(t,["style","isDefault","rec","viewTime","isPost","bottom_image","commodityStyles","buttonStyle","translateY","commodityPicture","isExternalLink","onClick"]);const{sxpParameter:p,popupDetailData:T,setPopupDetailData:y,ctaEvent:E}=De(),{jumpToWeb:_}=qe(),{popup:g}=ut(),M=r?s:T,P=(i=(e=M?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[null,null,null,null],S=T?.index,u=n.useCallback(b=>{var A,I,O,j,z,B,R;const N=((A=c?.price)===null||A===void 0?void 0:A.enableFormattedPrice)===void 0||((I=c?.price)===null||I===void 0?void 0:I.enableFormattedPrice);return b?.currency&&b?.price?`${(z=(j=(O=b?.currency)===null||O===void 0?void 0:O.split("-")[1])===null||j===void 0?void 0:j.toUpperCase())!==null&&z!==void 0?z:""}${N?(R=(B=b?.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&R!==void 0?R:"":b?.price}`:`$${N?7e3.toLocaleString():7e3}`},[(o=c?.price)===null||o===void 0?void 0:o.enableFormattedPrice]),D=Xe.throttle((b,A)=>{E?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},M,b,S),y?.(Object.assign(Object.assign({},M),{video:Object.assign(Object.assign({},M?.video),{bindProduct:b}),index:S,multiCheckIndex:A})),x?b?.link&&(_(M,b,b.bindCta,S),window.location.href=window.getJointUtmLink(b.link)):w?.()},g?.duration);return n.createElement("div",{className:xe.css(Object.assign(Object.assign({},a),{display:"flex",flexDirection:"column",gap:"10px",padding:"0 20px",marginTop:"50px",boxSizing:"border-box"}))},P?.map((b,A)=>{var I,O,j,z,B,R,N,W,V,F;return n.createElement(n.Fragment,null,M&&!b?.bindCta?null:n.createElement("div",Object.assign({key:A},C,{className:xe.css({display:"flex"}),onClick:()=>D(b,A)}),n.createElement(bt,{src:(z=(j=(I=b?.cover)!==null&&I!==void 0?I:(O=b?.homePage)===null||O===void 0?void 0:O[0])!==null&&j!==void 0?j:p?.bottom_image)!==null&&z!==void 0?z:v,rec:M,item:b,index:A,translateY:m,imgStyle:f,enableEventReport:!1}),n.createElement("div",{style:{width:`calc(100% - ${(B=f?.width)!==null&&B!==void 0?B:0}px - ${(R=f?.marginRight)!==null&&R!==void 0?R:0}px)`,display:"flex",flexDirection:"column",justifyContent:"space-between"}},n.createElement("div",null,n.createElement("div",{className:"one-line-ellipsis",style:c?.title,hidden:!!b&&!b?.title,dangerouslySetInnerHTML:{__html:he((N=b?.title)!==null&&N!==void 0?N:"Pendant in Yellow Gold with Diamonds, Medium",c?.title)}}),n.createElement("div",{className:"two-line-ellipsis",style:c?.collection,hidden:!!b&&(!b?.collection||b?.collection===""),dangerouslySetInnerHTML:{__html:he((W=b?.collection)!==null&&W!==void 0?W:"Tiffany Lock",c?.collection)}})),n.createElement("div",{className:xe.css({display:"flex",alignItems:"flex-end",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",null,n.createElement("div",{style:c?.price,hidden:!!b&&!b?.price,dangerouslySetInnerHTML:{__html:he(u(b),c?.price)}})),n.createElement("div",{className:"one-line-ellipsis",style:Object.assign(Object.assign({},h),{padding:"0 15px"}),dangerouslySetInnerHTML:{__html:he((F=(V=b?.bindCta)===null||V===void 0?void 0:V.enTitle)!==null&&F!==void 0?F:"Shop Now",h)}})))))}))};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:s,isPopup:d,isExternalLink:r,onClose:v,onClick:c,submitButtonStyle:h,contentStyle:m,isTel:f}=t,x=Je(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle","isTel"]);const{popupDetailData:w}=De(),C=(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:`${xe.css(Object.assign(Object.assign({},l),{height:f?664:window?.innerHeight}))}`},x),n.createElement("iframe",{src:C,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:s=!1,index:d,jumpLink:r}=t;Je(t,["rec","children","className","onClick","style","isExternalLink","index","jumpLink"]);const v=n.useRef(null),{popup:c}=ut(),{setPopupDetailData:h,ctaEvent:m}=De(),{jumpToWeb:f}=qe(),x=Xe.throttle(()=>{var w,C,p,T,y,E,_,g;const M=(C=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)!==null&&C!==void 0?C:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,d),h?.(Object.assign(Object.assign({},e),{index:d})),s){if(r||!((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,S=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;f(e,S,P,d),window.location.href=window.getJointUtmLink(r||((g=(_=e?.video)===null||_===void 0?void 0:_.bindProduct)===null||g===void 0?void 0:g.link)||"")}}else a?.()},c?.duration);return n.createElement("div",{ref:v,className:o,style:l,onClick:x},i)};var Lt=n.memo(Ta),Ea={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Aa=t=>{var e,i,o,a,l,s,d,r,v,c,h,{content:m,style:f,bgImg:x,recData:w,bottom_image:C,ctaTempStyles:p,isExternalLink:T,translateY:y=0,index:E}=t,_=Je(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=De(),M=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,P=(l=(a=(i=M?.cover)!==null&&i!==void 0?i:(o=M?.homePage)===null||o===void 0?void 0:o[0])!==null&&a!==void 0?a:g?.bottom_image)!==null&&l!==void 0?l:C;return n.createElement(Lt,Object.assign({isExternalLink:T,rec:w,className:xe.css(Object.assign({},f)),style:{display:"flex"},index:E},_),n.createElement(bt,{src:P,rec:w,item:(d=(s=w?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&d!==void 0?d:w?.video,index:E,translateY:y,imgStyle:p?.img}),n.createElement("div",{className:xe.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:he((r=M?.title)!==null&&r!==void 0?r:"Product Name",p?.title)}}),n.createElement("div",{className:xe.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((h=(c=M?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&h!==void 0?h:"Shop Now",p?.ctaTitle)}})))};var Ca=n.memo(Aa);const Ia=Ke(Ca,{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,s,{content:d,style:r,bgImg:v,recData:c,bottom_image:h,ctaTempStyles:m,isExternalLink:f,index:x}=t,w=Je(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:C}=De(),p=(e=c?.video)===null||e===void 0?void 0:e.bindCta,T=(o=(i=p?.icon)!==null&&i!==void 0?i:C?.bottom_image)!==null&&o!==void 0?o:h;return n.createElement(Lt,Object.assign({isExternalLink:f,rec:c,className:xe.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"},index:x},w),n.createElement(bt,{src:T,rec:c,item:(l=(a=c?.video)===null||a===void 0?void 0:a.bindProduct)!==null&&l!==void 0?l:c?.video,index:x,imgStyle:m?.img}),n.createElement("div",{className:xe.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},m?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((s=p?.enTitle)!==null&&s!==void 0?s:"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"}]}],So={"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,s,d,r,v,{content:c,style:h,bgImg:m,recData:f,bottom_image:x,ctaTempStyles:w,index:C,customTitle:p}=t,T=Je(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index","customTitle"]);const{sxpParameter:y,bffEventReport:E}=De();qe();const _=(e=f?.video)===null||e===void 0?void 0:e.bindCta;(i=f?.video)===null||i===void 0||i.bindProduct;const g=(a=(o=_?.icon)!==null&&o!==void 0?o:y?.bottom_image)!==null&&a!==void 0?a:x;return n.createElement(Lt,Object.assign({index:C,rec:f,className:xe.css(Object.assign({alignItems:"center"},h)),style:{display:"flex"}},T,{jumpLink:(l=_?.link)!==null&&l!==void 0?l:""}),n.createElement(bt,{src:g,rec:f,item:(d=(s=f?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&d!==void 0?d:f?.video,index:C,imgStyle:w?.img}),n.createElement("div",{className:xe.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},n.createElement("div",null,n.createElement("div",{className:So["tow-line-ellipsis"],style:w?.ctaTitle,dangerouslySetInnerHTML:{__html:he((r=_?.enTitle)!==null&&r!==void 0?r:"Product Name",w?.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:So["one-line-ellipsis"],dangerouslySetInnerHTML:{__html:he(p?.text,p?.style)}}))))};var Ra=n.memo(Oa),La=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],xi;const Na=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 Ba=[{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,s,d,r,v,c,h,{content:m,style:f,bgImg:x,recData:w,bottom_image:C,ctaTempStyles:p,isExternalLink:T,translateY:y=0,index:E}=t,_=Je(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=De(),M=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,P=(l=(a=(i=M?.cover)!==null&&i!==void 0?i:(o=M?.homePage)===null||o===void 0?void 0:o[0])!==null&&a!==void 0?a:g?.bottom_image)!==null&&l!==void 0?l:C;return n.createElement(Lt,Object.assign({isExternalLink:T,rec:w,className:xe.css(Object.assign({},f)),style:{display:"flex"},index:E},_),n.createElement(bt,{src:P,rec:w,item:(d=(s=w?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&d!==void 0?d:w?.video,index:E,translateY:y,imgStyle:p?.img}),n.createElement("div",{className:xe.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:he((r=M?.title)!==null&&r!==void 0?r:"Product Name",p?.title)}}),n.createElement("div",{className:xe.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((h=(c=M?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&h!==void 0?h:"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:Ba,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"}]}],Ga={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Ua=t=>{var e,i,o,a,l,s,d,r,v,c,{content:h,style:m,bgImg:f,recData:x,bottom_image:w,ctaTempStyles:C,isExternalLink:p,translateY:T=0,index:y}=t,E=Je(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:_}=De(),g=(e=x?.video)===null||e===void 0?void 0:e.bindProduct,M=(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:_?.bottom_image)!==null&&l!==void 0?l:w;return n.createElement(Lt,Object.assign({isExternalLink:p,rec:x,className:xe.css(Object.assign({},m)),style:{display:"flex"},index:y},E),n.createElement(bt,{src:M,rec:x,item:(d=(s=x?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&d!==void 0?d:x?.video,index:y,translateY:T,imgStyle:C?.img}),n.createElement("div",{className:xe.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},n.createElement("div",{className:Ga["tow-line-ellipsis"],style:C?.title,dangerouslySetInnerHTML:{__html:he((r=g?.title)!==null&&r!==void 0?r:"Product Name",C?.title)}}),n.createElement("div",{className:xe.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},C?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((c=(v=g?.bindCta)===null||v===void 0?void 0:v.enTitle)!==null&&c!==void 0?c:"Shop Now",C?.ctaTitle)}})))};var Wa=n.memo(Ua);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"}]}],Ja={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const qa=t=>{var e,i,{content:o,style:a,bgImg:l,recData:s,onClick:d,bottom_image:r,ctaTempStyles:v,isExternalLink:c,index:h,translateY:m=0}=t,f=Je(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:x,setPopupDetailData:w,sxpParameter:C}=De(),{popup:p}=ut(),{jumpToWeb:T}=qe(),[y,E]=n.useState((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=Xe.throttle((g,M)=>{x?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,g,h),w?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:g}),index:h,multiCheckIndex:M})),c?g?.link&&(T(s,g,g.bindCta,h),window.location.href=window.getJointUtmLink(g.link)):d?.()},p?.duration);return n.createElement(Rt,{isPadding:!!s},y?.map((g,M)=>{var P,S,u,D,b,A,I,O;return n.createElement(n.Fragment,null,s&&!g?.bindCta?null:n.createElement(mt,Object.assign({key:M,className:xe.css(Object.assign(Object.assign({},a),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>_(g,M)}),n.createElement(bt,{src:(D=(u=(P=g?.cover)!==null&&P!==void 0?P:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&u!==void 0?u:C?.bottom_image)!==null&&D!==void 0?D:r,rec:s,item:g,index:M,translateY:m,imgStyle:v?.img}),n.createElement("div",{className:xe.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},n.createElement("div",{className:Ja["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((b=g?.title)!==null&&b!==void 0?b:"Product Name",v?.title)}}),n.createElement("div",{className:xe.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((A=v?.ctaTitle)===null||A===void 0?void 0:A.height)+"px"},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 Ka=n.memo(qa);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:s,onClick:d,bottom_image:r,ctaTempStyles:v,isExternalLink:c,index:h,translateY:m=0}=t,f=Je(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:x}=De(),{ctaEvent:w,setPopupDetailData:C}=De(),{popup:p}=ut(),[T,y]=n.useState((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=qe(),_=Xe.throttle((g,M)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,g,h),C?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:g}),index:h,multiCheckIndex:M})),c?g?.link&&(E(s,g,g.bindCta,h),window.location.href=window.getJointUtmLink(g.link)):d?.()},p?.duration);return n.createElement(Rt,{isPadding:!!s},T?.map((g,M)=>{var P,S,u,D,b,A,I,O;return n.createElement(n.Fragment,null,s&&!g?.bindCta?null:n.createElement(mt,Object.assign({key:M,className:xe.css(Object.assign(Object.assign({},a),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>_(g,M)}),n.createElement(bt,{src:(D=(u=(P=g?.cover)!==null&&P!==void 0?P:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&u!==void 0?u:x?.bottom_image)!==null&&D!==void 0?D:r,rec:s,item:g,index:M,translateY:m,imgStyle:v?.img}),n.createElement("div",{className:xe.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:he((b=g?.title)!==null&&b!==void 0?b:"Product Name",v?.title)}}),n.createElement("div",{className:xe.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((A=v?.ctaTitle)===null||A===void 0?void 0:A.height)+"px"},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 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:s,onClick:d,bottom_image:r,ctaTempStyles:v,isExternalLink:c,index:h,translateY:m=0}=t,f=Je(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:x,setPopupDetailData:w,sxpParameter:C}=De(),{popup:p}=ut(),{jumpToWeb:T}=qe(),[y,E]=n.useState((i=(e=s?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=Xe.throttle((g,M)=>{x?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},s,g,h),w?.(Object.assign(Object.assign({},s),{video:Object.assign(Object.assign({},s?.video),{bindProduct:g}),index:h,multiCheckIndex:M})),c?g?.link&&(T(s,g,g.bindCta,h),window.location.href=window.getJointUtmLink(g.link)):d?.()},p?.duration);return n.createElement(Rt,{isPadding:!!s},y?.map((g,M)=>{var P,S,u,D,b,A,I;return n.createElement(n.Fragment,null,s&&!g?.bindCta?null:n.createElement(mt,Object.assign({key:M,className:xe.css(Object.assign(Object.assign({},a),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>_(g,M)}),n.createElement(bt,{src:(D=(u=(P=g?.cover)!==null&&P!==void 0?P:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&u!==void 0?u:C?.bottom_image)!==null&&D!==void 0?D:r,rec:s,item:g,index:M,translateY:m,imgStyle:v?.img}),n.createElement("div",{className:xe.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:he((b=g?.title)!==null&&b!==void 0?b:"Product Name",v?.title)}}),n.createElement("div",{className:xe.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((I=(A=g?.bindCta)===null||A===void 0?void 0:A.enTitle)!==null&&I!==void 0?I:"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 rs=[{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"},{label:"\u4EF7\u683C\u5343\u5206\u7B26\u5C55\u793A",type:"Switch",name:["enableFormattedPrice"],initialValue:!0}]}]},{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 ds=({icon:t,styles:e,textStyle:i,onClose:o})=>{var a;const{waterFallData:l,setOpenHashtag:s}=De();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:he(`#${(a=l?.hashTag)!==null&&a!==void 0?a:"\u6807\u9898"}`,i)}}))};var xo=n.memo(ds),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",To={productUserId:cs,requestId:us,channel:vs,rtc:ps,tag:ms,recList:fs,hashTag:hs};const gs=t=>{var e;const{rec:i,style:o={},sizeChange:a=()=>{},unitWidth:l,index:s,showBorder:d,list:r,reportTagsView:v,textStyles:c,space:h}=t,{swiperRef:m,setRtcList:f,setOpenHashtag:x,sxpParameter:w}=De(),[C,p]=n.useState(!1);n.useState(!1),n.useState({height:1,width:1});const T=n.useRef(null),y=n.useRef(null);n.useRef(null),n.useRef(null);const[E,_]=n.useState(""),g=n.useMemo(()=>{var A,I,O,j,z,B,R,N,W,V;return!((A=i?.video)===null||A===void 0)&&A.cover?(I=i?.video)===null||I===void 0?void 0:I.cover:!((j=(O=i?.video)===null||O===void 0?void 0:O.imgUrls)===null||j===void 0)&&j.length?(B=(z=i?.video)===null||z===void 0?void 0:z.imgUrls)===null||B===void 0?void 0:B[0]:!((N=(R=i?.product)===null||R===void 0?void 0:R.homePage)===null||N===void 0)&&N.length?(V=(W=i?.product)===null||W===void 0?void 0:W.homePage)===null||V===void 0?void 0:V[0]:w?.bottom_image||""},[i,w?.bottom_image]),M=n.useMemo(()=>{var A,I;return((A=i?.product)===null||A===void 0?void 0:A.title)||((I=i?.video)===null||I===void 0?void 0:I.title)||null},[i]),P=n.useMemo(()=>{var A;return o.transform?Number((A=o.transform)===null||A===void 0?void 0:A.substring(o.transform.indexOf(",",0)+1,o.transform.length-3)):void 0},[o]);n.useMemo(()=>P===void 0?!1:P<=d,[P,d]);const S=n.useMemo(()=>{var A,I,O,j,z,B,R,N,W,V,F,X;const te=((A=c?.price)===null||A===void 0?void 0:A.enableFormattedPrice)===void 0||((I=c?.price)===null||I===void 0?void 0:I.enableFormattedPrice);return!((O=i?.product)===null||O===void 0)&&O.currency&&(!((j=i?.product)===null||j===void 0)&&j.price)?`${(N=(R=(B=(z=i?.product)===null||z===void 0?void 0:z.currency)===null||B===void 0?void 0:B.split("-")[1])===null||R===void 0?void 0:R.toUpperCase())!==null&&N!==void 0?N:""}${te?(F=(V=(W=i?.product)===null||W===void 0?void 0:W.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&F!==void 0?F:"":(X=i?.product)===null||X===void 0?void 0:X.price}`:null},[i,(e=c?.price)===null||e===void 0?void 0:e.enableFormattedPrice]);n.useEffect(()=>{if(T.current===null||g==="")return;let A=null;C&&E?A=E:A=g,A&&T.current.setSrc(A)},[g,C,E]);const u=n.useRef(),D=n.useCallback(A=>{setTimeout(()=>{var I;const O=(I=u?.current)===null||I===void 0?void 0:I.offsetHeight;a(O+56+h,s)},0)},[h,a,s,l,u]),b=()=>{v(),f?.(r),setTimeout(()=>{var A;(A=m?.current)===null||A===void 0||A.swiper.slideTo(s,0,!1),x?.(!1)},0)};return n.createElement("div",{ref:y,style:Object.assign({},o),className:"waterFallList-content-listItem",key:s,onClick:b},n.createElement("div",{className:"waterFallList-content-listItem-picture",ref:u},n.createElement(tt,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:D,ref:T})),n.createElement("div",{className:"waterFallList-content-listItem-info"},n.createElement("div",{className:`waterFallList-content-listItem-info-title ${S?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title),dangerouslySetInnerHTML:{__html:he(M,c?.title)}}),n.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!S,style:c.price,dangerouslySetInnerHTML:{__html:he(S,c?.price)}})))};function bs(t){var e,i,o,a,l,s,d,r,v,c,h,m,f,x,w,C,p,T,y,E,_,g,{reportTagsView:M,showBanner:P}=t,S=Je(t,["reportTagsView","showBanner"]);const{waterFallData:u,getRecommendVideos:D,hashTagSize:b,loadingImage:A,isOpenHashTag:I,cacheActiveIndex:O}=De(),{jumpToWeb:j}=qe(),z=n.useRef(null),[B,R]=n.useState(0),[N,W]=n.useState(),V=n.useRef(null),[F,X]=n.useState([]),te=n.useRef(),re=[170,230,300],[ue,ye]=n.useState(!1),[Q,J]=n.useState([]),se=n.useRef(),K=n.useCallback((G,pe)=>Math.floor(Math.random()*(pe-G+1))+G,[]),ee=n.useRef([]),[we,Ie]=n.useState({width:0}),$=n.useMemo(()=>{const G=we.width||0;return G>=1200?6:G>=768&&G<=1199?4:2},[we]),me=n.useMemo(()=>we.width/$-2,[$,we]),Ee=n.useCallback(()=>{var G;const pe=(G=te.current)!==null&&G!==void 0?G:[],ge=[];for(let ae=0;ae<Q?.length;ae++){const Fe=Math.floor(ae/$),U=ae%$+1;let L=0,Me=9999999999;if(Fe===0)ge[ae]=ae;else{for(let je=0;je<ge.length;je++)ee.current[ge[je]].top+ee.current[ge[je]].height<Me&&(L=je,Me=ee.current[ge[je]].top+ee.current[ge[je]].height);ge[L]=ae}ee.current[ae]===void 0&&(ee.current[ae]={}),Fe===0?(U===1?ee.current[ae].left=0:ee.current[ae].left=ee.current[ae-1].left+me+4,ee.current[ae].top=0):(ee.current[ae].left=ee.current[L].left,ee.current[ae].top=Me),ee.current[ae].height=ee.current[ae].height||re[K(0,2)],pe[ae]={transform:`translate(${ee.current[ae].left}px,${ee.current[ae].top}px)`,width:`${me}px`,height:ee.current[ae].height}}return X([...pe]),[...pe]},[me,$,re,K,Q]),Be=n.useCallback((G,pe)=>{ee.current[pe]===void 0&&(ee.current[pe]={}),ee.current[pe].height=G,te.current=Ee()},[Ee]);n.useEffect(()=>{te.current=Ee()},[me,$,Q]),n.useEffect(()=>{var G,pe;if(ye(!0),u&&D?.({hashTag:u?.hashTag,defaultSize:b,maxSize:b}).then(ge=>{var ae,Fe;W(ge),J((Fe=(ae=ge?.recList)===null||ae===void 0?void 0:ae.filter(U=>U?.video!==null||U?.product!==null))!==null&&Fe!==void 0?Fe:[]),ye(!1)}),I){const ge=To;W(ge),J((pe=(G=ge?.recList)===null||G===void 0?void 0:G.filter(ae=>ae?.video!==null||ae?.product!==null))!==null&&pe!==void 0?pe:[]),ye(!1)}},[u,D,b,I]);const Ae=n.useCallback(()=>{V.current!==null&&Ie({width:V.current.getBoundingClientRect().width})},[]);n.useEffect(()=>{if(V.current===null)return;const G=new ResizeObserver(pe=>{Ae()});return G.observe(V.current),()=>{G.disconnect()}},[Ae]),n.useCallback(()=>{ye(!0),u&&D?.({hashTag:u?.hashTag}).then(G=>{var pe,ge;J(Q?.concat((ge=(pe=G?.recList)===null||pe===void 0?void 0:pe.filter(ae=>!ae?.video))!==null&&ge!==void 0?ge:[])),ye(!1)})},[u,D,Q]);const Re=n.useCallback(()=>{R(z.current.scrollTop)},[]);n.useEffect(()=>{var G;return(G=z?.current)===null||G===void 0||G.addEventListener("scroll",Re),()=>{var pe;(pe=z?.current)===null||pe===void 0||pe.removeEventListener("scroll",Re)}},[Re,z]);const Le=()=>{var G,pe,ge,ae,Fe;if(!((G=N?.tag)===null||G===void 0)&&G.link){M();const U=u?.rec;j(U,(pe=U?.video)===null||pe===void 0?void 0:pe.bindProduct,(ge=U?.video)===null||ge===void 0?void 0:ge.bindCta,O,(ae=U?.video)===null||ae===void 0?void 0:ae.traceInfo),window.location.href=window.getJointUtmLink((Fe=N?.tag)===null||Fe===void 0?void 0:Fe.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:A,alt:"loading...",style:{objectFit:"contain"}})):n.createElement("div",{className:"waterFallList",ref:V},n.createElement("div",{className:"waterFallList-scroll",ref:z},P&&((e=N?.tag)===null||e===void 0?void 0:e.picture)&&n.createElement("div",{onClick:Le},n.createElement(tt,{className:xe.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=N?.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:he((a=N?.tag)===null||a===void 0?void 0:a.info,(l=S?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),n.createElement("div",{hidden:!(!((s=N?.tag)===null||s===void 0)&&s.link),className:"waterFallList-collection",style:Object.assign({},(d=S?.textStyles)===null||d===void 0?void 0:d.hashTagLink),onClick:Le,dangerouslySetInnerHTML:{__html:he(((r=N?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection",(v=S?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),n.createElement("div",{className:"waterFallList-content"},Q?.map((G,pe)=>{var ge;return n.createElement(gs,Object.assign({key:pe,index:pe,rec:G,list:Q,showBorder:B+((ge=z?.current)===null||ge===void 0?void 0:ge.clientHeight),style:F[pe],sizeChange:Be,unitWidth:me,reportTagsView:M},S))}),n.createElement("div",{hidden:!(!((c=N?.tag)===null||c===void 0)&&c.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(w=((m=ee?.current[((h=ee?.current)===null||h===void 0?void 0:h.length)-1])===null||m===void 0?void 0:m.top)+((x=ee?.current[((f=ee?.current)===null||f===void 0?void 0:f.length)-1])===null||x===void 0?void 0:x.height))!==null&&w!==void 0?w:0}px)`,height:!((C=N?.tag)===null||C===void 0)&&C.link?((p=se?.current)===null||p===void 0?void 0:p.offsetHeight)||((T=S?.buttonBgStyle)===null||T===void 0?void 0:T.height)||"100px":0}}))),n.createElement("div",{className:"waterFallList-bottom",hidden:!(!((y=N?.tag)===null||y===void 0)&&y.link),style:S?.buttonBgStyle}),n.createElement("div",{ref:se,hidden:!(!((E=N?.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":((_=N?.tag)===null||_===void 0?void 0:_.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:S?.buttonStyle,onClick:Le,dangerouslySetInnerHTML:{__html:he(((g=N?.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=>{var e;const{rec:i,index:o,list:a,reportTagsView:l,textStyles:s,space:d}=t,{swiperRef:r,setRtcList:v,setOpenHashtag:c,sxpParameter:h}=De(),[m,f]=n.useState(!1),x=n.useRef(null),w=n.useRef(null),C=n.useRef(null),p=n.useRef(null),[T,y]=n.useState(""),E=n.useMemo(()=>{var S,u,D,b,A,I,O,j,z,B;return!((S=i?.video)===null||S===void 0)&&S.cover?(u=i?.video)===null||u===void 0?void 0:u.cover:!((b=(D=i?.video)===null||D===void 0?void 0:D.imgUrls)===null||b===void 0)&&b.length?(I=(A=i?.video)===null||A===void 0?void 0:A.imgUrls)===null||I===void 0?void 0:I[0]:!((j=(O=i?.product)===null||O===void 0?void 0:O.homePage)===null||j===void 0)&&j.length?(B=(z=i?.product)===null||z===void 0?void 0:z.homePage)===null||B===void 0?void 0:B[0]:h?.bottom_image||""},[i,h?.bottom_image]),_=n.useMemo(()=>{var S,u;return((S=i?.product)===null||S===void 0?void 0:S.title)||((u=i?.video)===null||u===void 0?void 0:u.title)||null},[i]),g=n.useMemo(()=>{var S,u,D,b,A,I,O,j,z,B,R,N;const W=((S=s?.price)===null||S===void 0?void 0:S.enableFormattedPrice)===void 0||((u=s?.price)===null||u===void 0?void 0:u.enableFormattedPrice);return!((D=i?.product)===null||D===void 0)&&D.currency&&(!((b=i?.product)===null||b===void 0)&&b.price)?`${(j=(O=(I=(A=i?.product)===null||A===void 0?void 0:A.currency)===null||I===void 0?void 0:I.split("-")[1])===null||O===void 0?void 0:O.toUpperCase())!==null&&j!==void 0?j:""}${W?(R=(B=(z=i?.product)===null||z===void 0?void 0:z.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&R!==void 0?R:"":(N=i?.product)===null||N===void 0?void 0:N.price}`:null},[i,(e=s?.price)===null||e===void 0?void 0:e.enableFormattedPrice]);n.useEffect(()=>{const S=new IntersectionObserver(u=>{u.forEach(D=>{if(D.isIntersecting){if(w.current===null||E==="")return;m&&T?x.current.setSrc(T):x.current.setSrc(E),S.unobserve(w.current)}})});return S.observe(w.current),()=>{S.disconnect()}},[E,m,T]);const M=(S,u,D)=>{const b=S/u;return D/b};n.useEffect(()=>{const S=C?.current;S===null||E===""||!m||(S.src=E,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const u=p?.current;if(!u)return;const D=u.getContext("2d"),b=window?.innerWidth/2,A=M(S.videoWidth,S.videoHeight,b);u.height=A,u.width=b,D?.drawImage(S,0,0,u.width,u.height),y(u.toDataURL()),S.remove(),u.remove()})},[E,m]);const P=()=>{l(),v?.(a),setTimeout(()=>{var S;(S=r?.current)===null||S===void 0||S.swiper.slideTo(o,0,!1),c?.(!1)},0)};return n.createElement("div",{ref:w,className:"list-content-listItem",key:o,onClick:P,style:{marginBottom:d}},n.createElement("div",{className:"list-content-listItem-picture"},m&&n.createElement("div",{style:{display:"none"}},n.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),n.createElement("canvas",{ref:p})),n.createElement(tt,{loading:"lazy",className:"list-content-listItem-picture-img",ref:x})),n.createElement("div",{className:"list-content-listItem-info"},n.createElement("div",{className:`list-content-listItem-info-title ${g?"list-content-listItem-info-nowrap":""}`,style:s?.title,dangerouslySetInnerHTML:{__html:he(_,s?.title)}}),n.createElement("div",{className:"list-content-listItem-info-price",style:s?.price,hidden:!g,dangerouslySetInnerHTML:{__html:he(g,s?.price)}})))};function Ss(t){var e,i,o,a,l,s,d,r,v,c,h,m,f,x,w,C,p,{reportTagsView:T,showBanner:y}=t,E=Je(t,["reportTagsView","showBanner"]);const{waterFallData:_,getRecommendVideos:g,hashTagSize:M,loadingImage:P,isOpenHashTag:S,cacheActiveIndex:u}=De(),{jumpToWeb:D}=qe(),[b,A]=n.useState(),[I,O]=n.useState(),[j,z]=n.useState(!1),B=n.useRef(null),[R,N]=n.useState(!1);n.useCallback(()=>{R||(N(!0),_&&g?.({hashTag:_?.hashTag}).then(V=>{var F;A(b?.concat((F=V?.recList)!==null&&F!==void 0?F:[])),N(!1)}))},[_,g,b,R]),n.useEffect(()=>{var V,F;if(z(!0),_&&g?.({hashTag:_?.hashTag,defaultSize:M,maxSize:M}).then(X=>{var te,re;O(X),A((re=(te=X?.recList)===null||te===void 0?void 0:te.filter(ue=>ue?.video!==null||ue?.product!==null))!==null&&re!==void 0?re:[]),z(!1)}),S){const X=To;O(X),A((F=(V=X?.recList)===null||V===void 0?void 0:V.filter(te=>te?.video!==null||te?.product!==null))!==null&&F!==void 0?F:[]),z(!1)}},[_,g,M,S]);const W=()=>{var V,F,X,te,re;if(!((V=I?.tag)===null||V===void 0)&&V.link){T();const ue=_?.rec;D(ue,(F=ue?.video)===null||F===void 0?void 0:F.bindProduct,(X=ue?.video)===null||X===void 0?void 0:X.bindCta,u,(te=ue?.video)===null||te===void 0?void 0:te.traceInfo),window.location.href=window.getJointUtmLink((re=I?.tag)===null||re===void 0?void 0:re.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:P,alt:"loading...",style:{objectFit:"contain"}})):n.createElement("div",{className:"list"},n.createElement("div",{className:"list-scroll",ref:B},y&&((e=I?.tag)===null||e===void 0?void 0:e.picture)&&n.createElement("div",{onClick:W},n.createElement(tt,{className:xe.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=I?.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:he((a=I?.tag)===null||a===void 0?void 0:a.info,(l=E?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),n.createElement("div",{hidden:!(!((s=I?.tag)===null||s===void 0)&&s.link),className:"list-collection",onClick:W,style:Object.assign(Object.assign({},(d=E?.textStyles)===null||d===void 0?void 0:d.hashTagLink),{marginBottom:E?.space}),dangerouslySetInnerHTML:{__html:he(((r=I?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection",(v=E?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),n.createElement("div",{className:"list-content"},b?.map((V,F)=>n.createElement(ws,Object.assign({key:F,index:F,rec:V,list:b,reportTagsView:T},E)))),n.createElement("div",{hidden:!R,style:{textAlign:"center"}},"loading..."),n.createElement("div",{hidden:!(!((c=I?.tag)===null||c===void 0)&&c.link),style:{height:!((h=I?.tag)===null||h===void 0)&&h.link?((m=E?.buttonBgStyle)===null||m===void 0?void 0:m.height)||((f=E?.buttonStyle)===null||f===void 0?void 0:f.height)||"100px":0}})),n.createElement("div",{className:"list-bottom",hidden:!(!((x=I?.tag)===null||x===void 0)&&x.link),style:E?.buttonBgStyle}),n.createElement("div",{hidden:!(!((w=I?.tag)===null||w===void 0)&&w.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},E?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},n.createElement("button",{"aria-label":((C=I?.tag)===null||C===void 0?void 0:C.linkTitle)||"Shop the collection",className:"list-btn",style:E?.buttonStyle,onClick:W,dangerouslySetInnerHTML:{__html:he(((p=I?.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:s,cacheRtcList:d,setRtcList:r,cacheActiveIndex:v,rtcList:c,setCacheRtcList:h,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:x,themeTag:w,selectTag:C}=De(),{backMainFeed:p}=qe();n.useRef(null);const T=n.useRef(null),[y,E]=n.useState();n.useEffect(()=>{const S=document.getElementById("sxp-render"),u=document.getElementById("water-fall");u?T.current=u:(T.current=document.createElement("div"),T.current.setAttribute("id","water-fall"),S?.appendChild(T.current))},[]);const _=()=>{const S=Xe.isEqual(c,d);!S&&d&&d?.length&&r?.(d),p("branch",C,void 0,i?.hashTag),P(),s?.(void 0),m?.(!1),setTimeout(()=>{var u,D;S||(D=(u=l?.current)===null||u===void 0?void 0:u.swiper)===null||D===void 0||D.slideTo(v,0,!1),o?.(!1)},0)},[g,M]=n.useState();n.useEffect(()=>{i&&M(i)},[i]);const P=n.useCallback(()=>{var S,u,D,b,A,I;const O=g?.rec;if(!O)return;let j="";f?j="hashTagPage":!((S=O?.video)===null||S===void 0)&&S.url?j="videoPage":!((D=(u=O?.video)===null||u===void 0?void 0:u.imgUrls)===null||D===void 0)&&D.length&&(j="imagePage"),x?.({eventInfo:{contentId:(b=O?.video)===null||b===void 0?void 0:b.itemId,position:v+"",contentTags:JSON.stringify((A=O?.video)===null||A===void 0?void 0:A.tags),traceInfo:(I=O?.video)===null||I===void 0?void 0:I.traceInfo,hashTags:JSON.stringify([g?.hashTag]),fromKName:j,fromKPage:location?.href,timeOnSite:Math.floor((new Date-y)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,x,y,f,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)}},[]),T.current?_i.createPortal(n.createElement("div",{className:"waterfall",style:{display:a?"block":"none"}},n.createElement(xo,{icon:ys,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:_}),t?.openFixedSize===!0||t?.openFixedSize===void 0?n.createElement(Ss,Object.assign({reportTagsView:P},t)):n.createElement(bs,Object.assign({reportTagsView:P},t))),T.current):null};var Eo=n.memo(xs);const Ts=t=>n.createElement(Eo,Object.assign({},t));var Es=n.memo(Ts);const As=Ke(Es,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:rs,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 Cs=[{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 Ao=t=>n.createElement(Ao,Object.assign({},t));var Is=n.memo(Ao);const ks=Ke(Is,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:Cs},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"]}]}],Co={"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,s,d,r,v,c,{style:h,recData:m,ctaTempStyles:f,index:x,event:w,onClick:C,isExternalLink:p=!1}=t,T=Je(t,["style","recData","ctaTempStyles","index","event","onClick","isExternalLink"]);const{ctaEvent:y,setPopupDetailData:E}=De(),{jumpToWeb:_}=qe(),[g,M]=n.useState(!1),P=n.useRef(null),S=wo(P),u=((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)||((s=m?.video)===null||s===void 0?void 0:s.bindCta),D=((r=(d=m?.video)===null||d===void 0?void 0:d.bindProducts)===null||r===void 0?void 0:r[0])||((v=m?.video)===null||v===void 0?void 0:v.bindProduct),b=()=>{var j,z,B,R;const N=((z=(j=m?.video)===null||j===void 0?void 0:j.bindProducts)===null||z===void 0?void 0:z[0])||((B=m?.video)===null||B===void 0?void 0:B.bindProduct)||m?.video;if(y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},m,N,x),E?.(Object.assign(Object.assign({},m),{index:x})),p){const W=D?.link||((R=N?.bindCta)===null||R===void 0?void 0:R.link);W&&(_(m,D,u,x),window.location.href=window.getJointUtmLink(W))}else C?.()},A=u?.enTitle||"\u67E5\u770B\u8BE6\u60C5",I=n.useMemo(()=>{var j,z;const B=w?.animation;if(B){const{delay:R,duration:N,backgroundColor:W}=B;return{":after":{animationDelay:`${(j=R/1e3)!==null&&j!==void 0?j:0}s`,animationDuration:`${(z=N/1e3)!==null&&z!==void 0?z:0}s`,backgroundColor:`${W??"transparent"}`}}}},[w?.animation]);n.useEffect(()=>{var j,z,B;S&&P?.current&&y?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},m,((z=(j=m?.video)===null||j===void 0?void 0:j.bindProducts)===null||z===void 0?void 0:z[0])||((B=m?.video)===null||B===void 0?void 0:B.bindProduct)||m?.video,x)},[S]),n.useEffect(()=>{M(!!S)},[S]);const O=n.useMemo(()=>g?Co["animated-button"]:null,[g]);return n.createElement("div",Object.assign({ref:P,style:Object.assign(Object.assign(Object.assign({},h),f?.ctaTitle),{lineHeight:`${(c=h?.height)!==null&&c!==void 0?c:0}px`})},T,{className:`${O} ${xe.css(I)} ${Co["one-line-ellipsis"]}`,onClick:b,dangerouslySetInnerHTML:{__html:he(A,f?.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"]}]}],Dt={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=",Ns=t=>{var e,i,o,a,l,s,d,r,v,c,h,m,f,x,w,C,p,T,y,E,_,g,M,P,{style:S,recData:u,ctaTempStyles:D,index:b,event:A,bottom_image:I,translateY:O,isTel:j,onClick:z,isExternalLink:B=!1,isActive:R}=t,N=Je(t,["style","recData","ctaTempStyles","index","event","bottom_image","translateY","isTel","onClick","isExternalLink","isActive"]);S==null||delete S.transform;const{sxpParameter:W,globalConfig:V,ctaEvent:F,setPopupDetailData:X}=De(),{jumpToWeb:te}=qe(),[re,ue]=n.useState(!0),ye=((o=(i=(e=u?.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=u?.video)===null||a===void 0?void 0:a.bindProduct)===null||l===void 0?void 0:l.bindCta)||((s=u?.video)===null||s===void 0?void 0:s.bindCta),Q=((r=(d=u?.video)===null||d===void 0?void 0:d.bindProducts)===null||r===void 0?void 0:r[0])||((v=u?.video)===null||v===void 0?void 0:v.bindProduct),J=()=>{var $,me,Ee,Be;const Ae=((me=($=u?.video)===null||$===void 0?void 0:$.bindProducts)===null||me===void 0?void 0:me[0])||((Ee=u?.video)===null||Ee===void 0?void 0:Ee.bindProduct)||u?.video;if(F?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},u,Ae,b),X?.(Object.assign(Object.assign({},u),{index:b})),B){const Re=Q?.link||((Be=Ae?.bindCta)===null||Be===void 0?void 0:Be.link);Re&&(te(u,Q,ye,b),window.location.href=window.getJointUtmLink(Re))}else z?.()},se=ye?.enTitle||"\u67E5\u770B\u8BE6\u60C5",K=n.useMemo(()=>{const $=A?.animation;if($){const{delay:me,duration:Ee}=$;return{animationDelay:`${me?me/1e3:0}s`,animationDuration:`${Ee?Ee/1e3:0}s`}}},[A?.animation]),ee=(x=(f=(m=(c=Q?.cover)!==null&&c!==void 0?c:(h=Q?.homePage)===null||h===void 0?void 0:h[0])!==null&&m!==void 0?m:ye?.icon)!==null&&f!==void 0?f:W?.bottom_image)!==null&&x!==void 0?x:I,we=$=>{$.stopPropagation(),ue(!1)};n.useEffect(()=>{ue(!0)},[R]);const Ie=n.useMemo(()=>R&&re?Dt["animated-fadeIn"]:null,[R,re]);return n.createElement(n.Fragment,null,j?n.createElement("div",{style:{height:"40px",lineHeight:"40px",paddingLeft:"6px"}},"Cta Title"):n.createElement("div",Object.assign({},N,{className:`${xe.css(Object.assign(Object.assign({},S),{"--transY":`translateY(calc(100% + ${(w=S?.margin)!==null&&w!==void 0?w:0}px))`}))} ${Dt.aniLinkPopup} ${Ie} ${xe.css(K)}`,onClick:J}),n.createElement("div",{onClick:we,className:Dt["modal-icon-wrapper"],style:{padding:(C=S?.padding)!==null&&C!==void 0?C:0}},n.createElement("img",{src:(p=V?.popupCloseIcon)!==null&&p!==void 0?p:Ls,alt:"close",className:Dt["modal-icon-wrapper-img"]})),n.createElement(bt,{src:ee,rec:u,item:(g=(E=(y=(T=u?.video)===null||T===void 0?void 0:T.bindProducts)===null||y===void 0?void 0:y[0])!==null&&E!==void 0?E:(_=u?.video)===null||_===void 0?void 0:_.bindProduct)!==null&&g!==void 0?g:u?.video,index:b,translateY:O,imgStyle:D?.img}),(!u||Q?.title)&&n.createElement("div",{className:Dt["one-line-ellipsis"],style:D?.title,dangerouslySetInnerHTML:{__html:he((M=Q?.title)!==null&&M!==void 0?M:"Product Name",D?.title)}}),n.createElement("div",{className:Dt["one-line-ellipsis"],style:Object.assign(Object.assign({},D?.ctaTitle),{lineHeight:((P=D?.ctaTitle)===null||P===void 0?void 0:P.height)+"px"}),dangerouslySetInnerHTML:{__html:he(se,D?.ctaTitle)}})))};var Bs=n.memo(Ns),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(Bs,{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:Ia,CommodityDetail:ea,CommodityDetailDiroNew:ua,CommodityDiro:za,CommodityDiroNew:Ya,CommodityList:ga,Consent:ks,HashTag:As,Iframe:Sa,Link:Na,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:s}=t,d=Je(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:r,mutateUnlike:v,bffEventReport:c,setCacheRtcList:h,cacheRtcList:m}=De(),[f,x]=n.useState((e=m?.[s])===null||e===void 0?void 0:e.isCollected),w=lt(zs),C=lt(Vs),p=Xe.debounce(()=>Ze(void 0,void 0,void 0,function*(){var T,y,E,_,g,M,P,S,u,D,b,A,I,O,j,z,B,R,N,W,V,F;if(f){x(!1);const X=(E=yield v?.({videoItemId:(y=(T=l?.video)===null||T===void 0?void 0:T.itemId)!==null&&y!==void 0?y:""}))!==null&&E!==void 0?E:!1;if(c?.({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((u=(S=l?.video)===null||S===void 0?void 0:S.tags)!==null&&u!==void 0?u:[]),position:s+"",contentFormat:!((D=l?.video)===null||D===void 0)&&D.url?"video":"image",traceInfo:(b=l?.video)===null||b===void 0?void 0:b.traceInfo}}),!X)x(!0);else{const te=(A=m?.map((re,ue)=>(ue===s&&(re.isCollected=!1),re)))!==null&&A!==void 0?A:[];h?.(te)}}else{x(!0);const X=(I=yield r?.({content:JSON.stringify(l)}))!==null&&I!==void 0?I:!1;if(c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(j=(O=l?.video)===null||O===void 0?void 0:O.itemId)!==null&&j!==void 0?j:"",contentName:(B=(z=l?.video)===null||z===void 0?void 0:z.title)!==null&&B!==void 0?B:"",contentTags:JSON.stringify((N=(R=l?.video)===null||R===void 0?void 0:R.tags)!==null&&N!==void 0?N:[]),position:s+"",contentFormat:!((W=l?.video)===null||W===void 0)&&W.url?"video":"image",traceInfo:(V=l?.video)===null||V===void 0?void 0:V.traceInfo}}),!X)x(!1);else{const te=(F=m?.map((re,ue)=>(ue===s&&(re.isCollected=!0),re)))!==null&&F!==void 0?F:[];h?.(te)}}}),200);return n.createElement("button",Object.assign({},d,{"aria-label":"like",onClick:p}),n.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:f?o||w:a||C,alt:"icon"}))};var Io=n.memo(Hs),Gs="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/wn856YLtkSlBioceAScG3BdHEJ0uLBLsUTgSl3MuLFUooESIz4UOfHhvzYYNabs2PFflJIwSUZcU0olx5U4SyEJyXNkyH84bwotFepfzJ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0AAAhiAP8JHDjQTbFOxRIVIjgQCbgu4Nw8jPiQG8NE4EolzLhRI8aCEyVCFEkR4r9CHDF6TJnyX8iXI1+WWkmzY0eHJHPCBPdPpU2fQF3GHFoyokCDQFl6dAOSKMk1DAXaZBr1X0AAIfkECQMA/wAsPgAXABAADQAACFkA/wkU6KZYp2KJwHVyM1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/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})(),Us=({rec:t,index:e,height:i,data:o,muted:a,activeIndex:l,videoPostConfig:s,videoPlayIcon:d})=>{const[r,v]=n.useState(!1),{bffEventReport:c,sxpParameter:h,waterFallData:m,openHashtag:f,bffFbReport:x}=De(),w=n.useRef(0),[C,p]=n.useState(!1),[T,y]=n.useState(!0),{isActive:E}=go(),_=n.useRef(null),[g,M]=n.useState(""),[P,S]=n.useState(!1),u=n.useRef(),D=`pb-cache-video-${e}`,b=n.useRef(null),A=n.useMemo(()=>s?.mode==="2",[s]),I=n.useMemo(()=>{var J;return s?.mode==="2"?`translateY(-${50+((J=s?.offsetTop)!==null&&J!==void 0?J:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),O=n.useMemo(()=>{var J;return((J=t?.video)===null||J===void 0?void 0:J.cover)||g},[g,t]),j=n.useMemo(()=>A?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[A]),z=n.useMemo(()=>s?.bgWay==="1",[s]),B=n.useMemo(()=>z&&s?.bgColor?{backgroundColor:s?.bgColor}:{},[s,z]);n.useEffect(()=>{u?.current&&(u.current.muted=a)},[a,u?.current]);const R=n.useCallback(()=>{var J;u?.current&&((J=u?.current)===null||J===void 0||J.play())},[u?.current]),N=lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),W=n.useCallback(()=>{u?.current&&(S(!1),p(!0))},[]),V=n.useCallback(()=>{var J,se,K,ee,we,Ie,$,me,Ee,Be,Ae,Re,Le;if(!u?.current)return;v(!1);const G=o[e];if(G&&(!((J=u?.current)===null||J===void 0)&&J.duration)){w.current=((se=u?.current)===null||se===void 0?void 0:se.currentTime)||0;const pe=((ee=(K=u?.current)===null||K===void 0?void 0:K.duration)!==null&&ee!==void 0?ee:0).toFixed(2),ge=((Ie=(we=u?.current)===null||we===void 0?void 0:we.currentTime)!==null&&Ie!==void 0?Ie:0).toFixed(2),ae=T?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(me=($=G?.video)===null||$===void 0?void 0:$.itemId)!==null&&me!==void 0?me:"",contentName:(Be=(Ee=G?.video)===null||Ee===void 0?void 0:Ee.title)!==null&&Be!==void 0?Be:"",playType:ae,startTime:ge,videoDuration:pe,contentTags:JSON.stringify((Re=(Ae=G?.video)===null||Ae===void 0?void 0:Ae.tags)!==null&&Re!==void 0?Re:[]),position:e+"",contentFormat:"video",traceInfo:(Le=G?.video)===null||Le===void 0?void 0:Le.traceInfo}}),y(!1)}},[c,o,e,T,u?.current]),F=n.useCallback(()=>{var J;if(!u?.current||g||!A||(u.current.style.objectFit="contain",!((J=t?.video)===null||J===void 0)&&J.cover||!_||!_.current||z))return;const se=()=>{const K=_?.current,ee=K.getContext("2d"),we=window?.innerWidth,Ie=window?.innerHeight;K.height=Ie,K.width=we,ee?.drawImage(u.current,0,0,K.width,K.height),M(K.toDataURL())};se(),setTimeout(()=>{se()},500)},[u.current,z,t,g,A]),X=n.useCallback(()=>{u.current&&(V(),F())},[u.current,F,V]),te=n.useCallback(J=>()=>{var se,K,ee,we,Ie;if(!u.current||!C)return;const $=(se=u?.current)===null||se===void 0?void 0:se.paused;switch(J){case"start":if(!$)return;(K=u?.current)===null||K===void 0||K.play(),v(!1);break;case"pause":if($)return;(ee=u?.current)===null||ee===void 0||ee.pause(),v(!0);break;default:$?(we=u?.current)===null||we===void 0||we.play():(Ie=u?.current)===null||Ie===void 0||Ie.pause(),v(!$);break}},[C,u?.current]),re=n.useCallback(()=>{var J,se,K,ee,we,Ie,$,me,Ee,Be,Ae,Re,Le;if(!u?.current||l!==e)return;const G=o[e],pe=((se=(J=u?.current)===null||J===void 0?void 0:J.duration)!==null&&se!==void 0?se:0).toFixed(2),ge=((ee=(K=u?.current)===null||K===void 0?void 0:K.currentTime)!==null&&ee!==void 0?ee:0).toFixed(2);if(!((we=u?.current)===null||we===void 0)&&we.duration){const ae=(((Ie=u?.current)===null||Ie===void 0?void 0:Ie.currentTime)-w.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(me=($=G?.video)===null||$===void 0?void 0:$.itemId)!==null&&me!==void 0?me:"",contentName:(Be=(Ee=G?.video)===null||Ee===void 0?void 0:Ee.title)!==null&&Be!==void 0?Be:"",endTime:ge,videoDuration:pe,playDuration:ae,contentTags:JSON.stringify((Re=(Ae=G?.video)===null||Ae===void 0?void 0:Ae.tags)!==null&&Re!==void 0?Re:[]),position:e+"",contentFormat:"video",traceInfo:(Le=G?.video)===null||Le===void 0?void 0:Le.traceInfo}})}},[o,e,c,u?.current,l]),ue=n.useCallback(()=>{S(!0)},[]);n.useEffect(()=>{var J,se,K,ee,we,Ie,$,me,Ee,Be;if(!E)return;const Ae=t?.video.url;if(!Ae)return;const Re=document.querySelector(`#${D}`);if(!Re||(u.current=Ei?.(Re),!u?.current))return;const Le=window?.Hls;let G=null;return Ae.includes(".m3u8")&&Le&&Le.isSupported()?(G=new Le,G.loadSource(Ae),G.attachMedia(u?.current),G.on(Le.Events.MANIFEST_PARSED,function(){var pe;(pe=u?.current)===null||pe===void 0||pe.play()})):u.current.src=Ae,(J=u?.current)===null||J===void 0||J.setAttribute("x5-playsinline","true"),(se=u?.current)===null||se===void 0||se.setAttribute("webkit-playsinline","true"),(K=u?.current)===null||K===void 0||K.addEventListener("loadedmetadata",X),(ee=u?.current)===null||ee===void 0||ee.addEventListener("loadeddata",F),(we=u?.current)===null||we===void 0||we.addEventListener("play",V),(Ie=u?.current)===null||Ie===void 0||Ie.addEventListener("playing",W),($=u?.current)===null||$===void 0||$.addEventListener("pause",re),(me=u?.current)===null||me===void 0||me.addEventListener("ended",R),(Ee=u?.current)===null||Ee===void 0||Ee.addEventListener("canplay",R),(Be=u?.current)===null||Be===void 0||Be.addEventListener("waiting",ue),()=>{var pe,ge,ae,Fe,U,L,Me,je,rt;((pe=u?.current)===null||pe===void 0?void 0:pe.paused)||re(),G&&G?.destroy(),p(!1),(ge=u?.current)===null||ge===void 0||ge.removeEventListener("loadedmetadata",X),(ae=u?.current)===null||ae===void 0||ae.removeEventListener("loadeddata",F),(Fe=u?.current)===null||Fe===void 0||Fe.removeEventListener("play",V),(U=u?.current)===null||U===void 0||U.removeEventListener("playing",W),(L=u?.current)===null||L===void 0||L.removeEventListener("pause",re),(Me=u?.current)===null||Me===void 0||Me.removeEventListener("ended",R),(je=u?.current)===null||je===void 0||je.removeEventListener("canplay",R),(rt=u?.current)===null||rt===void 0||rt.removeEventListener("waiting",ue)}},[E,D,t,re]),n.useEffect(()=>{var J,se;!u?.current||!C||(E?(x?.({eventName:"ViewContent"}),(J=u?.current)===null||J===void 0||J.play()):(se=u?.current)===null||se===void 0||se.pause())},[E,C,u?.current]),n.useEffect(()=>{var J,se,K;if(!E||!u?.current)return;!((J=u?.current)===null||J===void 0?void 0:J.paused)&&f?(se=u?.current)===null||se===void 0||se.pause():f||(K=u?.current)===null||K===void 0||K.play()},[f,E,u?.current]),n.useEffect(()=>{if(!E)return;const J=()=>{te("start")(),x?.({eventName:"ViewContent"})},se=te("pause");return vt.on(ot.PAGE_DID_SHOW,J),vt.on(ot.PAGE_DID_HIDE,se),()=>{vt.off(ot.PAGE_DID_SHOW,J),vt.off(ot.PAGE_DID_HIDE,se)}},[te,E]);const ye=n.useMemo(()=>!h?.placeholder_image||C?null:n.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:h?.placeholder_image,alt:"placeholder image"}),[C,h?.placeholder_image]),Q=n.useMemo(()=>{if(!(!P||!C))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:Gs,alt:"placeholder image"})},[P,C]);return n.useEffect(()=>{if(!u?.current)return;const J=()=>{var se;l===e&&(!((se=t?.video)===null||se===void 0)&&se.url)&&u?.current&&!r&&te("pause")()};return window.addEventListener("beforeunload",J),()=>{window.removeEventListener("beforeunload",J)}},[l,e,t,u?.current,te,r]),t?.video?n.createElement(n.Fragment,null,A?n.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:te(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},B)},!z&&C&&O&&n.createElement(tt,{src:O,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},j)}),n.createElement("canvas",{ref:_,style:{display:"none"}}),n.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:I,left:0,right:0}},n.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},n.createElement("div",{className:"n-full-screen",ref:b,id:D,style:{width:"100%",height:"100%"}}),r&&n.createElement(tt,{className:"clc-pb-video-pause",src:d??N,alt:"pause"}))),ye,Q):n.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:te()},n.createElement("div",{className:"n-full-screen",ref:b,id:D,style:{width:"100%",height:"100%"}}),ye,Q,r&&n.createElement(tt,{className:"clc-pb-video-pause",src:d??N,alt:"pause"}))):null};var Ws=n.memo(Us);const Ys=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:o,style:a})=>{const[l,s]=n.useState(t),d=r=>{r.stopPropagation();const v=!l;s(v),o?.(v)};return n.useEffect(()=>{s(t)},[t]),n.createElement("button",{style:a,"aria-label":"toggle button",className:"pb-toggle-button",onClick:d},n.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var ko=n.memo(Ys);const Xs=({imageUrl:t,style:e,duration:i=2e3})=>{const[o,a]=n.useState(!0);ut(),n.useEffect(()=>{setTimeout(()=>{a(!1)},i)},[]);const l=lt("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),s=n.useMemo(()=>o?"pb-fadeIn":"pb-fadeOut",[o]);return n.createElement("div",{hidden:!o,className:`pb-finger-wrap ${s}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},n.createElement("img",{src:t||l,alt:"finger swiper"}))},_o=t=>{const{src:e,height:i,imgUrlsPostConfig:o,onShowFirstImage:a}=t,l=n.useMemo(()=>o?.mode==="2",[o]),s=n.useMemo(()=>{var c;return o?.mode==="2"?`translateY(-${50+((c=o?.offsetTop)!==null&&c!==void 0?c:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[o]),d=n.useMemo(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),r=n.useMemo(()=>o?.bgWay==="1",[o]),v=n.useMemo(()=>r&&o?.bgColor?{backgroundColor:o?.bgColor}:{},[o,r]);return n.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},v)},(!l||!r)&&n.createElement(tt,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},d),onLoad:a}),l&&n.createElement(tt,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:s,left:0,right:0},onLoad:a}))},Js=({imgUrls:t,width:e,height:i,rec:o,index:a,onReportViewImageEnd:l,onViewImageStartEvent:s,imgUrlsPostConfig:d})=>{var r,v;const c=n.useRef(),{isActive:h}=go(),{sxpParameter:m,openHashtag:f}=De(),[x,w]=n.useState(!1);n.useEffect(()=>{x&&h?(c?.current&&c.current.swiper.autoplay.start(),f?l(o):s(a)):c?.current&&c.current.swiper.autoplay.stop()},[o,h,l,f,a,s,x]);const C=n.useCallback(()=>{x||w(!0)},[x]);return n.createElement(Ct,{ref:c,defaultValue:0,direction:"horizontal",modules:[Ut,Wt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},className:xe.css(Object.assign({},d?.marginBottom&&{".swiper-pagination":{bottom:(r=d?.marginBottom)!==null&&r!==void 0?r:0}})),height:i,loop:!0,autoplay:{delay:((v=d?.delay)!==null&&v!==void 0?v:3)*1e3}},t?.map((p,T)=>n.createElement(mt,{key:T},n.createElement(_o,{src:!x&&T>0?"":p,height:i,imgUrlsPostConfig:d,onShowFirstImage:C}))))};var qs=n.memo(Js);const Ks=({tags:t,itemId:e,itemType:i,index:o,rec:a,hashTagStyle:l})=>{var s;const[d,r]=n.useState(!1),{setWaterFallData:v,setOpenHashtag:c,setCacheActiveIndex:h,waterFallData:m,setIsFromHashtag:f}=De(),x=w=>{m?f?.(!0):h?.(o),v?.(i?{hashTag:w,itemId:e,itemType:i,rec:a}:{hashTag:w,rec:a}),c?.(!0)};return n.useMemo(()=>t.length<=6?null:n.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>r(!d)},d?"show less":"show more"),[d,t]),n.createElement("div",{className:"clc-sxp-bottom-hashtag",style:{marginTop:`${(s=l?.marginTop)!==null&&s!==void 0?s:16}px`}},n.createElement(Rt,null,t?.map((w,C)=>n.createElement(mt,{key:C,hidden:d?!1:C>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>x(w)},n.createElement("div",{dangerouslySetInnerHTML:{__html:he(`#${w}`,l)}})))))};var Po=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 s=l;const d=l.match(/{{.*?}}/g);return d?.length&&d.forEach(r=>{r.replace(/{{\s*([\w.]+)\s*}}/g,(v,c)=>{if(c){const h=Xe.get(i,c);return s=s.replace(r,h),h}})}),s},a=n.useMemo(()=>{var l,s,d;const{bindDatas:r}=e,v=Je(e,["bindDatas"]);if((l=r?.forEach)===null||l===void 0||l.call(r,c=>{if(c?.propKey&&c?.dataPath){const{propKey:h,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,x)=>{var w,C;if(x){const p=(C=(w=Xe.get(i,x))!==null&&w!==void 0?w:e[h])!==null&&C!==void 0?C:"";return v[h]=p,p}})}}),v){v.eventMap={};const c=Xe.cloneDeep(v.event)||{};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h))try{c[h].value=o(c[h].value),v.eventMap[h]=new Function(c[h].value)}catch{}}return!((d=(s=v?.event)===null||s===void 0?void 0:s.onClick)===null||d===void 0)&&d.linkType&&(v.style.cursor="pointer"),v},[i,e]);return n.createElement(t,Object.assign({},a,a.eventMap))})}const Kt=({rec:t,index:e,tempMap:i,resolver:o,includesCtaType:a,isActive:l})=>{var s,d,r,v,c;const{schema:h}=ut();if(!t?.video)return null;let m=null;!((d=(s=t?.video)===null||s===void 0?void 0:s.bindProducts)===null||d===void 0)&&d.length?m="\u591A\u5546\u54C1CTA":!((r=t?.video)===null||r===void 0)&&r.bindProduct?m="\u5546\u54C1CTA":m=(c=(v=t?.video)===null||v===void 0?void 0:v.bindCta)===null||c===void 0?void 0:c.itemId;const f=i?.[m],x=n.useCallback(()=>{var w,C,p,T,y,E,_,g,M,P,S,u,D,b,A,I,O,j,z,B,R,N,W,V,F,X,te,re;if(!t?.video)return null;if(!(a&&!a?.includes((w=f?.item)===null||w===void 0?void 0:w.type))&&!(!a&&((C=f?.item)===null||C===void 0?void 0:C.category)==="cta")){if(((p=f?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((T=t?.video)===null||T===void 0)&&T.bindProduct)||((y=f?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((E=t?.video)===null||E===void 0)&&E.bindProduct)||((_=f?.item)===null||_===void 0?void 0:_.type)==="CommodityDiroNew"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((M=f?.item)===null||M===void 0?void 0:M.type)==="MultiCommodity"&&!(!((S=(P=t?.video)===null||P===void 0?void 0:P.bindProducts)===null||S===void 0)&&S.length)||((u=f?.item)===null||u===void 0?void 0:u.type)==="MultiCommodityDiro"&&!(!((b=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||b===void 0)&&b.length)||((A=f?.item)===null||A===void 0?void 0:A.type)==="MultiCommodityDiroNew"&&!(!((O=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||O===void 0)&&O.length))return null;if(f&&o){const ue=o[(j=f?.item)===null||j===void 0?void 0:j.type],ye=qt(ue),Q=(z=ue?.extend)===null||z===void 0?void 0:z.defaulSetting,J=((N=(R=(B=f?.item)===null||B===void 0?void 0:B.event)===null||R===void 0?void 0:R.onClick)===null||N===void 0?void 0:N.linkType)==="externalLink";return n.createElement(ye,Object.assign({style:Object.assign(Object.assign(Object.assign({},Q?.style),(W=f?.item)===null||W===void 0?void 0:W.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},Q?.textStyle),(V=f?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(X=(F=f?.item)===null||F===void 0?void 0:F.bindDatas)!==null&&X!==void 0?X:[]},Q?.props,(te=f?.item)===null||te===void 0?void 0:te.props,{event:((re=f?.item)===null||re===void 0?void 0:re.event)||{},schema:h,id:f?.id,key:f?.id,recData:t,isExternalLink:J,index:e,isActive:l}))}else return null}},[t,o,i,h,f?.id,l]);return n.createElement(n.Fragment,null,x())},Do=({nudge:t})=>{var e,i,o,a,l,s;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:(s=t?.borderRadius)!==null&&s!==void 0?s: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:he(t?.content,t?.textStyle)}})))},Qs=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:o,setRtcList:a,setCacheRtcList:l,setCacheActiveIndex:s,setLoading:d,swiperRef:r,waterFallData:v,bffEventReport:c,selectTag:h,setSelectTag:m}=De(),{backMainFeed:f}=qe(),x=n.useMemo(()=>[Ft,...t],[t]),w=C=>()=>{if(C===h)return;C!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${C}']`}}):f("theme",C,h);let p;C!==Ft&&(p=C),d?.(!0),o?.({themeTag:p}).then(T=>{var y,E,_,g;vt.emit(ot.CHANGE_THEME_TAG,p),a?.((y=T?.recList)!==null&&y!==void 0?y:[]),l?.((E=T?.recList)!==null&&E!==void 0?E:[]),e?.(0),s?.(0),(g=(_=r?.current)===null||_===void 0?void 0:_.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{d?.(!1)}),m?.(C)};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}},x.map(C=>n.createElement("li",{className:`clc-sxp-tagbar-list-item ${C===h?"clc-sxp-tagbar-list-item-active":""}`,key:C,onClick:w(C)},C))))};var Mo=n.memo(Qs);const Oo=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:o=window.innerWidth,tempMap:a,resolver:l,data:s=[],ctaType:d,tipText:r,nudge:v,_schema:c,hashTagStyle:h,tagList:m=[],licenseUrl:f})=>{var x,w,C,p,T,y,E,_,g;const M=lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),P=lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png"),{schema:S}=ut(),[u,D]=n.useState(0),b=n.useRef(0),[A,I]=n.useState(!0),O=n.useRef(),[j,z]=n.useState(!1),[B,R]=n.useState(!1),[N,W]=n.useState(new Date().getTime()),V=n.useRef(!1),{loadVideos:F,bffEventReport:X,loading:te,setPopupDetailData:re,ctaEvent:ue,swiperRef:ye,waterFallData:Q,setOpenHashtag:J,appDomain:se,openHashtag:K,loadingImage:ee,isFromHashtag:we,popupDetailData:Ie,bffFbReport:$,curTime:me,h5EnterLink:Ee,isShowConsent:Be,selectTag:Ae,isPreview:Re,isEditor:Le}=De(),{backMainFeed:G,productView:pe,jumpToWeb:ge}=qe(),ae=n.useMemo(()=>s.length>0&&!te&&(Ko()||t?.enableSwiperTip),[s,te,t?.enableSwiperTip]);n.useEffect(()=>{Fi()},[]),n.useEffect(()=>{if(s?.length>0){const k=new Date;O.current=k,$?.({eventName:"PageView"})}},[s?.length]);const Fe=n.useCallback(()=>{if(Fi(),Ee?.(),s.length>0){const k=new Date;O.current=k,$?.({eventName:"PageView"})}},[s.length,$,Ee]);n.useEffect(()=>{var k;if(!d||d?.length<1)return;const ne=s?.findIndex(Z=>{var oe,de,ve,q,ce,Ce,Ne,ze,Ge;const He=d?.[0];return He==="\u591A\u5546\u54C1CTA"?((oe=Z?.video)===null||oe===void 0?void 0:oe.bindProducts)&&((ve=(de=Z?.video)===null||de===void 0?void 0:de.bindProducts)===null||ve===void 0?void 0:ve.length)>0:He==="\u5546\u54C1CTA"?(q=Z?.video)===null||q===void 0?void 0:q.bindProduct:((Ce=(ce=Z?.video)===null||ce===void 0?void 0:ce.bindCta)===null||Ce===void 0?void 0:Ce.itemId)===He&&(((Ne=Z?.video)===null||Ne===void 0?void 0:Ne.url)||((Ge=(ze=Z?.video)===null||ze===void 0?void 0:ze.imgUrls)===null||Ge===void 0?void 0:Ge.length))})||0;ne!==-1&&((k=ye?.current)===null||k===void 0||k.swiper.slideTo(ne))},[s,d,ye]),n.useEffect(()=>{const k=s?.[u],ne=()=>{var Z,oe,de,ve,q,ce,Ce,Ne,ze,Ge,He,Ue,We,Pe,_e,it,Ye,dt,ct,yt;const wt=!K&&!Be;if(document.visibilityState==="hidden"){wt&&(vt.emit(ot.PAGE_DID_HIDE,k),Te(k),Oe(k));let Ve="";Ie&&(!((oe=(Z=k?.video)===null||Z===void 0?void 0:Z.bindProducts)===null||oe===void 0)&&oe.length||!((de=k?.video)===null||de===void 0)&&de.bindProduct)?Ve="pdpPage":Ie&&((Ce=a?.[(ce=(q=(ve=k?.video)===null||ve===void 0?void 0:ve.bindCta)===null||q===void 0?void 0:q.itemId)!==null&&ce!==void 0?ce:""].item)===null||Ce===void 0?void 0:Ce.type)==="Appoint"?Ve="formPage":we?Ve="hashTagPage":!((Ne=k?.video)===null||Ne===void 0)&&Ne.url?Ve="videoPage":!((ze=k?.video)===null||ze===void 0)&&ze.imgUrls&&(!((He=(Ge=k?.video)===null||Ge===void 0?void 0:Ge.imgUrls)===null||He===void 0)&&He.length)?Ve="imagePage":k?.product&&(Ve="productPage"),X?.({eventInfo:{sessionDuration:Math.floor((new Date-me.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ue=k?.video)===null||Ue===void 0?void 0:Ue.itemId,productId:(We=k?.product)===null||We===void 0?void 0:We.itemId,position:u+"",fromKName:Ve,fromKPage:location?.href,ctatId:(it=(_e=(Pe=k?.video)===null||Pe===void 0?void 0:Pe.bindCta)===null||_e===void 0?void 0:_e.itemId)!==null&&it!==void 0?it:"",traceInfo:(yt=(dt=(Ye=k?.video)===null||Ye===void 0?void 0:Ye.traceInfo)!==null&&dt!==void 0?dt:(ct=k?.product)===null||ct===void 0?void 0:ct.traceInfo)!==null&&yt!==void 0?yt:""}})}else document.visibilityState==="visible"&&(V.current===!0&&(W(new Date().getTime()),V.current=!1),Fe(),wt&&(le(u),vt.emit(ot.PAGE_DID_SHOW,k),G("external",Ae)))};return document.addEventListener("visibilitychange",ne),()=>{document.removeEventListener("visibilitychange",ne)}},[u,X,s,Fe,Ie,we,a,me,G,K,Be,Ae]);const U=n.useMemo(()=>{let k=0;return m.length>0&&(k+=45,Q&&(k-=45)),k},[m,Q]),L=n.useMemo(()=>{let k=0;return t?.logoUrl&&t?.isShowLogo&&(k+=56),k},[]),Me=n.useMemo(()=>i-L-U,[t,i,U]),je=n.useMemo(()=>{var k;const ne=u===0&&!Q&&!Le?[(k=s?.[0])!==null&&k!==void 0?k:null]:s?.map((Z,oe)=>u===oe||oe-1===u||oe+1===u?Z:null);return!Q&&!Le?ne.concat([{loading:!0}]):ne},[s,u,Q,Le]),rt=n.useMemo(()=>{var k,ne,Z,oe;if(t?.logoUrl&&t?.isShowLogo){const de=(ne=(k=t?.logoBar)===null||k===void 0?void 0:k.onClick)===null||ne===void 0?void 0:ne.value,ve=((oe=(Z=t?.logoBar)===null||Z===void 0?void 0:Z.onClick)===null||oe===void 0?void 0:oe.linkType)==="externalLink",q=je[u];return n.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},de&&{onClick:()=>{var ce,Ce,Ne,ze;ve&&ge(q,(ce=q?.video)===null||ce===void 0?void 0:ce.bindProduct,(Ce=q?.video)===null||Ce===void 0?void 0:Ce.bindCta,u,((Ne=q?.product)===null||Ne===void 0?void 0:Ne.traceInfo)||((ze=q?.video)===null||ze===void 0?void 0:ze.traceInfo)),new Function(de)()}}),n.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t,u,je]),ft=n.useCallback((k,ne)=>{var Z,oe,de,ve;return!((Z=k?.video)===null||Z===void 0)&&Z.url?n.createElement(Ws,{key:N,rec:k,index:ne,muted:A,data:s,height:Me,activeIndex:u,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon}):!((oe=k?.video)===null||oe===void 0)&&oe.imgUrls?n.createElement(qs,{key:k?.video.itemId,imgUrls:k?.video.imgUrls,width:o,height:Me,rec:k,index:ne,onReportViewImageEnd:Te,onViewImageStartEvent:le,imgUrlsPostConfig:t?.imgUrlsPost}):k.product&&Array.isArray(t?.productPost)&&((de=t?.productPost)===null||de===void 0?void 0:de.length)>0?(ve=t?.productPost)===null||ve===void 0?void 0:ve.map((q,ce)=>{var Ce,Ne,ze,Ge,He,Ue,We,Pe;const _e=l[(Ce=q?.item)===null||Ce===void 0?void 0:Ce.type],it=qt(_e),Ye=(Ne=_e?.extend)===null||Ne===void 0?void 0:Ne.defaulSetting;return n.createElement(it,Object.assign({key:`${ne}${ce}`,textStyle:Object.assign(Object.assign({},Ye?.textStyle),(ze=q?.item)===null||ze===void 0?void 0:ze.textStyle),bindDatas:(He=(Ge=q?.item)===null||Ge===void 0?void 0:Ge.bindDatas)!==null&&He!==void 0?He:[]},Ye?.props,(Ue=q?.item)===null||Ue===void 0?void 0:Ue.props,{event:((We=q?.item)===null||We===void 0?void 0:We.event)||{},schema:S,id:q?.id,viewTime:O.current,rec:k,isPost:!0,tipText:r,style:Object.assign(Object.assign(Object.assign({},Ye?.style),(Pe=q?.item)===null||Pe===void 0?void 0:Pe.style),{height:"100%",overflow:"auto"}),index:ne}))}):null},[o,s,Me,A,u,t?.productPost,t?.videoPlayIcon,O,r,l,S,N]),et=n.useCallback(k=>{R(k)},[]),H=n.useMemo(()=>B?{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"},[B]),Y=n.useCallback((k,ne)=>{var Z,oe,de,ve,q,ce,Ce,Ne;return k?.video?n.createElement(n.Fragment,null,((Z=k?.video)===null||Z===void 0?void 0:Z.title)&&!B&&n.createElement("div",{className:"clc-sxp-bottom-shadow"}),n.createElement("div",{className:"clc-sxp-bottom",style:{paddingBottom:`${(oe=t?.bottomInfoDist)!==null&&oe!==void 0?oe:40}px`}},n.createElement(Do,{nudge:v}),t?.isShowCTA===void 0||t?.isShowCTA?n.createElement("div",{className:"clc-sxp-bottom-card"},n.createElement(Kt,{rec:k,index:ne,tempMap:a,resolver:l})):null,n.createElement("div",null,n.createElement(Jt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:r?.foldText,unfoldText:r?.unfoldText,text:(ve=(de=k?.video)===null||de===void 0?void 0:de.title)!==null&&ve!==void 0?ve:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:et}),n.createElement(Kt,{rec:k,index:ne,tempMap:a,resolver:l,includesCtaType:["AniLink"]}),n.createElement(Po,{index:u,tags:(ce=(q=k?.video)===null||q===void 0?void 0:q.hashTags)!==null&&ce!==void 0?ce:[],itemId:(Ce=k?.video)===null||Ce===void 0?void 0:Ce.itemId,itemType:!((Ne=k?.video)===null||Ne===void 0)&&Ne.itemId?"VIDEO":null,rec:k,hashTagStyle:h}))),n.createElement(Kt,{rec:k,index:ne,tempMap:a,resolver:l,includesCtaType:["AniLinkPopup"],isActive:ne===u})):null},[e,u,a,l,r,v,h,t,et,B,H]),be=n.useCallback((k,ne,Z)=>{var oe,de,ve,q;if(!t?.isShowLike||!Z)return;let ce=(oe=t?.likeIconY)!==null&&oe!==void 0?oe:400;return Q&&ce<40&&(ce+=40),k?.video?n.createElement(Io,{key:k.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:k.isCollected,recData:k,className:"clc-sxp-like-button",style:{position:t?.likeIconFixed?"fixed":"absolute",[(de=t.likeIconXPosit)!==null&&de!==void 0?de:"right"]:(ve=t.likeIconX)!==null&&ve!==void 0?ve:0,[(q=t.likeIconYPosit)!==null&&q!==void 0?q:"bottom"]:ce},position:ne}):null},[t,Q]),Te=k=>{var ne,Z,oe,de,ve,q;if(!(!((ne=k?.video)===null||ne===void 0)&&ne.url)&&(!((Z=k?.video)===null||Z===void 0)&&Z.imgUrls)){const ce=Date.now(),Ce=(ce-b.current)/1e3;X?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(de=(oe=k?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&de!==void 0?de:"",contentName:(ve=k?.video.title)!==null&&ve!==void 0?ve:"",imageEndTime:`${ce}`,playDuration:`${Ce}`,contentTags:JSON.stringify((q=k?.video.tags)!==null&&q!==void 0?q:[]),position:u+"",contentFormat:"image",traceInfo:k?.video.traceInfo}})}},fe=(k,ne)=>{var Z,oe,de,ve,q,ce,Ce,Ne,ze,Ge,He,Ue,We,Pe,_e,it,Ye,dt,ct;if(Re||Q)return;const yt=new Date-me.current;if(t?.openSlideSkip&&yt>=((Z=t?.slideSkipStartTime)!==null&&Z!==void 0?Z:0)&&Zo()&&k){const wt=((ve=(de=(oe=k?.video)===null||oe===void 0?void 0:oe.bindProducts)===null||de===void 0?void 0:de[0])===null||ve===void 0?void 0:ve.link)||((ce=(q=k?.video)===null||q===void 0?void 0:q.bindProduct)===null||ce===void 0?void 0:ce.link)||((Ce=k?.product)===null||Ce===void 0?void 0:Ce.link),Ve=k?.product||((Ne=k?.video)===null||Ne===void 0?void 0:Ne.bindProduct)||((Ge=(ze=k?.video)===null||ze===void 0?void 0:ze.bindProducts)===null||Ge===void 0?void 0:Ge[0]);wt&&(X?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(He=Ve?.itemId)!==null&&He!==void 0?He:"",productName:(Ue=Ve?.title)!==null&&Ue!==void 0?Ue:"",price:Ve?.price?Ve?.price+"":"0",productCollection:(We=Ve?.collection)!==null&&We!==void 0?We:"",contentTags:Ve?.tags?JSON.stringify(Ve?.tags):"",position:ne+"",contentId:(_e=(Pe=k?.video)===null||Pe===void 0?void 0:Pe.itemId)!==null&&_e!==void 0?_e:"",traceInfo:(ct=(Ye=(it=k?.video)===null||it===void 0?void 0:it.traceInfo)!==null&&Ye!==void 0?Ye:(dt=k?.product)===null||dt===void 0?void 0:dt.traceInfo)!==null&&ct!==void 0?ct:""}}),V.current=!0,window.location.href=window.getJointUtmLink(wt))}},ke=k=>{var ne,Z,oe,de,ve,q,ce,Ce,Ne,ze,Ge,He,Ue,We;const Pe=s[k.previousIndex];if(!Pe)return;k.previousIndex-k.activeIndex<0?(X?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Z=(ne=Pe?.video)===null||ne===void 0?void 0:ne.itemId)!==null&&Z!==void 0?Z:"",productId:(de=(oe=Pe?.product)===null||oe===void 0?void 0:oe.itemId)!==null&&de!==void 0?de:"",requestId:null,traceInfo:(q=(ve=Pe?.video)===null||ve===void 0?void 0:ve.traceInfo)!==null&&q!==void 0?q:""}}),Te(Pe),fe(Pe,k.previousIndex)):(X?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(Ce=(ce=Pe?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&Ce!==void 0?Ce:"",productId:(ze=(Ne=Pe.product)===null||Ne===void 0?void 0:Ne.itemId)!==null&&ze!==void 0?ze:"",requestId:null,traceInfo:(He=(Ge=Pe?.video)===null||Ge===void 0?void 0:Ge.traceInfo)!==null&&He!==void 0?He:""}}),Te(Pe)),Oe(Pe);const _e=s[k.activeIndex];!(!((Ue=_e?.video)===null||Ue===void 0)&&Ue.url)&&!(!((We=_e?.video)===null||We===void 0)&&We.imgUrls)&&_e?.product&&$?.({eventName:"ProductView"}),O.current=new Date},Oe=k=>{var ne,Z,oe;!(!((ne=k?.video)===null||ne===void 0)&&ne.url)&&!(!((Z=k?.video)===null||Z===void 0)&&Z.imgUrls)&&k?.product&&pe(k,k.product,(oe=k?.product)===null||oe===void 0?void 0:oe.bindCta,O.current,u)};n.useEffect(()=>{const k=s[u];K?Oe(k):O.current=new Date},[K,s,u]);const le=k=>{var ne,Z,oe,de,ve,q;const ce=s[k];if(!(!((ne=ce?.video)===null||ne===void 0)&&ne.url)&&(!((Z=ce?.video)===null||Z===void 0)&&Z.imgUrls)){const Ce=Date.now();b.current=Ce,X?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(de=(oe=ce?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&de!==void 0?de:"",contentName:(ve=ce?.video.title)!==null&&ve!==void 0?ve:"",imageStartTime:`${Ce}`,contentTags:JSON.stringify((q=ce?.video.tags)!==null&&q!==void 0?q:[]),position:k+"",contentFormat:"image",traceInfo:ce?.video.traceInfo}}),$?.({eventName:"ViewContent"})}},ie=n.useCallback(k=>{var ne,Z,oe,de,ve,q;if(k)return(t?.isShowMute===void 0||t?.isShowMute===!0)&&n.createElement(ko,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((Z=(ne=je?.[u])===null||ne===void 0?void 0:ne.video)===null||Z===void 0)&&Z.url?"visible":"hidden",zIndex:999,transform:"translate3d(0px,0px,0px)",[(oe=t?.muteIconXPosit)!==null&&oe!==void 0?oe:"right"]:(de=t?.muteIconX)!==null&&de!==void 0?de:0,[(ve=t?.muteIconYPosit)!==null&&ve!==void 0?ve:"bottom"]:(q=t?.muteIconY)!==null&&q!==void 0?q:23},defaultValue:A,activeIcon:t?.unMuteIcon?t?.unMuteIcon:M,unactiveIcon:t?.muteIcon?t?.muteIcon:P,onChange:I})},[t,je,u,A]),Se=n.useMemo(()=>te?n.createElement("div",{style:{height:Me,width:o,display:"flex",justifyContent:"center",alignItems:"center"}},n.createElement("img",{width:64,height:64,src:ee,alt:"loading...",style:{objectFit:"contain"}})):je?.map((k,ne)=>n.createElement(mt,{key:ne,virtualIndex:ne,style:{overflow:"hidden"}},k&&n.createElement(n.Fragment,null,k?.loading?n.createElement("div",{style:{height:Me,width:o,display:"flex",justifyContent:"center",alignItems:"center"}},n.createElement("img",{width:64,height:64,src:ee,alt:"loading...",style:{objectFit:"contain"}})):n.createElement(n.Fragment,null,be(k,ne,!t?.likeIconFixed),ie(!t?.muteIconFixed),Y(k,ne),ft(k,ne))))),[o,s,Me,te,Y,ft,je,ee,N,ie]);return n.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},Q&&n.createElement(xo,{icon:Zs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},textStyle:Object.assign(Object.assign({},(T=(p=(C=(w=(x=t?.hashTag)===null||x===void 0?void 0:x[0])===null||w===void 0?void 0:w.item)===null||C===void 0?void 0:C.props)===null||p===void 0?void 0:p.textStyles)===null||T===void 0?void 0:T.hashTagTitle),{color:"#fff"}),onClose:()=>{J?.(!0)}}),rt,n.createElement(Mo,{tagList:m,setActiveIndex:D,style:{top:L}}),ae?n.createElement(Xs,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`},duration:t?.swiperTipAniDur}):null,n.createElement(Ct,{style:{marginTop:U},ref:ye,onSlideChange:()=>{ye.current.swiper.allowTouchMove=!1,setTimeout(()=>{ye.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:k=>{D(k.activeIndex),!K&&(ke(k),!(Q||Le)&&k?.activeIndex+1>=s?.length&&(j||(z(!0),F?.(Math.ceil(u/10)+1).then(()=>{z(!1)}))))},direction:"vertical",height:Me},be(je[u],u,!!t?.likeIconFixed),ie(!!t?.muteIconFixed),Se),n.createElement(Eo,Object.assign({},(g=(_=(E=t?.hashTag)===null||E===void 0?void 0:E[0])===null||_===void 0?void 0:_.item)===null||g===void 0?void 0:g.props)))},$s=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:o,rec:a,index:l})=>n.createElement(Ct,{defaultValue:0,direction:"horizontal",modules:[Ut,Wt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(s=>n.createElement(mt,{key:s},n.createElement(_o,{src:s,height:i,imgUrlsPostConfig:o}))));var er=n.memo($s);const tr=({rec:t,index:e,height:i,data:o,muted:a,activeIndex:l,videoPostConfig:s,width:d})=>{const[r,v]=n.useState(!1),c=n.useRef(null),{bffEventReport:h,sxpParameter:m,waterFallData:f,openHashtag:x}=De(),w=n.useRef(0),[C,p]=n.useState(!1),[T,y]=n.useState(!0),E=n.useRef(null),[_,g]=n.useState("");n.useEffect(()=>{c.current&&(c.current.muted=a)},[a]);const M=n.useCallback(()=>{var R;(R=c.current)===null||R===void 0||R.play()},[]),P=lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=n.useCallback(()=>{var R,N,W,V,F,X,te,re,ue,ye,Q,J,se;v(!1);const K=o[e];if(K&&(!((R=c?.current)===null||R===void 0)&&R.duration)){w.current=((N=c?.current)===null||N===void 0?void 0:N.currentTime)||0;const ee=((V=(W=c.current)===null||W===void 0?void 0:W.duration)!==null&&V!==void 0?V:0).toFixed(2),we=((X=(F=c.current)===null||F===void 0?void 0:F.currentTime)!==null&&X!==void 0?X:0).toFixed(2),Ie=T?"0":"1";h?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(re=(te=K?.video)===null||te===void 0?void 0:te.itemId)!==null&&re!==void 0?re:"",contentName:(ye=(ue=K?.video)===null||ue===void 0?void 0:ue.title)!==null&&ye!==void 0?ye:"",playType:Ie,startTime:we,videoDuration:ee,contentTags:JSON.stringify((J=(Q=K?.video)===null||Q===void 0?void 0:Q.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(se=K?.video)===null||se===void 0?void 0:se.traceInfo}}),y(!1)}},[h,o,e,T]),u=n.useCallback(()=>{p(!0)},[]),D=n.useCallback(R=>()=>{var N,W,V,F,X;if(!C)return;const te=(N=c.current)===null||N===void 0?void 0:N.paused;switch(R){case"start":if(!te)return;(W=c.current)===null||W===void 0||W.play(),v(!1);break;case"pause":if(te)return;(V=c.current)===null||V===void 0||V.pause(),v(!0);break;default:te?(F=c.current)===null||F===void 0||F.play():(X=c.current)===null||X===void 0||X.pause(),v(!te);break}},[C]),b=n.useCallback(()=>{var R,N,W,V,F,X,te,re,ue,ye,Q,J,se;const K=o[e],ee=((N=(R=c.current)===null||R===void 0?void 0:R.duration)!==null&&N!==void 0?N:0).toFixed(2),we=((V=(W=c.current)===null||W===void 0?void 0:W.currentTime)!==null&&V!==void 0?V:0).toFixed(2);if(!((F=c?.current)===null||F===void 0)&&F.duration){const Ie=(((X=c?.current)===null||X===void 0?void 0:X.currentTime)-w.current).toFixed(2);h?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(re=(te=K?.video)===null||te===void 0?void 0:te.itemId)!==null&&re!==void 0?re:"",contentName:(ye=(ue=K?.video)===null||ue===void 0?void 0:ue.title)!==null&&ye!==void 0?ye:"",endTime:we,videoDuration:ee,playDuration:Ie,contentTags:JSON.stringify((J=(Q=K?.video)===null||Q===void 0?void 0:Q.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(se=K?.video)===null||se===void 0?void 0:se.traceInfo}})}},[o,e,h]),A=n.useMemo(()=>s?.mode==="2",[s]),I=n.useMemo(()=>{var R;return s?.mode==="2"?`translateY(-${50+((R=s?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[s]),O=n.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||_},[_,t]),j=n.useCallback(()=>{if(!E||!c||!c.current||!E.current)return;const R=c?.current,N=E?.current,W=N.getContext("2d"),V=window?.innerWidth,F=window?.innerHeight;N.height=F,N.width=V,W?.drawImage(R,0,0,N.width,N.height),g(N.toDataURL())},[]);n.useEffect(()=>{var R,N,W,V;if(c.current){if(v(!1),!c.current.src){const F=t?.video.url;if(F.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const X=new window.Hls;X.loadSource(F),X.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=F;else c.current.src=F;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(R=c.current)===null||R===void 0||R.addEventListener("loadedmetadata",u),(N=c.current)===null||N===void 0||N.addEventListener("canplay",u),(W=c.current)===null||W===void 0||W.addEventListener("playing",S),(V=c.current)===null||V===void 0||V.addEventListener("loadeddata",j),()=>{var F,X,te,re;(F=c.current)===null||F===void 0||F.removeEventListener("loadedmetadata",u),(X=c.current)===null||X===void 0||X.removeEventListener("canplay",u),(te=c.current)===null||te===void 0||te.removeEventListener("playing",S),(re=c.current)===null||re===void 0||re.removeEventListener("loadeddata",j)}}},[u,S,t?.video,j]);const z=n.useMemo(()=>!m?.placeholder_image||C?null:n.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[C,m?.placeholder_image]);n.useEffect(()=>{const R=()=>{var N,W;l===e&&(!((N=t?.video)===null||N===void 0)&&N.url)&&(!((W=c?.current)===null||W===void 0)&&W.src)&&!r&&D("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,c,D,r]);const B=n.useMemo(()=>A?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[A]);return t?.video?n.createElement(n.Fragment,null,A?n.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},n.createElement(tt,{src:O,style:Object.assign({height:i,width:d,objectFit:"cover"},B)}),n.createElement("canvas",{ref:E,style:{display:"none"}}),n.createElement("div",{style:{position:"absolute",width:d,height:i,top:"50%",transform:I,left:0,right:0}},n.createElement("div",{style:{position:"relative",width:d,height:"100%"}},n.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:b,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),n.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:P,alt:"video pause image"}))),z):n.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:d,height:i,overflow:"hidden"}},n.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:b,onEnded:M}),z,n.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:P,alt:"video pause image"}))):null};var ir=n.memo(tr);const Ai={};Object.values(Ti).forEach(t=>{Ai[t.extend.type]=t});const or="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",nr="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",lr=({data:t=[],globalConfig:e,tipText:i,nudge:o,tempMap:a,descStyle:l,hashTagStyle:s,containerHeight:d=664,containerWidth:r=375,appDomain:v,tagList:c=[]})=>{const h=n.useMemo(()=>{let g=0;return e?.logoUrl&&e?.isShowLogo&&(g+=45),c.length>0&&(g+=45),d-g},[e,d,c]),m=(g,M)=>{var P,S,u,D;if(!((P=g?.video)===null||P===void 0)&&P.url)return n.createElement(ir,{rec:g,index:M,muted:!0,width:r,data:t??[],height:h,activeIndex:M,videoPostConfig:e?.videoPost});if(!((S=g?.video)===null||S===void 0)&&S.imgUrls)return n.createElement(er,{key:g?.video.itemId,imgUrls:g?.video.imgUrls,width:r,height:h,rec:g,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(g.product&&g.product&&Array.isArray(e?.productPost)&&((u=e?.productPost)===null||u===void 0?void 0:u.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((b,A)=>{var I,O,j,z,B,R,N,W;const V=Ai[(I=b?.item)===null||I===void 0?void 0:I.type],F=qt(V),X=(O=V?.extend)===null||O===void 0?void 0:O.defaulSetting;return n.createElement(F,Object.assign({key:`${M}${A}`,textStyle:Object.assign(Object.assign({},X?.textStyle),(j=b?.item)===null||j===void 0?void 0:j.textStyle),bindDatas:(B=(z=b?.item)===null||z===void 0?void 0:z.bindDatas)!==null&&B!==void 0?B:[]},X?.props,(R=b?.item)===null||R===void 0?void 0:R.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({},X?.style),(W=b?.item)===null||W===void 0?void 0:W.style),{width:r,height:h,overflow:"auto"}),index:M}))})},f=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]),x=(g,M)=>e?.isShowCTA===void 0||e?.isShowCTA?n.createElement("div",{className:"clc-sxp-bottom-card"},n.createElement(Kt,{rec:g,index:M,tempMap:a,resolver:Ai})):null,w=(g,M)=>{var P,S,u,D,b,A,I;return g?.video?n.createElement(n.Fragment,null,((P=g?.video)===null||P===void 0?void 0:P.title)&&n.createElement("div",{className:"clc-sxp-bottom-shadow"}),n.createElement("div",{className:"clc-sxp-bottom"},n.createElement(Do,{nudge:o}),x(g,M),n.createElement("div",null,n.createElement(Jt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(u=(S=g?.video)===null||S===void 0?void 0:S.title)!==null&&u!==void 0?u:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),n.createElement(Po,{index:M,tags:(b=(D=g?.video)===null||D===void 0?void 0:D.hashTags)!==null&&b!==void 0?b:[],itemId:(A=g?.video)===null||A===void 0?void 0:A.itemId,itemType:!((I=g?.video)===null||I===void 0)&&I.itemId?"VIDEO":null,rec:g,hashTagStyle:s}))):null},C=lt(nr,v),p=lt(or,v),T=(g,M)=>{var P,S,u,D;if(!e?.isShowLike)return;let b=(P=e?.likeIconY)!==null&&P!==void 0?P:400;return b<40&&(b+=40),g?.video?n.createElement(Io,{key:g.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:C,unActicveIcon:(u=e?.unlikeIcon)!==null&&u!==void 0?u:p,position:M,active:g.isCollected,recData:g,className:"clc-sxp-like-button",style:{top:b,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},y=lt("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",v),E=lt("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",v),_=(g,M)=>{var P,S,u,D;return n.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},f,n.createElement(Mo,{tagList:c}),n.createElement(ko,{style:{position:"absolute",right:(P=e?.muteIconX)!==null&&P!==void 0?P:0,visibility:!((u=(S=t?.[M])===null||S===void 0?void 0:S.video)===null||u===void 0)&&u.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:y,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(g,M),w(g,M),T(g,M))};return n.createElement("div",{className:xe.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=n.memo(lr);const sr=()=>{const{schema:t,resolver:e,popup:i}=ut(),{setPopupDetailData:o,popupDetailData:a,popupCurTimeRef:l,checkCommodityIndexRef:s}=De(),{productView:d}=qe(),[r,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 c=()=>{var m,f,x,w,C,p,T,y,E,_,g,M,P,S,u,D,b,A;if(!i||i?.id===""||!r||new Date-l.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;v(Object.assign(Object.assign({},i),{id:""}));const I=(w=(x=(f=t?.sxpPageConf)===null||f===void 0?void 0:f.globalConfig)===null||x===void 0?void 0:x.popupList)===null||w===void 0?void 0:w.find(O=>O?.id===i?.id);if(((C=I?.item)===null||C===void 0?void 0:C.type)==="CommodityDetail"||((p=I?.item)===null||p===void 0?void 0:p.type)==="CommodityDetailDiroNew"){const O=a;let j=(y=(T=O?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&y!==void 0?y:(_=(E=O?.video)===null||E===void 0?void 0:E.bindProducts)===null||_===void 0?void 0:_[0],z=(P=(M=(g=O?.video)===null||g===void 0?void 0:g.bindProduct)===null||M===void 0?void 0:M.bindCta)!==null&&P!==void 0?P:(D=(u=(S=O?.video)===null||S===void 0?void 0:S.bindProducts)===null||u===void 0?void 0:u[0])===null||D===void 0?void 0:D.bindCta;if(s?.current>=0){const B=(A=(b=O?.video)===null||b===void 0?void 0:b.bindProducts)===null||A===void 0?void 0:A[s?.current];B&&(j=B,z=B?.bindCta)}j&&z&&d(O,j,z,l.current,a?.index)}setTimeout(()=>{window?.sxpPopup(""),o?.(null),s.current=-1},i?.duration)},h=n.useMemo(()=>{var m,f,x;return(x=(f=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||f===void 0?void 0:f.popupList)===null||x===void 0?void 0:x.map((w,C)=>{var p,T,y,E,_,g,M,P,S,u,D,b,A,I;if(w?.id===i?.id){const O=e[(p=w?.item)===null||p===void 0?void 0:p.type],j=qt(O),z=((E=(y=(T=w?.item)===null||T===void 0?void 0:T.event)===null||y===void 0?void 0:y.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",B=((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",R=(P=O?.extend)===null||P===void 0?void 0:P.defaulSetting;return n.createElement(j,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},R?.style),(S=w?.item)===null||S===void 0?void 0:S.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},R?.textStyle),(u=w?.item)===null||u===void 0?void 0:u.textStyle),bindDatas:(b=(D=w?.item)===null||D===void 0?void 0:D.bindDatas)!==null&&b!==void 0?b:[]},R?.props,(A=w?.item)===null||A===void 0?void 0:A.props,{event:((I=w?.item)===null||I===void 0?void 0:I.event)||{},schema:t,id:w?.id,isExternalLink:z,isPopup:B,onClose:c}))}else return n.createElement(n.Fragment,null)})},[t,i,e,c]);return n.createElement(Pt,{popup:r,onClose:c,padding:0,modalStyle:{position:"fixed"}},h)},Ci={};Object.values(Ti).forEach(t=>{Ci[t.extend.type]=t});const rr=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:o=20,loadingImage:a,appDomain:l,licenseUrl:s,enabledMetaConversionApi:d})=>{var r,v,c,h,m,f,x,w,C,p,T;const y=n.useMemo(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return n.createElement(qi,{resolver:Ci,enableDataSource:!1,schema:t?.data,utmVal:y},n.createElement(Wi,{utmVal:y,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(v=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&v!==void 0?v:e,defaultSize:(h=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&h!==void 0?h:i,hashTagSize:(f=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&f!==void 0?f:o,loadingImage:a,appDomain:l,enabledMetaConversionApi:d,isShowTag:(C=(w=(x=t?.data)===null||x===void 0?void 0:x.sxpPageConf)===null||w===void 0?void 0:w.globalConfig)===null||C===void 0?void 0:C.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:E,tagList:_})=>{var g;return n.createElement(n.Fragment,null,n.createElement(Oo,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{tagList:_,data:E,resolver:Ci,licenseUrl:s})),n.createElement(sr,null))}}))};var dr=n.memo(rr);const Ro=n.createContext({}),cr=({children:t,data:e})=>{var i,o,a,l,s,d,r,v,c,h,m,f,x;const[w,C]=n.useState(!1),[p,T]=n.useState(!1);return n.createElement(Ro.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:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.hash_tag_size,loadingImage:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.loading_image,privacyContent:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.privacy_context,privacyNecessity:(v=e?.sxp_parameter)===null||v===void 0?void 0:v.privacy_necessity,privacyPolicyTitle:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_policy_title,privacyPolicyUrl:(h=e?.sxp_parameter)===null||h===void 0?void 0:h.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(f=e?.sxp_parameter)===null||f===void 0?void 0:f.template,industry:(x=e?.sxp_parameter)===null||x===void 0?void 0:x.industry},appDomain:e?.appDomain,openHashtag:w,setOpenHashtag:C,openConsent:p,setOpenConsent:T,sxpFontLinks:e?.sxpFontLinks,utmParameter:e?.utm_parameter}},t)};function ur(){return n.useContext(Ro)}exports.DiyPortalPreview=ar,exports.EditorDataProvider=cr,exports.Modal=Pt,exports.SxpDataSourceProvider=Wi,exports.SxpPageCore=dr,exports.SxpPageRender=Oo,exports.core=ln,exports.default=Yo,exports.materials=Ti,exports.useEditorDataProvider=ur;
7
7
  //# sourceMappingURL=index.min.cjs.map